WPBDP_Listing D

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

Methods 70

Method Rating Maintainability Complexity Lines of code
update_plan()
B
38 21 61
get_images()
A
43 13 49
set_fee_plan()
A
48 9 29
get_status()
A
54 8 20
prepend_thumbnail()
S
54 7 22
calculate_expiration_date()
S
56 7 16
set_images()
S
56 6 19
set_status()
S
49 5 31
_after_save()
S
59 6 14
get_fee_plan()
S
52 5 24
parse_count_args()
S
54 5 24
renew()
S
52 5 23
calculate_status()
S
54 5 21
after_delete()
S
51 4 28
set_fee_plan_with_payment()
S
62 5 11
delete_payment_history()
S
56 4 19
remove_image()
S
56 4 18
get_field_value()
S
58 4 17
has_fee_plan()
S
73 5 4
validate_access_key()
S
54 3 25
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
generate_or_retrieve_payment()
S
64 3 11
get_saved_thumbnail()
S
67 3 7
get_access_key()
S
64 3 9
get_payment_status()
S
62 2 12
get_renewal_date()
S
61 2 12
set_post_status()
S
63 2 12
publish()
S
65 2 11
get_images_meta()
S
62 2 11
get_sticky_status()
S
63 2 11
get_auth_key()
S
79 2 3
get_author_meta()
S
68 2 7
get()
S
69 2 7
get_stati()
S
58 1 15
get_latest_payment()
S
75 2 4
get_expiration_date()
S
75 2 4
get_permalink()
S
72 2 6
get_subscription()
S
68 2 8
is_recurring()
S
71 2 6
get_flags()
S
66 2 8
set_flag()
S
65 2 8
get_thumbnail_id()
S
69 2 7
set_thumbnail_id()
S
67 2 8
get_modified_date()
S
70 2 6
has_subscription()
S
60 1 13
count_listings_with_no_fee_plan()
S
61 1 11
get_status_label()
S
75 1 4
count_listings()
S
62 1 10
insert_or_update()
S
89 1 2
__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
69 1 8
get_renewal_hash()
S
75 1 4