Benchmarks
Plugin footprint 83% from 16 tests
Installer Passed 1 test
🔺 Critical test (weight: 50) | All plugins must install correctly, without throwing any errors, warnings, or notices
The plugin installed gracefully, with no errors
Server metrics [RAM: ▲0.02MB] [CPU: ▼2.60ms] Passed 4 tests
Analyzing server-side resources used by Debug Info
Server-side resource usage in normal parameters
Page | Memory (MB) | CPU Time (ms) |
---|---|---|
Home / | 3.48 ▲0.02 | 34.66 ▼7.61 |
Dashboard /wp-admin | 3.33 ▲0.03 | 44.49 ▼1.83 |
Posts /wp-admin/edit.php | 3.38 ▲0.02 | 45.58 ▼1.20 |
Add New Post /wp-admin/post-new.php | 5.91 ▲0.02 | 84.37 ▲0.25 |
Media Library /wp-admin/upload.php | 3.25 ▲0.02 | 38.87 ▲8.30 |
Debug Info /wp-admin/tools.php?page=debug-info | 3.43 | 33.54 |
Server storage [IO: ▲0.05MB] [DB: ▲0.00MB] Passed 3 tests
Analyzing filesystem and database footprints of this plugin
This plugin was installed successfully
Filesystem: 9 new files
Database: no new tables, 6 new options
New WordPress options |
---|
db_upgraded |
widget_theysaidso_widget |
widget_recent-posts |
widget_recent-comments |
can_compress_scripts |
theysaidso_admin_options |
Browser metrics Passed 4 tests
A check of browser resources used by Debug Info
This plugin has a minimal impact on browser resources
Page | Nodes | Memory (MB) | Script (ms) | Layout (ms) |
---|---|---|---|---|
Home / | 2,804 ▲69 | 13.72 ▼0.59 | 1.63 ▼0.22 | 39.64 ▼6.91 |
Dashboard /wp-admin | 2,210 ▲31 | 4.85 ▼0.11 | 108.36 ▼5.22 | 38.28 ▼7.09 |
Posts /wp-admin/edit.php | 2,093 ▲1 | 2.03 ▲0.03 | 38.79 ▲0.97 | 36.69 ▲1.18 |
Add New Post /wp-admin/post-new.php | 1,523 ▼10 | 23.22 ▲0.06 | 669.70 ▲50.14 | 50.15 ▼0.37 |
Media Library /wp-admin/upload.php | 1,395 ▲7 | 4.12 ▼0.07 | 106.36 ▲10.17 | 44.32 ▲0.21 |
Debug Info /wp-admin/tools.php?page=debug-info | 6,262 | 1.90 | 27.26 | 25.85 |
Uninstaller [IO: ▲0.00MB] [DB: ▲0.00MB] 75% from 4 tests
🔸 Tests weight: 35 | Checking the uninstaller removed all traces of the plugin
You still need to fix the following
- Zombie WordPress options detected upon uninstall: 6 options
- theysaidso_admin_options
- can_compress_scripts
- widget_theysaidso_widget
- widget_recent-posts
- db_upgraded
- widget_recent-comments
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
Even though everything seems fine, this is not 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
- 2× GET requests to PHP files trigger server-side errors or Error 500 responses:
- > PHP Fatal error
Uncaught Error: Call to undefined function add_action() in wp-content/plugins/debug-info/debug-info.php:33
- > PHP Fatal error
Uncaught Error: Call to undefined function _e() in wp-content/plugins/debug-info/options.php:11
- > PHP Fatal error
User-side errors Passed 1 test
🔹 Test weight: 20 | This is a shallow check for browser errors
No browser issues were found
Optimizations
Plugin configuration Passed 29 tests
readme.txt Passed 16 tests
The readme.txt file is undoubtedly the most important file in your plugin, preparing it for public listing on WordPress.org
9 plugin tags: theme, version, admin, memory, database...
debug-info/debug-info.php Passed 13 tests
Analyzing the main PHP file in "Debug Info" version 1.3.10
97 characters long description:
A plugin to display your server's PHP info and WordPress environment data for debugging purposes.
Code Analysis Passed 3 tests
File types Passed 1 test
🔸 Test weight: 35 | This is a short overview of programming languages used in this plugin, detecting executable files
Good job! No executable or dangerous file extensions detected315 lines of code in 4 files:
Language | Files | Blank lines | Comment lines | Lines of code |
---|---|---|---|---|
PO File | 2 | 62 | 66 | 190 |
PHP | 2 | 22 | 30 | 125 |
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.28 |
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 | 6 | |
▷ Named functions | 6 | 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
All PNG images should be compressed to minimize bandwidth usage for end users
No PNG images were found in this plugin