CR_All_Reviews D

Total Complexity 319
Dependencies 8
Dependents 4
Total lines 1,560
Lines of code 1,348
Logical lines of code 769
Comment lines 85
Methods 27
Properties 7

Methods 27

Method Rating Maintainability Complexity Lines of code
get_reviews()
D
15
71 264
count_ratings()
D
28
39 129
submit_review()
C
30 27 119
fill_attributes()
C
33 27 100
show_summary_table()
C
27
21 154
show_more_reviews()
C
33 22 94
display_reviews()
A
37 14 71
cr_paginate_links()
A
44 14 46
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
show_add_review_form()
S
45 5 42
include_review_replies()
S
52 6 25
show_count_row()
S
55 4 18
modify_comments_clauses()
S
58 3 13
sort_by_date()
S
64 3 10
is_it_a_product_page()
S
66 3 9
enqueue_wc_style()
S
67 3 8
enqueue_wc_script()
S
67 3 8
is_review_approved()
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
cr_photoswipe()
S
68 1 8