Benchmarks
Plugin footprint 83% from 16 tests
Installer Passed 1 test
🔺 Critical test (weight: 50) | The install procedure must perform silently
This plugin's installer ran successfully
Server metrics [RAM: ▲0.16MB] [CPU: ▼6.51ms] Passed 4 tests
Server-side resources used by Order Approval for MultiVendorX
No issues were detected with server-side resource usage
Page | Memory (MB) | CPU Time (ms) |
---|---|---|
Home / | 3.62 ▲0.16 | 35.55 ▼9.17 |
Dashboard /wp-admin | 3.46 ▲0.15 | 43.69 ▼7.64 |
Posts /wp-admin/edit.php | 3.57 ▲0.21 | 48.17 ▼2.43 |
Add New Post /wp-admin/post-new.php | 6.06 ▲0.17 | 79.83 ▼6.80 |
Media Library /wp-admin/upload.php | 3.38 ▲0.15 | 37.19 ▲3.12 |
Server storage [IO: ▲0.11MB] [DB: ▲0.00MB] Passed 3 tests
Analyzing filesystem and database footprints of this plugin
This plugin was installed successfully
Filesystem: 34 new files
Database: no new tables, 6 new options
New WordPress options |
---|
widget_recent-posts |
db_upgraded |
widget_theysaidso_widget |
theysaidso_admin_options |
can_compress_scripts |
widget_recent-comments |
Browser metrics Passed 4 tests
This is an overview of browser requirements for Order Approval for MultiVendorX
This plugin has a minimal impact on browser resources
Page | Nodes | Memory (MB) | Script (ms) | Layout (ms) |
---|---|---|---|---|
Home / | 2,936 ▲175 | 13.42 ▼1.00 | 7.97 ▲6.10 | 37.61 ▼5.72 |
Dashboard /wp-admin | 2,234 ▲63 | 5.62 ▲0.09 | 96.96 ▲5.22 | 44.01 ▲4.40 |
Posts /wp-admin/edit.php | 2,139 ▲39 | 2.16 ▲0.18 | 40.19 ▼1.88 | 36.74 ▼0.85 |
Add New Post /wp-admin/post-new.php | 1,560 ▲23 | 22.95 ▲4.62 | 662.22 ▲39.38 | 55.55 ▲3.45 |
Media Library /wp-admin/upload.php | 1,442 ▲39 | 4.14 ▼0.08 | 99.97 ▼2.58 | 42.72 ▲1.27 |
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
You still need to fix the following
- This plugin does not fully uninstall, leaving 6 options in the database
- db_upgraded
- widget_theysaidso_widget
- widget_recent-posts
- widget_recent-comments
- theysaidso_admin_options
- can_compress_scripts
Smoke tests 50% 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 | A shallow check of the single-responsibility principle; PHP files should perform no action - including output of placeholder text - and trigger no errors when accessed directly
The following issues need your attention
- 2× PHP files output text when accessed directly:
- > /wp-content/plugins/order-approval-for-multivendorx/admin/partials/order-approval-for-multivendorx-admin-display.php
- > /wp-content/plugins/order-approval-for-multivendorx/public/partials/order-approval-for-multivendorx-public-display.php
- 1× GET requests to PHP files have triggered server-side errors or warnings:
- > PHP Fatal error
Uncaught Error: Call to undefined function sevengits\\is_admin() in wp-content/plugins/order-approval-for-multivendorx/plugin-deactivation-survey/deactivate-feedback-form.php:5
- > PHP Fatal error
User-side errors Passed 1 test
🔹 Test weight: 20 | This is a shallow check for browser errors
Everything seems fine on the user side
Optimizations
Plugin configuration 96% from 29 tests
readme.txt Passed 16 tests
The readme.txt file is an important file in your plugin as it is parsed by WordPress.org to prepare the public listing of your plugin
2 plugin tags: multivendorx, order approval
order-approval-for-multivendorx/order-approval-for-multivendorx.php 92% from 13 tests
Analyzing the main PHP file in "Order Approval for MultiVendorX" version 1.0.1
Please make the necessary changes and fix the following:
- Requires at least: The required version number did not match the one declared in readme.txt ("3.0.1" instead of "3.7")
Code Analysis Passed 3 tests
File types Passed 1 test
🔸 Test weight: 35 | A short glimpse at programming languages used with this plugin and a check that no dangerous files are present
Success! There were no dangerous files found in this plugin1,155 lines of code in 27 files:
Language | Files | Blank lines | Comment lines | Lines of code |
---|---|---|---|---|
PHP | 16 | 208 | 927 | 727 |
CSS | 6 | 100 | 55 | 306 |
JavaScript | 4 | 30 | 66 | 104 |
Markdown | 1 | 7 | 0 | 18 |
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.30 |
Average class complexity | 6.00 |
▷ Minimum class complexity | 1.00 |
▷ Maximum class complexity | 26.00 |
Average method complexity | 1.93 |
▷ Minimum method complexity | 1.00 |
▷ Maximum method complexity | 6.00 |
Code structure | ||
---|---|---|
Namespaces | 2 | |
Interfaces | 0 | |
Traits | 0 | |
Classes | 8 | |
▷ Abstract classes | 0 | 0.00% |
▷ Concrete classes | 8 | 100.00% |
▷ Final classes | 0 | 0.00% |
Methods | 43 | |
▷ Static methods | 3 | 6.98% |
▷ Public methods | 27 | 62.79% |
▷ Protected methods | 8 | 18.60% |
▷ Private methods | 8 | 18.60% |
Functions | 7 | |
▷ Named functions | 5 | 71.43% |
▷ Anonymous functions | 2 | 28.57% |
Constants | 5 | |
▷ Global constants | 5 | 100.00% |
▷ Class constants | 0 | 0.00% |
▷ Public constants | 0 | 0.00% |
Plugin size Passed 2 tests
Image compression Passed 2 tests
All PNG images should be compressed to minimize bandwidth usage for end users
There were not PNG files found in your plugin