-
Home
-
Spectra Gutenberg Blocks – Website Builder for the Block Editor
-
2.19.14 (latest)
-
Code
-
Classes
- UAGB_Block_Analytics
| Total Complexity |
36 |
| Dependencies |
2 |
| Dependents |
1 |
| Total lines |
303 |
| Lines of code |
126 |
| Logical lines of code |
70 |
| Comment lines |
127 |
| Methods |
11 |
| Properties |
3 |
Methods 11
| Method |
Rating |
Maintainability
|
Complexity
|
Lines of code
|
| start_stats_collection() |
A |
53 |
8 |
23 |
| get_collection_status() |
S |
53 |
7 |
21 |
| start_initial_setup() |
S |
60 |
4 |
13 |
| get_block_stats_for_analytics() |
S |
56 |
3 |
18 |
| 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 |