Benchmarks
Plugin footprint 82% from 16 tests
Installer Passed 1 test
🔺 Critical test (weight: 50) | Verifying that this plugin installs correctly without errors
The plugin installed gracefully, with no errors
Server metrics [RAM: ▲0.10MB] [CPU: ▲0.74ms] Passed 4 tests
An overview of server-side resources used by WP Debug Log - Configuration Tool
No issues were detected with server-side resource usage
Page | Memory (MB) | CPU Time (ms) |
---|---|---|
Home / | 3.51 ▲0.05 | 40.99 ▼6.64 |
Dashboard /wp-admin | 3.38 ▲0.07 | 52.08 ▲4.37 |
Posts /wp-admin/edit.php | 3.49 ▲0.13 | 48.66 ▲1.09 |
Add New Post /wp-admin/post-new.php | 6.25 ▲0.37 | 89.46 ▲4.15 |
Media Library /wp-admin/upload.php | 3.36 ▲0.14 | 42.96 ▲9.08 |
Debug Logs /wp-admin/tools.php?page=dlct_logs | 3.33 | 31.11 |
Server storage [IO: ▲2.94MB] [DB: ▲0.00MB] 67% from 3 tests
A short overview of filesystem and database impact
Please fix the following
- You have illegally modified 1 file (4.29KB) outside of "wp-content/plugins/debug-log-config-tool/" and "wp-content/uploads/"
- (modified) wp-config.php
Filesystem: 33 new files
Database: no new tables, 8 new options
New WordPress options |
---|
db_upgraded |
theysaidso_admin_options |
widget_theysaidso_widget |
DebugLogConfigTool_data_initial |
can_compress_scripts |
widget_recent-posts |
widget_recent-comments |
debuglogconfigtool_updated_constant |
Browser metrics Passed 4 tests
Checking browser requirements for WP Debug Log - Configuration Tool
This plugin renders optimally with no browser resource issues detected
Page | Nodes | Memory (MB) | Script (ms) | Layout (ms) |
---|---|---|---|---|
Home / | 2,813 ▲78 | 13.24 ▼0.96 | 1.96 ▼0.28 | 43.51 ▲0.56 |
Dashboard /wp-admin | 2,219 ▲31 | 5.84 ▲0.96 | 100.17 ▼13.27 | 39.31 ▼7.89 |
Posts /wp-admin/edit.php | 2,105 ▲16 | 2.01 ▼0.01 | 42.91 ▲7.61 | 36.11 ▼0.43 |
Add New Post /wp-admin/post-new.php | 1,905 ▲391 | 26.42 ▲8.79 | 815.38 ▲118.15 | 39.85 ▼13.27 |
Media Library /wp-admin/upload.php | 1,452 ▲64 | 4.24 ▲0.04 | 97.92 ▼4.07 | 40.85 ▼6.20 |
Debug Logs /wp-admin/tools.php?page=dlct_logs | 1,035 | 4.61 | 97.88 | 39.14 |
Uninstaller [IO: ▲0.00MB] [DB: ▲0.00MB] 75% from 4 tests
🔸 Tests weight: 35 | Checking the uninstaller removed all traces of the plugin
These items require your attention
- Zombie WordPress options detected upon uninstall: 8 options
- DebugLogConfigTool_data_initial
- widget_recent-comments
- db_upgraded
- theysaidso_admin_options
- widget_recent-posts
- debuglogconfigtool_updated_constant
- can_compress_scripts
- widget_theysaidso_widget
Smoke tests 50% from 4 tests
Server-side errors Passed 1 test
🔹 Test weight: 20 | Just a short smoke test targeting errors on the server (in the Apache logs)
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
Almost there! Just fix the following items
- 2× GET requests to PHP files have triggered server-side errors or warnings:
- > PHP Fatal error
Uncaught Error: Call to a member function get() on null in wp-content/plugins/debug-log-config-tool/app/routes.php:4
- > PHP Notice
Undefined variable: router in wp-content/plugins/debug-log-config-tool/app/routes.php on line 4
- > PHP Fatal error
User-side errors 0% from 1 test
🔹 Test weight: 20 | Just a short smoke test targeting errors on the browser (console and network errors and warnings)
Please take a look at the following user-side issues
- > GET request to /wp-admin/tools.php?page=dlct_logs
- > Network (severe)
wp-admin/fonts/Inter-Medium.woff2 - Failed to load resource: the server responded with a status of 404 (Not Found)
- > GET request to /wp-admin/tools.php?page=dlct_logs
- > Network (severe)
wp-admin/fonts/Inter-Medium.woff - Failed to load resource: the server responded with a status of 404 (Not Found)
Optimizations
Plugin configuration 87% from 29 tests
readme.txt 88% from 16 tests
The readme.txt file uses markdown syntax to describe your plugin to the world
These attributes need to be fixed:
- Screenshots: Add a description for screenshot #2 in debug-log-config-tool/assets to your readme.txt
- Donate link: Invalid URI found ("")
debug-log-config-tool/plugin.php 85% from 13 tests
The principal PHP file in "WP Debug Log - Configuration Tool" v. 1.4.3 is loaded by WordPress automatically on each request
It is important to fix the following:
- Text Domain: The text domain follows the same naming rules as the plugin slug: lowercase characters and dashes
- Main file name: Please rename the main PHP file in this plugin to the plugin slug ("debug-log-config-tool.php" instead of "plugin.php")
Code Analysis Passed 3 tests
File types Passed 1 test
🔸 Test weight: 35 | An overview of files in this plugin; executable files are not allowed
Success! There were no dangerous files found in this plugin38,957 lines of code in 21 files:
Language | Files | Blank lines | Comment lines | Lines of code |
---|---|---|---|---|
JavaScript | 2 | 2,674 | 1,621 | 36,897 |
CSS | 1 | 268 | 0 | 914 |
PHP | 15 | 195 | 320 | 839 |
SVG | 1 | 0 | 0 | 292 |
Markdown | 1 | 7 | 0 | 11 |
JSON | 1 | 0 | 0 | 4 |
PHP code Passed 2 tests
An short overview of logical lines of code, cyclomatic complexity, and other code metrics
This plugin has no cyclomatic complexity problems
Cyclomatic complexity | |
---|---|
Average complexity per logical line of code | 0.34 |
Average class complexity | 11.09 |
▷ Minimum class complexity | 1.00 |
▷ Maximum class complexity | 40.00 |
Average method complexity | 2.68 |
▷ Minimum method complexity | 1.00 |
▷ Maximum method complexity | 16.00 |
Code structure | ||
---|---|---|
Namespaces | 4 | |
Interfaces | 0 | |
Traits | 0 | |
Classes | 11 | |
▷ Abstract classes | 0 | 0.00% |
▷ Concrete classes | 11 | 100.00% |
▷ Final classes | 1 | 9.09% |
Methods | 65 | |
▷ Static methods | 7 | 10.77% |
▷ Public methods | 55 | 84.62% |
▷ Protected methods | 6 | 9.23% |
▷ Private methods | 4 | 6.15% |
Functions | 6 | |
▷ Named functions | 0 | 0.00% |
▷ Anonymous functions | 6 | 100.00% |
Constants | 8 | |
▷ Global constants | 5 | 62.50% |
▷ Class constants | 3 | 37.50% |
▷ Public constants | 3 | 100.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 are no PNG files in this plugin