Charitable_Email A

Total Complexity 58
Dependencies 3
Dependents 7
Total lines 883
Lines of code 283
Logical lines of code 94
Comment lines 504
Methods 41
Properties 9

Methods 41

Method Rating Maintainability Complexity Lines of code
email_settings()
S
41 2 64
is_sent_already()
S
62 4 11
has_valid_donation()
S
63 3 11
has_valid_campaign()
S
63 3 11
__construct()
S
74 3 4
add_recipients_field()
S
59 2 14
get_shortcode_options()
S
59 2 14
get()
S
71 2 6
get_headers()
S
65 2 8
get_attachments()
S
70 2 6
is_preview()
S
78 2 3
log()
S
66 2 8
send()
S
62 1 12
get_name()
S
82 1 3
is_required()
S
82 1 3
get_object_types()
S
82 1 3
get_donation()
S
82 1 3
get_campaign()
S
82 1 3
get_from_name()
S
78 1 3
get_from_address()
S
79 1 3
get_recipient()
S
79 1 3
get_subject()
S
70 1 7
get_content_type()
S
79 1 3
resend()
S
68 1 8
can_be_resent()
S
68 1 8
preview()
S
71 1 6
get_body()
S
70 1 6
get_headline()
S
72 1 5
get_option()
S
78 1 3
email_fields()
S
82 1 3
build_email()
S
66 1 8
get_log_key()
S
79 1 3
get_default_recipient()
S
82 1 3
get_default_subject()
S
82 1 3
get_default_headline()
S
82 1 3
get_default_body()
S
82 1 3
is_current_email()
S
80 1 3
add_donation_content_fields()
S
82 1 3
add_preview_donation_content_fields()
S
82 1 3
add_campaign_content_fields()
S
82 1 3
add_preview_campaign_content_fields()
S
82 1 3