Benchmarks
Plugin footprint 83% from 16 tests
Installer Passed 1 test
🔺 Critical test (weight: 50) | The install procedure must perform silently
This plugin's installer ran successfully
Server metrics [RAM: ▲0.00MB] [CPU: ▼4.12ms] Passed 4 tests
A check of server-side resources used by Simple Product Options for WooCommerce
This plugin does not affect your website's performance
Page | Memory (MB) | CPU Time (ms) |
---|---|---|
Home / | 3.46 ▲0.00 | 38.38 ▼2.55 |
Dashboard /wp-admin | 3.31 ▲0.00 | 50.84 ▼2.73 |
Posts /wp-admin/edit.php | 3.36 ▲0.00 | 50.18 ▲1.47 |
Add New Post /wp-admin/post-new.php | 5.89 ▲0.00 | 86.62 ▼12.66 |
Media Library /wp-admin/upload.php | 3.23 ▲0.00 | 40.95 ▲4.97 |
Server storage [IO: ▲0.06MB] [DB: ▲0.00MB] Passed 3 tests
A short overview of filesystem and database impact
This plugin installed successfully
Filesystem: 19 new files
Database: no new tables, 6 new options
New WordPress options |
---|
widget_recent-posts |
can_compress_scripts |
theysaidso_admin_options |
widget_recent-comments |
widget_theysaidso_widget |
db_upgraded |
Browser metrics Passed 4 tests
A check of browser resources used by Simple Product Options for WooCommerce
This plugin has a minimal impact on browser resources
Page | Nodes | Memory (MB) | Script (ms) | Layout (ms) |
---|---|---|---|---|
Home / | 2,789 ▲3 | 14.27 ▼0.37 | 1.87 ▼0.21 | 44.07 ▼4.98 |
Dashboard /wp-admin | 2,195 ▲18 | 5.55 ▼0.12 | 89.02 ▼9.82 | 37.09 ▼6.37 |
Posts /wp-admin/edit.php | 2,100 ▼0 | 1.97 ▼0.04 | 38.57 ▲0.82 | 35.10 ▼1.58 |
Add New Post /wp-admin/post-new.php | 1,526 ▼2 | 23.41 ▲0.25 | 677.78 ▼3.23 | 52.12 ▼4.27 |
Media Library /wp-admin/upload.php | 1,400 ▼0 | 4.17 ▼0.05 | 97.50 ▼2.07 | 40.67 ▼4.37 |
Uninstaller [IO: ▲0.00MB] [DB: ▲0.00MB] 75% from 4 tests
🔸 Tests weight: 35 | Checking the uninstaller removed all traces of the plugin
You still need to fix the following
- The uninstall procedure has failed, leaving 6 options in the database
- widget_recent-comments
- db_upgraded
- widget_theysaidso_widget
- widget_recent-posts
- can_compress_scripts
- theysaidso_admin_options
Smoke tests Passed 4 tests
Server-side errors Passed 1 test
🔹 Test weight: 20 | A smoke test targeting server-side errors
Everything seems fine, however this is by no means an exhaustive test
SRP Passed 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
Congratulations! This plugin passed the SRP test
User-side errors Passed 1 test
🔹 Test weight: 20 | This is a shallow check for browser errors
No browser errors were detected
Optimizations
Plugin configuration 93% from 29 tests
readme.txt Passed 16 tests
It's important to format your readme.txt file correctly as it is parsed for the public listing of your plugin
4 plugin tags: price calculation formula, lenses prescription, customer order note, dependent variations
product-options-for-woocommerce/product-options-for-woocommerce.php 85% from 13 tests
Analyzing the main PHP file in "Simple Product Options for WooCommerce" version 1.0.0
Please take the time to fix the following:
- Domain Path: The domain path points to a folder that does not exist ("/i18n/languages")
- Description: Please don't use more than 140 characters for the plugin description (currently 143 characters long)
Code Analysis Passed 3 tests
File types Passed 1 test
🔸 Test weight: 35 | This is an overview of file extensions present in this plugin and a short test that no dangerous files are bundled with this plugin
No dangerous file extensions were detected1,286 lines of code in 18 files:
Language | Files | Blank lines | Comment lines | Lines of code |
---|---|---|---|---|
PHP | 13 | 263 | 20 | 881 |
JavaScript | 2 | 66 | 0 | 248 |
CSS | 3 | 26 | 0 | 157 |
PHP code Passed 2 tests
An short overview of logical lines of code, cyclomatic complexity, and other code metrics
All good! No complexity issues found
Cyclomatic complexity | |
---|---|
Average complexity per logical line of code | 0.45 |
Average class complexity | 14.44 |
▷ Minimum class complexity | 1.00 |
▷ Maximum class complexity | 51.00 |
Average method complexity | 2.98 |
▷ Minimum method complexity | 1.00 |
▷ Maximum method complexity | 19.00 |
Code structure | ||
---|---|---|
Namespaces | 0 | |
Interfaces | 0 | |
Traits | 0 | |
Classes | 9 | |
▷ Abstract classes | 0 | 0.00% |
▷ Concrete classes | 9 | 100.00% |
▷ Final classes | 1 | 11.11% |
Methods | 61 | |
▷ Static methods | 4 | 6.56% |
▷ Public methods | 57 | 93.44% |
▷ Protected methods | 0 | 0.00% |
▷ Private methods | 4 | 6.56% |
Functions | 1 | |
▷ Named functions | 1 | 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
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