Benchmarks
Plugin footprint 83% from 16 tests
Installer Passed 1 test
🔺 Critical test (weight: 50) | Checking the installer triggered no errors
This plugin's installer ran successfully
Server metrics [RAM: ▲0.35MB] [CPU: ▼7.22ms] Passed 4 tests
An overview of server-side resources used by Gutenberg Blocks Library & Toolkit - Editor Plus
Normal server usage
Page | Memory (MB) | CPU Time (ms) |
---|---|---|
Home / | 3.84 ▲0.38 | 40.28 ▼5.65 |
Dashboard /wp-admin | 3.64 ▲0.29 | 47.47 ▼14.34 |
Posts /wp-admin/edit.php | 3.75 ▲0.40 | 48.25 ▲2.15 |
Add New Post /wp-admin/post-new.php | 6.29 ▲0.40 | 86.66 ▼7.41 |
Media Library /wp-admin/upload.php | 3.56 ▲0.33 | 35.75 ▼1.49 |
Editor Plus /wp-admin/options-general.php?page=editor_plus | 3.55 | 37.72 |
Server storage [IO: ▲4.62MB] [DB: ▲0.00MB] Passed 3 tests
How much does this plugin use your filesystem and database?
This plugin was installed successfully
Filesystem: 35 new files
Database: no new tables, 6 new options
New WordPress options |
---|
theysaidso_admin_options |
widget_recent-comments |
widget_recent-posts |
db_upgraded |
widget_theysaidso_widget |
can_compress_scripts |
Browser metrics Passed 4 tests
Checking browser requirements for Gutenberg Blocks Library & Toolkit - Editor Plus
This plugin renders optimally with no browser resource issues detected
Page | Nodes | Memory (MB) | Script (ms) | Layout (ms) |
---|---|---|---|---|
Home / | 2,951 ▲204 | 14.13 ▼0.09 | 22.26 ▲20.68 | 40.28 ▼4.09 |
Dashboard /wp-admin | 2,196 ▲21 | 5.49 ▼0.19 | 80.84 ▼36.52 | 38.30 ▼7.27 |
Posts /wp-admin/edit.php | 2,107 ▲4 | 2.01 ▲0.00 | 37.00 ▲0.42 | 33.25 ▼2.49 |
Add New Post /wp-admin/post-new.php | 6,403 ▲4,874 | 25.72 ▲2.46 | 1,003.49 ▲334.29 | 35.44 ▼20.03 |
Media Library /wp-admin/upload.php | 1,398 ▼2 | 4.24 ▲0.11 | 102.63 ▼8.44 | 40.03 ▼9.36 |
Editor Plus /wp-admin/options-general.php?page=editor_plus | 1,127 | 13.50 | 255.01 | 50.71 |
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
These items require your attention
- Zombie WordPress options were found after uninstall: 6 options
- widget_recent-comments
- can_compress_scripts
- theysaidso_admin_options
- db_upgraded
- widget_recent-posts
- widget_theysaidso_widget
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
Everything seems fine, however this is by no means an exhaustive test
SRP 50% from 2 tests
🔹 Tests weight: 20 | The single-responsibility principle applies for WordPress plugins as well - please make sure your PHP files perform no actions when accessed directly
Please take a closer look at the following
- 9× PHP files trigger server errors when accessed directly:
- > PHP Fatal error
Uncaught Error: Call to undefined function plugin_dir_path() in wp-content/plugins/editorplus/editorplus.php:14
- > PHP Warning
require_once(EDPL_EDITORPLUS_PLUGIN_DIRincludes/blocks.php): failed to open stream: No such file or directory in wp-content/plugins/editorplus/includes/class-editorplus-styles-generator.php on line 8
- > PHP Fatal error
require_once(): Failed opening required 'EDPL_EDITORPLUS_PLUGIN_DIRincludes/blocks.php' (include_path='.:/usr/share/php') in wp-content/plugins/editorplus/includes/class-editorplus-styles-generator.php on line 8
- > PHP Warning
Use of undefined constant EDPL_EDITORPLUS_PLUGIN_DIR - assumed 'EDPL_EDITORPLUS_PLUGIN_DIR' (this will throw an Error in a future version of PHP) in wp-content/plugins/editorplus/assets/index.php on line 8
- > PHP Fatal error
Uncaught Error: Call to undefined function add_action() in wp-content/plugins/editorplus/blocks/index.php:3
- > PHP Fatal error
require_once(): Failed opening required 'EDPL_EDITORPLUS_PLUGIN_DIRincludes/utils.php' (include_path='.:/usr/share/php') in wp-content/plugins/editorplus/assets/index.php on line 8
- > PHP Fatal error
Uncaught Error: Call to undefined function get_option() in wp-content/plugins/editorplus/extensions/icon-inserter/index.php:32
- > PHP Warning
Use of undefined constant EDPL_EDITORPLUS_PLUGIN_DIR - assumed 'EDPL_EDITORPLUS_PLUGIN_DIR' (this will throw an Error in a future version of PHP) in wp-content/plugins/editorplus/includes/class-editorplus-styles-generator.php on line 8
- > PHP Warning
require_once(EDPL_EDITORPLUS_PLUGIN_DIRincludes/utils.php): failed to open stream: No such file or directory in wp-content/plugins/editorplus/assets/index.php on line 8
- > 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 96% from 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: blocks, gutenberg, block, pattern, gutenberg blocks...
editorplus/editorplus.php 92% from 13 tests
The main PHP file in "Gutenberg Blocks Library & Toolkit - Editor Plus" ver. 2.10.0 adds more information about the plugin and also serves as the entry point for this plugin
Please take the time to fix the following:
- Text Domain: Please use dashes and lowercase characters for text domains
Code Analysis Passed 3 tests
File types Passed 1 test
🔸 Test weight: 35 | Executable files are not allowed as they can serve as attack vectors
There were no executable files found in this plugin3,235 lines of code in 30 files:
Language | Files | Blank lines | Comment lines | Lines of code |
---|---|---|---|---|
PHP | 12 | 524 | 554 | 1,594 |
SVG | 1 | 0 | 0 | 1,176 |
JavaScript | 11 | 36 | 12 | 418 |
XML | 1 | 0 | 0 | 27 |
JSON | 2 | 0 | 0 | 17 |
CSS | 3 | 0 | 0 | 3 |
PHP code Passed 2 tests
A brief analysis of cyclomatic complexity and code structure for this plugin
This plugin has no cyclomatic complexity issues
Cyclomatic complexity | |
---|---|
Average complexity per logical line of code | 0.70 |
Average class complexity | 17.00 |
▷ Minimum class complexity | 8.00 |
▷ Maximum class complexity | 32.00 |
Average method complexity | 5.27 |
▷ Minimum method complexity | 1.00 |
▷ Maximum method complexity | 23.00 |
Code structure | ||
---|---|---|
Namespaces | 0 | |
Interfaces | 0 | |
Traits | 0 | |
Classes | 4 | |
▷ Abstract classes | 0 | 0.00% |
▷ Concrete classes | 4 | 100.00% |
▷ Final classes | 1 | 25.00% |
Methods | 17 | |
▷ Static methods | 1 | 5.88% |
▷ Public methods | 15 | 88.24% |
▷ Protected methods | 0 | 0.00% |
▷ Private methods | 2 | 11.76% |
Functions | 52 | |
▷ Named functions | 43 | 82.69% |
▷ Anonymous functions | 9 | 17.31% |
Constants | 3 | |
▷ Global constants | 2 | 66.67% |
▷ Class constants | 1 | 33.33% |
▷ Public constants | 1 | 100.00% |
Plugin size Passed 2 tests
Image compression Passed 2 tests
PNG files should be compressed to save space and minimize bandwidth usage
PNG images were not found in this plugin