Benchmarks
Plugin footprint 83% from 16 tests
Installer Passed 1 test
🔺 Critical test (weight: 50) | Checking the installer triggered no errors
The plugin installed gracefully, with no errors
Server metrics [RAM: ▲0.05MB] [CPU: ▼3.39ms] Passed 4 tests
Server-side resources used by WP Debug Robot
No issues were detected with server-side resource usage
Page | Memory (MB) | CPU Time (ms) |
---|---|---|
Home / | 3.50 ▲0.03 | 39.65 ▼3.41 |
Dashboard /wp-admin | 3.36 ▲0.05 | 45.65 ▼6.68 |
Posts /wp-admin/edit.php | 3.47 ▲0.12 | 49.99 ▼0.43 |
Add New Post /wp-admin/post-new.php | 5.94 ▲0.05 | 91.84 ▼0.57 |
Media Library /wp-admin/upload.php | 3.28 ▲0.05 | 34.56 ▼2.88 |
Debug Robot /wp-admin/options-general.php?page=debug-robot | 3.22 | 27.54 |
Server storage [IO: ▲0.01MB] [DB: ▲0.00MB] Passed 3 tests
Analyzing filesystem and database footprints of this plugin
This plugin installed successfully
Filesystem: 8 new files
Database: no new tables, 6 new options
New WordPress options |
---|
widget_theysaidso_widget |
can_compress_scripts |
db_upgraded |
theysaidso_admin_options |
widget_recent-posts |
widget_recent-comments |
Browser metrics Passed 4 tests
Checking browser requirements for WP Debug Robot
This plugin renders optimally with no browser resource issues detected
Page | Nodes | Memory (MB) | Script (ms) | Layout (ms) |
---|---|---|---|---|
Home / | 2,804 ▲58 | 13.56 ▼1.00 | 1.60 ▼0.18 | 40.33 ▼1.10 |
Dashboard /wp-admin | 2,210 ▲22 | 5.79 ▼0.10 | 97.46 ▼15.32 | 37.22 ▼10.40 |
Posts /wp-admin/edit.php | 2,093 ▲4 | 2.00 ▼0.02 | 40.15 ▲2.71 | 34.43 ▲2.85 |
Add New Post /wp-admin/post-new.php | 1,545 ▲31 | 18.65 ▲1.13 | 593.80 ▼87.85 | 55.03 ▼0.38 |
Media Library /wp-admin/upload.php | 1,392 ▲4 | 4.25 ▲0.00 | 100.06 ▼12.98 | 44.68 ▼4.62 |
Debug Robot /wp-admin/options-general.php?page=debug-robot | 831 | 2.03 | 24.35 | 36.37 |
Uninstaller [IO: ▲0.00MB] [DB: ▲0.00MB] 75% from 4 tests
🔸 Tests weight: 35 | Checking the uninstaller removed all traces of the plugin
The following items require your attention
- Zombie WordPress options detected upon uninstall: 6 options
- theysaidso_admin_options
- widget_recent-posts
- widget_recent-comments
- db_upgraded
- widget_theysaidso_widget
- can_compress_scripts
Smoke tests 50% from 4 tests
Server-side errors 0% from 1 test
🔹 Test weight: 20 | This is a shallow check for server-side errors
These errors were triggered by the plugin
- > GET request to /wp-admin/options-general.php?page=debug-robot
- > User deprecated in wp-includes/functions.php+5463
Function screen_icon is deprecated since version 3.8.0 with no alternative available.
- > GET request to /wp-admin/options-general.php?page=debug-robot
- > User deprecated in wp-includes/functions.php+5463
Function get_screen_icon is deprecated since version 3.8.0 with no alternative available.
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
- 4× PHP files trigger server-side errors or warnings when accessed directly:
- > PHP Fatal error
Uncaught Error: Call to undefined function add_action() in wp-content/plugins/wp-debug-robot/wp-debug-robot.php:24
- > PHP Fatal error
Uncaught Error: Class 'DebugRobot_BaseRobot' not found in wp-content/plugins/wp-debug-robot/lib/class-debugrobot-jsonrobot.php:3
- > PHP Fatal error
Uncaught Error: Interface 'DebugRobot_RobotInterface' not found in wp-content/plugins/wp-debug-robot/lib/class-debugrobot-baserobot.php:3
- > PHP Fatal error
Uncaught Error: Interface 'DebugRobot_RobotInterface' not found in wp-content/plugins/wp-debug-robot/lib/class-debugrobot-dummy.php:6
- > PHP Fatal error
User-side errors Passed 1 test
🔹 Test weight: 20 | A shallow check that no browser errors were triggered
Everything seems fine on the user side
Optimizations
Plugin configuration Passed 29 tests
readme.txt Passed 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
4 plugin tags: udp, robot, debugging, debug
wp-debug-robot/wp-debug-robot.php Passed 13 tests
Analyzing the main PHP file in "WP Debug Robot" version 1.0
74 characters long description:
Send debug output via UDP packets to a nodejs jabber bot that will IM you.
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 detected204 lines of code in 7 files:
Language | Files | Blank lines | Comment lines | Lines of code |
---|---|---|---|---|
PHP | 7 | 56 | 42 | 204 |
PHP code Passed 2 tests
An short overview of logical lines of code, cyclomatic complexity, and other code metrics
No cyclomatic complexity issues were detected for this plugin
Cyclomatic complexity | |
---|---|
Average complexity per logical line of code | 0.14 |
Average class complexity | 2.83 |
▷ Minimum class complexity | 1.00 |
▷ Maximum class complexity | 5.00 |
Average method complexity | 1.39 |
▷ Minimum method complexity | 1.00 |
▷ Maximum method complexity | 3.00 |
Code structure | ||
---|---|---|
Namespaces | 0 | |
Interfaces | 1 | |
Traits | 0 | |
Classes | 5 | |
▷ Abstract classes | 0 | 0.00% |
▷ Concrete classes | 5 | 100.00% |
▷ Final classes | 0 | 0.00% |
Methods | 32 | |
▷ Static methods | 4 | 12.50% |
▷ Public methods | 32 | 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 2 tests
Image compression Passed 2 tests
PNG files should be compressed to save space and minimize bandwidth usage
There are no PNG files in this plugin