-
Home
-
WP Job Manager
-
1.36.2
-
Code
-
Classes
- WP_Job_Manager_REST_Model
Total Complexity |
83 |
Dependencies |
7 |
Dependents |
3 |
Total lines |
672 |
Lines of code |
305 |
Logical lines of code |
189 |
Comment lines |
307 |
Methods |
34 |
Properties |
6 |
Methods 34
Method |
Rating |
Maintainability
|
Complexity
|
Lines of code
|
run_field_validations() |
A |
52 |
8 |
23 |
map_data() |
S |
57 |
6 |
16 |
get_fields() |
S |
56 |
5 |
18 |
deserialize() |
S |
55 |
4 |
19 |
set() |
S |
57 |
4 |
15 |
validate() |
S |
59 |
4 |
14 |
__construct() |
S |
60 |
4 |
13 |
sanitize() |
S |
58 |
3 |
15 |
set_field_if_unset() |
S |
61 |
3 |
12 |
get_dto_field_mappings() |
S |
64 |
3 |
10 |
prepare_value() |
S |
65 |
3 |
9 |
deserialize_field() |
S |
68 |
3 |
7 |
serialize_field() |
S |
68 |
3 |
7 |
from_raw_data() |
S |
61 |
2 |
12 |
serialize() |
S |
65 |
2 |
9 |
call() |
S |
68 |
2 |
7 |
permissions_check() |
S |
66 |
2 |
8 |
to_dto() |
S |
67 |
2 |
8 |
update_from_array() |
S |
68 |
2 |
7 |
get_data_store() |
S |
68 |
2 |
7 |
get_environment() |
S |
68 |
2 |
7 |
initialize_field_map() |
S |
67 |
2 |
8 |
new_from_array() |
S |
75 |
1 |
4 |
get() |
S |
68 |
1 |
7 |
create() |
S |
70 |
1 |
6 |
with_environment() |
S |
70 |
1 |
6 |
get_name() |
S |
80 |
1 |
3 |
declare_fields() |
S |
77 |
1 |
4 |
get_id() |
S |
81 |
1 |
3 |
set_id() |
S |
80 |
1 |
3 |
with_data_store() |
S |
72 |
1 |
5 |
validation_error() |
S |
79 |
1 |
3 |
has() |
S |
75 |
1 |
4 |
with_permissions_provider() |
S |
70 |
1 |
6 |