Benchmarks
Plugin footprint Passed 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.01MB] [CPU: ▼293.53ms] Passed 4 tests
An overview of server-side resources used by Debug "unexpected output" During Plugin Activation
This plugin does not affect your website's performance
Page | Memory (MB) | CPU Time (ms) |
---|---|---|
Home / | 3.53 ▲0.01 | 54.97 ▲4.66 |
Dashboard /wp-admin | 3.42 ▲0.01 | 31.40 ▼4.32 |
Posts /wp-admin/edit.php | 3.66 ▲0.01 | 35.84 ▼0.91 |
Add New Post /wp-admin/post-new.php | 6.89 ▼0.08 | 98.83 ▼1,171.33 |
Media Library /wp-admin/upload.php | 3.31 ▲0.01 | 25.45 ▲2.45 |
Server storage [IO: ▲0.34MB] [DB: ▲0.00MB] Passed 3 tests
How much does this plugin use your filesystem and database?
This plugin installed successfully
Filesystem: 3 new files
Database: no new tables, 1 new option
New WordPress options |
---|
plugin_activation_error_message |
Browser metrics Passed 4 tests
An overview of browser requirements for Debug "unexpected output" During Plugin Activation
This plugin renders optimally with no browser resource issues detected
Page | Nodes | Memory (MB) | Script (ms) | Layout (ms) |
---|---|---|---|---|
Home / | 3,789 ▲35 | 15.95 ▲0.25 | 7.14 ▲1.27 | 2.13 ▲0.06 |
Dashboard /wp-admin | 2,901 ▲40 | 6.07 ▼0.11 | 118.93 ▼15.40 | 168.41 ▲8.37 |
Posts /wp-admin/edit.php | 2,695 ▲4 | 3.24 ▲0.01 | 62.24 ▼5.26 | 138.07 ▼3.27 |
Add New Post /wp-admin/post-new.php | 1,715 ▲54 | 20.69 ▲4.52 | 447.16 ▲46.17 | 154.00 ▲3.37 |
Media Library /wp-admin/upload.php | 1,704 ▲9 | 5.54 ▲0.02 | 155.52 ▲16.16 | 202.16 ▲18.75 |
Uninstaller [IO: ▲0.00MB] [DB: ▲0.00MB] Passed 4 tests
🔸 Tests weight: 35 | The uninstall procedure must remove all plugin files and extra database tables
Uninstall script ran successfully
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
Good news, no errors were detected
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
Please take a closer look at the following
- 1× PHP files trigger server errors when accessed directly:
- > PHP Fatal error
Uncaught Error: Call to undefined function is_admin() in wp-content/plugins/debug-plugin-activation-errors/debug-plugin-activation-errors.php:11
- > PHP Fatal error
User-side errors Passed 1 test
🔹 Test weight: 20 | Just a short smoke test targeting errors on the browser (console and network errors and warnings)
No browser errors were detected
Optimizations
Plugin configuration 93% 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
Attributes that need to be fixed:
- Donate link: Please fix this invalid url: ""
debug-plugin-activation-errors/debug-plugin-activation-errors.php 92% from 13 tests
"Debug "unexpected output" During Plugin Activation" version 1.9.1's main PHP file describes plugin functionality and also serves as the entry point to any WordPress functionality
The following require your attention:
- Description: Please keep the plugin description shorter than 140 characters (currently 326 characters long)
Code Analysis Passed 3 tests
File types Passed 1 test
🔸 Test weight: 35 | This is an overview of programming languages used in this plugin; dangerous file extensions are not allowed
Everything looks great! No dangerous files found in this plugin37 lines of code in 1 file:
Language | Files | Blank lines | Comment lines | Lines of code |
---|---|---|---|---|
PHP | 1 | 8 | 13 | 37 |
PHP code Passed 2 tests
A short review of cyclomatic complexity and code structure
Great job! No cyclomatic complexity issues were detected in this plugin
Cyclomatic complexity | |
---|---|
Average complexity per logical line of code | 0.22 |
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 | 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
It is recommended to compress PNG files in your plugin to minimize bandwidth usage
No PNG images were found in this plugin