w2dc_ratings_plugin C

Total Complexity 102
Dependencies 3
Dependents 0
Total lines 458
Lines of code 359
Logical lines of code 187
Comment lines 15
Methods 30
Properties 0

Methods 30

Method Rating Maintainability Complexity Lines of code
save_rating()
A
49 12 29
order_by_rating_args()
A
50 10 28
render_rating()
A
55 9 17
loadRatingsByLevels()
S
58 8 14
is_listing_rated()
S
58 6 16
init()
S
45 3 37
rating_in_comment()
S
64 5 8
reset_ratings()
S
65 5 8
plugin_settings()
S
43 1 60
frontendRatingsMetabox()
S
61 4 12
render_rating_in_map_window()
S
69 4 5
addRatingsMetabox()
S
63 4 10
check_custom_template()
S
63 4 10
ajax_save_rating()
S
59 3 13
get_rating_stars()
S
60 2 14
order_by_rating_html()
S
70 2 6
order_by_rating_option()
S
72 2 5
where_ratings_levels()
S
70 2 6
comments_template()
S
71 2 6
render_rating_dashboard()
S
68 2 6
load_listing()
S
69 2 7
manage_listings_table_rows()
S
68 2 7
add_rating_field_to_map_window()
S
75 1 4
ratings_options_in_level_html()
S
78 1 3
ratings_options_in_level_validation()
S
75 1 4
add_null_values()
S
73 1 4
remove_query_filters()
S
72 1 5
add_listings_table_columns()
S
70 1 5
listingRatingsMetabox()
S
69 1 6
ratings_options_in_level_create_add()
S
75 1 4