Give_Donor D

Total Complexity 186
Dependencies 5
Dependents 47
Total lines 1,732
Lines of code 677
Logical lines of code 397
Comment lines 738
Methods 41
Properties 12

Methods 41

Method Rating Maintainability Complexity Lines of code
add_address()
B
40 15 61
sanitize_columns()
A
46 11 39
does_address_exist()
A
52 10 26
remove_payment()
A
48 9 34
__construct()
A
56 9 17
update_address()
A
49 8 31
setup_donor()
A
50 8 29
create()
A
51 8 25
get_donor_address()
A
49 7 31
attach_payment()
S
50 7 29
add_email()
S
53 7 22
set_primary_email()
S
54 7 20
remove_address()
S
50 6 28
setup_address()
S
49 5 32
add_note()
S
49 5 31
split_donor_name()
S
58 5 15
decrease_donation_count()
S
58 5 15
is_valid_address()
S
60 4 13
get_addresses_from_meta_cache()
S
60 4 13
get_raw_notes()
S
59 4 13
increase_purchase_count()
S
61 4 12
update()
S
59 3 15
get_notes()
S
64 4 8
get_last_name()
S
66 4 8
update_donation_value()
S
62 3 12
decrease_value()
S
61 3 12
get_last_donation_date()
S
63 3 11
get_first_name()
S
69 2 7
__get()
S
67 2 7
remove_email()
S
65 2 9
increase_value()
S
65 2 9
get_donor_initals()
S
64 1 11
delete_meta()
S
79 1 3
is_address_match()
S
75 1 4
update_meta()
S
78 1 3
add_meta()
S
78 1 3
get_total_donation_amount()
S
78 1 3
get_company_name()
S
76 1 4
get_last_donation()
S
74 1 4
get_notes_count()
S
72 1 5
get_meta()
S
79 1 3