Benchmarks
Plugin footprint 83% from 16 tests
Installer Passed 1 test
🔺 Critical test (weight: 50) | Verifying that this plugin installs correctly without errors
The plugin installed successfully, without throwing any errors or notices
Server metrics [RAM: ▼0.01MB] [CPU: ▼9.60ms] Passed 4 tests
This is a short check of server-side resources used by Convert to Blocks
This plugin has minimal impact on server resources
Page | Memory (MB) | CPU Time (ms) |
---|---|---|
Home / | 3.47 ▲0.00 | 33.12 ▼5.59 |
Dashboard /wp-admin | 3.31 ▼0.04 | 51.05 ▼8.73 |
Posts /wp-admin/edit.php | 3.36 ▲0.00 | 48.55 ▼0.83 |
Add New Post /wp-admin/post-new.php | 5.89 ▲0.00 | 78.09 ▼19.79 |
Media Library /wp-admin/upload.php | 3.23 ▲0.00 | 30.05 ▼4.29 |
Server storage [IO: ▲0.07MB] [DB: ▲0.00MB] Passed 3 tests
How much does this plugin use your filesystem and database?
This plugin was installed successfully
Filesystem: 14 new files
Database: no new tables, 6 new options
New WordPress options |
---|
db_upgraded |
widget_theysaidso_widget |
can_compress_scripts |
theysaidso_admin_options |
widget_recent-comments |
widget_recent-posts |
Browser metrics Passed 4 tests
This is an overview of browser requirements for Convert to Blocks
This plugin renders optimally with no browser resource issues detected
Page | Nodes | Memory (MB) | Script (ms) | Layout (ms) |
---|---|---|---|---|
Home / | 2,814 ▲53 | 14.23 ▼0.12 | 1.74 ▲0.22 | 37.07 ▼2.36 |
Dashboard /wp-admin | 2,198 ▲21 | 5.62 ▼0.05 | 93.46 ▲7.59 | 41.90 ▼1.41 |
Posts /wp-admin/edit.php | 2,100 ▼0 | 2.01 ▼0.02 | 39.03 ▼2.13 | 38.42 ▲1.12 |
Add New Post /wp-admin/post-new.php | 1,528 ▼21 | 23.18 ▲4.91 | 656.82 ▲12.03 | 46.74 ▼16.35 |
Media Library /wp-admin/upload.php | 1,403 ▼0 | 4.20 ▼0.02 | 101.36 ▲9.22 | 41.47 ▼0.28 |
Uninstaller [IO: ▲0.00MB] [DB: ▲0.00MB] 75% from 4 tests
🔸 Tests weight: 35 | The uninstall procedure must remove all plugin files and extra database tables
These items require your attention
- Zombie WordPress options were found after uninstall: 6 options
- widget_theysaidso_widget
- theysaidso_admin_options
- db_upgraded
- widget_recent-comments
- can_compress_scripts
- widget_recent-posts
Smoke tests 75% from 4 tests
Server-side errors Passed 1 test
🔹 Test weight: 20 | A shallow check that no server-side errors were triggered
Even though no errors were found, this is by no means an exhaustive test
SRP 50% from 2 tests
🔹 Tests weight: 20 | The single-responsibility principle: PHP files have to remain inert when accessed directly, throwing no errors and performing no actions
The following issues need your attention
- 3× GET requests to PHP files have triggered server-side errors or warnings:
- > PHP Fatal error
Uncaught Error: Class 'WP_CLI_Command' not found in wp-content/plugins/convert-to-blocks/includes/ConvertToBlocks/MigrationCommand.php:13
- > PHP Fatal error
Uncaught Error: Call to undefined function convert_to_blocks_define() in wp-content/plugins/convert-to-blocks/config.php:16
- > PHP Fatal error
Uncaught Error: Call to undefined function add_action() in wp-content/plugins/convert-to-blocks/convert-to-blocks.php:71
- > 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)
There were no browser issues found
Optimizations
Plugin configuration 96% from 29 tests
readme.txt Passed 16 tests
Perhaps the most important file in your plugin readme.txt gets parsed in order to generate the public listing of your plugin
6 plugin tags: gutenberg migration, convert to blocks, block migration, gutenberg, gutenberg conversion...
convert-to-blocks/convert-to-blocks.php 92% from 13 tests
The main PHP file in "Convert to Blocks" ver. 1.2.2 adds more information about the plugin and also serves as the entry point for this plugin
It is important to fix the following:
- Requires at least: Required version does not match the one declared in readme.txt ("5.7" instead of "6.1")
Code Analysis Passed 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
There were no executable files found in this plugin933 lines of code in 13 files:
Language | Files | Blank lines | Comment lines | Lines of code |
---|---|---|---|---|
PHP | 12 | 295 | 712 | 932 |
JavaScript | 1 | 0 | 0 | 1 |
PHP code Passed 2 tests
A brief analysis of cyclomatic complexity and code structure for this plugin
There are no cyclomatic complexity problems detected for this plugin
Cyclomatic complexity | |
---|---|
Average complexity per logical line of code | 0.30 |
Average class complexity | 10.70 |
▷ Minimum class complexity | 3.00 |
▷ Maximum class complexity | 35.00 |
Average method complexity | 2.18 |
▷ Minimum method complexity | 1.00 |
▷ Maximum method complexity | 9.00 |
Code structure | ||
---|---|---|
Namespaces | 1 | |
Interfaces | 0 | |
Traits | 0 | |
Classes | 10 | |
▷ Abstract classes | 0 | 0.00% |
▷ Concrete classes | 10 | 100.00% |
▷ Final classes | 0 | 0.00% |
Methods | 80 | |
▷ Static methods | 1 | 1.25% |
▷ Public methods | 80 | 100.00% |
▷ Protected methods | 0 | 0.00% |
▷ Private methods | 0 | 0.00% |
Functions | 7 | |
▷ Named functions | 4 | 57.14% |
▷ Anonymous functions | 3 | 42.86% |
Constants | 1 | |
▷ Global constants | 1 | 100.00% |
▷ Class constants | 0 | 0.00% |
▷ Public constants | 0 | 0.00% |
Plugin size Passed 2 tests
Image compression Passed 2 tests
PNG files should be compressed to save space and minimize bandwidth usage
There are no PNG files in this plugin