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
Installer ran successfully
Server metrics [RAM: ▲0.02MB] [CPU: ▼5.85ms] Passed 4 tests
An overview of server-side resources used by Block Revealer
This plugin has minimal impact on server resources
Page | Memory (MB) | CPU Time (ms) |
---|---|---|
Home / | 3.48 ▲0.02 | 45.23 ▲0.43 |
Dashboard /wp-admin | 3.32 ▲0.02 | 48.91 ▼2.04 |
Posts /wp-admin/edit.php | 3.37 ▲0.02 | 49.07 ▼3.84 |
Add New Post /wp-admin/post-new.php | 5.92 ▲0.04 | 84.23 ▼17.92 |
Media Library /wp-admin/upload.php | 3.25 ▲0.02 | 35.79 ▲0.41 |
Server storage [IO: ▲0.48MB] [DB: ▲0.00MB] Passed 3 tests
Input-output and database impact of this plugin
The plugin installed successfully
Filesystem: 21 new files
Database: no new tables, 6 new options
New WordPress options |
---|
widget_recent-posts |
theysaidso_admin_options |
widget_theysaidso_widget |
can_compress_scripts |
db_upgraded |
widget_recent-comments |
Browser metrics Passed 4 tests
Block Revealer: an overview of browser usage
This plugin renders optimally with no browser resource issues detected
Page | Nodes | Memory (MB) | Script (ms) | Layout (ms) |
---|---|---|---|---|
Home / | 2,814 ▲53 | 14.35 ▲0.00 | 2.11 ▲0.31 | 43.71 ▼2.03 |
Dashboard /wp-admin | 2,198 ▲21 | 5.63 ▼0.03 | 90.43 ▲4.33 | 43.51 ▲7.16 |
Posts /wp-admin/edit.php | 2,100 ▼0 | 2.00 ▼0.00 | 39.57 ▼2.43 | 33.17 ▼5.04 |
Add New Post /wp-admin/post-new.php | 1,617 ▲91 | 23.62 ▲0.54 | 638.15 ▼33.15 | 53.42 ▼7.05 |
Media Library /wp-admin/upload.php | 1,397 ▼3 | 4.19 ▼0.02 | 100.27 ▼7.28 | 46.93 ▲2.36 |
Uninstaller [IO: ▲0.00MB] [DB: ▲0.00MB] 75% from 4 tests
🔸 Tests weight: 35 | Checking the uninstaller removed all traces of the plugin
It is recommended to fix the following
- This plugin did not uninstall successfully, leaving 6 options in the database
- can_compress_scripts
- widget_recent-comments
- theysaidso_admin_options
- widget_recent-posts
- db_upgraded
- widget_theysaidso_widget
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
Even though no errors were found, this is by no means an exhaustive test
SRP Passed 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
No output text or server-side errors detected on direct access of PHP files
User-side errors Passed 1 test
🔹 Test weight: 20 | This is just a short smoke test looking for browser issues
No browser issues were found
Optimizations
Plugin configuration 97% from 29 tests
readme.txt 94% from 16 tests
Don't ignore readme.txt as it is the file that instructs WordPress.org on how to present your plugin to the world
These attributes need your attention:
- Donate link: Please fix this invalid URI: ""
wp-block-revealer/wp-block-revealer.php Passed 13 tests
"Block Revealer" version 1.8's main PHP file describes plugin functionality and also serves as the entry point to any WordPress functionality
81 characters long description:
Reveal blocks of Gutenberg Editor (Keyboard shortcut available : Ctrl + Alt + R).
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
Everything looks great! No dangerous files found in this plugin11,463 lines of code in 14 files:
Language | Files | Blank lines | Comment lines | Lines of code |
---|---|---|---|---|
JSON | 2 | 0 | 0 | 11,000 |
Sass | 4 | 73 | 0 | 193 |
JavaScript | 3 | 62 | 23 | 137 |
PHP | 2 | 43 | 66 | 58 |
PO File | 1 | 7 | 7 | 38 |
SVG | 1 | 0 | 0 | 36 |
CSS | 1 | 0 | 0 | 1 |
PHP code Passed 2 tests
This plugin's cyclomatic complexity and code structure detailed below
There are no cyclomatic complexity problems detected for this plugin
Cyclomatic complexity | |
---|---|
Average complexity per logical line of code | 0.34 |
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 | 7 | |
▷ Named functions | 7 | 100.00% |
▷ Anonymous functions | 0 | 0.00% |
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
Using a strong compression for your PNG files is a great way to speed-up your plugin
There were not PNG files found in your plugin