Benchmarks
Plugin footprint 83% from 16 tests
Installer Passed 1 test
🔺 Critical test (weight: 50) | Checking the installer triggered no errors
Install script ran successfully
Server metrics [RAM: ▲0.00MB] [CPU: ▼5.52ms] Passed 4 tests
An overview of server-side resources used by Is there a problem
Server-side resource usage in normal parameters
Page | Memory (MB) | CPU Time (ms) |
---|---|---|
Home / | 3.47 ▲0.00 | 35.57 ▼5.45 |
Dashboard /wp-admin | 3.31 ▲0.00 | 48.36 ▼6.55 |
Posts /wp-admin/edit.php | 3.36 ▲0.00 | 49.22 ▼0.93 |
Add New Post /wp-admin/post-new.php | 5.89 ▲0.00 | 89.92 ▼8.14 |
Media Library /wp-admin/upload.php | 3.23 ▲0.00 | 35.79 ▼1.95 |
Server storage [IO: ▲1.37MB] [DB: ▲0.00MB] Passed 3 tests
Input-output and database impact of this plugin
The plugin installed successfully
Filesystem: 123 new files
Database: no new tables, 6 new options
New WordPress options |
---|
widget_theysaidso_widget |
widget_recent-posts |
theysaidso_admin_options |
widget_recent-comments |
can_compress_scripts |
db_upgraded |
Browser metrics Passed 4 tests
A check of browser resources used by Is there a problem
There were no issues detected in relation to browser resource usage
Page | Nodes | Memory (MB) | Script (ms) | Layout (ms) |
---|---|---|---|---|
Home / | 2,814 ▲53 | 14.21 ▼0.43 | 1.86 ▼0.02 | 41.71 ▼5.60 |
Dashboard /wp-admin | 2,195 ▲18 | 5.62 ▼0.06 | 94.22 ▲0.90 | 41.53 ▲0.12 |
Posts /wp-admin/edit.php | 2,100 ▼0 | 2.01 ▼0.02 | 40.26 ▲4.90 | 35.47 ▼0.63 |
Add New Post /wp-admin/post-new.php | 1,526 ▼2 | 23.19 ▼0.02 | 658.77 ▲27.09 | 62.49 ▲5.17 |
Media Library /wp-admin/upload.php | 1,403 ▼0 | 4.13 ▼0.04 | 97.16 ▼0.95 | 43.92 ▲0.39 |
Uninstaller [IO: ▲0.00MB] [DB: ▲0.00MB] 75% from 4 tests
🔸 Tests weight: 35 | Verifying that this plugin uninstalls completely without leaving any traces
The following items require your attention
- Zombie WordPress options were found after uninstall: 6 options
- widget_recent-posts
- theysaidso_admin_options
- widget_recent-comments
- can_compress_scripts
- db_upgraded
- widget_theysaidso_widget
Smoke tests 75% from 4 tests
Server-side errors Passed 1 test
🔹 Test weight: 20 | This is a shallow check for server-side errors
Even though no errors were found, this is by no means 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
- 17× GET requests to PHP files have triggered server-side errors or warnings (only 10 are shown):
- > PHP Fatal error
Uncaught Error: Class 'Puc_v4p13_DebugBar_Panel' not found in wp-content/plugins/is-there-a-problem/plugin-update-checker-master/Puc/v4p13/DebugBar/PluginPanel.php:5
- > PHP Fatal error
Uncaught Error: Class 'Puc_v4p13_DebugBar_Panel' not found in wp-content/plugins/is-there-a-problem/plugin-update-checker-master/Puc/v4p13/DebugBar/ThemePanel.php:5
- > PHP Fatal error
Uncaught Error: Class 'Puc_v4p13_Update' not found in wp-content/plugins/is-there-a-problem/plugin-update-checker-master/Puc/v4p13/Plugin/Update.php:11
- > PHP Fatal error
Uncaught Error: Class 'Puc_v4p13_InstalledPackage' not found in wp-content/plugins/is-there-a-problem/plugin-update-checker-master/Puc/v4p13/Theme/Package.php:4
- > PHP Fatal error
Uncaught Error: Class 'Puc_v4p13_Factory' not found in wp-content/plugins/is-there-a-problem/plugin-update-checker-master/Puc/v4/Factory.php:4
- > PHP Fatal error
Uncaught Error: Class 'Puc_v4p13_InstalledPackage' not found in wp-content/plugins/is-there-a-problem/plugin-update-checker-master/Puc/v4p13/Plugin/Package.php:4
- > PHP Fatal error
Uncaught Error: Class 'Puc_v4p13_Metadata' not found in wp-content/plugins/is-there-a-problem/plugin-update-checker-master/Puc/v4p13/Update.php:10
- > PHP Fatal error
Uncaught Error: Class 'Puc_v4p13_Update' not found in wp-content/plugins/is-there-a-problem/plugin-update-checker-master/Puc/v4p13/Theme/Update.php:5
- > PHP Fatal error
Uncaught Error: Class 'Puc_v4p13_Vcs_Api' not found in wp-content/plugins/is-there-a-problem/plugin-update-checker-master/Puc/v4p13/Vcs/BitBucketApi.php:4
- > PHP Fatal error
Uncaught Error: Class 'Puc_v4p13_Theme_UpdateChecker' not found in wp-content/plugins/is-there-a-problem/plugin-update-checker-master/Puc/v4p13/Vcs/ThemeUpdateChecker.php:5
- > PHP Fatal error
User-side errors Passed 1 test
🔹 Test weight: 20 | This is a shallow check for browser errors
There were no browser issues found
Optimizations
Plugin configuration 97% from 29 tests
readme.txt 94% from 16 tests
The readme.txt file is undoubtedly the most important file in your plugin, preparing it for public listing on WordPress.org
These attributes need to be fixed:
- Screenshots: Screenshot #1 (/assets/screenshot-1.png) image not found
is-there-a-problem/is-there-a-problem.php Passed 13 tests
"Is there a problem" version 1.1.6's main PHP file describes plugin functionality and also serves as the entry point to any WordPress functionality
61 characters long description:
tell you if there are integration's problem with your website
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 plugin7,901 lines of code in 77 files:
Language | Files | Blank lines | Comment lines | Lines of code |
---|---|---|---|---|
PHP | 44 | 1,629 | 2,362 | 6,521 |
PO File | 24 | 143 | 146 | 833 |
Markdown | 1 | 72 | 0 | 255 |
CSS | 3 | 34 | 4 | 172 |
JavaScript | 2 | 8 | 6 | 77 |
JSON | 3 | 3 | 0 | 43 |
PHP code Passed 2 tests
This plugin's cyclomatic complexity and code structure detailed below
This plugin has no cyclomatic complexity problems
Cyclomatic complexity | |
---|---|
Average complexity per logical line of code | 0.41 |
Average class complexity | 25.55 |
▷ Minimum class complexity | 1.00 |
▷ Maximum class complexity | 159.00 |
Average method complexity | 3.26 |
▷ Minimum method complexity | 1.00 |
▷ Maximum method complexity | 32.00 |
Code structure | ||
---|---|---|
Namespaces | 0 | |
Interfaces | 1 | |
Traits | 0 | |
Classes | 36 | |
▷ Abstract classes | 5 | 13.89% |
▷ Concrete classes | 31 | 86.11% |
▷ Final classes | 0 | 0.00% |
Methods | 429 | |
▷ Static methods | 27 | 6.29% |
▷ Public methods | 252 | 58.74% |
▷ Protected methods | 163 | 38.00% |
▷ Private methods | 14 | 3.26% |
Functions | 12 | |
▷ Named functions | 7 | 58.33% |
▷ Anonymous functions | 5 | 41.67% |
Constants | 3 | |
▷ Global constants | 0 | 0.00% |
▷ Class constants | 3 | 100.00% |
▷ Public constants | 3 | 100.00% |
Plugin size 50% from 2 tests
Image compression 50% from 2 tests
Using a strong compression for your PNG files is a great way to speed-up your plugin
1 PNG file occupies 0.96MB with 0.72MB in potential savings
Potential savings
Compression of 1 random PNG file using pngquant | |||
---|---|---|---|
File | Size - original | Size - compressed | Savings |
assets/screenshot-1.png | 978.05KB | 244.80KB | ▼ 74.97% |