BlockPostGridRest D

Total Complexity 239
Dependencies 2
Dependents 0
Total lines 1,454
Lines of code 800
Logical lines of code 518
Comment lines 163
Methods 23
Properties 0

Methods 23

Method Rating Maintainability Complexity Lines of code
get_posts()
D
10
114 209
get_post_meta()
B
42 17 49
get_user_meta()
A
47 15 34
get_posts_layout()
A
40 13 55
register_routes()
A
32 1 173
email_subscribe()
A
48 9 32
get_post_data()
A
50 8 26
terms_clauses()
S
53 7 20
get_user_data()
S
51 6 25
nestedToSingle()
S
58 6 15
get_plugin_data()
S
52 5 22
import_post_grid_template()
S
57 5 16
get_image_sizes()
S
58 5 14
get_shortcode()
S
60 5 12
get_post_type_objects()
S
60 4 12
get_pro_info()
S
62 4 10
get_all_terms()
S
57 2 18
get_tax_terms()
S
59 2 16
get_comment_count()
S
64 3 9
get_license()
S
67 3 7
get_site_details()
S
60 2 13
get_post_types()
S
64 2 10
__construct()
S
79 1 3