-
Home
-
Instant Articles for WP
-
5.0.0
-
Code
-
Classes
- Instant_Articles_Post
Total Complexity |
113 |
Dependencies |
21 |
Dependents |
7 |
Total lines |
978 |
Lines of code |
452 |
Logical lines of code |
282 |
Comment lines |
352 |
Methods |
25 |
Properties |
6 |
Methods 25
Method |
Rating |
Maintainability
|
Complexity
|
Lines of code
|
add_ads_from_settings() |
B |
37 |
16 |
80 |
to_instant_article() |
B |
36 |
15 |
77 |
should_submit_post() |
A |
47 |
14 |
35 |
_get_the_content() |
A |
47 |
10 |
35 |
add_analytics_from_settings() |
A |
48 |
8 |
37 |
set_appearance_from_settings() |
S |
54 |
6 |
20 |
get_the_kicker() |
S |
61 |
6 |
11 |
is_empty_after_transformation() |
S |
60 |
5 |
13 |
get_cover_media() |
S |
61 |
5 |
12 |
get_the_featured_image() |
S |
56 |
4 |
19 |
has_warnings_after_transformation() |
S |
60 |
3 |
13 |
get_canonical_url() |
S |
62 |
3 |
11 |
get_the_authors() |
S |
55 |
2 |
19 |
get_the_excerpt() |
S |
63 |
2 |
10 |
get_the_content() |
S |
72 |
2 |
6 |
get_the_subtitle() |
S |
66 |
2 |
9 |
has_subtitle() |
S |
68 |
2 |
8 |
__construct() |
S |
81 |
1 |
3 |
get_newsfeed_cover() |
S |
73 |
1 |
5 |
get_the_id() |
S |
82 |
1 |
3 |
get_the_pubdate_iso() |
S |
71 |
1 |
5 |
get_the_excerpt_rss() |
S |
73 |
1 |
5 |
get_the_title_rss() |
S |
73 |
1 |
5 |
get_the_title() |
S |
70 |
1 |
6 |
get_the_moddate_iso() |
S |
71 |
1 |
5 |