-
Home
-
Popup Builder by OptinMonster – WordPress Popups for Optins, Email Newsletters and Lead Generation
-
2.8.0
-
Code
-
Classes
- OMAPI_BaseRestApi
Total Complexity |
25 |
Dependencies |
6 |
Dependents |
0 |
Total lines |
240 |
Lines of code |
87 |
Logical lines of code |
40 |
Comment lines |
118 |
Methods |
10 |
Properties |
3 |
Methods 10
Method |
Rating |
Maintainability
|
Complexity
|
Lines of code
|
wp_error_to_response() |
S |
53 |
6 |
22 |
exception_to_response() |
S |
57 |
5 |
16 |
verify_request_nonce() |
S |
60 |
4 |
13 |
has_valid_api_key() |
S |
61 |
2 |
13 |
can_update_settings() |
S |
67 |
2 |
8 |
logged_in_or_has_api_key() |
S |
75 |
2 |
4 |
__construct() |
S |
77 |
1 |
4 |
register_rest_routes() |
S |
100 |
1 |
0 |
logged_in_and_can_access_route() |
S |
80 |
1 |
3 |
validate_api_key() |
S |
76 |
1 |
4 |