Benchmarks
Plugin footprint 83% from 16 tests
Installer Passed 1 test
🔺 Critical test (weight: 50) | All plugins must install correctly, without throwing any errors, warnings, or notices
Install script ran successfully
Server metrics [RAM: ▲0.00MB] [CPU: ▼4.94ms] Passed 4 tests
Analyzing server-side resources used by One Stop Shop for WooCommerce
No issues were detected with server-side resource usage
Page | Memory (MB) | CPU Time (ms) |
---|---|---|
Home / | 3.46 ▲0.00 | 39.10 ▲3.26 |
Dashboard /wp-admin | 3.31 ▲0.00 | 46.40 ▲3.00 |
Posts /wp-admin/edit.php | 3.36 ▲0.00 | 47.20 ▼0.69 |
Add New Post /wp-admin/post-new.php | 5.89 ▲0.00 | 78.22 ▼20.69 |
Media Library /wp-admin/upload.php | 3.23 ▲0.00 | 33.82 ▼1.37 |
Server storage [IO: ▲0.65MB] [DB: ▲0.00MB] Passed 3 tests
Filesystem and database footprint
This plugin was installed successfully
Filesystem: 186 new files
Database: no new tables, 7 new options
New WordPress options |
---|
widget_theysaidso_widget |
widget_recent-posts |
one_stop_shop_woocommerce |
db_upgraded |
theysaidso_admin_options |
can_compress_scripts |
widget_recent-comments |
Browser metrics Passed 4 tests
An overview of browser requirements for One Stop Shop for WooCommerce
Normal browser usage
Page | Nodes | Memory (MB) | Script (ms) | Layout (ms) |
---|---|---|---|---|
Home / | 2,789 ▲43 | 14.17 ▼0.48 | 1.65 ▼0.10 | 43.86 ▲4.80 |
Dashboard /wp-admin | 2,198 ▲28 | 5.61 ▼0.03 | 95.61 ▼1.82 | 41.66 ▲1.42 |
Posts /wp-admin/edit.php | 2,100 ▼0 | 1.96 ▼0.06 | 34.20 ▼3.34 | 33.03 ▼3.70 |
Add New Post /wp-admin/post-new.php | 1,526 ▼0 | 23.20 ▼0.04 | 659.39 ▼9.37 | 49.86 ▲0.20 |
Media Library /wp-admin/upload.php | 1,397 ▼6 | 4.23 ▲0.07 | 96.52 ▼11.74 | 41.25 ▼5.00 |
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: 7 options
- widget_recent-comments
- widget_theysaidso_widget
- db_upgraded
- theysaidso_admin_options
- one_stop_shop_woocommerce
- widget_recent-posts
- can_compress_scripts
Smoke tests 75% from 4 tests
Server-side errors Passed 1 test
🔹 Test weight: 20 | A shallow check that no server-side errors were triggered
Even though no errors were found, this is by no means an exhaustive test
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
- 108× PHP files trigger server-side errors or warnings when accessed directly (only 10 are shown):
- > PHP Fatal error
Uncaught Error: Class 'Composer\\Installers\\BaseInstaller' not found in wp-content/plugins/one-stop-shop-woocommerce/vendor/composer/installers/src/Composer/Installers/LithiumInstaller.php:4
- > PHP Fatal error
Uncaught Error: Class 'Composer\\Installers\\BaseInstaller' not found in wp-content/plugins/one-stop-shop-woocommerce/vendor/composer/installers/src/Composer/Installers/OxidInstaller.php:6
- > PHP Fatal error
Uncaught Error: Class 'Composer\\Installers\\BaseInstaller' not found in wp-content/plugins/one-stop-shop-woocommerce/vendor/composer/installers/src/Composer/Installers/MoodleInstaller.php:4
- > PHP Fatal error
Uncaught Error: Interface 'Composer\\Plugin\\PluginInterface' not found in wp-content/plugins/one-stop-shop-woocommerce/vendor/automattic/jetpack-autoloader/src/CustomAutoloaderPlugin.php:29
- > PHP Fatal error
Uncaught Error: Class 'Composer\\Installers\\BaseInstaller' not found in wp-content/plugins/one-stop-shop-woocommerce/vendor/composer/installers/src/Composer/Installers/Redaxo5Installer.php:4
- > PHP Fatal error
Uncaught Error: Class 'Composer\\Installers\\BaseInstaller' not found in wp-content/plugins/one-stop-shop-woocommerce/vendor/composer/installers/src/Composer/Installers/PhiftyInstaller.php:4
- > PHP Fatal error
Uncaught Error: Class 'Composer\\Installers\\BaseInstaller' not found in wp-content/plugins/one-stop-shop-woocommerce/vendor/composer/installers/src/Composer/Installers/SiteDirectInstaller.php:5
- > PHP Fatal error
Uncaught Error: Class 'Composer\\Installers\\BaseInstaller' not found in wp-content/plugins/one-stop-shop-woocommerce/vendor/composer/installers/src/Composer/Installers/RadPHPInstaller.php:4
- > PHP Fatal error
Uncaught Error: Class 'Composer\\Installers\\BaseInstaller' not found in wp-content/plugins/one-stop-shop-woocommerce/vendor/composer/installers/src/Composer/Installers/StarbugInstaller.php:4
- > PHP Fatal error
Uncaught Error: Class 'Composer\\Installers\\BaseInstaller' not found in wp-content/plugins/one-stop-shop-woocommerce/vendor/composer/installers/src/Composer/Installers/HuradInstaller.php:4
- > PHP Fatal error
User-side errors Passed 1 test
🔹 Test weight: 20 | A shallow check that no browser errors were triggered
No browser issues were found
Optimizations
Plugin configuration Passed 29 tests
readme.txt Passed 16 tests
The readme.txt file uses markdown syntax to describe your plugin to the world
5 plugin tags: eu, oss, woocommerce, compliance, one stop shop
one-stop-shop-woocommerce/one-stop-shop-woocommerce.php Passed 13 tests
Analyzing the main PHP file in "One Stop Shop for WooCommerce" version 1.4.0
64 characters long description:
Comply with the One Stop Shop procedure while using WooCommerce.
Code Analysis Passed 3 tests
File types Passed 1 test
🔸 Test weight: 35 | A short review of files and their extensions; it is not recommended to include executable files
No dangerous file extensions were detected11,457 lines of code in 176 files:
Language | Files | Blank lines | Comment lines | Lines of code |
---|---|---|---|---|
PHP | 167 | 2,158 | 3,226 | 9,447 |
PO File | 2 | 272 | 316 | 1,023 |
Sass | 1 | 71 | 0 | 356 |
JSON | 1 | 0 | 0 | 280 |
CSS | 2 | 16 | 0 | 267 |
JavaScript | 2 | 25 | 1 | 79 |
XML | 1 | 0 | 0 | 5 |
PHP code Passed 2 tests
An short overview of logical lines of code, cyclomatic complexity, and other code metrics
Great job! No cyclomatic complexity issues were detected in this plugin
Cyclomatic complexity | |
---|---|
Average complexity per logical line of code | 0.41 |
Average class complexity | 8.74 |
▷ Minimum class complexity | 1.00 |
▷ Maximum class complexity | 141.00 |
Average method complexity | 3.12 |
▷ Minimum method complexity | 1.00 |
▷ Maximum method complexity | 29.00 |
Code structure | ||
---|---|---|
Namespaces | 7 | |
Interfaces | 0 | |
Traits | 0 | |
Classes | 155 | |
▷ Abstract classes | 1 | 0.65% |
▷ Concrete classes | 154 | 99.35% |
▷ Final classes | 0 | 0.00% |
Methods | 566 | |
▷ Static methods | 210 | 37.10% |
▷ Public methods | 435 | 76.86% |
▷ Protected methods | 88 | 15.55% |
▷ Private methods | 43 | 7.60% |
Functions | 15 | |
▷ Named functions | 2 | 13.33% |
▷ Anonymous functions | 13 | 86.67% |
Constants | 12 | |
▷ Global constants | 1 | 8.33% |
▷ Class constants | 11 | 91.67% |
▷ Public constants | 11 | 100.00% |
Plugin size Passed 2 tests
Image compression Passed 2 tests
All PNG images should be compressed to minimize bandwidth usage for end users
No PNG images were found in this plugin