APVC_Admin_Rest_API A

Total Complexity 71
Dependencies 4
Dependents 1
Total lines 771
Lines of code 675
Logical lines of code 309
Comment lines 0
Methods 33
Properties 0

Methods 33

Method Rating Maintainability Complexity Lines of code
generate_shortcode()
B
36 19 78
register_rest_apis()
B
24
1 344
get_reports_det_stats_with_pagination()
A
49 8 31
get_dashboard_stats_with_range()
S
53 2 23
trending_get_referrer_list()
S
63 2 11
trend_get_top_pages()
S
63 2 11
trending_get_referrer()
S
63 2 11
get_reports_stats_with_pagination()
S
62 2 11
trend_get_top_browsers()
S
63 2 11
trend_get_top_devices_os()
S
63 2 11
trend_get_top_devices()
S
63 2 11
trend_get_top_cities()
S
63 2 11
trend_get_top_states()
S
63 2 11
trend_get_top_countries()
S
63 2 11
trend_get_top_posts()
S
63 2 11
delete_shortcode()
S
65 2 8
dash_get_monthly_stats()
S
79 1 3
dash_get_daily_stats()
S
79 1 3
dash_get_weekly_stats()
S
79 1 3
__construct()
S
79 1 3
dash_get_yearly_stats()
S
80 1 3
clean_old_stats()
S
76 1 4
start_fresh()
S
72 1 5
migrate_records_count()
S
75 1 4
migrate_data()
S
70 1 6
start_migration()
S
68 1 7
reset_everything()
S
81 1 3
set_starting_count()
S
71 1 5
get_starting_count()
S
75 1 4
save_shortcode()
S
71 1 5
get_refer_refresh_data()
S
72 1 5
get_custom_users_data()
S
78 1 3
update_migration()
S
75 1 4