Benchmarks
Plugin footprint 83% from 16 tests
Installer Passed 1 test
🔺 Critical test (weight: 50) | The install procedure must perform silently
Installer ran successfully
Server metrics [RAM: ▼0.01MB] [CPU: ▼10.16ms] Passed 4 tests
A check of server-side resources used by C4D Woo Boost Sales - Set up Up-Sells & Cross-Sells
This plugin has minimal impact on server resources
Page | Memory (MB) | CPU Time (ms) |
---|---|---|
Home / | 3.46 ▲0.00 | 39.38 ▼7.17 |
Dashboard /wp-admin | 3.31 ▼0.04 | 47.79 ▼17.64 |
Posts /wp-admin/edit.php | 3.36 ▲0.00 | 54.48 ▲1.52 |
Add New Post /wp-admin/post-new.php | 5.89 ▲0.00 | 85.96 ▼15.19 |
Media Library /wp-admin/upload.php | 3.23 ▲0.00 | 37.97 ▼0.62 |
Server storage [IO: ▲0.09MB] [DB: ▲0.00MB] Passed 3 tests
How much does this plugin use your filesystem and database?
This plugin installed successfully
Filesystem: 22 new files
Database: no new tables, 6 new options
New WordPress options |
---|
widget_recent-posts |
theysaidso_admin_options |
widget_theysaidso_widget |
widget_recent-comments |
db_upgraded |
can_compress_scripts |
Browser metrics Passed 4 tests
This is an overview of browser requirements for C4D Woo Boost Sales - Set up Up-Sells & Cross-Sells
There were no issues detected in relation to browser resource usage
Page | Nodes | Memory (MB) | Script (ms) | Layout (ms) |
---|---|---|---|---|
Home / | 2,825 ▲79 | 14.80 ▲0.43 | 1.99 ▼0.30 | 46.07 ▼2.54 |
Dashboard /wp-admin | 2,206 ▲21 | 5.91 ▲0.08 | 111.41 ▼2.70 | 40.12 ▼5.73 |
Posts /wp-admin/edit.php | 2,092 ▲3 | 2.05 ▲0.01 | 44.89 ▲6.34 | 33.95 ▲0.01 |
Add New Post /wp-admin/post-new.php | 1,519 ▼9 | 23.35 ▲0.13 | 643.22 ▼43.94 | 58.68 ▲7.91 |
Media Library /wp-admin/upload.php | 1,385 ▲3 | 4.13 ▼0.07 | 110.56 ▲4.07 | 48.11 ▲1.54 |
Uninstaller [IO: ▲0.00MB] [DB: ▲0.00MB] 75% from 4 tests
🔸 Tests weight: 35 | Checking the uninstaller removed all traces of the plugin
These items require your attention
- Zombie WordPress options were found after uninstall: 6 options
- widget_recent-comments
- theysaidso_admin_options
- widget_theysaidso_widget
- db_upgraded
- widget_recent-posts
- can_compress_scripts
Smoke tests 75% from 4 tests
Server-side errors Passed 1 test
🔹 Test weight: 20 | A smoke test targeting server-side errors
The smoke test was a success, however most plugin functionality was not tested
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
- 4× PHP files trigger server errors when accessed directly:
- > PHP Fatal error
Uncaught Error: Call to undefined function add_action() in wp-content/plugins/c4d-woo-boost-sales/includes/category.php:2
- > PHP Fatal error
Uncaught Error: Call to undefined function add_action() in wp-content/plugins/c4d-woo-boost-sales/includes/cart.php:3
- > PHP Fatal error
Uncaught Error: Call to undefined function add_action() in wp-content/plugins/c4d-woo-boost-sales/includes/product-options.php:2
- > PHP Fatal error
Uncaught Error: Call to undefined function add_action() in wp-content/plugins/c4d-woo-boost-sales/includes/default.php:2
- > 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 issues were found
Optimizations
Plugin configuration 90% from 29 tests
readme.txt 88% from 16 tests
The readme.txt file uses markdown syntax to describe your plugin to the world
Please fix the following attributes:
- Tags: There are too many tags (17 tag instead of maximum 10)
- Screenshots: These screenshots lack descriptions #1, #2, #3, #4, #5, #6, #7, #8 in c4d-woo-boost-sales/assets to your readme.txt
c4d-woo-boost-sales/c4d-woo-boost-sales.php 92% from 13 tests
The entry point to "C4D Woo Boost Sales - Set up Up-Sells & Cross-Sells" version 1.0.8 is a PHP file that has certain tags in its header comment area
Please make the necessary changes and fix the following:
- 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 | A short glimpse at programming languages used with this plugin and a check that no dangerous files are present
Everything looks great! No dangerous files found in this plugin1,407 lines of code in 15 files:
Language | Files | Blank lines | Comment lines | Lines of code |
---|---|---|---|---|
PHP | 6 | 122 | 38 | 1,046 |
Sass | 2 | 0 | 0 | 186 |
PO File | 1 | 50 | 64 | 131 |
JavaScript | 4 | 1 | 0 | 42 |
CSS | 2 | 0 | 0 | 2 |
PHP code Passed 2 tests
This is a very shot review of cyclomatic complexity and code structure
This plugin has no cyclomatic complexity issues
Cyclomatic complexity | |
---|---|
Average complexity per logical line of code | 0.50 |
Average class complexity | 0.00 |
▷ Minimum class complexity | 0.00 |
▷ Maximum class complexity | 0.00 |
Average method complexity | 0.00 |
▷ Minimum method complexity | 0.00 |
▷ Maximum method complexity | 0.00 |
Code structure | ||
---|---|---|
Namespaces | 0 | |
Interfaces | 0 | |
Traits | 0 | |
Classes | 0 | |
▷ Abstract classes | 0 | 0.00% |
▷ Concrete classes | 0 | 0.00% |
▷ Final classes | 0 | 0.00% |
Methods | 0 | |
▷ Static methods | 0 | 0.00% |
▷ Public methods | 0 | 0.00% |
▷ Protected methods | 0 | 0.00% |
▷ Private methods | 0 | 0.00% |
Functions | 31 | |
▷ Named functions | 31 | 100.00% |
▷ Anonymous functions | 0 | 0.00% |
Constants | 1 | |
▷ Global constants | 1 | 100.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
There were not PNG files found in your plugin