Benchmarks
Plugin footprint 83% from 16 tests
Installer Passed 1 test
🔺 Critical test (weight: 50) | Verifying that this plugin installs correctly without errors
The plugin installed successfully, without throwing any errors or notices
Server metrics [RAM: ▲0.10MB] [CPU: ▼5.07ms] Passed 4 tests
Server-side resources used by Product Bundles - Min/Max Items
This plugin has minimal impact on server resources
Page | Memory (MB) | CPU Time (ms) |
---|---|---|
Home / | 3.56 ▲0.10 | 37.67 ▼5.43 |
Dashboard /wp-admin | 3.40 ▲0.10 | 46.23 ▼8.80 |
Posts /wp-admin/edit.php | 3.52 ▲0.16 | 48.90 ▼0.82 |
Add New Post /wp-admin/post-new.php | 5.98 ▲0.10 | 83.53 ▼5.24 |
Media Library /wp-admin/upload.php | 3.32 ▲0.10 | 36.38 ▼0.04 |
Server storage [IO: ▲0.04MB] [DB: ▲0.00MB] Passed 3 tests
Filesystem and database footprint
There were no storage issued detected upon installing this plugin
Filesystem: 7 new files
Database: no new tables, 6 new options
New WordPress options |
---|
theysaidso_admin_options |
widget_recent-comments |
can_compress_scripts |
widget_recent-posts |
db_upgraded |
widget_theysaidso_widget |
Browser metrics Passed 4 tests
An overview of browser requirements for Product Bundles - Min/Max Items
This plugin has a minimal impact on browser resources
Page | Nodes | Memory (MB) | Script (ms) | Layout (ms) |
---|---|---|---|---|
Home / | 2,812 ▲77 | 14.47 ▲0.19 | 1.81 ▲0.02 | 42.72 ▼3.55 |
Dashboard /wp-admin | 2,215 ▲27 | 5.79 ▲0.94 | 98.00 ▼16.69 | 40.88 ▼8.50 |
Posts /wp-admin/edit.php | 2,097 ▲8 | 2.05 ▲0.04 | 36.74 ▼0.80 | 34.63 ▼2.15 |
Add New Post /wp-admin/post-new.php | 1,558 ▲38 | 18.44 ▼4.64 | 628.54 ▼46.76 | 72.71 ▲18.00 |
Media Library /wp-admin/upload.php | 1,400 ▲9 | 4.23 ▼0.04 | 95.77 ▼2.31 | 41.35 ▲0.33 |
Uninstaller [IO: ▲0.00MB] [DB: ▲0.00MB] 75% from 4 tests
🔸 Tests weight: 35 | Verifying that this plugin uninstalls completely without leaving any traces
Please fix the following items
- The uninstall procedure has failed, leaving 6 options in the database
- widget_recent-posts
- widget_recent-comments
- widget_theysaidso_widget
- can_compress_scripts
- db_upgraded
- theysaidso_admin_options
Smoke tests Passed 4 tests
Server-side errors Passed 1 test
🔹 Test weight: 20 | Just a short smoke test targeting errors on the server (in the Apache logs)
The smoke test was a success, however most plugin functionality was not tested
SRP Passed 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
Looking good! No server-side errors or output on direct access of PHP files
User-side errors Passed 1 test
🔹 Test weight: 20 | A shallow check that no browser errors were triggered
No browser errors were detected
Optimizations
Plugin configuration 86% from 29 tests
readme.txt 94% from 16 tests
It's important to format your readme.txt file correctly as it is parsed for the public listing of your plugin
These attributes need to be fixed:
- Tags: You are using too many tags: 12 tag instead of maximum 10
product-bundles-minmax-items-for-woocommerce/product-bundles-min-max-items-for-woocommerce.php 77% from 13 tests
Analyzing the main PHP file in "Product Bundles - Min/Max Items" version 1.4.3
Please make the necessary changes and fix the following:
- Text Domain: The text domain is optional since WordPress version 4.6; if you do specify it, it must be the same as the plugin slug
- Main file name: Even though not officially enforced, the main plugin file should be the same as the plugin slug ("product-bundles-minmax-items-for-woocommerce.php" instead of "product-bundles-min-max-items-for-woocommerce.php")
- Description: Please keep the plugin description shorter than 140 characters (currently 196 characters long)
Code Analysis Passed 3 tests
File types Passed 1 test
🔸 Test weight: 35 | This is a short overview of programming languages used in this plugin, detecting executable files
There were no executable files found in this plugin505 lines of code in 5 files:
Language | Files | Blank lines | Comment lines | Lines of code |
---|---|---|---|---|
PHP | 1 | 169 | 165 | 385 |
JavaScript | 2 | 42 | 4 | 102 |
CSS | 2 | 2 | 2 | 18 |
PHP code Passed 2 tests
This is a short overview of cyclomatic complexity and code structure for this plugin
Although this was not an exhaustive test, there were no cyclomatic complexity issues detected
Cyclomatic complexity | |
---|---|
Average complexity per logical line of code | 0.53 |
Average class complexity | 97.00 |
▷ Minimum class complexity | 97.00 |
▷ Maximum class complexity | 97.00 |
Average method complexity | 6.05 |
▷ Minimum method complexity | 1.00 |
▷ Maximum method complexity | 19.00 |
Code structure | ||
---|---|---|
Namespaces | 0 | |
Interfaces | 0 | |
Traits | 0 | |
Classes | 1 | |
▷ Abstract classes | 0 | 0.00% |
▷ Concrete classes | 1 | 100.00% |
▷ Final classes | 0 | 0.00% |
Methods | 19 | |
▷ Static methods | 19 | 100.00% |
▷ Public methods | 18 | 94.74% |
▷ Protected methods | 0 | 0.00% |
▷ Private methods | 1 | 5.26% |
Functions | 0 | |
▷ Named functions | 0 | 0.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
Using a strong compression for your PNG files is a great way to speed-up your plugin
No PNG images were found in this plugin