OD_URL_Metric_Group_Collection A

Total Complexity 71
Dependencies 5
Dependents 7
Total lines 673
Lines of code 310
Logical lines of code 152
Comment lines 300
Methods 22
Properties 6

Methods 22

Method Rating Maintainability Complexity Lines of code
__construct()
A
43 9 57
get_common_lcp_element()
A
47 10 36
get_groups_by_lcp_element()
S
57 6 17
get_group_for_viewport_width()
S
55 5 22
get_all_elements_positioned_in_any_initial_viewport()
S
55 5 20
get_xpath_elements_map()
S
57 5 18
get_all_element_max_intersection_ratios()
S
56 4 19
is_any_group_populated()
S
59 4 15
is_every_group_populated()
S
59 4 15
is_every_group_complete()
S
59 4 15
add_url_metric()
S
63 3 11
jsonSerialize()
S
54 1 23
create_groups()
S
63 2 10
get_current_etag()
S
82 1 3
get_first_group()
S
80 1 3
get_last_group()
S
79 1 3
clear_cache()
S
81 1 3
get_element_max_intersection_ratio()
S
79 1 3
is_element_positioned_in_any_initial_viewport()
S
79 1 3
get_flattened_url_metrics()
S
69 1 8
getIterator()
S
80 1 3
count()
S
80 1 3