WCML_Comments A

Total Complexity 74
Dependencies 10
Dependents 2
Total lines 517
Lines of code 278
Logical lines of code 155
Comment lines 141
Methods 26
Properties 4

Methods 26

Method Rating Maintainability Complexity Lines of code
filter_average_rating()
A
50 12 28
recalculate_comment_rating()
A
45 9 42
is_reviews_in_all_languages()
S
61 6 11
add_hooks()
S
49 4 28
maybe_duplicate_comment_rating()
S
61 4 11
get_reviews_count()
S
59 3 13
open_lang_div()
S
65 3 9
get_comment_language_on_all_languages_reviews()
S
67 3 8
recalculate_average_rating_on_comment_hook()
S
66 3 8
translate_product_ids()
S
59 2 15
comments_link()
S
67 3 9
add_comment_rating()
S
67 3 8
is_comment_query_filtered()
S
71 2 6
add_comment_flag()
S
65 2 10
close_lang_div()
S
74 2 5
comments_clauses()
S
67 2 7
show_link_to_all_reviews()
S
64 2 9
no_index_all_reviews_page()
S
82 1 3
get_duplicated_comments()
S
66 1 10
__construct()
S
71 1 6
woocommerce_rating_filter_count()
S
63 1 10
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()
S
76 1 4
is_translated()
S
78 1 3