Benchmarks
Plugin footprint 83% from 16 tests
Installer Passed 1 test
🔺 Critical test (weight: 50) | The install procedure must perform silently
Installer ran successfully
Server metrics [RAM: ▲0.37MB] [CPU: ▼8.35ms] Passed 4 tests
A check of server-side resources used by Blocksolid
This plugin does not affect your website's performance
Page | Memory (MB) | CPU Time (ms) |
---|---|---|
Home / | 3.84 ▲0.38 | 36.91 ▼1.97 |
Dashboard /wp-admin | 3.69 ▲0.34 | 47.32 ▼11.69 |
Posts /wp-admin/edit.php | 3.81 ▲0.44 | 43.38 ▼4.95 |
Add New Post /wp-admin/post-new.php | 6.25 ▲0.36 | 81.85 ▼14.77 |
Media Library /wp-admin/upload.php | 3.62 ▲0.38 | 40.97 ▲7.40 |
Server storage [IO: ▲0.50MB] [DB: ▲0.00MB] Passed 3 tests
Input-output and database impact of this plugin
This plugin installed successfully
Filesystem: 49 new files
Database: no new tables, 6 new options
New WordPress options |
---|
widget_recent-posts |
db_upgraded |
theysaidso_admin_options |
widget_recent-comments |
can_compress_scripts |
widget_theysaidso_widget |
Browser metrics Passed 4 tests
An overview of browser requirements for Blocksolid
This plugin renders optimally with no browser resource issues detected
Page | Nodes | Memory (MB) | Script (ms) | Layout (ms) |
---|---|---|---|---|
Home / | 2,924 ▲178 | 13.39 ▼1.20 | 8.20 ▲6.65 | 40.42 ▲2.01 |
Dashboard /wp-admin | 2,219 ▲39 | 5.54 ▼0.13 | 89.98 ▲4.94 | 38.38 ▼4.87 |
Posts /wp-admin/edit.php | 2,127 ▲27 | 2.00 ▲0.03 | 33.21 ▼2.82 | 33.81 ▲1.85 |
Add New Post /wp-admin/post-new.php | 1,730 ▲195 | 22.00 ▲3.53 | 651.41 ▼0.20 | 37.88 ▼40.03 |
Media Library /wp-admin/upload.php | 1,421 ▲24 | 4.20 ▼0.04 | 95.96 ▼4.37 | 42.72 ▼0.99 |
Blocksolid 1 /wp-admin/blocksolid.php | 26 | 0.42 | 0.07 | 13.33 |
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
Please fix the following items
- Zombie WordPress options detected upon uninstall: 6 options
- theysaidso_admin_options
- can_compress_scripts
- widget_recent-posts
- widget_recent-comments
- db_upgraded
- widget_theysaidso_widget
Smoke tests 50% from 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 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
Please take a closer look at the following
- 2× PHP files trigger errors when accessed directly with GET requests:
- > PHP Fatal error
Uncaught Error: Call to undefined function get_option() in wp-content/plugins/blocksolid/blocksolid-core.php:7
- > PHP Fatal error
Uncaught Error: Call to undefined function plugin_dir_path() in wp-content/plugins/blocksolid/blocksolid.php:13
- > PHP Fatal error
User-side errors 0% from 1 test
🔹 Test weight: 20 | A shallow check that no browser errors were triggered
There are user-side issues you should fix
- > GET request to /wp-admin/blocksolid.php
- > Network (severe)
wp-admin/blocksolid.php - Failed to load resource: the server responded with a status of 404 (Not Found)
Optimizations
Plugin configuration Passed 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
7 plugin tags: wpbakery migration, elementor, visual composer migration, classic editor, gutenberg overlay...
blocksolid/blocksolid.php Passed 13 tests
The primary PHP file in "Blocksolid" version 2.0.4 is used by WordPress to initiate all plugin functionality
52 characters long description:
Restyle the block editor and extend the core blocks.
Code Analysis Passed 3 tests
File types Passed 1 test
🔸 Test weight: 35 | An overview of files in this plugin; executable files are not allowed
Success! There were no dangerous files found in this plugin6,278 lines of code in 37 files:
Language | Files | Blank lines | Comment lines | Lines of code |
---|---|---|---|---|
JavaScript | 17 | 410 | 1,214 | 4,125 |
PHP | 12 | 550 | 287 | 1,415 |
CSS | 7 | 135 | 33 | 711 |
JSON | 1 | 1 | 0 | 27 |
PHP code Passed 2 tests
An overview of cyclomatic complexity and code structure
This plugin has no cyclomatic complexity issues
Cyclomatic complexity | |
---|---|
Average complexity per logical line of code | 0.36 |
Average class complexity | 0.00 |
▷ Minimum class complexity | 0.00 |
▷ Maximum class complexity | 0.00 |
Average method complexity | 0.00 |
▷ Minimum method complexity | 0.00 |
▷ Maximum method complexity | 0.00 |
Code structure | ||
---|---|---|
Namespaces | 0 | |
Interfaces | 0 | |
Traits | 0 | |
Classes | 0 | |
▷ Abstract classes | 0 | 0.00% |
▷ Concrete classes | 0 | 0.00% |
▷ Final classes | 0 | 0.00% |
Methods | 0 | |
▷ Static methods | 0 | 0.00% |
▷ Public methods | 0 | 0.00% |
▷ Protected methods | 0 | 0.00% |
▷ Private methods | 0 | 0.00% |
Functions | 77 | |
▷ Named functions | 62 | 80.52% |
▷ Anonymous functions | 15 | 19.48% |
Constants | 0 | |
▷ Global constants | 0 | 0.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
1 compressed PNG file occupies 0.00MB
Potential savings
Compression of 1 random PNG file using pngquant | |||
---|---|---|---|
File | Size - original | Size - compressed | Savings |
media/blocksolid-170.png | 2.70KB | 2.56KB | ▼ 5.17% |