ExactMetrics_Rest_Routes D

Total Complexity 225
Dependencies 6
Dependents 1
Total lines 1,678
Lines of code 1,217
Logical lines of code 497
Comment lines 228
Methods 27
Properties 0

Methods 27

Method Rating Maintainability Complexity Lines of code
get_addons()
D
14
25 420
get_report_data()
D
29 34 115
check_popular_posts_report()
D
31 30 107
update_manual_v4()
B
43 21 43
get_posts()
A
45 11 40
get_settings()
A
46 11 39
handle_settings_import()
A
43 9 49
update_popular_posts_theme_setting()
A
50 10 28
install_plugin()
A
40 7 62
handle_sanitization()
A
50 9 31
update_measurement_protocol_secret()
S
50 7 29
get_taxonomy_terms()
S
53 5 21
import_site_notes()
S
55 5 18
hide_old_notices()
S
60 5 13
update_settings()
S
56 4 18
get_post_types()
S
57 4 16
update_settings_bulk()
S
58 4 15
get_license()
S
51 3 28
update_included_metrics()
S
57 3 17
remove_premium_metrics()
S
60 3 13
get_notice_status()
S
62 3 11
__construct()
S
48 1 36
get_profile()
S
55 2 19
dismiss_notice()
S
64 3 9
get_user_included_metrics()
S
64 3 9
dismiss_first_time_notice()
S
67 2 8
get_addon()
S
78 1 3