LCS_Libraries_Endpoint S

Total Complexity 26
Dependencies 1
Dependents 1
Total lines 214
Lines of code 147
Logical lines of code 68
Comment lines 12
Methods 10
Properties 2

Methods 10

Method Rating Maintainability Complexity Lines of code
upload_library()
A
49 7 32
update_library()
S
54 5 21
sanitize_file()
S
58 4 15
register_routes()
S
47 1 46
__construct()
S
68 2 7
has_permission()
S
79 2 3
validate_id()
S
67 2 7
get_libraries()
S
81 1 3
get_library()
S
73 1 5
delete_library()
S
66 1 8