-
Home
-
Facebook Instant Articles & Google AMP Pages by PageFrog
-
1.0.9 (latest)
-
Code
-
Classes
- PageFrog_Parser_InstantArticles
Total Complexity |
201 |
Dependencies |
1 |
Dependents |
1 |
Total lines |
1,044 |
Lines of code |
670 |
Logical lines of code |
492 |
Comment lines |
207 |
Methods |
13 |
Properties |
6 |
Methods 13
Method |
Rating |
Maintainability
|
Complexity
|
Lines of code
|
cleanDom() |
D |
16 |
81 |
227 |
parseNodeChildren() |
D |
19 |
60 |
213 |
processTextNode() |
C |
34 |
23 |
87 |
pagefrog_format_instant_articles_content_preview() |
A |
44 |
13 |
39 |
getFirstDecendantByNodeName() |
S |
57 |
6 |
17 |
moveNodeAncestorsToNewTree() |
S |
55 |
4 |
19 |
changeTagName() |
S |
56 |
4 |
18 |
pagefrog_format_instant_articles_content() |
S |
56 |
2 |
17 |
getSecondTopLevelNode() |
S |
69 |
2 |
7 |
isNodeWhitespace() |
S |
77 |
2 |
3 |
moveNodeToTopLevel() |
S |
66 |
2 |
8 |
createEmbedElement() |
S |
70 |
1 |
6 |
preprocessContent() |
S |
65 |
1 |
9 |