-
Home
-
Solid Security – Password, Two Factor Authentication, and Brute Force Protection
-
8.1.6
-
Code
-
Classes
- ITSEC_Lib_REST
Total Complexity |
47 |
Dependencies |
6 |
Dependents |
4 |
Total lines |
317 |
Lines of code |
164 |
Logical lines of code |
79 |
Comment lines |
102 |
Methods |
12 |
Properties |
0 |
Methods 12
Method |
Rating |
Maintainability
|
Complexity
|
Lines of code
|
get_endpoint_args_for_schema() |
A |
41 |
12 |
57 |
error_to_response() |
A |
48 |
8 |
34 |
get_status() |
S |
61 |
4 |
13 |
auth_code_required() |
S |
69 |
4 |
6 |
add_status_to_error() |
S |
65 |
4 |
8 |
validate_ip() |
S |
68 |
3 |
6 |
get_http_method() |
S |
66 |
3 |
9 |
rest_url() |
S |
63 |
3 |
10 |
get_token_from_auth_header() |
S |
68 |
2 |
7 |
sanitize_schema_for_output() |
S |
66 |
2 |
8 |
get_link_relation() |
S |
79 |
1 |
3 |
sanitize_ip() |
S |
80 |
1 |
3 |