-
Home
-
Spectra – WordPress Gutenberg Blocks
-
1.20.0
-
Code
-
Classes
- UAGB_Rest_API
Total Complexity |
18 |
Dependencies |
2 |
Dependents |
0 |
Total lines |
210 |
Lines of code |
102 |
Logical lines of code |
39 |
Comment lines |
75 |
Methods |
10 |
Properties |
1 |
Methods 10
Method |
Rating |
Maintainability
|
Complexity
|
Lines of code
|
blocks_register_rest_fields() |
S |
48 |
2 |
41 |
get_image_src() |
S |
58 |
3 |
16 |
get_instance() |
S |
71 |
2 |
6 |
get_author_info() |
S |
69 |
2 |
6 |
get_excerpt() |
S |
68 |
2 |
7 |
register_rest_orderby_fields() |
S |
68 |
2 |
6 |
add_cpts_to_api() |
S |
71 |
2 |
6 |
__construct() |
S |
71 |
1 |
5 |
get_comment_info() |
S |
75 |
1 |
4 |
add_orderby() |
S |
73 |
1 |
5 |