Total Complexity | 22 |
Dependencies | 1 |
Dependents | 11 |
Total lines | 215 |
Lines of code | 103 |
Logical lines of code | 66 |
Comment lines | 68 |
Methods | 9 |
Properties | 6 |
Method | Rating | Maintainability | Complexity | Lines of code |
---|---|---|---|---|
update_rule() | 52 | 4 | 27 | |
get_rule_by_obj_id() | 55 | 4 | 19 | |
get_all_rules() | 58 | 4 | 15 | |
delete_rule() | 62 | 2 | 11 | |
get_rule() | 74 | 2 | 4 | |
get_rule_by_cat_slug() | 63 | 2 | 10 | |
get_rule_by_cat_id() | 63 | 2 | 10 | |
init() | 76 | 1 | 4 | |
add_rule() | 79 | 1 | 3 |