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.03MB] [CPU: ▼11.43ms] Passed 4 tests
An overview of server-side resources used by Disable Everything
Server-side resource usage in normal parameters
Page | Memory (MB) | CPU Time (ms) |
---|---|---|
Home / | 3.48 ▲0.02 | 34.27 ▼9.41 |
Dashboard /wp-admin | 3.35 ▲0.00 | 43.89 ▼11.55 |
Posts /wp-admin/edit.php | 3.40 ▲0.04 | 46.03 ▼6.75 |
Add New Post /wp-admin/post-new.php | 5.93 ▲0.04 | 79.35 ▼18.02 |
Media Library /wp-admin/upload.php | 3.27 ▲0.04 | 35.94 ▲1.89 |
Disable Everything /wp-admin/options-general.php?page=disable-everything | 3.26 | 36.34 |
Server storage [IO: ▲0.11MB] [DB: ▲0.07MB] Passed 3 tests
A short overview of filesystem and database impact
This plugin was installed successfully
Filesystem: 4 new files
Database: no new tables, 6 new options
New WordPress options |
---|
db_upgraded |
widget_recent-comments |
theysaidso_admin_options |
widget_theysaidso_widget |
widget_recent-posts |
can_compress_scripts |
Browser metrics Passed 4 tests
A check of browser resources used by Disable Everything
There were no issues detected in relation to browser resource usage
Page | Nodes | Memory (MB) | Script (ms) | Layout (ms) |
---|---|---|---|---|
Home / | 2,793 ▲47 | 14.37 ▲0.02 | 1.48 ▼0.13 | 36.26 ▼0.64 |
Dashboard /wp-admin | 2,199 ▲22 | 5.61 ▲0.01 | 85.22 ▼12.69 | 34.60 ▼11.22 |
Posts /wp-admin/edit.php | 2,107 ▲4 | 1.98 ▲0.02 | 37.93 ▲4.53 | 36.03 ▲6.76 |
Add New Post /wp-admin/post-new.php | 1,531 ▲3 | 22.85 ▼0.26 | 605.55 ▼66.82 | 53.89 ▼20.26 |
Media Library /wp-admin/upload.php | 1,407 ▲7 | 4.16 ▼0.04 | 93.97 ▼0.22 | 41.55 ▲0.97 |
Disable Everything /wp-admin/options-general.php?page=disable-everything | 1,352 | 2.31 | 24.85 | 39.34 |
Uninstaller [IO: ▲0.00MB] [DB: ▲0.07MB] 75% from 4 tests
🔸 Tests weight: 35 | Checking the uninstaller removed all traces of the plugin
You still need to fix the following
- This plugin did not uninstall successfully, leaving 6 options in the database
- widget_recent-comments
- theysaidso_admin_options
- db_upgraded
- widget_theysaidso_widget
- widget_recent-posts
- can_compress_scripts
Smoke tests 75% from 4 tests
Server-side errors Passed 1 test
🔹 Test weight: 20 | Just a short smoke test targeting errors on the server (in the Apache logs)
Even though no errors were found, 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
The following issues need your attention
- 1× PHP files output non-empty strings when accessed directly via GET requests:
- > /wp-content/plugins/disable-everything/disable-everything.php
User-side errors Passed 1 test
🔹 Test weight: 20 | This is a smoke test targeting browser errors/issues
Everything seems fine, but this is not an exhaustive test
Optimizations
Plugin configuration 90% from 29 tests
readme.txt 88% from 16 tests
Perhaps the most important file in your plugin readme.txt gets parsed in order to generate the public listing of your plugin
Attributes that need to be fixed:
- Screenshots: No descriptions were found for these screenshots #1, #2 in disable-everything/assets to your readme.txt
- Tags: Please reduce the number of tags, currently 45 tag instead of maximum 10
disable-everything/disable-everything.php 92% from 13 tests
The main PHP script in "Disable Everything" version 0.4.1 is automatically included on every request by WordPress
The following require your attention:
- Domain Path: The domain path folder was not found ("/languages")
Code Analysis Passed 3 tests
File types Passed 1 test
🔸 Test weight: 35 | This is an overview of file extensions present in this plugin and a short test that no dangerous files are bundled with this plugin
Success! There were no dangerous files found in this plugin879 lines of code in 2 files:
Language | Files | Blank lines | Comment lines | Lines of code |
---|---|---|---|---|
PHP | 2 | 128 | 191 | 879 |
PHP code Passed 2 tests
Analyzing logical lines of code, cyclomatic complexity, and other code metrics
Great job! No cyclomatic complexity issues were detected in this plugin
Cyclomatic complexity | |
---|---|
Average complexity per logical line of code | 0.29 |
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 | 74 | |
▷ Named functions | 56 | 75.68% |
▷ Anonymous functions | 18 | 24.32% |
Constants | 3 | |
▷ Global constants | 3 | 100.00% |
▷ Class constants | 0 | 0.00% |
▷ Public constants | 0 | 0.00% |
Plugin size Passed 2 tests
Image compression Passed 2 tests
It is recommended to compress PNG files in your plugin to minimize bandwidth usage
There are no PNG files in this plugin