-
Home
-
Co-Authors, Multiple Authors and Guest Authors in an Author Box with PublishPress Authors
-
4.9.1
-
Code
-
Classes
- MA_REST_API
| Total Complexity |
86 |
| Dependencies |
7 |
| Dependents |
0 |
| Total lines |
575 |
| Lines of code |
436 |
| Logical lines of code |
186 |
| Comment lines |
23 |
| Methods |
18 |
| Properties |
3 |
Methods 18
| Method |
Rating |
Maintainability
|
Complexity
|
Lines of code
|
| createAuthorCallback() |
C |
32 |
24 |
110 |
| updateExistingAuthor() |
B |
37 |
20 |
74 |
| getPostAuthorsCallBack() |
A |
45 |
9 |
40 |
| sanitizeFieldValue() |
S |
58 |
7 |
15 |
| formatAuthorResponse() |
S |
54 |
4 |
20 |
| setAuthorFields() |
S |
58 |
4 |
15 |
| getCreateAuthorArgs() |
S |
50 |
2 |
35 |
| initRestAPI() |
S |
46 |
1 |
47 |
| updateAuthorCallback() |
S |
59 |
3 |
14 |
| patchAuthorCallback() |
S |
59 |
3 |
14 |
| getAuthorCallback() |
S |
61 |
2 |
12 |
| __construct() |
S |
55 |
1 |
20 |
| init() |
S |
79 |
1 |
3 |
| checkCreatePermissions() |
S |
80 |
1 |
3 |
| checkUpdatePermissions() |
S |
80 |
1 |
3 |
| checkReadPermissions() |
S |
82 |
1 |
3 |
| getUpdateAuthorArgs() |
S |
73 |
1 |
5 |
| getPatchAuthorArgs() |
S |
81 |
1 |
3 |