CR_Reviews_Grid D

Total Complexity 164
Dependencies 5
Dependents 2
Total lines 1,044
Lines of code 865
Logical lines of code 494
Comment lines 76
Methods 19
Properties 5

Methods 19

Method Rating Maintainability Complexity Lines of code
render_reviews_grid()
D
15
60 273
show_more_reviews()
C
37 31 66
show_summary_table()
C
28
21 142
render_reviews_grid_shortcode()
A
37 13 79
compare_dates_sort()
A
49 9 33
count_ratings()
S
48 5 36
cr_get_avatar()
S
50 5 27
cr_enqueue_block_scripts()
S
55 3 19
cr_register_blocks_script()
S
48 1 43
print_settings()
S
46 1 39
fetch_product_categories()
S
53 2 24
fetch_products()
S
55 2 20
__construct()
S
56 2 17
fetch_product_tags()
S
57 2 17
maybe_print_wc_settings()
S
70 2 6
register_block()
S
65 2 10
min_chars_comments_clauses()
S
72 1 5
register_shortcode()
S
79 1 3
add_block_editor_settings()
S
70 1 6