-
Home
-
Optimization Detective
-
0.9.0
-
Code
-
Classes
- OD_URL_Metric_Group
Total Complexity |
43 |
Dependencies |
5 |
Dependents |
5 |
Total lines |
488 |
Lines of code |
202 |
Logical lines of code |
107 |
Comment lines |
226 |
Methods |
16 |
Properties |
7 |
Methods 16
Method |
Rating |
Maintainability
|
Complexity
|
Lines of code
|
get_lcp_element() |
A |
47 |
8 |
39 |
__construct() |
S |
47 |
6 |
43 |
is_complete() |
S |
52 |
7 |
25 |
get_all_element_max_intersection_ratios() |
S |
57 |
4 |
18 |
get_xpath_elements_map() |
S |
59 |
4 |
16 |
add_url_metric() |
S |
56 |
3 |
19 |
is_viewport_width_in_range() |
S |
72 |
2 |
6 |
jsonSerialize() |
S |
63 |
1 |
11 |
get_minimum_viewport_width() |
S |
82 |
1 |
3 |
get_maximum_viewport_width() |
S |
82 |
1 |
3 |
get_sample_size() |
S |
82 |
1 |
3 |
get_freshness_ttl() |
S |
82 |
1 |
3 |
get_element_max_intersection_ratio() |
S |
79 |
1 |
3 |
getIterator() |
S |
80 |
1 |
3 |
count() |
S |
80 |
1 |
3 |
clear_cache() |
S |
77 |
1 |
4 |