Benchmarks
Plugin footprint Passed 16 tests
Installer Passed 1 test
🔺 Critical test (weight: 50) | The install procedure must perform silently
This plugin's installer ran successfully
Server metrics [RAM: ▼0.00MB] [CPU: ▼258.17ms] Passed 4 tests
A check of server-side resources used by Disable Errors in Plugins
No issues were detected with server-side resource usage
Page | Memory (MB) | CPU Time (ms) |
---|---|---|
Home / | 2.83 ▲0.12 | 34.83 ▲14.19 |
Dashboard /wp-admin | 3.06 ▲0.01 | 38.45 ▼5.17 |
Posts /wp-admin/edit.php | 3.11 ▲0.00 | 41.74 ▲0.23 |
Add New Post /wp-admin/post-new.php | 5.42 ▼0.01 | 90.15 ▼1,024.12 |
Media Library /wp-admin/upload.php | 3.00 ▼0.01 | 28.56 ▼3.62 |
Server storage [IO: ▲0.02MB] [DB: ▲0.00MB] Passed 3 tests
How much does this plugin use your filesystem and database?
The plugin installed successfully
Filesystem: 4 new files
Database: no new tables, no new options
Browser metrics Passed 4 tests
An overview of browser requirements for Disable Errors in Plugins
Minimal impact on browser resources
Page | Nodes | Memory (MB) | Script (ms) | Layout (ms) |
---|---|---|---|---|
Home / | 3,702 ▲120 | 15.92 ▲0.41 | 9.61 ▲2.32 | 49.27 ▲5.50 |
Dashboard /wp-admin | 2,959 ▲106 | 6.14 ▲0.34 | 132.26 ▲3.29 | 106.14 ▲8.83 |
Posts /wp-admin/edit.php | 2,706 ▲3 | 2.69 ▼0.00 | 77.57 ▲13.91 | 94.16 ▼0.75 |
Add New Post /wp-admin/post-new.php | 2,036 ▲185 | 17.99 ▲0.47 | 361.02 ▼8.55 | 109.61 ▲6.26 |
Media Library /wp-admin/upload.php | 1,790 ▲18 | 5.00 ▼0.00 | 150.32 ▲4.21 | 107.16 ▼12.76 |
Uninstaller [IO: ▲0.00MB] [DB: ▲0.00MB] Passed 4 tests
🔸 Tests weight: 35 | Verifying that this plugin uninstalls completely without leaving any traces
The plugin uninstalled completely, with no zombie files or tables
Smoke tests Passed 4 tests
Server-side errors Passed 1 test
🔹 Test weight: 20 | A shallow check that no server-side errors were triggered
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
The SRP test was a success
User-side errors Passed 1 test
🔹 Test weight: 20 | This is a shallow check for browser errors
There were no browser issues found
Optimizations
Plugin configuration 93% from 29 tests
readme.txt Passed 16 tests
The readme.txt file uses markdown syntax to describe your plugin to the world
6 plugin tags: notice, disable, warning, hide, plugin...
disable-errors-in-plugins/000-disable-errors-in-plugins.php 85% from 13 tests
Analyzing the main PHP file in "Disable Errors in Plugins" version 1.0.4
You should first fix the following items:
- Main file name: Even though not officially enforced, the main plugin file should be the same as the plugin slug ("disable-errors-in-plugins.php" instead of "000-disable-errors-in-plugins.php")
- Description: Please don't use more than 140 characters for the plugin description (currently 147 characters long)
Code Analysis Passed 3 tests
File types Passed 1 test
🔸 Test weight: 35 | A short glimpse at programming languages used with this plugin and a check that no dangerous files are present
Success! There were no dangerous files found in this plugin29 lines of code in 2 files:
Language | Files | Blank lines | Comment lines | Lines of code |
---|---|---|---|---|
PHP | 1 | 8 | 45 | 16 |
Markdown | 1 | 9 | 0 | 13 |
PHP code Passed 2 tests
Analyzing cyclomatic complexity and code structure
Although this was not an exhaustive test, there were no cyclomatic complexity issues detected
Cyclomatic complexity | |
---|---|
Average complexity per logical line of code | 0.14 |
Average class complexity | 2.00 |
▷ Minimum class complexity | 2.00 |
▷ Maximum class complexity | 2.00 |
Average method complexity | 1.50 |
▷ Minimum method complexity | 1.00 |
▷ Maximum method complexity | 2.00 |
Code structure | ||
---|---|---|
Namespaces | 0 | |
Interfaces | 0 | |
Traits | 0 | |
Classes | 1 | |
▷ Abstract classes | 0 | 0.00% |
▷ Concrete classes | 1 | 100.00% |
▷ Final classes | 0 | 0.00% |
Methods | 2 | |
▷ Static methods | 0 | 0.00% |
▷ Public methods | 2 | 100.00% |
▷ Protected methods | 0 | 0.00% |
▷ Private methods | 0 | 0.00% |
Functions | 0 | |
▷ Named functions | 0 | 0.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 1 test
Image compression Passed 1 test
It is recommended to compress PNG files in your plugin to minimize bandwidth usage
PNG images were not found in this plugin