OD_URL_Metric_Group_Collection A

Total Complexity 66
Dependencies 5
Dependents 7
Total lines 633
Lines of code 291
Logical lines of code 152
Comment lines 281
Methods 21
Properties 5

Methods 21

Method Rating Maintainability Complexity Lines of code
__construct()
A
45 8 46
get_common_lcp_element()
A
49 7 33
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
57 4 18
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
55 1 22
create_groups()
S
63 2 10
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