Code Analysis: Forty Two Blocks 0.2.0

Function Rating Maintainability Complexity Lines of code
AspenGrove_Blocks\PostsBlockType::getAttributeDefinitions()
A
35 9 107
AspenGrove_Blocks\PostCarouselBlockType::getAttributeDefinitions()
A
30 1 170
AspenGrove_Blocks::scripts_admin()
A
46 10 34
AspenGrove_Blocks\BlockAttributes::__get()
A
51 10 25
AspenGrove_Blocks\CallToActionBlockType::getAttributeDefinitions()
A
33 1 128
AspenGrove_Blocks\SocialMediaLinksBlockType::getAttributeDefinitions()
A
34 1 126
AspenGrove_Blocks\PostsBlockType::getPostsQueryParameters()
S
52 7 24
AspenGrove_Blocks\IconBlockType::getAttributeDefinitions()
S
35 1 112
AspenGrove_Blocks\PostGridBlockType::getAttributeDefinitions()
S
35 1 109
AspenGrove_Blocks\BlockType::__construct()
S
55 7 19
AspenGrove_Blocks::init()
S
50 6 26
AspenGrove_Blocks\BlockType::getButtonAttributeDefinitions()
S
36 1 99
AspenGrove_Blocks\ContactForm7BlockType::getAttributeDefinitions()
S
43 3 54
AspenGrove_Blocks\PostsBlockType::outputPost()
S
52 4 27
AspenGrove_Blocks\SearchBarBlockType::getAttributeDefinitions()
S
41 1 69
AspenGrove_Blocks\BlockType::register()
S
52 4 23
AspenGrove_Blocks\PostsBlockType::render()
S
58 3 15
AspenGrove_Blocks\ContactForm7BlockType::render()
S
61 3 11
AspenGrove_Blocks\PostsBlockType::createTermsTree()
S
64 3 9
AspenGrove_Blocks\BlockType::hasDynamicInspectorControlOptions()
S
67 3 8
AspenGrove_Blocks\BlockType::getDynamicInspectorControlOptions()
S
65 3 9
AspenGrove_Blocks\PostCarouselBlockType::outputBeforePosts()
S
64 2 9
AspenGrove_Blocks::print_scripts_admin()
S
72 2 5
AspenGrove_Blocks\BlockType::renderAjax()
S
73 2 4
AspenGrove_Blocks\BlockType::outputValue()
S
77 2 3
AspenGrove_Blocks\BlockType::getBlockClasses()
S
74 2 4
AspenGrove_Blocks\PostsBlockType::outputBeforePosts()
S
71 2 5
AspenGrove_Blocks\PostsBlockType::outputBeforePostImage()
S
100 1 3
AspenGrove_Blocks\BlockAttributes::__set()
S
80 1 3
AspenGrove_Blocks\BlockAttributes::setIsInEditor()
S
81 1 3
AspenGrove_Blocks\PostCarouselBlockType::outputAfterPostImage()
S
100 1 4
AspenGrove_Blocks\SocialMediaLinksBlockType::getJsStringsEditor()
S
76 1 5
AspenGrove_Blocks\BlockType::getId()
S
83 1 3
AspenGrove_Blocks\BlockType::getFullId()
S
80 1 3
AspenGrove_Blocks\BlockType::getDirectoryPath()
S
79 1 3
AspenGrove_Blocks\BlockType::getTitle()
S
83 1 3
AspenGrove_Blocks\BlockType::getDescription()
S
83 1 3
AspenGrove_Blocks\BlockType::getCategory()
S
83 1 3
AspenGrove_Blocks\BlockType::getIcon()
S
83 1 3
AspenGrove_Blocks\PostsBlockType::outputPostInfoExtraAttributes()
S
81 1 3
AspenGrove_Blocks\BlockType::isDynamic()
S
80 1 3
AspenGrove_Blocks\PostsBlockType::outputAfterPosts()
S
100 1 4
AspenGrove_Blocks\PostCarouselBlockType::render()
S
76 1 4
AspenGrove_Blocks\PostCarouselBlockType::outputPostExtraAttributes()
S
80 1 3
AspenGrove_Blocks\CallToActionBlockType::getJsStringsEditor()
S
76 1 5
AspenGrove_Blocks\BlockType::getAdditionalBlockClasses()
S
83 1 3
AspenGrove_Blocks\PostGridBlockType::getAdditionalBlockClasses()
S
81 1 3
AspenGrove_Blocks\PostsBlockType::outputPostExtraAttributes()
S
81 1 3
AspenGrove_Blocks\ContactForm7BlockType::getJsStringsEditor()
S
83 1 3
AspenGrove_Blocks\PostsBlockType::outputAfterPostImage()
S
100 1 3
AspenGrove_Blocks\PostCarouselBlockType::outputAfterPosts()
S
100 1 5
AspenGrove_Blocks\BlockType::getJsStringsEditor()
S
83 1 3
AspenGrove_Blocks\BlockAttributes::__construct()
S
71 1 6
AspenGrove_Blocks\PostsBlockType::outputAfterPost()
S
100 1 3
AspenGrove_Blocks\PostCarouselBlockType::register()
S
64 1 9
AspenGrove_Blocks\PostCarouselBlockType::outputPostInfoExtraAttributes()
S
81 1 3
AspenGrove_Blocks\BlockType::renderCallback()
S
79 1 3
AspenGrove_Blocks\BlockType::getSupportedFeatures()
S
83 1 3
AspenGrove_Blocks\BlockType::setIsInEditor()
S
81 1 3
AspenGrove_Blocks\PostCarouselBlockType::outputBeforePostImage()
S
78 1 4
AspenGrove_Blocks\PostsBlockType::outputBeforePost()
S
100 1 3
AspenGrove_Blocks::scripts()
S
71 1 5
AspenGrove_Blocks\IconBlockType::getJsStringsEditor()
S
76 1 5
AspenGrove_Blocks\BlockType::getDefaultAlignment()
S
83 1 3
AspenGrove_Blocks\SearchBarBlockType::getJsStringsEditor()
S
75 1 5