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
Installer ran successfully
Server metrics [RAM: ▲0.01MB] [CPU: ▼3.73ms] Passed 4 tests
Server-side resources used by Extended Setup for WooCommerce - Customize your eCommerce
This plugin has minimal impact on server resources
Page | Memory (MB) | CPU Time (ms) |
---|---|---|
Home / | 3.47 ▲0.00 | 35.68 ▼5.03 |
Dashboard /wp-admin | 3.31 ▲0.01 | 46.51 ▲0.55 |
Posts /wp-admin/edit.php | 3.36 ▲0.01 | 45.30 ▼2.86 |
Add New Post /wp-admin/post-new.php | 5.89 ▲0.01 | 83.49 ▼7.57 |
Media Library /wp-admin/upload.php | 3.23 ▲0.01 | 37.96 ▲5.91 |
Server storage [IO: ▲0.18MB] [DB: ▲0.00MB] Passed 3 tests
Analyzing filesystem and database footprints of this plugin
The plugin installed successfully
Filesystem: 7 new files
Database: no new tables, 6 new options
New WordPress options |
---|
widget_theysaidso_widget |
widget_recent-comments |
db_upgraded |
widget_recent-posts |
theysaidso_admin_options |
can_compress_scripts |
Browser metrics Passed 4 tests
This is an overview of browser requirements for Extended Setup for WooCommerce - Customize your eCommerce
This plugin has a minimal impact on browser resources
Page | Nodes | Memory (MB) | Script (ms) | Layout (ms) |
---|---|---|---|---|
Home / | 2,812 ▲66 | 13.41 ▼0.80 | 3.93 ▲2.11 | 40.21 ▼4.76 |
Dashboard /wp-admin | 2,215 ▲27 | 5.80 ▲0.91 | 95.23 ▼18.76 | 39.32 ▲1.91 |
Posts /wp-admin/edit.php | 2,104 ▲15 | 2.00 ▼0.01 | 40.24 ▲1.35 | 35.66 ▲3.33 |
Add New Post /wp-admin/post-new.php | 1,530 ▼4 | 23.22 ▲0.14 | 701.23 ▲21.99 | 58.98 ▲7.03 |
Media Library /wp-admin/upload.php | 1,400 ▲15 | 4.23 ▲0.02 | 99.03 ▼2.38 | 42.92 ▼3.26 |
Uninstaller [IO: ▲0.00MB] [DB: ▲0.00MB] 75% from 4 tests
🔸 Tests weight: 35 | Checking the uninstaller removed all traces of the plugin
It is recommended to fix the following
- This plugin did not uninstall successfully, leaving 6 options in the database
- widget_recent-posts
- theysaidso_admin_options
- db_upgraded
- can_compress_scripts
- widget_recent-comments
- widget_theysaidso_widget
Smoke tests 75% from 4 tests
Server-side errors Passed 1 test
🔹 Test weight: 20 | This is a shallow check for server-side errors
Even though no errors were found, this is by no means an exhaustive test
SRP 50% from 2 tests
🔹 Tests weight: 20 | The single-responsibility principle applies for WordPress plugins as well - please make sure your PHP files perform no actions when accessed directly
Almost there! Just fix the following items
- 2× PHP files output text when accessed directly:
- > /wp-content/plugins/extended-setup-for-woocommerce/includes/admin/woocommerce-admin.php
- > /wp-content/plugins/extended-setup-for-woocommerce/woocommerce-setup.php
User-side errors Passed 1 test
🔹 Test weight: 20 | This is a shallow check for browser errors
Everything seems fine, but this is not an exhaustive test
Optimizations
Plugin configuration 86% from 29 tests
readme.txt 94% from 16 tests
The readme.txt file is undoubtedly the most important file in your plugin, preparing it for public listing on WordPress.org
Attributes that require attention:
- Screenshots: Add images for these screenshots: #1 (Shop/Catalog Settings), #2 (Product details Settings)
extended-setup-for-woocommerce/woocommerce-setup.php 77% from 13 tests
The main PHP script in "Extended Setup for WooCommerce - Customize your eCommerce" version 1.0 is automatically included on every request by WordPress
Please take the time to fix the following:
- Main file name: Name the main plugin file the same as the plugin slug ("extended-setup-for-woocommerce.php" instead of "woocommerce-setup.php")
- Domain Path: The domain path points to a folder that does not exist ("/languages")
- Text Domain: You no longer need to specify the text domain since WordPress 4.6; it must be the same as the plugin slug
Code Analysis Passed 3 tests
File types Passed 1 test
🔸 Test weight: 35 | This is an overview of programming languages used in this plugin; dangerous file extensions are not allowed
Success! There were no dangerous files found in this plugin537 lines of code in 3 files:
Language | Files | Blank lines | Comment lines | Lines of code |
---|---|---|---|---|
PHP | 2 | 136 | 125 | 514 |
JavaScript | 1 | 8 | 4 | 23 |
PHP code Passed 2 tests
This plugin's cyclomatic complexity and code structure detailed below
This plugin has no cyclomatic complexity problems
Cyclomatic complexity | |
---|---|
Average complexity per logical line of code | 0.42 |
Average class complexity | 40.00 |
▷ Minimum class complexity | 33.00 |
▷ Maximum class complexity | 47.00 |
Average method complexity | 3.35 |
▷ Minimum method complexity | 1.00 |
▷ Maximum method complexity | 27.00 |
Code structure | ||
---|---|---|
Namespaces | 0 | |
Interfaces | 0 | |
Traits | 0 | |
Classes | 2 | |
▷ Abstract classes | 0 | 0.00% |
▷ Concrete classes | 2 | 100.00% |
▷ Final classes | 0 | 0.00% |
Methods | 18 | |
▷ Static methods | 18 | 100.00% |
▷ Public methods | 14 | 77.78% |
▷ Protected methods | 0 | 0.00% |
▷ Private methods | 4 | 22.22% |
Functions | 21 | |
▷ Named functions | 0 | 0.00% |
▷ Anonymous functions | 21 | 100.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
All PNG images should be compressed to minimize bandwidth usage for end users
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 |
assets/images/pluginsmaker-logo.png | 8.54KB | 4.02KB | ▼ 52.95% |