Code Analysis: Simple Monero Miner - Coin Hive 1.4.5

Function Rating Maintainability Complexity Lines of code
smmch_footer_script()
C
31 21 124
smmch_authedmine_widget::form()
B
31 13 132
smmch_widget::widget()
A
39 11 74
smmch_widget::form()
A
37 9 91
smmCHCoinhiveScript()
A
47 9 35
smmchUpdateCoinhiveScript()
A
46 8 36
smmch_authedmine_widget::widget()
A
44 7 46
smmchAjaxCallback()
S
59 4 14
smmChSettings()
S
57 2 21
smmchAddActionLinks()
S
63 3 10
smmchUpdateCoinhiveScripts()
S
63 3 10
smmChSetOptions()
S
52 1 25
smmChAdminRegisterSettings()
S
53 1 25
smmch_authedmine_widget::update()
S
58 1 16
smmch_widget::update()
S
62 1 12
smmchMinerShortcode()
S
73 1 5
smmChMenu()
S
78 1 3
smmChReSetOptions()
S
100 1 2
smmCHCoinhiveStyle()
S
79 1 3
smmch_authedmine_custom_load()
S
78 1 4
smmch_authedmine_widget::__construct()
S
79 1 3
smmch_widget::__construct()
S
79 1 3
smmch_custom_load()
S
78 1 4
smmChAdminRegisterHead()
S
70 1 6