-
Home
-
WP Recipe Maker
-
9.4.0
-
Code
-
Classes
- WPRM_Rating_Database
Total Complexity |
52 |
Dependencies |
2 |
Dependents |
15 |
Total lines |
367 |
Lines of code |
187 |
Logical lines of code |
118 |
Comment lines |
114 |
Methods |
12 |
Properties |
3 |
Methods 12
Method |
Rating |
Maintainability
|
Complexity
|
Lines of code
|
add_or_update_rating() |
B |
40 |
22 |
55 |
get_ratings() |
A |
48 |
12 |
26 |
delete_ratings() |
S |
53 |
5 |
21 |
delete_rating() |
S |
56 |
3 |
18 |
update_database() |
S |
55 |
1 |
24 |
check_database_version() |
S |
70 |
2 |
6 |
get_rating() |
S |
66 |
2 |
8 |
init() |
S |
78 |
1 |
3 |
get_table_name() |
S |
76 |
1 |
4 |
count_ratings() |
S |
68 |
1 |
7 |
delete_ratings_for() |
S |
68 |
1 |
7 |
delete_ratings_for_comment() |
S |
66 |
1 |
8 |