UAGB_Block_Analytics S

Total Complexity 43
Dependencies 2
Dependents 1
Total lines 342
Lines of code 148
Logical lines of code 79
Comment lines 140
Methods 11
Properties 3

Methods 11

Method Rating Maintainability Complexity Lines of code
get_block_stats_for_analytics()
A
45 10 40
start_stats_collection()
A
53 8 23
get_collection_status()
S
53 7 21
start_initial_setup()
S
60 4 13
maybe_start_first_run_collection()
S
63 3 11
handle_analytics_optin_change()
S
73 3 5
get_instance()
S
71 2 6
handle_analytics_optin_add()
S
74 2 5
force_refresh_stats()
S
64 2 10
__construct()
S
64 1 9
get_most_used_blocks()
S
72 1 5