Benchmarks
Plugin footprint 65% from 16 tests
Installer Passed 1 test
🔺 Critical test (weight: 50) | Checking the installer triggered no errors
Installer ran successfully
Server metrics [RAM: ▼1.24MB] [CPU: ▼42.67ms] Passed 4 tests
Analyzing server-side resources used by Easy Error Reporting
Server-side resource usage in normal parameters
Page | Memory (MB) | CPU Time (ms) |
---|---|---|
Home / | 2.73 ▼0.73 | 14.53 ▼25.74 |
Dashboard /wp-admin | 2.77 ▼0.54 | 14.14 ▼33.60 |
Posts /wp-admin/edit.php | 2.77 ▼0.59 | 15.76 ▼36.19 |
Add New Post /wp-admin/post-new.php | 2.77 ▼3.12 | 15.61 ▼75.16 |
Media Library /wp-admin/upload.php | 2.77 ▼0.46 | 14.90 ▼16.63 |
Server storage [IO: ▲0.01MB] [DB: ▲0.00MB] Passed 3 tests
How much does this plugin use your filesystem and database?
No storage issues were detected
Filesystem: 3 new files
Database: no new tables, 11 new options
New WordPress options |
---|
see_author |
see_administrator |
widget_recent-posts |
see_contributor |
theysaidso_admin_options |
can_compress_scripts |
widget_theysaidso_widget |
db_upgraded |
widget_recent-comments |
see_subscriber |
... |
Browser metrics Passed 4 tests
Checking browser requirements for Easy Error Reporting
This plugin has a minimal impact on browser resources
Page | Nodes | Memory (MB) | Script (ms) | Layout (ms) |
---|---|---|---|---|
Home / | 2,811 ▲76 | 13.26 ▼1.37 | 1.68 ▼0.22 | 38.21 ▼7.94 |
Dashboard /wp-admin | 2,220 ▲31 | 5.80 ▲0.84 | 97.55 ▼22.71 | 70.17 ▲26.95 |
Posts /wp-admin/edit.php | 2,103 ▲14 | 1.98 ▼0.07 | 38.69 ▼3.47 | 35.51 ▼1.09 |
Add New Post /wp-admin/post-new.php | 1,678 ▲145 | 22.46 ▼0.86 | 682.54 ▲19.23 | 48.58 ▼12.55 |
Media Library /wp-admin/upload.php | 1,399 ▲17 | 4.14 ▼0.07 | 93.88 ▼6.05 | 69.25 ▲25.99 |
Uninstaller [IO: ▲0.00MB] [DB: ▲0.00MB] 50% from 4 tests
🔸 Tests weight: 35 | Verifying that this plugin uninstalls completely without leaving any traces
It is recommended to fix the following
- This plugin did not uninstall without warnings or errors
- > User deprecated in wp-includes/functions.php+5453
Function get_currentuserinfo is deprecated since version 4.5.0! Use wp_get_current_user() instead.
- This plugin did not uninstall successfully, leaving 11 options in the database
- see_subscriber
- see_contributor
- theysaidso_admin_options
- widget_recent-comments
- see_editor
- can_compress_scripts
- see_administrator
- widget_theysaidso_widget
- see_author
- db_upgraded
- ...
Smoke tests 75% from 4 tests
Server-side errors Passed 1 test
🔹 Test weight: 20 | This is a short smoke test looking for server-side errors
The smoke test was a success, however most plugin functionality was not tested
SRP 50% from 2 tests
🔹 Tests weight: 20 | SRP (Single-Responsibility Principle) - PHP files must act as libraries and never output text or perform any action when accessed directly in a browser
The following issues need your attention
- 1× GET requests to PHP files return non-empty strings:
- > /wp-content/plugins/easy-error-reporting/easy-error-reporting.php
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
Perhaps the most important file in your plugin readme.txt gets parsed in order to generate the public listing of your plugin
3 plugin tags: comments, debug, spam
easy-error-reporting/easy-error-reporting.php Passed 13 tests
"Easy Error Reporting" version 1.1's main PHP file describes plugin functionality and also serves as the entry point to any WordPress functionality
54 characters long description:
Sets the error reporting level according to user role.
Code Analysis Passed 3 tests
File types Passed 1 test
🔸 Test weight: 35 | A short review of files and their extensions; it is not recommended to include executable files
No dangerous file extensions were detected83 lines of code in 1 file:
Language | Files | Blank lines | Comment lines | Lines of code |
---|---|---|---|---|
PHP | 1 | 16 | 25 | 83 |
PHP code Passed 2 tests
Cyclomatic complexity and code structure are the fingerprint of this plugin
All good! No complexity issues found
Cyclomatic complexity | |
---|---|
Average complexity per logical line of code | 0.37 |
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 | 5 | |
▷ Named functions | 5 | 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 50% from 2 tests
Image compression 50% from 2 tests
PNG files should be compressed to save space and minimize bandwidth usage
1 PNG file occupies 0.00MB with 0.00MB in potential savings
Potential savings
Compression of 1 random PNG file using pngquant | |||
---|---|---|---|
File | Size - original | Size - compressed | Savings |
(invalid) images/icon.png | 0.71KB | 0.00KB | ▼ 100.00% |