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
This plugin's installer ran successfully
Server metrics [RAM: ▲1.06MB] [CPU: ▲3.11ms] Passed 4 tests
A check of server-side resources used by Genesis Blocks
Normal server usage
Page | Memory (MB) | CPU Time (ms) |
---|---|---|
Home / | 4.53 ▲1.06 | 44.38 ▲1.10 |
Dashboard /wp-admin | 4.36 ▲1.05 | 54.61 ▲6.96 |
Posts /wp-admin/edit.php | 4.41 ▲1.05 | 55.61 ▲6.52 |
Add New Post /wp-admin/post-new.php | 6.99 ▲1.11 | 101.32 ▼2.13 |
Media Library /wp-admin/upload.php | 4.28 ▲1.05 | 42.43 ▲12.82 |
Migrate /wp-admin/admin.php?page=genesis-blocks-migrate | 4.25 | 37.52 |
Settings /wp-admin/admin.php?page=genesis-blocks-settings | 4.30 | 44.14 |
Getting Started /wp-admin/admin.php?page=genesis-blocks-getting-started | 4.31 | 36.62 |
Server storage [IO: ▲2.19MB] [DB: ▲0.00MB] Passed 3 tests
A short overview of filesystem and database impact
This plugin installed successfully
Filesystem: 384 new files
Database: no new tables, 7 new options
New WordPress options |
---|
db_upgraded |
can_compress_scripts |
widget_theysaidso_widget |
theysaidso_admin_options |
widget_recent-posts |
genesis_blocks_has_content_to_migrate |
widget_recent-comments |
Browser metrics Passed 4 tests
This is an overview of browser requirements for Genesis Blocks
There were no issues detected in relation to browser resource usage
Page | Nodes | Memory (MB) | Script (ms) | Layout (ms) |
---|---|---|---|---|
Home / | 2,850 ▲88 | 14.33 ▼0.40 | 1.74 ▲0.08 | 40.05 ▼4.25 |
Dashboard /wp-admin | 2,249 ▲69 | 5.64 ▲0.01 | 92.63 ▼8.46 | 44.87 ▼3.49 |
Posts /wp-admin/edit.php | 2,145 ▲45 | 2.04 ▲0.03 | 41.17 ▲5.67 | 35.57 ▲2.15 |
Add New Post /wp-admin/post-new.php | 6,225 ▲4,699 | 19.49 ▼3.79 | 890.68 ▲236.90 | 62.59 ▲8.88 |
Media Library /wp-admin/upload.php | 1,442 ▲45 | 4.18 ▲0.00 | 99.64 ▼1.37 | 41.89 ▼1.84 |
Migrate /wp-admin/admin.php?page=genesis-blocks-migrate | 982 | 2.48 | 40.47 | 37.01 |
Settings /wp-admin/admin.php?page=genesis-blocks-settings | 1,179 | 10.98 | 208.74 | 106.45 |
Getting Started /wp-admin/admin.php?page=genesis-blocks-getting-started | 1,738 | 2.01 | 26.00 | 43.40 |
Uninstaller [IO: ▲0.00MB] [DB: ▲0.00MB] 75% from 4 tests
🔸 Tests weight: 35 | Verifying that this plugin uninstalls completely without leaving any traces
Please fix the following items
- The uninstall procedure has failed, leaving 7 options in the database
- widget_theysaidso_widget
- genesis_blocks_has_content_to_migrate
- db_upgraded
- theysaidso_admin_options
- widget_recent-posts
- widget_recent-comments
- can_compress_scripts
Smoke tests 50% from 4 tests
Server-side errors Passed 1 test
🔹 Test weight: 20 | A shallow check that no server-side errors were triggered
The smoke test was a success, however most plugin functionality was not tested
SRP 0% from 2 tests
🔹 Tests weight: 20 | It is important to ensure that your PHP files perform no action when accessed directly, respecting the single-responsibility principle
Almost there! Just fix the following items
- 4× PHP files perform the task of outputting text when accessed with GET requests:
- > /wp-content/plugins/genesis-blocks/lib/Settings/views/admin/tabs/genesis-collections.php
- > /wp-content/plugins/genesis-blocks/lib/Settings/views/admin/tabs/genesis-pro.php
- > /wp-content/plugins/genesis-blocks/lib/Settings/views/admin/tabs/genesis-101.php
- > /wp-content/plugins/genesis-blocks/lib/Settings/views/admin/getting-started.php
- 47× PHP files trigger server errors when accessed directly (only 10 are shown):
- > PHP Fatal error
Uncaught Error: Call to undefined function add_action() in wp-content/plugins/genesis-blocks/src/blocks/block-newsletter/index.php:8
- > PHP Fatal error
Uncaught Error: Call to undefined function add_action() in wp-content/plugins/genesis-blocks/src/blocks/block-sharing/index.php:75
- > PHP Fatal error
Uncaught Error: Call to undefined function esc_html__() in wp-content/plugins/genesis-blocks/includes/patterns/gb_slate_layout_homepage_alternative.php:13
- > PHP Fatal error
Uncaught Error: Call to undefined function Genesis\\Blocks\\Layouts\\add_action() in wp-content/plugins/genesis-blocks/includes/layout/register-layout-components.php:10
- > PHP Fatal error
Uncaught Error: Interface 'Genesis\\Blocks\\Interfaces\\ModuleInterface' not found in wp-content/plugins/genesis-blocks/lib/Settings/Module.php:27
- > PHP Fatal error
Uncaught Error: Call to undefined function esc_html__() in wp-content/plugins/genesis-blocks/includes/patterns/gb_slate_section_text_with_cta.php:13
- > PHP Fatal error
Uncaught Error: Class 'Genesis\\Blocks\\Exception\\API_Error_Exception' not found in wp-content/plugins/genesis-blocks/src/blocks/block-newsletter/includes/exceptions/class-mailchimp-api-error-exception.php:19
- > PHP Fatal error
Uncaught Error: Call to undefined function esc_html__() in wp-content/plugins/genesis-blocks/includes/patterns/gb_slate_section_contact_columns.php:13
- > PHP Fatal error
Uncaught Error: Call to undefined function esc_html__() in wp-content/plugins/genesis-blocks/includes/patterns/gb_slate_section_media_and_text.php:13
- > PHP Fatal error
Uncaught Error: Call to undefined function add_filter() in wp-content/plugins/genesis-blocks/src/blocks/block-container/index.php:37
- > PHP Fatal error
User-side errors Passed 1 test
🔹 Test weight: 20 | This is a smoke test targeting browser errors/issues
Everything seems fine, but this is not an exhaustive test
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
9 plugin tags: block enabled, gutenberg, gutenberg blocks, block, page building...
genesis-blocks/genesis-blocks.php Passed 13 tests
The primary PHP file in "Genesis Blocks" version 3.1.1 is used by WordPress to initiate all plugin functionality
93 characters long description:
A beautiful collection of handy blocks to help you get started with the new WordPress editor.
Code Analysis Passed 3 tests
File types Passed 1 test
🔸 Test weight: 35 | This is an overview of file extensions present in this plugin and a short test that no dangerous files are bundled with this plugin
Good job! No executable or dangerous file extensions detected33,712 lines of code in 367 files:
Language | Files | Blank lines | Comment lines | Lines of code |
---|---|---|---|---|
JavaScript | 217 | 1,536 | 2,070 | 17,856 |
PHP | 88 | 1,547 | 2,688 | 9,810 |
Sass | 33 | 926 | 1 | 3,675 |
CSS | 4 | 362 | 42 | 1,759 |
SVG | 24 | 0 | 4 | 607 |
JSON | 1 | 0 | 0 | 5 |
PHP code Passed 2 tests
Cyclomatic complexity and code structure are the fingerprint of this plugin
No cyclomatic complexity issues were detected for this plugin
Cyclomatic complexity | |
---|---|
Average complexity per logical line of code | 0.32 |
Average class complexity | 8.72 |
▷ Minimum class complexity | 1.00 |
▷ Maximum class complexity | 48.00 |
Average method complexity | 2.38 |
▷ Minimum method complexity | 1.00 |
▷ Maximum method complexity | 18.00 |
Code structure | ||
---|---|---|
Namespaces | 17 | |
Interfaces | 2 | |
Traits | 1 | |
Classes | 29 | |
▷ Abstract classes | 0 | 0.00% |
▷ Concrete classes | 29 | 100.00% |
▷ Final classes | 16 | 55.17% |
Methods | 189 | |
▷ Static methods | 27 | 14.29% |
▷ Public methods | 149 | 78.84% |
▷ Protected methods | 12 | 6.35% |
▷ Private methods | 28 | 14.81% |
Functions | 77 | |
▷ Named functions | 51 | 66.23% |
▷ Anonymous functions | 26 | 33.77% |
Constants | 15 | |
▷ Global constants | 0 | 0.00% |
▷ Class constants | 15 | 100.00% |
▷ Public constants | 15 | 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
There were not PNG files found in your plugin