CR_All_Reviews D

Total Complexity 270
Dependencies 6
Dependents 3
Total lines 1,395
Lines of code 1,203
Logical lines of code 699
Comment lines 76
Methods 26
Properties 5

Methods 26

Method Rating Maintainability Complexity Lines of code
get_reviews()
D
20
54 221
count_ratings()
D
32 30 107
fill_attributes()
C
33 25 96
show_summary_table()
C
27
21 154
display_reviews()
C
30 23 112
submit_review()
B
35 19 90
show_more_reviews()
B
38 15 65
delete_media_files()
A
44 12 46
upload_media_files()
A
43 10 46
get_count_wording()
A
43 8 55
cr_style_1()
A
50 8 26
sort_by_helpful()
S
54 7 21
include_review_replies()
S
52 6 25
show_count_row()
S
53 5 20
show_add_review_form()
S
48 3 32
modify_comments_clauses()
S
58 3 13
sort_by_date()
S
64 3 10
is_review_approved()
S
67 3 8
enqueue_wc_style()
S
67 3 8
is_it_a_product_page()
S
66 3 9
enqueue_wc_script()
S
67 3 8
render_all_reviews_shortcode()
S
69 2 7
__construct()
S
60 1 13
min_chars_comments_clauses()
S
71 1 5
register_shortcode()
S
79 1 3
woocommerce_photoswipe()
S
81 1 3