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.84MB] [CPU: ▲2.99ms] Passed 4 tests
Analyzing server-side resources used by Simple Client Dashboard
Server-side resource usage in normal parameters
Page | Memory (MB) | CPU Time (ms) |
---|---|---|
Home / | 4.31 ▲0.84 | 48.58 ▲5.75 |
Dashboard /wp-admin | 4.15 ▲0.84 | 49.32 ▲3.12 |
Posts /wp-admin/edit.php | 4.20 ▲0.84 | 53.88 ▲3.55 |
Add New Post /wp-admin/post-new.php | 6.77 ▲0.88 | 91.70 ▼0.48 |
Media Library /wp-admin/upload.php | 4.07 ▲0.84 | 39.89 ▲6.50 |
Simple Client Dashboard /wp-admin/options-general.php?page=simple-client-dashboard | 3.99 | 35.80 |
Server storage [IO: ▲1.69MB] [DB: ▲0.07MB] Passed 3 tests
Input-output and database impact of this plugin
This plugin was installed successfully
Filesystem: 90 new files
Database: no new tables, 6 new options
New WordPress options |
---|
theysaidso_admin_options |
widget_theysaidso_widget |
widget_recent-posts |
db_upgraded |
widget_recent-comments |
can_compress_scripts |
Browser metrics Passed 4 tests
This is an overview of browser requirements for Simple Client Dashboard
There were no issues detected in relation to browser resource usage
Page | Nodes | Memory (MB) | Script (ms) | Layout (ms) |
---|---|---|---|---|
Home / | 2,794 ▲7 | 14.54 ▲0.19 | 1.63 ▼0.36 | 37.91 ▼7.62 |
Dashboard /wp-admin | 2,202 ▲22 | 5.60 ▼0.04 | 95.77 ▲0.42 | 44.41 ▲1.66 |
Posts /wp-admin/edit.php | 2,107 ▲10 | 1.94 ▼0.08 | 40.14 ▼0.55 | 35.57 ▼2.16 |
Add New Post /wp-admin/post-new.php | 1,529 ▼1 | 23.46 ▲0.32 | 597.71 ▼36.17 | 48.93 ▼0.57 |
Media Library /wp-admin/upload.php | 1,407 ▲4 | 4.20 ▲0.03 | 98.69 ▲0.80 | 42.23 ▲0.91 |
Simple Client Dashboard /wp-admin/options-general.php?page=simple-client-dashboard | 1,236 | 5.08 | 65.15 | 67.30 |
Uninstaller [IO: ▲0.00MB] [DB: ▲0.07MB] 75% from 4 tests
🔸 Tests weight: 35 | Verifying that this plugin uninstalls completely without leaving any traces
Please fix the following items
- The uninstall procedure has failed, leaving 6 options in the database
- can_compress_scripts
- widget_theysaidso_widget
- widget_recent-comments
- db_upgraded
- widget_recent-posts
- theysaidso_admin_options
Smoke tests 50% from 4 tests
Server-side errors Passed 1 test
🔹 Test weight: 20 | This is a short smoke test looking for server-side errors
Good news, no errors were detected
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
The following issues need your attention
- 2× PHP files output text when accessed directly:
- > /wp-content/plugins/webmaster-user-role/views/display.php
- > /wp-content/plugins/webmaster-user-role/views/admin.php
- 46× PHP files trigger errors when accessed directly with GET requests (only 10 are shown):
- > PHP Fatal error
Uncaught Error: Call to undefined function add_action() in wp-content/plugins/webmaster-user-role/webmaster-user-role.php:733
- > PHP Fatal error
Uncaught Error: Class 'SCD_Base_Module' not found in wp-content/plugins/webmaster-user-role/includes/module-itsec.php:2
- > PHP Fatal error
Uncaught Error: Class 'SCD_Base_Module' not found in wp-content/plugins/webmaster-user-role/includes/module-table-press.php:2
- > PHP Fatal error
Uncaught Error: Class 'SCD_Base_Module' not found in wp-content/plugins/webmaster-user-role/includes/module-simple-css.php:2
- > PHP Fatal error
Uncaught Error: Call to undefined function __() in wp-content/plugins/webmaster-user-role/languages/admin-app-translations.php:4
- > PHP Fatal error
Uncaught Error: Call to undefined function add_filter() in wp-content/plugins/webmaster-user-role/includes/themes/canvas-theme-module.php:7
- > PHP Fatal error
Uncaught Error: Call to undefined function add_filter() in wp-content/plugins/webmaster-user-role/includes/themes/boss-theme-module.php:7
- > PHP Fatal error
Uncaught Error: Class 'SCD_Base_Module' not found in wp-content/plugins/webmaster-user-role/includes/module-draw-attention.php:2
- > PHP Fatal error
Uncaught Error: Class 'SCD_Base_Module' not found in wp-content/plugins/webmaster-user-role/includes/module-ninja-forms.php:2
- > PHP Fatal error
Uncaught Error: Class 'SCD_Base_Module' not found in wp-content/plugins/webmaster-user-role/includes/module-business-profile.php:2
- > 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 93% from 29 tests
readme.txt 94% from 16 tests
The readme.txt file uses markdown syntax to describe your plugin to the world
Attributes that require attention:
- Tags: Too many tags (11 tag instead of maximum 10); only the first 5 tags are used in your directory listing
webmaster-user-role/webmaster-user-role.php 92% from 13 tests
"Simple Client Dashboard" version 2.1.7.11's main PHP file describes plugin functionality and also serves as the entry point to any WordPress functionality
You should first fix the following items:
- Description: The description should be shorter than 140 characters (currently 169 characters long)
Code Analysis Passed 3 tests
File types Passed 1 test
🔸 Test weight: 35 | Executable files are considered dangerous and should not be included with any WordPress plugin
There were no executable files found in this plugin7,033 lines of code in 73 files:
Language | Files | Blank lines | Comment lines | Lines of code |
---|---|---|---|---|
PHP | 57 | 1,115 | 934 | 4,426 |
SVG | 2 | 0 | 0 | 1,330 |
PO File | 3 | 532 | 572 | 1,195 |
JavaScript | 6 | 2 | 29 | 40 |
HTML | 2 | 0 | 1 | 21 |
JSON | 1 | 0 | 0 | 19 |
CSS | 2 | 0 | 0 | 2 |
PHP code Passed 2 tests
This is a short overview of cyclomatic complexity and code structure for this plugin
This plugin has no cyclomatic complexity problems
Cyclomatic complexity | |
---|---|
Average complexity per logical line of code | 0.37 |
Average class complexity | 9.98 |
▷ Minimum class complexity | 1.00 |
▷ Maximum class complexity | 74.00 |
Average method complexity | 2.31 |
▷ Minimum method complexity | 1.00 |
▷ Maximum method complexity | 23.00 |
Code structure | ||
---|---|---|
Namespaces | 0 | |
Interfaces | 0 | |
Traits | 0 | |
Classes | 55 | |
▷ Abstract classes | 2 | 3.64% |
▷ Concrete classes | 53 | 96.36% |
▷ Final classes | 1 | 1.89% |
Methods | 378 | |
▷ Static methods | 19 | 5.03% |
▷ Public methods | 328 | 86.77% |
▷ Protected methods | 6 | 1.59% |
▷ Private methods | 44 | 11.64% |
Functions | 3 | |
▷ Named functions | 3 | 100.00% |
▷ Anonymous functions | 0 | 0.00% |
Constants | 5 | |
▷ Global constants | 0 | 0.00% |
▷ Class constants | 5 | 100.00% |
▷ Public constants | 5 | 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 |
admin-app/dist/static/img/color.png | 10.11KB | 8.24KB | ▼ 18.50% |