WCML_Comments A

Total Complexity 65
Dependencies 7
Dependents 1
Total lines 457
Lines of code 237
Logical lines of code 130
Comment lines 130
Methods 25
Properties 4

Methods 25

Method Rating Maintainability Complexity Lines of code
filter_average_rating()
A
54 9 19
recalculate_comment_rating()
A
49 7 31
add_hooks()
S
50 4 27
maybe_duplicate_comment_rating()
S
61 4 11
is_reviews_in_all_languages()
S
67 4 7
get_reviews_count()
S
59 3 13
recalculate_average_rating_on_comment_hook()
S
66 3 8
add_comment_rating()
S
67 3 8
comments_link()
S
67 3 9
get_comment_language_on_all_languages_reviews()
S
67 3 8
open_lang_div()
S
65 3 9
close_lang_div()
S
74 2 5
add_comment_flag()
S
67 2 9
is_comment_query_filtered()
S
71 2 6
comments_clauses()
S
67 2 7
show_link_to_all_reviews()
S
64 2 9
woocommerce_rating_filter_count()
S
63 1 10
get_duplicated_comments()
S
66 1 10
no_index_all_reviews_page()
S
82 1 3
__construct()
S
71 1 6
top_rated_products_widget_args()
S
76 1 4
show_link_to_current_language_reviews()
S
65 1 8
is_reviews_in_all_languages_by_default_selected()
S
79 1 3
get_translations_ids_list()
S
75 1 4
is_translated()
S
78 1 3