wpsc_checkout D

Total Complexity 130
Dependencies 3
Dependents 16
Total lines 556
Lines of code 408
Logical lines of code 288
Comment lines 67
Methods 17
Properties 7

Methods 17

Method Rating Maintainability Complexity Lines of code
validate_forms()
D
24
57 145
form_field()
C
33 26 89
save_forms_to_db()
A
42 14 53
__construct()
A
44 9 42
get_checkout_item()
S
60 5 14
have_checkout_items()
S
63 4 10
form_name()
S
69 3 6
the_checkout_item()
S
67 2 8
rewind_checkout_items()
S
66 2 9
form_element_id()
S
81 1 3
form_item_id()
S
83 1 3
form_item_unique_name()
S
83 1 3
get_checkout_options()
S
68 1 7
form_element_active()
S
81 1 3
form_name_is_required()
S
80 1 3
get_count_checkout_fields()
S
74 1 5
next_checkout_item()
S
74 1 5