wpMandrill D

Total Complexity 287
Dependencies 4
Dependents 2
Total lines 2,006
Lines of code 1,408
Logical lines of code 815
Comment lines 225
Methods 70
Properties 6

Methods 70

Method Rating Maintainability Complexity Lines of code
sendEmail()
D
25
45 138
showDashboardWidget()
C
26
17 195
getProcessedStats()
B
38 20 62
getAjaxStats()
B
27
8 192
getRawStatistics()
B
41 16 51
showDashboardWidgetOptions()
A
42 12 49
addDashboardWidgets()
A
47 10 31
sendTestEmail()
A
50 9 27
adminInit()
A
42 7 45
findTags()
S
51 7 25
evaluate_response()
S
57 7 15
askTemplate()
S
52 6 26
showOptionsPage()
S
49 5 38
adminMenu()
S
49 5 32
showContextualHelp()
S
49 5 29
isTemplateValid()
S
61 6 11
askAPIKey()
S
55 5 20
mail()
S
48 4 32
getCurrentStats()
S
57 5 16
processAttachments()
S
59 5 13
openContextualHelp()
S
65 4 11
on_load()
S
51 3 26
showPluginActionLinks()
S
58 3 14
ensureEmailFormatting()
S
62 3 12
formValidate()
S
58 2 16
getFromEmail()
S
64 3 9
getConnected()
S
66 3 8
showAdminEnqueueScripts()
S
69 3 6
asknl2br()
S
60 2 14
network_connect_notice()
S
62 2 13
asknl2brWooCommerce()
S
62 2 12
showHowTos()
S
57 1 18
getUserAgent()
S
62 2 10
adminNotices()
S
72 2 5
getReportsDashboardURL()
S
73 2 4
saveProcessedStats()
S
63 2 10
getOption()
S
70 2 6
getTestEmailOption()
S
70 2 6
hideDashboardWidget()
S
67 2 8
askTrackOpens()
S
67 2 8
askTrackClicks()
S
67 2 8
isPluginPage()
S
77 2 3
isConfigured()
S
79 2 3
getAPIKey()
S
71 2 6
isWooCommerceActive()
S
71 2 6
getnl2brWooCommerce()
S
73 2 5
askFromEmail()
S
66 1 9
fetchNewDashboardData()
S
69 1 9
getReplyTo()
S
80 1 3
deactivate()
S
80 1 3
getSubAccount()
S
80 1 3
wp_mail_native()
S
80 1 3
getTemplate()
S
80 1 3
getnl2br()
S
80 1 3
showReportPage()
S
80 1 3
gethideDashboardWidget()
S
80 1 3
getFromUsername()
S
80 1 3
getTrackOpens()
S
80 1 3
getTrackClicks()
S
80 1 3
askFromName()
S
67 1 8
askTestEmailMessage()
S
74 1 5
askTestEmailSubject()
S
74 1 5
askTestEmailTo()
S
74 1 5
askTags()
S
66 1 9
setOption()
S
70 1 6
getFromName()
S
80 1 3
isConnected()
S
80 1 3
askSubAccount()
S
67 1 8
askReplyTo()
S
67 1 8
getTags()
S
80 1 3