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 gracefully, with no errors
Server metrics [RAM: ▲0.35MB] [CPU: ▲0.54ms] Passed 4 tests
An overview of server-side resources used by Consignment Store For WooCommerce
This plugin does not affect your website's performance
Page | Memory (MB) | CPU Time (ms) |
---|---|---|
Home / | 3.80 ▲0.34 | 45.36 ▲5.66 |
Dashboard /wp-admin | 3.65 ▲0.34 | 58.51 ▲6.54 |
Posts /wp-admin/edit.php | 3.76 ▲0.40 | 53.87 ▲3.85 |
Add New Post /wp-admin/post-new.php | 6.25 ▲0.36 | 93.73 ▼9.44 |
Media Library /wp-admin/upload.php | 3.57 ▲0.34 | 39.35 ▲2.08 |
Manage Payouts /wp-admin/admin.php?page=cws_cons_payments | 3.51 | 33.87 |
Submitted Items /wp-admin/admin.php?page=cws_cons_top_level | 3.51 | 37.57 |
Documentation /wp-admin/admin.php?page=cws_cons_docs | 3.71 | 35.80 |
Settings /wp-admin/admin.php?page=cwscs_app_settings | 3.51 | 34.90 |
Server storage [IO: ▲0.18MB] [DB: ▲0.00MB] Passed 3 tests
How much does this plugin use your filesystem and database?
This plugin installed successfully
Filesystem: 24 new files
Database: 3 new tables, 6 new options
New tables |
---|
wp_cwscs_errorlog |
wp_cwscs_settings |
wp_cwscs_inventory |
New WordPress options |
---|
can_compress_scripts |
db_upgraded |
widget_recent-comments |
widget_recent-posts |
widget_theysaidso_widget |
theysaidso_admin_options |
Browser metrics Passed 4 tests
Consignment Store For WooCommerce: an overview of browser usage
Minimal impact on browser resources
Page | Nodes | Memory (MB) | Script (ms) | Layout (ms) |
---|---|---|---|---|
Home / | 2,938 ▲177 | 13.37 ▼0.98 | 10.21 ▲8.47 | 33.49 ▼12.32 |
Dashboard /wp-admin | 2,227 ▲50 | 5.58 ▼0.04 | 87.00 ▼4.31 | 41.69 ▲1.96 |
Posts /wp-admin/edit.php | 2,141 ▲44 | 2.01 ▲0.00 | 41.52 ▲5.47 | 34.57 ▼2.62 |
Add New Post /wp-admin/post-new.php | 1,405 ▼121 | 18.97 ▼4.25 | 528.91 ▼173.16 | 60.69 ▼1.82 |
Media Library /wp-admin/upload.php | 1,438 ▲38 | 4.17 ▼0.04 | 103.43 ▼5.21 | 45.58 ▲0.00 |
Manage Payouts /wp-admin/admin.php?page=cws_cons_payments | 881 | 2.18 | 30.60 | 28.63 |
Submitted Items /wp-admin/admin.php?page=cws_cons_top_level | 817 | 2.00 | 24.78 | 34.27 |
Documentation /wp-admin/admin.php?page=cws_cons_docs | 1,013 | 2.00 | 24.09 | 35.80 |
Settings /wp-admin/admin.php?page=cwscs_app_settings | 1,027 | 2.17 | 26.13 | 29.25 |
Uninstaller [IO: ▲0.00MB] [DB: ▲0.00MB] 75% from 4 tests
🔸 Tests weight: 35 | All plugins must uninstall correctly, removing their source code and extra database tables they might have created
Please fix the following items
- The uninstall procedure has failed, leaving 6 options in the database
- theysaidso_admin_options
- widget_recent-comments
- db_upgraded
- widget_recent-posts
- can_compress_scripts
- widget_theysaidso_widget
Smoke tests 75% from 4 tests
Server-side errors 0% from 1 test
🔹 Test weight: 20 | A shallow check that no server-side errors were triggered
These server-side errors were triggered
- 3 occurences, only the last one shown
- > GET request to /wp-admin/admin.php?page=cwscs_app_settings
- > Notice in wp-content/plugins/consignment-store-for-woocommerce/admin/class-cws-consignment-admin.php+310
Undefined index: SCRIPT_URL
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
Everything seems fine, however this is by no means an exhaustive test
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 93% from 29 tests
readme.txt Passed 16 tests
Perhaps the most important file in your plugin readme.txt gets parsed in order to generate the public listing of your plugin
2 plugin tags: consignment store, consignment for woocommerce
consignment-store-for-woocommerce/cws-consignment.php 85% from 13 tests
The main file in "Consignment Store For WooCommerce" v. 1.7.2 serves as a complement to information provided in readme.txt and as the entry point to the plugin
Please make the necessary changes and fix the following:
- Main file name: It is recommended to name the main PHP file as the plugin slug ("consignment-store-for-woocommerce.php" instead of "cws-consignment.php")
- Text Domain: The text domain must be the same as the plugin slug, although optional since WordPress version 4.6
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
Success! There were no dangerous files found in this plugin3,180 lines of code in 18 files:
Language | Files | Blank lines | Comment lines | Lines of code |
---|---|---|---|---|
PHP | 13 | 195 | 850 | 2,351 |
JavaScript | 3 | 20 | 35 | 506 |
CSS | 2 | 9 | 18 | 323 |
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.44 |
Average class complexity | 18.86 |
▷ Minimum class complexity | 1.00 |
▷ Maximum class complexity | 93.00 |
Average method complexity | 4.57 |
▷ Minimum method complexity | 1.00 |
▷ Maximum method complexity | 62.00 |
Code structure | ||
---|---|---|
Namespaces | 0 | |
Interfaces | 0 | |
Traits | 0 | |
Classes | 7 | |
▷ Abstract classes | 0 | 0.00% |
▷ Concrete classes | 7 | 100.00% |
▷ Final classes | 0 | 0.00% |
Methods | 35 | |
▷ Static methods | 2 | 5.71% |
▷ Public methods | 30 | 85.71% |
▷ Protected methods | 0 | 0.00% |
▷ Private methods | 5 | 14.29% |
Functions | 50 | |
▷ Named functions | 50 | 100.00% |
▷ Anonymous functions | 0 | 0.00% |
Constants | 2 | |
▷ Global constants | 2 | 100.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
There are no PNG files in this plugin