Total Complexity | 15 |
Dependencies | 6 |
Dependents | 1 |
Total lines | 136 |
Lines of code | 87 |
Logical lines of code | 28 |
Comment lines | 32 |
Methods | 7 |
Properties | 1 |
Method | Rating | Maintainability | Complexity | Lines of code |
---|---|---|---|---|
get_widget_form() | 52 | 8 | 25 | |
register_routes() | 50 | 1 | 33 | |
permissions_check() | 61 | 2 | 13 | |
validate_widget_class() | 78 | 1 | 3 | |
validate_widget_data() | 82 | 1 | 3 | |
add_widget_id() | 82 | 1 | 3 | |
get_widget_preview() | 71 | 1 | 7 |