WPBDP__Fee_Plan A

Total Complexity 75
Dependencies 2
Dependents 4
Total lines 434
Lines of code 289
Logical lines of code 155
Comment lines 48
Methods 21
Properties 15

Methods 21

Method Rating Maintainability Complexity Lines of code
save()
A
42 13 54
sanitize()
A
46 10 39
validate()
A
52 9 23
get_instance()
S
48 5 35
supports_category_selection()
S
62 5 12
total_revenue()
S
53 3 24
get_feature_list()
S
61 3 12
calculate_amount()
S
63 3 10
setup_plan()
S
66 3 9
is_paid_plan()
S
73 3 4
calculate_expiration_time()
S
63 3 10
count_listings()
S
60 2 13
__construct()
S
75 2 5
__get()
S
66 2 8
__isset()
S
69 2 7
sanitize_category()
S
74 2 4
supports_category()
S
80 1 3
delete()
S
69 1 6
update()
S
73 1 5
exists()
S
80 1 3
__set()
S
80 1 3