Total Complexity | 29 |
Dependencies | 2 |
Dependents | 2 |
Total lines | 281 |
Lines of code | 123 |
Logical lines of code | 47 |
Comment lines | 86 |
Methods | 9 |
Properties | 2 |
Method | Rating | Maintainability | Complexity | Lines of code |
---|---|---|---|---|
revoke_key() | 50 | 9 | 27 | |
is_api_key_valid() | 58 | 6 | 14 | |
permissions_check() | 64 | 5 | 9 | |
create_update_key() | 55 | 3 | 19 | |
register_routes() | 52 | 1 | 29 | |
get_key() | 63 | 2 | 11 | |
__construct() | 79 | 1 | 3 | |
get_keys() | 71 | 1 | 6 | |
remove_key() | 71 | 1 | 5 |