Benchmarks
Plugin footprint 83% from 16 tests
Installer Passed 1 test
🔺 Critical test (weight: 50) | It is important to correctly install your plugin, without throwing errors or notices
The plugin installed successfully, without throwing any errors or notices
Server metrics [RAM: ▲0.00MB] [CPU: ▼2.84ms] Passed 4 tests
Analyzing server-side resources used by Multiple Packages for WooCommerce
Normal server usage
Page | Memory (MB) | CPU Time (ms) |
---|---|---|
Home / | 3.47 ▲0.00 | 41.47 ▼2.86 |
Dashboard /wp-admin | 3.31 ▲0.01 | 55.54 ▲2.63 |
Posts /wp-admin/edit.php | 3.36 ▲0.00 | 53.94 ▲2.55 |
Add New Post /wp-admin/post-new.php | 5.89 ▲0.00 | 95.90 ▼11.65 |
Media Library /wp-admin/upload.php | 3.23 ▲0.00 | 39.05 ▲0.61 |
Server storage [IO: ▲0.02MB] [DB: ▲0.00MB] Passed 3 tests
How much does this plugin use your filesystem and database?
The plugin installed successfully
Filesystem: 4 new files
Database: no new tables, 6 new options
New WordPress options |
---|
widget_recent-posts |
theysaidso_admin_options |
db_upgraded |
widget_recent-comments |
can_compress_scripts |
widget_theysaidso_widget |
Browser metrics Passed 4 tests
Checking browser requirements for Multiple Packages for WooCommerce
This plugin has a minimal impact on browser resources
Page | Nodes | Memory (MB) | Script (ms) | Layout (ms) |
---|---|---|---|---|
Home / | 2,815 ▲29 | 13.56 ▼0.81 | 1.73 ▼0.05 | 41.63 ▼3.42 |
Dashboard /wp-admin | 2,221 ▲18 | 4.82 ▼1.06 | 111.30 ▲8.38 | 39.44 ▼3.47 |
Posts /wp-admin/edit.php | 2,100 ▲3 | 2.18 ▲0.13 | 36.42 ▼0.92 | 32.48 ▼4.81 |
Add New Post /wp-admin/post-new.php | 1,545 ▼0 | 23.03 ▼0.16 | 648.29 ▼38.88 | 46.08 ▼8.39 |
Media Library /wp-admin/upload.php | 1,400 ▼0 | 4.22 ▲0.06 | 94.89 ▼22.33 | 41.84 ▼6.05 |
Uninstaller [IO: ▲0.00MB] [DB: ▲0.00MB] 75% from 4 tests
🔸 Tests weight: 35 | Verifying that this plugin uninstalls completely without leaving any traces
It is recommended to fix the following
- This plugin did not uninstall successfully, leaving 6 options in the database
- theysaidso_admin_options
- widget_recent-posts
- can_compress_scripts
- db_upgraded
- widget_recent-comments
- widget_theysaidso_widget
Smoke tests 75% from 4 tests
Server-side errors Passed 1 test
🔹 Test weight: 20 | This is a short smoke test looking for server-side errors
Even though everything seems fine, this is not an exhaustive test
SRP 50% from 2 tests
🔹 Tests weight: 20 | The single-responsibility principle: PHP files have to remain inert when accessed directly, throwing no errors and performing no actions
Please fix the following items
- 1× GET requests to PHP files have triggered server-side errors or warnings:
- > PHP Fatal error
Uncaught Error: Call to undefined function add_action() in wp-content/plugins/multiple-packages-for-woocommerce/multiple-packages-shipping.php:17
- > 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 errors were detected
Optimizations
Plugin configuration 87% from 29 tests
readme.txt 88% from 16 tests
You should put a lot of thought into formatting readme.txt as it is used by WordPress.org to prepare the public listing of your plugin
Please fix the following attributes:
- Plugin Name: Please replace "Plugin Name" with the name of your plugin on the first line (
=== multiple-packages-for-woocommerce ===
) - Screenshots: These screenshots have no corresponding images in /assets: #1 (This screen shot description corresponds to screenshot-1.(png|jpg|jpeg|gif). Note that the screenshot is taken from), #2 (This is the second screen shot)
multiple-packages-for-woocommerce/multiple-packages-shipping.php 85% from 13 tests
The entry point to "Multiple Packages for WooCommerce" version 1.1 is a PHP file that has certain tags in its header comment area
Please take the time to fix the following:
- Requires at least: The required version number must match the one declared in readme.txt ("4.8" instead of "2.6.0")
- Main file name: It is recommended to name the main PHP file as the plugin slug ("multiple-packages-for-woocommerce.php" instead of "multiple-packages-shipping.php")
Code Analysis Passed 3 tests
File types Passed 1 test
🔸 Test weight: 35 | An overview of files in this plugin; executable files are not allowed
There were no executable files found in this plugin362 lines of code in 3 files:
Language | Files | Blank lines | Comment lines | Lines of code |
---|---|---|---|---|
PHP | 3 | 96 | 140 | 362 |
PHP code Passed 2 tests
This is a short overview of cyclomatic complexity and code structure for this plugin
No complexity issues detected
Cyclomatic complexity | |
---|---|
Average complexity per logical line of code | 0.47 |
Average class complexity | 16.33 |
▷ Minimum class complexity | 12.00 |
▷ Maximum class complexity | 23.00 |
Average method complexity | 3.88 |
▷ Minimum method complexity | 1.00 |
▷ Maximum method complexity | 23.00 |
Code structure | ||
---|---|---|
Namespaces | 0 | |
Interfaces | 0 | |
Traits | 0 | |
Classes | 3 | |
▷ Abstract classes | 0 | 0.00% |
▷ Concrete classes | 3 | 100.00% |
▷ Final classes | 0 | 0.00% |
Methods | 16 | |
▷ Static methods | 0 | 0.00% |
▷ Public methods | 16 | 100.00% |
▷ Protected methods | 0 | 0.00% |
▷ Private methods | 0 | 0.00% |
Functions | 2 | |
▷ Named functions | 2 | 100.00% |
▷ Anonymous functions | 0 | 0.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
Often times overlooked, PNG files can occupy unnecessary space in your plugin
PNG images were not found in this plugin