Benchmarks
Plugin footprint 82% from 16 tests
Installer Passed 1 test
🔺 Critical test (weight: 50) | It is important to correctly install your plugin, without throwing errors or notices
The plugin installed gracefully, with no errors
Server metrics [RAM: ▲7.97MB] [CPU: ▲44.14ms] 50% from 4 tests
Server-side resources used by Gutenberg Blocks by Kadence Blocks – Page Builder Features
It is recommended to improve the following
- RAM: You should keep total memory usage under 10MB (currently 11.23MB on /wp-admin/edit.php?post_type=kadence_form)
- Extra RAM: The extra memory usage must be under 5MB (currently 7.97MB on /wp-admin/edit.php?post_type=kadence_form)
Page | Memory (MB) | CPU Time (ms) |
---|---|---|
Home / | 11.41 ▲7.94 | 78.90 ▲38.04 |
Dashboard /wp-admin | 11.26 ▲7.95 | 89.13 ▲40.33 |
Posts /wp-admin/edit.php | 11.38 ▲8.02 | 97.38 ▲52.89 |
Add New Post /wp-admin/post-new.php | 20.63 ▲14.74 | 249.06 ▲146.37 |
Media Library /wp-admin/upload.php | 11.19 ▲7.95 | 78.37 ▲45.29 |
Settings /wp-admin/admin.php?page=kadence-blocks | 11.17 | 71.88 |
All Forms /wp-admin/edit.php?post_type=kadence_form | 11.23 | 73.47 |
Server storage [IO: ▲11.19MB] [DB: ▲0.00MB] Passed 3 tests
Analyzing filesystem and database footprints of this plugin
No storage issues were detected
Filesystem: 459 new files
Database: no new tables, 11 new options
New WordPress options |
---|
db_upgraded |
widget_recent-comments |
stellarwp_telemetry_kadence-blocks_show_optin |
theysaidso_admin_options |
stellarwp_telemetry |
widget_theysaidso_widget |
kadenceblocks_data_settings |
kadence_blocks_schema_version |
widget_recent-posts |
can_compress_scripts |
... |
Browser metrics Passed 4 tests
Gutenberg Blocks by Kadence Blocks – Page Builder Features: an overview of browser usage
Minimal impact on browser resources
Page | Nodes | Memory (MB) | Script (ms) | Layout (ms) |
---|---|---|---|---|
Home / | 2,833 ▲71 | 14.67 ▲0.47 | 1.59 ▼0.07 | 35.59 ▼10.11 |
Dashboard /wp-admin | 2,238 ▲61 | 5.62 ▼0.04 | 96.44 ▲4.75 | 43.09 ▼1.59 |
Posts /wp-admin/edit.php | 2,144 ▲41 | 2.00 ▼0.00 | 40.48 ▲1.19 | 36.54 ▼1.23 |
Add New Post /wp-admin/post-new.php | 2,006 ▲480 | 30.30 ▲6.96 | 1,035.43 ▲369.01 | 39.03 ▼13.33 |
Media Library /wp-admin/upload.php | 1,440 ▲37 | 4.30 ▲0.03 | 100.08 ▼4.99 | 42.30 ▼5.35 |
Settings /wp-admin/admin.php?page=kadence-blocks | 1,198 | 2.17 | 36.96 | 55.10 |
All Forms /wp-admin/edit.php?post_type=kadence_form | 1,135 | 1.96 | 36.90 | 29.15 |
Uninstaller [IO: ▲0.00MB] [DB: ▲0.00MB] 75% from 4 tests
🔸 Tests weight: 35 | All plugins must uninstall correctly, removing their source code and extra database tables they might have created
The following items require your attention
- Zombie WordPress options were found after uninstall: 10 options
- widget_recent-posts
- db_upgraded
- kadenceblocks_data_settings
- widget_recent-comments
- can_compress_scripts
- stellarwp_telemetry
- theysaidso_admin_options
- stellarwp_telemetry_last_send
- kadence_blocks_schema_version
- widget_theysaidso_widget
Smoke tests 75% from 4 tests
Server-side errors Passed 1 test
🔹 Test weight: 20 | This is a short smoke test looking for server-side errors
Even though no errors were found, this is by no means an exhaustive test
SRP 50% from 2 tests
🔹 Tests weight: 20 | A shallow check of the single-responsibility principle; PHP files should perform no action - including output of placeholder text - and trigger no errors when accessed directly
Almost there! Just fix the following items
- 39× PHP files trigger errors when accessed directly with GET requests (only 10 are shown):
- > PHP Fatal error
Uncaught Error: Class 'tad_DI52_Container' not found in wp-content/plugins/kadence-blocks/vendor/lucatume/di52/.phpstorm.meta.php:5
- > PHP Fatal error
Uncaught Error: Interface 'KadenceWP\\KadenceBlocks\\StellarWP\\ContainerContract\\ContainerInterface' not found in wp-content/plugins/kadence-blocks/includes/vendor/Container.php:8
- > PHP Fatal error
Uncaught Error: Class 'KadenceWP\\KadenceBlocks\\StellarWP\\Telemetry\\Contracts\\Abstract_Subscriber' not found in wp-content/plugins/kadence-blocks/vendor/vendor-prefixed/stellarwp/telemetry/src/Telemetry/Admin/Admin_Subscriber.php:26
- > PHP Fatal error
Uncaught Error: Class 'Codeception\\Actor' not found in wp-content/plugins/kadence-blocks/vendor/stellarwp/telemetry/tests/_support/AcceptanceTester.php:19
- > PHP Fatal error
Uncaught Error: Class 'WP_REST_Posts_Controller' not found in wp-content/plugins/kadence-blocks/includes/advanced-form/advanced-form-rest-api.php:3
- > PHP Fatal error
Uncaught Error: Interface 'KadenceWP\\KadenceBlocks\\lucatume\\DI52\\Builders\\BuilderInterface' not found in wp-content/plugins/kadence-blocks/vendor/vendor-prefixed/lucatume/di52/src/Builders/CallableBuilder.php:21
- > PHP Fatal error
Uncaught Error: Interface 'KadenceWP\\KadenceBlocks\\lucatume\\DI52\\Builders\\BuilderInterface' not found in wp-content/plugins/kadence-blocks/vendor/vendor-prefixed/lucatume/di52/src/Builders/ValueBuilder.php:19
- > PHP Fatal error
Uncaught Error: Class 'Codeception\\TestCase\\WPTestCase' not found in wp-content/plugins/kadence-blocks/vendor/stellarwp/telemetry/tests/wpunit/Telemetry_Test.php:8
- > PHP Fatal error
Uncaught Error: Call to undefined function add_action() in wp-content/plugins/kadence-blocks/includes/advanced-form/advanced-form-cpt.php:28
- > PHP Fatal error
Uncaught Error: Class 'KadenceWP\\KadenceBlocks\\StellarWP\\Telemetry\\Contracts\\Abstract_Subscriber' not found in wp-content/plugins/kadence-blocks/vendor/vendor-prefixed/stellarwp/telemetry/src/Telemetry/Opt_In/Opt_In_Subscriber.php:27
- > PHP Fatal error
User-side errors Passed 1 test
🔹 Test weight: 20 | A shallow check that no browser errors were triggered
No browser issues were found
Optimizations
Plugin configuration Passed 29 tests
readme.txt Passed 16 tests
The readme.txt file is undoubtedly the most important file in your plugin, preparing it for public listing on WordPress.org
7 plugin tags: gutenberg, page builder, dual buttons, editor width, google fonts...
kadence-blocks/kadence-blocks.php Passed 13 tests
The main PHP file in "Gutenberg Blocks by Kadence Blocks – Page Builder Features" ver. 3.1.26 adds more information about the plugin and also serves as the entry point for this plugin
112 characters long description:
Advanced Page Building Blocks for Gutenberg. Create custom column layouts, backgrounds, dual buttons, icons etc.
Code Analysis 97% from 3 tests
File types Passed 1 test
🔸 Test weight: 35 | This is an overview of programming languages used in this plugin; dangerous file extensions are not allowed
Everything looks great! No dangerous files found in this plugin48,101 lines of code in 417 files:
Language | Files | Blank lines | Comment lines | Lines of code |
---|---|---|---|---|
PHP | 194 | 2,815 | 9,723 | 28,568 |
JSON | 52 | 0 | 0 | 14,281 |
JavaScript | 77 | 622 | 237 | 3,294 |
Markdown | 7 | 526 | 0 | 1,248 |
CSS | 59 | 32 | 0 | 280 |
YAML | 10 | 15 | 29 | 239 |
XML | 2 | 1 | 0 | 108 |
SVG | 16 | 0 | 0 | 83 |
PHP code 50% from 2 tests
Cyclomatic complexity and code structure are the fingerprint of this plugin
These items need your attention
- Cyclomatic complexity of methods should be reduced to less than 100 (currently 838)
Cyclomatic complexity | |
---|---|
Average complexity per logical line of code | 0.78 |
Average class complexity | 70.09 |
▷ Minimum class complexity | 1.00 |
▷ Maximum class complexity | 847.00 |
Average method complexity | 11.27 |
▷ Minimum method complexity | 1.00 |
▷ Maximum method complexity | 838.00 |
Code structure | ||
---|---|---|
Namespaces | 18 | |
Interfaces | 10 | |
Traits | 0 | |
Classes | 115 | |
▷ Abstract classes | 2 | 1.74% |
▷ Concrete classes | 113 | 98.26% |
▷ Final classes | 0 | 0.00% |
Methods | 856 | |
▷ Static methods | 120 | 14.02% |
▷ Public methods | 754 | 88.08% |
▷ Protected methods | 27 | 3.15% |
▷ Private methods | 75 | 8.76% |
Functions | 63 | |
▷ Named functions | 44 | 69.84% |
▷ Anonymous functions | 19 | 30.16% |
Constants | 54 | |
▷ Global constants | 3 | 5.56% |
▷ Class constants | 51 | 94.44% |
▷ Public constants | 48 | 94.12% |
Plugin size Passed 2 tests
Image compression Passed 2 tests
All PNG images should be compressed to minimize bandwidth usage for end users
2 PNG files occupy 0.03MB with 0.02MB in potential savings
Potential savings
Compression of 2 random PNG files using pngquant | |||
---|---|---|---|
File | Size - original | Size - compressed | Savings |
includes/settings/img/kadence-logo.png | 23.29KB | 11.74KB | ▼ 49.58% |
includes/assets/images/graphy.png | 3.77KB | 0.20KB | ▼ 94.64% |