Benchmarks
Plugin footprint 83% 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: ▼0.21MB] [CPU: ▼10.89ms] Passed 4 tests
A check of server-side resources used by WordPress Essential Blocks
Server-side resource usage in normal parameters
Page | Memory (MB) | CPU Time (ms) |
---|---|---|
Home / | 3.52 ▲0.06 | 38.37 ▲2.05 |
Dashboard /wp-admin | 3.36 ▲0.05 | 44.53 ▼0.34 |
Posts /wp-admin/edit.php | 3.47 ▲0.11 | 45.77 ▼1.55 |
Add New Post /wp-admin/post-new.php | 4.87 ▼1.02 | 47.72 ▼42.99 |
Media Library /wp-admin/upload.php | 3.28 ▲0.05 | 35.71 ▲1.32 |
Server storage [IO: ▲5.87MB] [DB: ▲0.00MB] Passed 3 tests
Input-output and database impact of this plugin
This plugin installed successfully
Filesystem: 19 new files
Database: no new tables, 8 new options
New WordPress options |
---|
theysaidso_admin_options |
db_upgraded |
widget_recent-posts |
widget_recent-comments |
can_compress_scripts |
widget_theysaidso_widget |
RoxBlocks_version |
RoxBlocks_installed |
Browser metrics Passed 4 tests
An overview of browser requirements for WordPress Essential Blocks
There were no issues detected in relation to browser resource usage
Page | Nodes | Memory (MB) | Script (ms) | Layout (ms) |
---|---|---|---|---|
Home / | 2,801 ▲40 | 14.31 ▼0.22 | 1.65 ▲0.01 | 44.49 ▼2.43 |
Dashboard /wp-admin | 2,192 ▲18 | 5.56 ▼0.02 | 99.65 ▲12.43 | 47.42 ▲8.70 |
Posts /wp-admin/edit.php | 2,103 ▲6 | 2.01 ▼0.15 | 37.89 ▲1.82 | 35.42 ▲3.46 |
Add New Post /wp-admin/post-new.php | 6,199 ▲4,673 | 19.03 ▼4.19 | 958.76 ▲284.00 | 57.44 ▲1.67 |
Media Library /wp-admin/upload.php | 1,397 ▼3 | 4.17 ▼0.01 | 93.06 ▼4.18 | 43.75 ▼1.79 |
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
You still need to fix the following
- This plugin does not fully uninstall, leaving 8 options in the database
- can_compress_scripts
- widget_theysaidso_widget
- widget_recent-comments
- db_upgraded
- RoxBlocks_version
- RoxBlocks_installed
- theysaidso_admin_options
- widget_recent-posts
Smoke tests Passed 4 tests
Server-side errors Passed 1 test
🔹 Test weight: 20 | This is a short smoke test looking for server-side errors
Everything seems fine, however this is by no means an exhaustive test
SRP Passed 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
Everything seems fine, however this is by no means an exhaustive test
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 93% from 29 tests
readme.txt 88% from 16 tests
The readme.txt file is undoubtedly the most important file in your plugin, preparing it for public listing on WordPress.org
These attributes need to be fixed:
- Screenshots: Add descriptions for screenshots #2, #3 in wp-essential-blocks/assets to your readme.txt
- Screenshots: Screenshot #5 (Icon Chooser (IcoFont) For Blocks) image not found
wp-essential-blocks/wp-essential-blocks.php Passed 13 tests
The main PHP script in "WordPress Essential Blocks" version 1.0.2 is automatically included on every request by WordPress
54 characters long description:
Powerful and Feature Rich Blocks for Gutenberg Editor.
Code Analysis Passed 3 tests
File types Passed 1 test
🔸 Test weight: 35 | There should be no dangerous file extensions present in any WordPress plugin
Good job! No executable or dangerous file extensions detected8,828 lines of code in 13 files:
Language | Files | Blank lines | Comment lines | Lines of code |
---|---|---|---|---|
CSS | 4 | 2,130 | 8 | 6,482 |
SVG | 1 | 0 | 0 | 2,105 |
PHP | 3 | 27 | 175 | 200 |
Markdown | 2 | 18 | 0 | 38 |
JSON | 2 | 0 | 0 | 2 |
JavaScript | 1 | 0 | 0 | 1 |
PHP code Passed 2 tests
This is a short overview of cyclomatic complexity and code structure for this plugin
No cyclomatic complexity issues were detected for this plugin
Cyclomatic complexity | |
---|---|
Average complexity per logical line of code | 0.25 |
Average class complexity | 6.67 |
▷ Minimum class complexity | 1.00 |
▷ Maximum class complexity | 14.00 |
Average method complexity | 1.74 |
▷ Minimum method complexity | 1.00 |
▷ Maximum method complexity | 5.00 |
Code structure | ||
---|---|---|
Namespaces | 1 | |
Interfaces | 0 | |
Traits | 0 | |
Classes | 3 | |
▷ Abstract classes | 0 | 0.00% |
▷ Concrete classes | 3 | 100.00% |
▷ Final classes | 0 | 0.00% |
Methods | 20 | |
▷ Static methods | 6 | 30.00% |
▷ Public methods | 19 | 95.00% |
▷ Protected methods | 0 | 0.00% |
▷ Private methods | 1 | 5.00% |
Functions | 1 | |
▷ Named functions | 0 | 0.00% |
▷ Anonymous functions | 1 | 100.00% |
Constants | 4 | |
▷ Global constants | 4 | 100.00% |
▷ Class constants | 0 | 0.00% |
▷ Public constants | 0 | 0.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 images were found in this plugin