WCML_Comments B

Total Complexity 80
Dependencies 10
Dependents 2
Total lines 552
Lines of code 294
Logical lines of code 163
Comment lines 153
Methods 28
Properties 4

Methods 28

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 29
maybe_duplicate_comment_rating()
S
61 4 11
skip_review_duplication()
S
67 4 8
get_reviews_count()
S
59 3 13
translate_product_ids()
S
59 2 16
add_comment_rating()
S
67 3 8
comments_link()
S
67 3 9
open_lang_div()
S
64 3 9
get_comment_language_on_all_languages_reviews()
S
64 3 10
recalculate_average_rating_on_comment_hook()
S
66 3 8
comments_clauses()
S
67 2 7
show_link_to_all_reviews()
S
63 2 9
is_comment_query_filtered()
S
71 2 6
add_comment_flag()
S
65 2 10
close_lang_div()
S
74 2 5
getOriginalPostId()
S
75 2 4
__construct()
S
71 1 6
get_translations_ids()
S
76 1 4
is_reviews_in_all_languages_by_default_selected()
S
79 1 3
show_link_to_current_language_reviews()
S
64 1 8
top_rated_products_widget_args()
S
76 1 4
woocommerce_rating_filter_count()
S
63 1 10
get_duplicated_comments()
S
66 1 10
no_index_all_reviews_page()
S
82 1 3
is_translated()
S
78 1 3