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
The plugin installed successfully, without throwing any errors or notices
Server metrics [RAM: ▲0.00MB] [CPU: ▼1.08ms] Passed 4 tests
Server-side resources used by Vextras for WooCommerce
Normal server usage
Page | Memory (MB) | CPU Time (ms) |
---|---|---|
Home / | 3.47 ▲0.00 | 40.38 ▼2.06 |
Dashboard /wp-admin | 3.31 ▲0.00 | 53.73 ▲2.79 |
Posts /wp-admin/edit.php | 3.36 ▲0.00 | 50.16 ▲3.74 |
Add New Post /wp-admin/post-new.php | 5.89 ▲0.00 | 103.21 ▼1.22 |
Media Library /wp-admin/upload.php | 3.23 ▲0.00 | 35.70 ▼3.81 |
Server storage [IO: ▲0.14MB] [DB: ▲0.00MB] Passed 3 tests
Analyzing filesystem and database footprints of this plugin
The plugin installed successfully
Filesystem: 34 new files
Database: no new tables, 6 new options
New WordPress options |
---|
widget_recent-posts |
db_upgraded |
theysaidso_admin_options |
widget_theysaidso_widget |
can_compress_scripts |
widget_recent-comments |
Browser metrics Passed 4 tests
This is an overview of browser requirements for Vextras for WooCommerce
This plugin has a minimal impact on browser resources
Page | Nodes | Memory (MB) | Script (ms) | Layout (ms) |
---|---|---|---|---|
Home / | 2,800 ▲54 | 13.29 ▼1.09 | 1.77 ▼0.22 | 38.79 ▲0.46 |
Dashboard /wp-admin | 2,206 ▲17 | 5.85 ▲0.87 | 104.27 ▼3.18 | 41.32 ▼3.61 |
Posts /wp-admin/edit.php | 2,089 ▼0 | 2.03 ▼0.01 | 35.68 ▼2.74 | 33.15 ▼7.78 |
Add New Post /wp-admin/post-new.php | 1,521 ▲7 | 23.13 ▲5.67 | 646.33 ▼33.20 | 58.08 ▼1.29 |
Media Library /wp-admin/upload.php | 1,388 ▲3 | 4.20 ▼0.05 | 96.16 ▼17.28 | 46.59 ▼3.18 |
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
Please fix the following items
- Zombie WordPress options were found after uninstall: 6 options
- widget_recent-posts
- db_upgraded
- can_compress_scripts
- theysaidso_admin_options
- widget_recent-comments
- widget_theysaidso_widget
Smoke tests 50% from 4 tests
Server-side errors Passed 1 test
🔹 Test weight: 20 | A smoke test targeting server-side errors
Good news, no errors were detected
SRP 0% 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
Almost there! Just fix the following items
- 1× PHP files output text when accessed directly:
- > /wp-content/plugins/vextras-woocommerce/public/partials/vextras-woocommerce-public-display.php
- 8× GET requests to PHP files trigger server-side errors or Error 500 responses:
- > PHP Fatal error
Uncaught Error: Class 'Vextras_Woocommerce_Options' not found in wp-content/plugins/vextras-woocommerce/includes/class-vextras-woocommerce-newsletter.php:11
- > PHP Fatal error
Uncaught Error: Class 'WP_REST_Controller' not found in wp-content/plugins/vextras-woocommerce/includes/api/class-vextras-rest-api.php:3
- > PHP Fatal error
Uncaught Error: Class 'Vextras_Woocommerce_Options' not found in wp-content/plugins/vextras-woocommerce/includes/class-vextras-woocommerce-mail.php:11
- > PHP Fatal error
Uncaught Error: Class 'Vextras_Woocommerce_Admin' not found in wp-content/plugins/vextras-woocommerce/admin/partials/vextras-woocommerce-admin-tabs.php:3
- > PHP Fatal error
Uncaught Error: Class 'Vextras_Rest_Api' not found in wp-content/plugins/vextras-woocommerce/includes/api/class-vextras-rest-api-skus.php:3
- > PHP Fatal error
Uncaught Error: Class 'Vextras_Woocommerce_Options' not found in wp-content/plugins/vextras-woocommerce/includes/class-vextras-woocommerce-service.php:11
- > PHP Fatal error
Uncaught Error: Class 'Vextras_Woocommerce_Options' not found in wp-content/plugins/vextras-woocommerce/includes/class-vextras-api.php:11
- > PHP Fatal error
Uncaught Error: Class 'Vextras_Woocommerce_Options' not found in wp-content/plugins/vextras-woocommerce/admin/class-vextras-woocommerce-admin.php:23
- > PHP Fatal error
User-side errors Passed 1 test
🔹 Test weight: 20 | Just a short smoke test targeting errors on the browser (console and network errors and warnings)
No browser issues were found
Optimizations
Plugin configuration 97% from 29 tests
readme.txt 94% from 16 tests
The readme.txt file is important because it is parsed by WordPress.org for the public listing of your plugin
These attributes need your attention:
- Screenshots: Please add descriptions for these screenshots #1, #2, #3, #4, #5, #6, #7, #8 in vextras-woocommerce/assets to your readme.txt
vextras-woocommerce/vextras-woocommerce.php Passed 13 tests
This is the main PHP file of "Vextras for WooCommerce" version 2.0.2, providing information about the plugin in the header fields and serving as the principal entry point to the plugin's functions
28 characters long description:
Vextras - WooCommerce plugin
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
Everything looks great! No dangerous files found in this plugin2,034 lines of code in 25 files:
Language | Files | Blank lines | Comment lines | Lines of code |
---|---|---|---|---|
PHP | 20 | 538 | 1,254 | 1,796 |
JavaScript | 2 | 26 | 34 | 224 |
Markdown | 1 | 3 | 0 | 14 |
CSS | 2 | 0 | 8 | 0 |
PHP code Passed 2 tests
This is a short overview of cyclomatic complexity and code structure for this plugin
There were no cyclomatic complexity issued detected
Cyclomatic complexity | |
---|---|
Average complexity per logical line of code | 0.31 |
Average class complexity | 13.50 |
▷ Minimum class complexity | 1.00 |
▷ Maximum class complexity | 90.00 |
Average method complexity | 2.04 |
▷ Minimum method complexity | 1.00 |
▷ Maximum method complexity | 20.00 |
Code structure | ||
---|---|---|
Namespaces | 0 | |
Interfaces | 0 | |
Traits | 0 | |
Classes | 14 | |
▷ Abstract classes | 1 | 7.14% |
▷ Concrete classes | 13 | 92.86% |
▷ Final classes | 0 | 0.00% |
Methods | 168 | |
▷ Static methods | 6 | 3.57% |
▷ Public methods | 143 | 85.12% |
▷ Protected methods | 14 | 8.33% |
▷ Private methods | 11 | 6.55% |
Functions | 20 | |
▷ Named functions | 19 | 95.00% |
▷ Anonymous functions | 1 | 5.00% |
Constants | 0 | |
▷ Global constants | 0 | 0.00% |
▷ Class constants | 0 | 0.00% |
▷ Public constants | 0 | 0.00% |
Plugin size Passed 2 tests
Image compression Passed 2 tests
Using a strong compression for your PNG files is a great way to speed-up your plugin
PNG images were not found in this plugin