Code Analysis: Advanced Post Block 1.10.4

Function Rating Maintainability Complexity Lines of code
APB\Inc\Style::generatedStyle()
A
32 8 114
APB\Inc\GetCSS::getTypoCSS()
A
43 11 40
APB\Inc\Layout::mapPosts()
A
48 11 30
APB\Inc\Layout::layoutToggle()
A
45 8 46
APB\Inc\Single::featureImage()
A
53 8 20
BSDK::__construct()
S
51 7 23
APBAdvancedPostBlock::render()
S
42 5 51
APB\Inc\GetCSS::getBorderCSS()
S
53 7 20
BPlugins_SDK::__construct()
S
51 6 26
APB\Inc\Layout::overlay()
S
52 6 23
BSDKLicense::form()
S
49 5 36
APB\Inc\Single::excerpt()
S
54 6 20
APB\Inc\GetCSS::getBackgroundCSS()
S
54 6 18
Activate::opt_in_update()
S
55 5 18
BSDKLicense::activeLicense()
S
56 5 16
APB\Inc\Functions::classNames()
S
59 5 15
APB\Inc\GetCSS::getColorsCSS()
S
60 5 12
APB\Inc\Layout::sideImage()
S
54 4 21
BSDKLicense::admin_footer()
S
56 4 20
APB\Inc\Single::metaAuthor()
S
56 4 17
APB\Inc\Single::title()
S
58 4 15
APB\Inc\Single::metaReadTime()
S
57 4 15
APB\Inc\Single::metaCategories()
S
58 4 14
APB\Inc\APBlockStyleGenerator::renderStyle()
S
62 4 11
BSDKLicense::syncLicense()
S
60 4 11
APB\Inc\Functions::arrangedPosts()
S
45 2 41
Activate::register()
S
55 3 17
APB\Inc\Single::readMore()
S
58 3 15
BSDKLicense::addButtonInPlugin()
S
62 4 10
Activate::admin_init()
S
68 4 6
APB\Inc\Single::metaDate()
S
58 3 14
APB\Inc\Single::metaComment()
S
58 3 14
Activate::data_update()
S
56 2 18
Activate::opt_in_modal()
S
57 2 17
Activate::enqueue_assets()
S
64 3 8
Init::register_services()
S
66 3 8
APBAdvancedPostBlock::adminEnqueueScripts()
S
68 3 6
Activate::opt_in_button()
S
70 3 5
APBCustomPost::onInit()
S
49 1 30
APB\Inc\Layout::default()
S
59 2 14
BPlugins_SDK::pipe_default_value()
S
60 2 14
APB\Inc\Single::meta()
S
61 2 12
APB\Inc\GetCSS::getSpaceCSS()
S
61 2 12
BSDKLicense::admin_enqueue_scripts()
S
60 2 12
BPlugins_SDK::localizeScript()
S
62 2 11
APBAdvancedPostBlock::__construct()
S
61 2 11
APBAdvancedPostBlock::onPluginActivate()
S
75 2 5
APB\Inc\APBlockStyleGenerator::addStyle()
S
72 2 5
Activate::deactivate()
S
73 2 5
Activate::activate()
S
73 2 5
APB\Inc\Functions::wordCount()
S
77 2 3
APB\Inc\GetCSS::generateCss()
S
78 2 3
Activate::initialize_opt_in()
S
66 1 15
APB\Inc\Functions::truncate()
S
77 2 3
APBCustomPost::manageAPBPostsCustomColumns()
S
68 2 8
APB\Inc\Functions::strLength()
S
78 2 3
Activate::getInfo()
S
59 1 14
Activate::opt_in_form()
S
61 1 13
BPlugins_SDK::register_settings()
S
62 1 13
APBAdvancedPostBlock::apbGetPosts()
S
59 1 12
APBAdvancedPostBlock::onLoaded()
S
61 1 11
BSDKLicense::__construct()
S
73 1 5
BPlugins_SDK::register()
S
70 1 6
BSDKLicense::ajaxSyncLicense()
S
74 1 5
BPlugins_SDK::uninstall_plugin()
S
80 1 3
APBAdvancedPostBlock::excerptMore()
S
77 1 3
BPlugins_SDK::i18n()
S
78 1 3
apb_init()
S
73 1 5
APBCustomPost::manageAPBPostsColumns()
S
71 1 6
BSDK::__()
S
73 1 5
APBAdvancedPostBlock::enqueueBlockAssets()
S
68 1 6
Init::get_services()
S
72 1 6
APBAdvancedPostBlock::blockCategories()
S
71 1 6
APBCustomPost::__construct()
S
69 1 6
Init::instantiate()
S
80 1 3
BPlugins_SDK::can_use_premium_feature()
S
82 1 3
Activate::__construct()
S
76 1 4
BSDKLicense::register()
S
65 1 8
APBCustomPost::onAddShortcode()
S
65 1 9
Activate::add_opt_in_menu()
S
74 1 4