WPBDP_Listing D

Total Complexity 217
Dependencies 6
Dependents 22
Total lines 1,199
Lines of code 784
Logical lines of code 424
Comment lines 195
Methods 70
Properties 1

Methods 70

Method Rating Maintainability Complexity Lines of code
update_plan()
B
39 21 60
get_images()
A
43 13 48
set_fee_plan()
A
49 9 27
get_status()
A
54 8 19
prepend_thumbnail()
S
54 7 22
calculate_expiration_date()
S
57 7 15
_after_save()
S
59 6 14
set_images()
S
59 6 13
parse_count_args()
S
54 5 24
get_fee_plan()
S
52 5 24
renew()
S
52 5 22
set_status()
S
53 5 20
calculate_status()
S
54 5 20
set_fee_plan_with_payment()
S
62 5 11
delete_payment_history()
S
56 4 19
remove_image()
S
56 4 18
has_fee_plan()
S
73 5 4
after_delete()
S
57 4 14
get_field_value()
S
61 4 12
validate_access_key()
S
54 3 24
create_payment_from_plan()
S
53 3 23
get_sequence_id()
S
55 3 21
get_thumbnail()
S
56 3 20
owned_by_user()
S
64 4 10
get_existing_payment_for_plan()
S
59 3 14
get_saved_thumbnail()
S
67 3 7
get_access_key()
S
66 3 7
generate_or_retrieve_payment()
S
64 3 10
get_renewal_date()
S
61 2 12
get_images_meta()
S
62 2 11
get_author_meta()
S
70 2 6
get_sticky_status()
S
64 2 10
get_auth_key()
S
79 2 3
get()
S
70 2 6
get_stati()
S
58 1 15
get_thumbnail_id()
S
69 2 7
set_post_status()
S
69 2 6
publish()
S
72 2 5
get_modified_date()
S
72 2 5
get_latest_payment()
S
75 2 4
get_expiration_date()
S
75 2 4
get_payment_status()
S
69 2 6
get_permalink()
S
74 2 5
set_thumbnail_id()
S
67 2 8
get_subscription()
S
68 2 8
is_recurring()
S
71 2 6
get_flags()
S
67 2 7
set_flag()
S
66 2 7
has_subscription()
S
60 1 13
count_listings_with_no_fee_plan()
S
61 1 11
insert_or_update()
S
89 1 2
count_listings()
S
62 1 10
get_status_label()
S
75 1 4
__construct()
S
80 1 3
get_expiration_time()
S
80 1 3
validate_access_key_hash()
S
75 1 4
get_payment_url()
S
76 1 4
get_renewal_url()
S
79 1 3
notify()
S
91 1 2
delete()
S
67 1 7
get_latest_payments()
S
78 1 3
get_payments()
S
75 1 4
get_admin_edit_link()
S
79 1 3
is_published()
S
79 1 3
set_categories()
S
74 1 4
get_categories()
S
72 1 5
get_id()
S
82 1 3
get_title()
S
80 1 3
set_title()
S
78 1 3
get_renewal_hash()
S
75 1 4