Code Analysis: WP-Sweep 1.1.8

Function Rating Maintainability Complexity Lines of code
WPSweep::sweep()
D
17
66 226
WPSweep::details()
C
33 28 89
WPSweep::count()
C
35 24 77
WPSweep::ajax_sweep()
B
40 17 63
WPSweep::total_count()
A
45 13 43
WPSweep_Command::__invoke()
S
46 5 38
WPSweep::get_default_taxonomy_termids()
S
58 5 16
WPSweep::plugin_activation()
S
60 5 14
WPSweep::plugin_deactivation()
S
60 5 14
WPSweep::admin_enqueue_scripts()
S
55 4 19
WPSweep_Command::run_sweep()
S
63 4 10
WPSweep_Api::__construct()
S
48 1 45
WPSweep::ajax_sweep_details()
S
63 4 10
WPSweep::get_excluded_termids()
S
62 3 12
WPSweep_Api::sweep()
S
61 2 12
WPSweep::get_instance()
S
71 2 6
WPSweep::init()
S
70 2 6
WPSweep::format_percentage()
S
76 2 3
WPSweep_Api::details()
S
62 1 12
WPSweep_Api::count()
S
63 1 11
WPSweep_Api::permission_check()
S
80 1 3
WPSweep::get_excluded_taxonomies()
S
73 1 5
WPSweep::plugin_activated()
S
91 1 2
WPSweep::plugin_deactivated()
S
91 1 2
WPSweep_Api::is_sweep_name_valid()
S
79 1 3
plugin_uninstalled()
S
100 1 2
WPSweep::admin_menu()
S
77 1 3
WPSweep::get_parent_termids()
S
74 1 4
WPSweep::__construct()
S
70 1 6
WPSweep::add_hooks()
S
68 1 7