Benchmarks
Plugin footprint 83% from 16 tests
Installer Passed 1 test
🔺 Critical test (weight: 50) | All plugins must install correctly, without throwing any errors, warnings, or notices
Install script ran successfully
Server metrics [RAM: ▲0.22MB] [CPU: ▼307.63ms] Passed 4 tests
Server-side resources used by Genesis Custom Blocks
This plugin does not affect your website's performance
Page | Memory (MB) | CPU Time (ms) |
---|---|---|
Home / | 3.75 ▲0.23 | 66.60 ▲9.70 |
Dashboard /wp-admin | 3.59 ▲0.19 | 39.33 ▼6.83 |
Posts /wp-admin/edit.php | 3.88 ▲0.24 | 46.31 ▲0.52 |
Add New Post /wp-admin/post-new.php | 7.20 ▲0.23 | 110.09 ▼1,213.22 |
Media Library /wp-admin/upload.php | 3.55 ▲0.25 | 26.33 ▼10.97 |
Add New /wp-admin/post-new.php?post_type=genesis_custom_block | 3.57 | 37.36 |
Genesis Pro /wp-admin/edit.php?post_type=genesis_custom_block&page=genesis-custom-blocks-pro | 3.59 | 28.17 |
Settings /wp-admin/edit.php?post_type=genesis_custom_block&page=genesis-custom-blocks-settings | 3.55 | 25.89 |
All Blocks /wp-admin/edit.php?post_type=genesis_custom_block | 3.87 | 35.00 |
Documentation /wp-admin/edit.php?post_type=genesis_custom_block&page=genesis-custom-blocks-documentation | 3.41 | 26.43 |
Server storage [IO: ▲1.12MB] [DB: ▲0.00MB] Passed 3 tests
Input-output and database impact of this plugin
There were no storage issued detected upon installing this plugin
Filesystem: 75 new files
Database: no new tables, 1 new option
New WordPress options |
---|
genesis_custom_blocks_example_post_id |
Browser metrics Passed 4 tests
Checking browser requirements for Genesis Custom Blocks
Normal browser usage
Page | Nodes | Memory (MB) | Script (ms) | Layout (ms) |
---|---|---|---|---|
Home / | 3,873 ▲147 | 15.86 ▼0.13 | 6.49 ▼0.24 | 2.50 ▼0.18 |
Dashboard /wp-admin | 2,968 ▲114 | 6.11 ▼0.05 | 116.43 ▼18.81 | 155.66 ▼5.99 |
Posts /wp-admin/edit.php | 2,744 ▲53 | 3.24 ▲0.01 | 63.72 ▲2.35 | 138.45 ▼2.05 |
Add New Post /wp-admin/post-new.php | 1,708 ▲18 | 16.47 ▼2.93 | 435.11 ▲41.57 | 160.96 ▲6.37 |
Media Library /wp-admin/upload.php | 1,777 ▲79 | 5.51 ▼0.00 | 140.99 ▼1.98 | 181.93 ▼7.09 |
Add New /wp-admin/post-new.php?post_type=genesis_custom_block | 606 | 12.52 | 217.06 | 137.90 |
Genesis Pro /wp-admin/edit.php?post_type=genesis_custom_block&page=genesis-custom-blocks-pro | 1,422 | 2.53 | 56.64 | 217.25 |
Settings /wp-admin/edit.php?post_type=genesis_custom_block&page=genesis-custom-blocks-settings | 1,088 | 2.37 | 53.35 | 111.87 |
All Blocks /wp-admin/edit.php?post_type=genesis_custom_block | 2,194 | 3.22 | 62.45 | 180.91 |
Documentation /wp-admin/edit.php?post_type=genesis_custom_block&page=genesis-custom-blocks-documentation | 960 | 2.56 | 51.24 | 117.59 |
Uninstaller [IO: ▲0.00MB] [DB: ▲0.00MB] 75% from 4 tests
🔸 Tests weight: 35 | Checking the uninstaller removed all traces of the plugin
These items require your attention
- Zombie WordPress options detected upon uninstall: 1 option
- genesis_custom_blocks_example_post_id
Smoke tests 75% from 4 tests
Server-side errors Passed 1 test
🔹 Test weight: 20 | A smoke test targeting server-side errors
Even though everything seems fine, this is not 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
Please fix the following items
- 31× PHP files trigger server-side errors or warnings when accessed directly (only 10 are shown):
- > PHP Fatal error
Uncaught Error: Interface 'Genesis\\CustomBlocks\\ComponentInterface' not found in wp-content/plugins/genesis-custom-blocks/php/ComponentAbstract.php:15
- > PHP Fatal error
Uncaught Error: Class 'Genesis\\CustomBlocks\\ComponentAbstract' not found in wp-content/plugins/genesis-custom-blocks/php/Admin/Admin.php:17
- > PHP Fatal error
Uncaught Error: Class 'Genesis\\CustomBlocks\\Blocks\\Controls\\ControlAbstract' not found in wp-content/plugins/genesis-custom-blocks/php/Blocks/Controls/Number.php:15
- > PHP Fatal error
Uncaught Error: Class 'Genesis\\CustomBlocks\\Blocks\\Controls\\ControlAbstract' not found in wp-content/plugins/genesis-custom-blocks/php/Blocks/Controls/Url.php:15
- > PHP Fatal error
Uncaught Error: Class 'Genesis\\CustomBlocks\\Blocks\\Controls\\ControlAbstract' not found in wp-content/plugins/genesis-custom-blocks/php/Blocks/Controls/Range.php:15
- > PHP Fatal error
Uncaught Error: Class 'Genesis\\CustomBlocks\\ComponentAbstract' not found in wp-content/plugins/genesis-custom-blocks/php/Admin/Documentation.php:17
- > PHP Fatal error
Uncaught Error: Class 'Genesis\\CustomBlocks\\Blocks\\Controls\\ControlAbstract' not found in wp-content/plugins/genesis-custom-blocks/php/Blocks/Controls/Select.php:15
- > PHP Fatal error
Uncaught Error: Class 'Genesis\\CustomBlocks\\Blocks\\Controls\\ControlAbstract' not found in wp-content/plugins/genesis-custom-blocks/php/Blocks/Controls/Image.php:15
- > PHP Fatal error
Uncaught Error: Class 'Genesis\\CustomBlocks\\PluginAbstract' not found in wp-content/plugins/genesis-custom-blocks/php/Plugin.php:20
- > PHP Fatal error
Uncaught Error: Class 'Genesis\\CustomBlocks\\Blocks\\Controls\\ControlAbstract' not found in wp-content/plugins/genesis-custom-blocks/php/Blocks/Controls/Checkbox.php:15
- > PHP Fatal error
User-side errors Passed 1 test
🔹 Test weight: 20 | Just a short smoke test targeting errors on the browser (console and network errors and warnings)
Everything seems fine, but this is not an exhaustive test
Optimizations
Plugin configuration 90% from 29 tests
readme.txt 94% from 16 tests
Often overlooked, readme.txt is one of the most important files in your plugin
These attributes need your attention:
- Screenshots: These screenshots lack descriptions #1, #2, #3, #4, #5 in genesis-custom-blocks/assets to your readme.txt
genesis-custom-blocks/genesis-custom-blocks.php 85% from 13 tests
"Genesis Custom Blocks" version 1.5.0's main PHP file describes plugin functionality and also serves as the entry point to any WordPress functionality
Please take the time to fix the following:
- Domain Path: The domain path should use only dashes and lowercase characters ("languages")
- Domain Path: Prefix the domain path with a forward slash character ("/languages")
Code Analysis Passed 3 tests
File types Passed 1 test
🔸 Test weight: 35 | A short review of files and their extensions; it is not recommended to include executable files
There were no executable files found in this plugin4,601 lines of code in 65 files:
Language | Files | Blank lines | Comment lines | Lines of code |
---|---|---|---|---|
PHP | 53 | 721 | 2,430 | 3,146 |
CSS | 6 | 332 | 207 | 1,407 |
SVG | 2 | 0 | 0 | 26 |
JavaScript | 3 | 0 | 10 | 21 |
JSON | 1 | 0 | 0 | 1 |
PHP code Passed 2 tests
This plugin's cyclomatic complexity and code structure detailed below
No complexity issues detected
Cyclomatic complexity | |
---|---|
Average complexity per logical line of code | 0.28 |
Average class complexity | 8.21 |
▷ Minimum class complexity | 1.00 |
▷ Maximum class complexity | 53.00 |
Average method complexity | 2.45 |
▷ Minimum method complexity | 1.00 |
▷ Maximum method complexity | 18.00 |
Code structure | ||
---|---|---|
Namespaces | 6 | |
Interfaces | 2 | |
Traits | 0 | |
Classes | 36 | |
▷ Abstract classes | 3 | 8.33% |
▷ Concrete classes | 33 | 91.67% |
▷ Final classes | 0 | 0.00% |
Methods | 208 | |
▷ Static methods | 3 | 1.44% |
▷ Public methods | 198 | 95.19% |
▷ Protected methods | 7 | 3.37% |
▷ Private methods | 3 | 1.44% |
Functions | 26 | |
▷ Named functions | 20 | 76.92% |
▷ Anonymous functions | 6 | 23.08% |
Constants | 12 | |
▷ Global constants | 0 | 0.00% |
▷ Class constants | 12 | 100.00% |
▷ Public constants | 12 | 100.00% |
Plugin size Passed 2 tests
Image compression Passed 2 tests
All PNG images should be compressed to minimize bandwidth usage for end users
No PNG files were detected