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.00MB] [CPU: ▼7.22ms] Passed 4 tests
Server-side resources used by Sales Manager For WooCommerce
This plugin does not affect your website's performance
Page | Memory (MB) | CPU Time (ms) |
---|---|---|
Home / | 3.46 ▲0.00 | 39.17 ▼7.06 |
Dashboard /wp-admin | 3.31 ▲0.00 | 48.46 ▼1.18 |
Posts /wp-admin/edit.php | 3.36 ▲0.00 | 43.81 ▼6.83 |
Add New Post /wp-admin/post-new.php | 5.89 ▲0.00 | 81.26 ▼13.80 |
Media Library /wp-admin/upload.php | 3.23 ▲0.00 | 34.48 ▼0.93 |
All Scheduled Sales /wp-admin/edit.php?post_type=wsm-scheduled-sale | 3.04 | 26.41 |
Settings /wp-admin/edit.php?post_type=wsm-scheduled-sale&page=wsm-scheduled-sale-settings | 3.00 | 21.78 |
Add New /wp-admin/post-new.php?post_type=wsm-scheduled-sale | 3.04 | 23.63 |
Server storage [IO: ▲0.13MB] [DB: ▲0.00MB] Passed 3 tests
Input-output and database impact of this plugin
There were no storage issued detected upon installing this plugin
Filesystem: 10 new files
Database: no new tables, 6 new options
New WordPress options |
---|
widget_theysaidso_widget |
widget_recent-posts |
can_compress_scripts |
db_upgraded |
theysaidso_admin_options |
widget_recent-comments |
Browser metrics Passed 4 tests
Checking browser requirements for Sales Manager For WooCommerce
There were no issues detected in relation to browser resource usage
Page | Nodes | Memory (MB) | Script (ms) | Layout (ms) |
---|---|---|---|---|
Home / | 2,800 ▲65 | 13.16 ▼1.65 | 1.81 ▼0.25 | 43.95 ▲0.92 |
Dashboard /wp-admin | 2,209 ▲21 | 5.09 ▲0.17 | 111.44 ▲3.98 | 42.19 ▼0.68 |
Posts /wp-admin/edit.php | 2,092 ▲3 | 2.02 ▼0.00 | 34.54 ▼3.54 | 36.19 ▲1.85 |
Add New Post /wp-admin/post-new.php | 1,537 ▲3 | 23.09 ▼0.10 | 675.33 ▲47.42 | 61.93 ▲9.34 |
Media Library /wp-admin/upload.php | 1,391 ▲3 | 4.23 ▲0.06 | 100.42 ▼7.96 | 44.27 ▲0.44 |
All Scheduled Sales /wp-admin/edit.php?post_type=wsm-scheduled-sale | 28 | 0.44 | 0.06 | 3.68 |
Settings /wp-admin/edit.php?post_type=wsm-scheduled-sale&page=wsm-scheduled-sale-settings | 28 | 0.44 | 0.09 | 3.59 |
Add New /wp-admin/post-new.php?post_type=wsm-scheduled-sale | 28 | 0.44 | 0.12 | 4.12 |
Uninstaller [IO: ▲0.00MB] [DB: ▲0.00MB] 75% from 4 tests
🔸 Tests weight: 35 | The uninstall procedure must remove all plugin files and extra database tables
The following items require your attention
- Zombie WordPress options were found after uninstall: 6 options
- theysaidso_admin_options
- can_compress_scripts
- db_upgraded
- widget_recent-comments
- widget_theysaidso_widget
- widget_recent-posts
Smoke tests 50% from 4 tests
Server-side errors Passed 1 test
🔹 Test weight: 20 | A shallow check that no server-side errors were triggered
Good news, no errors were detected
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
The following issues need your attention
- 2× PHP files trigger errors when accessed directly with GET requests:
- > PHP Fatal error
Uncaught Error: Call to undefined function add_action() in wp-content/plugins/sales-manager-for-woocommerce/includes/wsm-custom-post-type.php:55
- > PHP Fatal error
Uncaught Error: Call to undefined function add_action() in wp-content/plugins/sales-manager-for-woocommerce/includes/wsm-activation.php:12
- > PHP Fatal error
User-side errors 0% from 1 test
🔹 Test weight: 20 | A shallow check that no browser errors were triggered
There are user-side issues you should fix
- > GET request to /wp-admin/edit.php?post_type=wsm-scheduled-sale
- > Network (severe)
wp-admin/edit.php?post_type=wsm-scheduled-sale - Failed to load resource: the server responded with a status of 500 (Internal Server Error)
- > GET request to /wp-admin/edit.php?post_type=wsm-scheduled-sale&page=wsm-scheduled-sale-settings
- > Network (severe)
wp-admin/edit.php?post_type=wsm-scheduled-sale&page=wsm-scheduled-sale-settings - Failed to load resource: the server responded with a status of 403 (Forbidden)
- > GET request to /wp-admin/post-new.php?post_type=wsm-scheduled-sale
- > Network (severe)
wp-admin/post-new.php?post_type=wsm-scheduled-sale - Failed to load resource: the server responded with a status of 500 (Internal Server Error)
Optimizations
Plugin configuration 97% from 29 tests
readme.txt 94% from 16 tests
The readme.txt file uses markdown syntax to describe your plugin to the world
Attributes that require attention:
- Tags: There are too many tags (11 tag instead of maximum 10)
sales-manager-for-woocommerce/sales-manager-for-woocommerce.php Passed 13 tests
The main file in "Sales Manager For WooCommerce" v. 2.0 serves as a complement to information provided in readme.txt and as the entry point to the plugin
50 characters long description:
Create & Schedule Special % Sales/Discounts Easily
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
Everything looks great! No dangerous files found in this plugin1,147 lines of code in 9 files:
Language | Files | Blank lines | Comment lines | Lines of code |
---|---|---|---|---|
PHP | 5 | 188 | 158 | 902 |
JavaScript | 2 | 28 | 27 | 196 |
CSS | 2 | 7 | 2 | 49 |
PHP code Passed 2 tests
An overview of cyclomatic complexity and code structure
This plugin has no cyclomatic complexity issues
Cyclomatic complexity | |
---|---|
Average complexity per logical line of code | 0.40 |
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 | 26 | |
▷ Named functions | 26 | 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
There were not PNG files found in your plugin