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
Install script ran successfully
Server metrics [RAM: ▲0.05MB] [CPU: ▼3.96ms] Passed 4 tests
Server-side resources used by Debug
Server-side resource usage in normal parameters
Page | Memory (MB) | CPU Time (ms) |
---|---|---|
Home / | 3.51 ▲0.05 | 41.23 ▼3.89 |
Dashboard /wp-admin | 3.36 ▲0.05 | 53.70 ▲2.24 |
Posts /wp-admin/edit.php | 3.41 ▲0.05 | 56.30 ▲5.68 |
Add New Post /wp-admin/post-new.php | 5.94 ▲0.05 | 89.31 ▼16.45 |
Media Library /wp-admin/upload.php | 3.28 ▲0.05 | 40.59 ▲2.28 |
Error Log /wp-admin/admin.php?page=debug | 3.24 | 30.29 |
Settings /wp-admin/admin.php?page=debug_settings | 3.26 | 34.09 |
Server storage [IO: ▲0.02MB] [DB: ▲0.00MB] Passed 3 tests
How much does this plugin use your filesystem and database?
This plugin was installed successfully
Filesystem: 6 new files
Database: no new tables, 6 new options
New WordPress options |
---|
widget_recent-comments |
theysaidso_admin_options |
widget_recent-posts |
widget_theysaidso_widget |
can_compress_scripts |
db_upgraded |
Browser metrics Passed 4 tests
An overview of browser requirements for Debug
Normal browser usage
Page | Nodes | Memory (MB) | Script (ms) | Layout (ms) |
---|---|---|---|---|
Home / | 2,816 ▲30 | 14.26 ▼0.03 | 1.57 ▼0.38 | 41.88 ▼5.33 |
Dashboard /wp-admin | 2,219 ▲39 | 5.48 ▼0.19 | 92.54 ▲1.60 | 38.83 ▼3.78 |
Posts /wp-admin/edit.php | 2,130 ▲30 | 2.01 ▼0.03 | 40.62 ▲1.77 | 35.73 ▼0.76 |
Add New Post /wp-admin/post-new.php | 1,548 ▲17 | 23.73 ▲1.01 | 709.62 ▲46.33 | 58.78 ▼0.43 |
Media Library /wp-admin/upload.php | 1,424 ▲24 | 4.26 ▲0.00 | 99.06 ▼5.83 | 44.92 ▼0.30 |
Error Log /wp-admin/admin.php?page=debug | 808 | 1.67 | 31.46 | 31.61 |
Settings /wp-admin/admin.php?page=debug_settings | 938 | 2.05 | 23.67 | 30.74 |
Uninstaller [IO: ▲0.00MB] [DB: ▲0.00MB] 75% from 4 tests
🔸 Tests weight: 35 | Verifying that this plugin uninstalls completely without leaving any traces
It is recommended to fix the following
- Zombie WordPress options detected upon uninstall: 6 options
- widget_theysaidso_widget
- theysaidso_admin_options
- widget_recent-posts
- can_compress_scripts
- db_upgraded
- widget_recent-comments
Smoke tests 75% from 4 tests
Server-side errors 0% from 1 test
🔹 Test weight: 20 | This is a short smoke test looking for server-side errors
These server-side errors were triggered
- > GET request to /wp-admin/admin.php?page=debug_settings
- > Notice in wp-content/plugins/debug/admin/setting.php+36
Undefined variable: user_email
SRP Passed 2 tests
🔹 Tests weight: 20 | It is important to ensure that your PHP files perform no action when accessed directly, respecting the single-responsibility principle
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
No browser issues were found
Optimizations
Plugin configuration 93% from 29 tests
readme.txt 94% from 16 tests
Often overlooked, readme.txt is one of the most important files in your plugin
These attributes need to be fixed:
- Tags: You are using too many tags: 16 tag instead of maximum 10
debug/debug.php 92% from 13 tests
The entry point to "Debug" version 1.10 is a PHP file that has certain tags in its header comment area
Please take the time to fix the following:
- Description: Keep the plugin description shorter than 140 characters (currently 213 characters long)
Code Analysis Passed 3 tests
File types Passed 1 test
🔸 Test weight: 35 | A short check of programming languages and file extensions; no executable files are allowed
No dangerous file extensions were detected346 lines of code in 5 files:
Language | Files | Blank lines | Comment lines | Lines of code |
---|---|---|---|---|
PHP | 5 | 23 | 83 | 346 |
PHP code Passed 2 tests
This is a short overview of cyclomatic complexity and code structure for this plugin
There are no cyclomatic complexity problems detected for this plugin
Cyclomatic complexity | |
---|---|
Average complexity per logical line of code | 0.38 |
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 | 17 | |
▷ Named functions | 17 | 100.00% |
▷ Anonymous functions | 0 | 0.00% |
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 were not PNG files found in your plugin