-
Home
-
WordPress.com Editing Toolkit
-
2.16
-
Code
-
Classes
- Newspack_Blocks
Total Complexity |
104 |
Dependencies |
2 |
Dependents |
5 |
Total lines |
669 |
Lines of code |
473 |
Logical lines of code |
205 |
Comment lines |
135 |
Methods |
22 |
Properties |
1 |
Methods 22
Method |
Rating |
Maintainability
|
Complexity
|
Lines of code
|
build_articles_query() |
B |
37 |
23 |
69 |
manage_view_scripts() |
A |
49 |
7 |
31 |
get_patterns_for_post_type() |
S |
52 |
7 |
24 |
image_size_for_orientation() |
S |
42 |
4 |
68 |
get_sponsor_byline() |
S |
50 |
6 |
28 |
get_sponsor_logos() |
S |
50 |
6 |
28 |
prepare_authors() |
S |
50 |
6 |
28 |
get_term_classes() |
S |
54 |
6 |
20 |
enqueue_view_assets() |
S |
51 |
5 |
29 |
block_classes() |
S |
59 |
5 |
13 |
enqueue_block_editor_assets() |
S |
50 |
2 |
32 |
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 |
use_experimental() |
S |
79 |
2 |
3 |
remove_excerpt_length_filter() |
S |
67 |
2 |
9 |
get_all_sponsors() |
S |
69 |
2 |
6 |
add_image_sizes() |
S |
58 |
1 |
15 |
init() |
S |
79 |
1 |
3 |