Benchmarks
Plugin footprint 83% from 16 tests
Installer Passed 1 test
🔺 Critical test (weight: 50) | Verifying that this plugin installs correctly without errors
Installer ran successfully
Server metrics [RAM: ▼0.01MB] [CPU: ▼7.27ms] Passed 4 tests
A check of server-side resources used by Hide Block
This plugin does not affect your website's performance
Page | Memory (MB) | CPU Time (ms) |
---|---|---|
Home / | 3.47 ▲0.01 | 40.43 ▲5.14 |
Dashboard /wp-admin | 3.32 ▼0.03 | 44.78 ▼14.48 |
Posts /wp-admin/edit.php | 3.37 ▲0.01 | 44.33 ▼2.05 |
Add New Post /wp-admin/post-new.php | 5.89 ▲0.00 | 78.57 ▼11.41 |
Media Library /wp-admin/upload.php | 3.24 ▲0.01 | 33.52 ▼1.13 |
Server storage [IO: ▲1.44MB] [DB: ▲0.00MB] Passed 3 tests
A short overview of filesystem and database impact
There were no storage issued detected upon installing this plugin
Filesystem: 17 new files
Database: no new tables, 6 new options
New WordPress options |
---|
widget_recent-comments |
db_upgraded |
widget_recent-posts |
theysaidso_admin_options |
widget_theysaidso_widget |
can_compress_scripts |
Browser metrics Passed 4 tests
An overview of browser requirements for Hide Block
Normal browser usage
Page | Nodes | Memory (MB) | Script (ms) | Layout (ms) |
---|---|---|---|---|
Home / | 2,791 ▲45 | 14.14 ▼0.21 | 1.73 ▼0.02 | 42.67 ▲0.97 |
Dashboard /wp-admin | 2,200 ▲20 | 5.60 ▼0.01 | 87.28 ▲2.04 | 38.92 ▼0.51 |
Posts /wp-admin/edit.php | 2,102 ▲2 | 2.00 ▲0.02 | 33.53 ▼2.24 | 34.72 ▼3.20 |
Add New Post /wp-admin/post-new.php | 1,687 ▲161 | 22.25 ▼0.74 | 639.56 ▼43.63 | 48.71 ▼11.85 |
Media Library /wp-admin/upload.php | 1,396 ▼4 | 4.19 ▼0.01 | 94.31 ▼23.45 | 41.15 ▼6.76 |
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
You still need to fix the following
- This plugin does not fully uninstall, leaving 6 options in the database
- theysaidso_admin_options
- db_upgraded
- widget_recent-posts
- can_compress_scripts
- widget_recent-comments
- widget_theysaidso_widget
Smoke tests Passed 4 tests
Server-side errors Passed 1 test
🔹 Test weight: 20 | This is a shallow check for server-side errors
Everything seems fine, however 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
There were no browser issues found
Optimizations
Plugin configuration Passed 29 tests
readme.txt Passed 16 tests
Often overlooked, readme.txt is one of the most important files in your plugin
6 plugin tags: hide block, blocks, gutenberg toolbar hide block, gutenberg, gutenberg hide...
hide-block/hide-block.php Passed 13 tests
The principal PHP file in "Hide Block" v. 1.4.0 is loaded by WordPress automatically on each request
39 characters long description:
Gutenberg Toolkit - Hide Backend Blocks
Code Analysis Passed 3 tests
File types Passed 1 test
🔸 Test weight: 35 | Executable files are considered dangerous and should not be included with any WordPress plugin
No dangerous file extensions were detected42,305 lines of code in 11 files:
Language | Files | Blank lines | Comment lines | Lines of code |
---|---|---|---|---|
JSON | 2 | 0 | 0 | 42,048 |
PO File | 3 | 24 | 27 | 108 |
JavaScript | 2 | 15 | 2 | 87 |
PHP | 3 | 19 | 40 | 41 |
Markdown | 1 | 13 | 0 | 21 |
PHP code Passed 2 tests
An short overview of logical lines of code, cyclomatic complexity, and other code metrics
This plugin has no cyclomatic complexity issues
Cyclomatic complexity | |
---|---|
Average complexity per logical line of code | 0.33 |
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 | 4 | |
▷ Named functions | 4 | 100.00% |
▷ Anonymous functions | 0 | 0.00% |
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
Often times overlooked, PNG files can occupy unnecessary space in your plugin
There were not PNG files found in your plugin