Benchmarks
Plugin footprint 58% from 16 tests
Installer 0% from 1 test
🔺 Critical test (weight: 50) | Checking the installer triggered no errors
You still need to fix the following installer errors
- The plugin did not install without errors
- > Parse error in wp-content/plugins/multi-vendor-campaign/admin/class-multi-vendor-campaign-admin.php+705
syntax error, unexpected 'public' (T_PUBLIC)
Server metrics [RAM: ▲0.00MB] [CPU: ▼2.11ms] Passed 4 tests
A check of server-side resources used by Multi Vendor Campaign
No issues were detected with server-side resource usage
Page | Memory (MB) | CPU Time (ms) |
---|---|---|
Home / | 3.46 ▲0.00 | 38.39 ▲0.78 |
Dashboard /wp-admin | 3.31 ▲0.00 | 46.39 ▼2.61 |
Posts /wp-admin/edit.php | 3.36 ▲0.00 | 46.22 ▲0.33 |
Add New Post /wp-admin/post-new.php | 5.89 ▲0.00 | 84.02 ▼4.56 |
Media Library /wp-admin/upload.php | 3.23 ▲0.00 | 32.24 ▼1.58 |
Server storage [IO: ▲0.27MB] [DB: ▲0.00MB] Passed 3 tests
A short overview of filesystem and database impact
No storage issues were detected
Filesystem: 36 new files
Database: no new tables, 6 new options
New WordPress options |
---|
widget_recent-posts |
db_upgraded |
theysaidso_admin_options |
can_compress_scripts |
widget_theysaidso_widget |
widget_recent-comments |
Browser metrics Passed 4 tests
An overview of browser requirements for Multi Vendor Campaign
This plugin renders optimally with no browser resource issues detected
Page | Nodes | Memory (MB) | Script (ms) | Layout (ms) |
---|---|---|---|---|
Home / | 2,800 ▲54 | 14.74 ▲0.12 | 1.86 ▲0.17 | 43.24 ▲0.22 |
Dashboard /wp-admin | 2,206 ▲18 | 4.85 ▼1.03 | 111.43 ▲8.87 | 43.09 ▲2.09 |
Posts /wp-admin/edit.php | 2,086 ▼3 | 1.99 ▼0.05 | 34.25 ▼6.43 | 31.33 ▼8.04 |
Add New Post /wp-admin/post-new.php | 1,537 ▼5 | 22.96 ▼0.21 | 663.14 ▼33.91 | 54.17 ▼5.36 |
Media Library /wp-admin/upload.php | 1,388 ▼3 | 4.23 ▼0.00 | 92.00 ▼6.70 | 43.35 ▼2.62 |
Uninstaller [IO: ▲0.00MB] [DB: ▲0.00MB] 75% from 4 tests
🔸 Tests weight: 35 | The uninstall procedure must remove all plugin files and extra database tables
You still need to fix the following
- Zombie WordPress options were found after uninstall: 6 options
- widget_recent-comments
- widget_theysaidso_widget
- db_upgraded
- can_compress_scripts
- theysaidso_admin_options
- widget_recent-posts
Smoke tests 75% 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 50% from 2 tests
🔹 Tests weight: 20 | It is important to ensure that your PHP files perform no action when accessed directly, respecting the single-responsibility principle
Please fix the following items
- 16× GET requests to PHP files trigger server-side errors or Error 500 responses (only 10 are shown):
- > PHP Parse error
syntax error, unexpected 'public' (T_PUBLIC) in wp-content/plugins/multi-vendor-campaign/admin/class-multi-vendor-campaign-admin.php on line 705
- > PHP Fatal error
require_once(): Failed opening required 'ABSPATHwp-admin/includes/class-wp-list-table.php' (include_path='.:/usr/share/php') in wp-content/plugins/multi-vendor-campaign/admin/tables/campaign-product-list.php on line 4
- > PHP Warning
require_once(ABSPATHwp-admin/includes/class-wp-list-table.php): failed to open stream: No such file or directory in wp-content/plugins/multi-vendor-campaign/admin/tables/campaign-list.php on line 4
- > PHP Warning
require_once(ABSPATHwp-admin/includes/class-wp-list-table.php): failed to open stream: No such file or directory in wp-content/plugins/multi-vendor-campaign/admin/tables/campaign-order-list.php on line 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/multi-vendor-campaign/admin/tables/campaign-product-list.php on line 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/multi-vendor-campaign/admin/tables/campaign-products-list.php on line 4
- > PHP Fatal error
require_once(): Failed opening required 'ABSPATHwp-admin/includes/class-wp-list-table.php' (include_path='.:/usr/share/php') in wp-content/plugins/multi-vendor-campaign/admin/tables/campaign-order-list.php on line 4
- > PHP Fatal error
Uncaught Error: Class 'WP_Widget' not found in wp-content/plugins/multi-vendor-campaign/public/class-multi-vendor-campaign-filter-widget.php:3
- > PHP Fatal error
require_once(): Failed opening required 'ABSPATHwp-admin/includes/class-wp-list-table.php' (include_path='.:/usr/share/php') in wp-content/plugins/multi-vendor-campaign/admin/tables/campaign-products-list.php on line 4
- > PHP Fatal error
require_once(): Failed opening required 'ABSPATHwp-admin/includes/class-wp-list-table.php' (include_path='.:/usr/share/php') in wp-content/plugins/multi-vendor-campaign/admin/tables/campaign-list.php on line 4
- > PHP Parse error
User-side errors Passed 1 test
🔹 Test weight: 20 | This is just a short smoke test looking for browser issues
Everything seems fine on the user side
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: Please delete some tags, you are using 11 tag instead of maximum 10
multi-vendor-campaign/multi-vendor-campaign.php 92% from 13 tests
The entry point to "Multi Vendor Campaign" version 1.0.1 is a PHP file that has certain tags in its header comment area
Please make the necessary changes and fix the following:
- Requires at least: Required version does not match the one declared in readme.txt ("4.7" instead of "3.0.0")
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
There were no executable files found in this plugin3,991 lines of code in 26 files:
Language | Files | Blank lines | Comment lines | Lines of code |
---|---|---|---|---|
PHP | 17 | 902 | 1,311 | 3,122 |
CSS | 5 | 108 | 4 | 630 |
JavaScript | 4 | 60 | 0 | 239 |
PHP code Passed 2 tests
Cyclomatic complexity and code structure are the fingerprint of this plugin
All good! No complexity issues found
Cyclomatic complexity | |
---|---|
Average complexity per logical line of code | 0.36 |
Average class complexity | 31.07 |
▷ Minimum class complexity | 1.00 |
▷ Maximum class complexity | 162.00 |
Average method complexity | 3.50 |
▷ Minimum method complexity | 1.00 |
▷ Maximum method complexity | 47.00 |
Code structure | ||
---|---|---|
Namespaces | 0 | |
Interfaces | 0 | |
Traits | 0 | |
Classes | 14 | |
▷ Abstract classes | 0 | 0.00% |
▷ Concrete classes | 14 | 100.00% |
▷ Final classes | 0 | 0.00% |
Methods | 154 | |
▷ Static methods | 9 | 5.84% |
▷ Public methods | 138 | 89.61% |
▷ Protected methods | 0 | 0.00% |
▷ Private methods | 16 | 10.39% |
Functions | 7 | |
▷ Named functions | 7 | 100.00% |
▷ Anonymous functions | 0 | 0.00% |
Constants | 1 | |
▷ Global constants | 1 | 100.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
3 PNG files occupy 0.02MB with 0.01MB in potential savings
Potential savings
Compression of 3 random PNG files using pngquant | |||
---|---|---|---|
File | Size - original | Size - compressed | Savings |
assets/admin/images/icon.png | 1.37KB | 0.76KB | ▼ 44.43% |
assets/admin/images/upload.png | 12.95KB | 6.85KB | ▼ 47.08% |
assets/admin/images/vc-icon.png | 5.05KB | 2.96KB | ▼ 41.50% |