Benchmarks
Plugin footprint 83% from 16 tests
Installer Passed 1 test
🔺 Critical test (weight: 50) | Verifying that this plugin installs correctly without errors
Installer ran successfully
Server metrics [RAM: ▲0.02MB] [CPU: ▼1.74ms] Passed 4 tests
Server-side resources used by Plugin Detective - Troubleshooting Conflicts
Server-side resource usage in normal parameters
Page | Memory (MB) | CPU Time (ms) |
---|---|---|
Home / | 3.48 ▲0.02 | 39.79 ▼5.17 |
Dashboard /wp-admin | 3.32 ▲0.02 | 45.33 ▼1.38 |
Posts /wp-admin/edit.php | 3.37 ▲0.02 | 49.22 ▲1.30 |
Add New Post /wp-admin/post-new.php | 5.90 ▲0.02 | 91.81 ▼1.72 |
Media Library /wp-admin/upload.php | 3.24 ▲0.02 | 35.27 ▲2.22 |
Plugin Detective /wp-admin/tools.php?page=plugin-detective | 3.08 | 24.19 |
Server storage [IO: ▲4.10MB] [DB: ▲0.00MB] Passed 3 tests
Analyzing filesystem and database footprints of this plugin
No storage issues were detected
Filesystem: 159 new files
Database: no new tables, 6 new options
New WordPress options |
---|
widget_recent-comments |
can_compress_scripts |
db_upgraded |
theysaidso_admin_options |
widget_recent-posts |
widget_theysaidso_widget |
Browser metrics Passed 4 tests
A check of browser resources used by Plugin Detective - Troubleshooting Conflicts
Normal browser usage
Page | Nodes | Memory (MB) | Script (ms) | Layout (ms) |
---|---|---|---|---|
Home / | 2,825 ▲90 | 13.65 ▼0.97 | 1.75 ▼0.01 | 44.22 ▲0.35 |
Dashboard /wp-admin | 2,219 ▲31 | 4.87 ▼0.03 | 108.16 ▲3.85 | 47.98 ▲7.60 |
Posts /wp-admin/edit.php | 2,108 ▲19 | 2.04 ▲0.01 | 39.88 ▲3.66 | 35.01 ▲4.24 |
Add New Post /wp-admin/post-new.php | 1,539 ▲6 | 23.21 ▲0.39 | 584.77 ▼83.45 | 64.32 ▲13.13 |
Media Library /wp-admin/upload.php | 1,404 ▲19 | 4.24 ▲0.03 | 94.78 ▼12.87 | 43.50 ▼2.80 |
Plugin Detective /wp-admin/tools.php?page=plugin-detective | 373 | 5.58 | 68.31 | 47.37 |
Uninstaller [IO: ▲0.00MB] [DB: ▲0.00MB] 75% from 4 tests
🔸 Tests weight: 35 | It is important to correctly uninstall your plugin, without leaving any traces
It is recommended to fix the following
- This plugin does not fully uninstall, leaving 6 options in the database
- can_compress_scripts
- widget_recent-comments
- widget_theysaidso_widget
- widget_recent-posts
- theysaidso_admin_options
- db_upgraded
Smoke tests 25% from 4 tests
Server-side errors Passed 1 test
🔹 Test weight: 20 | A smoke test targeting server-side errors
The smoke test was a success, however most plugin functionality was not tested
SRP 0% 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
Almost there! Just fix the following items
- 4× GET requests to PHP files return non-empty strings:
- > /wp-content/plugins/plugin-detective/troubleshoot/app/local-get-app.php
- > /wp-content/plugins/plugin-detective/troubleshoot/app_old/local-get-app.php
- > /wp-content/plugins/plugin-detective/troubleshoot/index.php
- > /wp-content/plugins/plugin-detective/troubleshoot/api.php
- 8× 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/plugin-detective/plugin-detective.php:394
- > PHP Warning
Use of undefined constant ABSPATH - assumed 'ABSPATH' (this will throw an Error in a future version of PHP) in wp-content/plugins/plugin-detective/troubleshoot/includes/class-settings.php on line 82
- > PHP Fatal error
Uncaught Error: Call to undefined function __() in wp-content/plugins/plugin-detective/languages/troubleshoot-app-translations.php:4
- > PHP Warning
Use of undefined constant ABSPATH - assumed 'ABSPATH' (this will throw an Error in a future version of PHP) in wp-content/plugins/plugin-detective/troubleshoot/includes/class-settings.php on line 95
- > PHP Warning
Use of undefined constant ABSPATH - assumed 'ABSPATH' (this will throw an Error in a future version of PHP) in wp-content/plugins/plugin-detective/troubleshoot/includes/class-settings.php on line 83
- > PHP Warning
Use of undefined constant ABSPATH - assumed 'ABSPATH' (this will throw an Error in a future version of PHP) in wp-content/plugins/plugin-detective/troubleshoot/includes/class-settings.php on line 81
- > PHP Warning
require_once(ABSPATHwp-includes/plugin.php): failed to open stream: No such file or directory in wp-content/plugins/plugin-detective/troubleshoot/includes/class-settings.php on line 95
- > PHP Fatal error
require_once(): Failed opening required 'ABSPATHwp-includes/plugin.php' (include_path='.:/usr/share/php') in wp-content/plugins/plugin-detective/troubleshoot/includes/class-settings.php on line 95
- > PHP Fatal error
User-side errors 0% from 1 test
🔹 Test weight: 20 | A shallow check that no browser errors were triggered
Please fix the following user-side errors
- > GET request to /wp-admin/tools.php?page=plugin-detective
- > Javascript (severe) in unknown
/wp-content/plugins/plugin-detective/troubleshoot/app/dist/static/js/chunk-vendors.js?v=1.2.16 56:111483
Optimizations
Plugin configuration 93% from 29 tests
readme.txt 88% 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 require attention:
- Screenshots: Please add descriptions for these screenshots #2, #3, #4, #5, #6 in plugin-detective/assets to your readme.txt
- Tags: There are too many tags (12 tag instead of maximum 10)
plugin-detective/plugin-detective.php Passed 13 tests
The entry point to "Plugin Detective - Troubleshooting Conflicts" version 1.2.16 is a PHP file that has certain tags in its header comment area
43 characters long description:
Quickly troubleshoot & fix plugin conflicts
Code Analysis Passed 3 tests
File types Passed 1 test
🔸 Test weight: 35 | There should be no dangerous file extensions present in any WordPress plugin
There were no executable files found in this plugin37,754 lines of code in 108 files:
Language | Files | Blank lines | Comment lines | Lines of code |
---|---|---|---|---|
JSON | 5 | 0 | 0 | 31,209 |
PHP | 21 | 708 | 1,516 | 2,508 |
Vuejs Component | 27 | 75 | 18 | 2,112 |
JavaScript | 28 | 65 | 173 | 1,375 |
Sass | 14 | 24 | 0 | 493 |
HTML | 3 | 0 | 2 | 33 |
SVG | 8 | 0 | 1 | 19 |
CSS | 2 | 0 | 4 | 5 |
PHP code Passed 2 tests
Cyclomatic complexity and code structure are the fingerprint of this plugin
There were no cyclomatic complexity issued detected
Cyclomatic complexity | |
---|---|
Average complexity per logical line of code | 0.31 |
Average class complexity | 20.17 |
▷ Minimum class complexity | 1.00 |
▷ Maximum class complexity | 59.00 |
Average method complexity | 3.02 |
▷ Minimum method complexity | 1.00 |
▷ Maximum method complexity | 54.00 |
Code structure | ||
---|---|---|
Namespaces | 0 | |
Interfaces | 0 | |
Traits | 0 | |
Classes | 18 | |
▷ Abstract classes | 0 | 0.00% |
▷ Concrete classes | 18 | 100.00% |
▷ Final classes | 2 | 11.11% |
Methods | 171 | |
▷ Static methods | 17 | 9.94% |
▷ Public methods | 168 | 98.25% |
▷ Protected methods | 2 | 1.17% |
▷ Private methods | 1 | 0.58% |
Functions | 5 | |
▷ Named functions | 5 | 100.00% |
▷ Anonymous functions | 0 | 0.00% |
Constants | 35 | |
▷ Global constants | 33 | 94.29% |
▷ Class constants | 2 | 5.71% |
▷ Public constants | 2 | 100.00% |
Plugin size Passed 2 tests
Image compression Passed 2 tests
PNG files should be compressed to save space and minimize bandwidth usage
1 PNG file occupies 0.01MB with 0.00MB in potential savings
Potential savings
Compression of 1 random PNG file using pngquant | |||
---|---|---|---|
File | Size - original | Size - compressed | Savings |
troubleshoot/app/src/assets/logo.png | 6.69KB | 3.22KB | ▼ 51.86% |