Newspack_Blocks C

Total Complexity 108
Dependencies 2
Dependents 5
Total lines 710
Lines of code 490
Logical lines of code 214
Comment lines 156
Methods 24
Properties 1

Methods 24

Method Rating Maintainability Complexity Lines of code
build_articles_query()
C
37 24 71
manage_view_scripts()
A
49 7 31
get_patterns_for_post_type()
S
52 7 24
get_term_classes()
S
52 7 24
image_size_for_orientation()
S
42 4 68
get_sponsor_logos()
S
50 6 28
get_sponsor_byline()
S
50 6 28
prepare_authors()
S
50 6 28
enqueue_view_assets()
S
51 5 29
block_classes()
S
59 5 13
enqueue_block_editor_assets()
S
50 2 33
script_enqueue_helper()
S
57 3 16
get_sponsor_label()
S
63 4 10
filter_excerpt_length()
S
61 3 14
template_inc()
S
61 3 13
enqueue_block_styles_assets()
S
62 3 11
is_amp()
S
77 3 3
add_image_sizes()
S
58 1 15
filter_excerpt_more()
S
72 2 5
get_all_sponsors()
S
69 2 6
remove_excerpt_length_filter()
S
67 2 9
init()
S
72 1 5
more_excerpt()
S
81 1 3
remove_excerpt_more_filter()
S
78 1 3