Benchmarks
Plugin footprint 83% from 16 tests
Installer Passed 1 test
🔺 Critical test (weight: 50) | It is important to correctly install your plugin, without throwing errors or notices
This plugin's installer ran successfully
Server metrics [RAM: ▼0.01MB] [CPU: ▼8.64ms] Passed 4 tests
An overview of server-side resources used by WooCommerce Schedule Stock Manager
Server-side resource usage in normal parameters
Page | Memory (MB) | CPU Time (ms) |
---|---|---|
Home / | 3.46 ▲0.00 | 42.41 ▲3.13 |
Dashboard /wp-admin | 3.31 ▼0.04 | 47.08 ▼18.50 |
Posts /wp-admin/edit.php | 3.36 ▲0.00 | 48.34 ▲3.56 |
Add New Post /wp-admin/post-new.php | 5.89 ▲0.00 | 79.71 ▼16.11 |
Media Library /wp-admin/upload.php | 3.23 ▲0.00 | 33.01 ▼3.07 |
Server storage [IO: ▲0.04MB] [DB: ▲0.00MB] Passed 3 tests
How much does this plugin use your filesystem and database?
The plugin installed successfully
Filesystem: 9 new files
Database: no new tables, 6 new options
New WordPress options |
---|
widget_theysaidso_widget |
db_upgraded |
widget_recent-posts |
can_compress_scripts |
theysaidso_admin_options |
widget_recent-comments |
Browser metrics Passed 4 tests
An overview of browser requirements for WooCommerce Schedule Stock Manager
Minimal impact on browser resources
Page | Nodes | Memory (MB) | Script (ms) | Layout (ms) |
---|---|---|---|---|
Home / | 2,790 ▲28 | 14.31 ▲0.07 | 1.60 ▼0.16 | 40.46 ▼3.26 |
Dashboard /wp-admin | 2,192 ▲18 | 5.60 ▼0.00 | 88.42 ▼6.00 | 41.71 ▲2.57 |
Posts /wp-admin/edit.php | 2,103 ▲3 | 1.95 ▼0.01 | 40.01 ▼0.42 | 35.86 ▼2.02 |
Add New Post /wp-admin/post-new.php | 1,526 ▼0 | 23.61 ▲2.80 | 610.07 ▼155.87 | 57.17 ▲0.44 |
Media Library /wp-admin/upload.php | 1,400 ▲6 | 4.23 ▲0.03 | 97.63 ▲0.73 | 42.27 ▼0.66 |
Uninstaller [IO: ▲0.00MB] [DB: ▲0.00MB] 75% from 4 tests
🔸 Tests weight: 35 | Verifying that this plugin uninstalls completely without leaving any traces
These items require your attention
- Zombie WordPress options detected upon uninstall: 6 options
- theysaidso_admin_options
- widget_recent-posts
- db_upgraded
- widget_recent-comments
- widget_theysaidso_widget
- can_compress_scripts
Smoke tests Passed 4 tests
Server-side errors Passed 1 test
🔹 Test weight: 20 | This is a shallow check for server-side errors
The smoke test was a success, however most plugin functionality was not tested
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 | Just a short smoke test targeting errors on the browser (console and network errors and warnings)
Everything seems fine, but this is not an exhaustive test
Optimizations
Plugin configuration 90% from 29 tests
readme.txt 94% from 16 tests
The readme.txt file describes your plugin functionality and requirements and it is parsed to prepare the your plugin's listing
Attributes that require attention:
- Screenshots: Screenshot #7 (Schedule Stock Manage options on Variation product) image required
woo-schedule-stock-manager/woocommerce-schedule-stock-manager.php 85% from 13 tests
This is the main PHP file of "WooCommerce Schedule Stock Manager" version 2.6, providing information about the plugin in the header fields and serving as the principal entry point to the plugin's functions
Please make the necessary changes and fix the following:
- Description: Keep the plugin description shorter than 140 characters (currently 187 characters long)
- Main file name: The principal plugin file should be the same as the plugin slug ("woo-schedule-stock-manager.php" instead of "woocommerce-schedule-stock-manager.php")
Code Analysis Passed 3 tests
File types Passed 1 test
🔸 Test weight: 35 | There should be no dangerous file extensions present in any WordPress plugin
Good job! No executable or dangerous file extensions detected667 lines of code in 6 files:
Language | Files | Blank lines | Comment lines | Lines of code |
---|---|---|---|---|
PHP | 4 | 43 | 52 | 433 |
CSS | 1 | 35 | 8 | 188 |
JavaScript | 1 | 5 | 3 | 46 |
PHP code Passed 2 tests
Cyclomatic complexity and code structure are the fingerprint of this plugin
This plugin has no cyclomatic complexity problems
Cyclomatic complexity | |
---|---|
Average complexity per logical line of code | 0.33 |
Average class complexity | 27.50 |
▷ Minimum class complexity | 16.00 |
▷ Maximum class complexity | 39.00 |
Average method complexity | 5.82 |
▷ Minimum method complexity | 1.00 |
▷ Maximum method complexity | 16.00 |
Code structure | ||
---|---|---|
Namespaces | 0 | |
Interfaces | 0 | |
Traits | 0 | |
Classes | 2 | |
▷ Abstract classes | 0 | 0.00% |
▷ Concrete classes | 2 | 100.00% |
▷ Final classes | 0 | 0.00% |
Methods | 11 | |
▷ Static methods | 11 | 100.00% |
▷ Public methods | 11 | 100.00% |
▷ Protected methods | 0 | 0.00% |
▷ Private methods | 0 | 0.00% |
Functions | 3 | |
▷ Named functions | 3 | 100.00% |
▷ Anonymous functions | 0 | 0.00% |
Constants | 4 | |
▷ Global constants | 4 | 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
2 PNG files occupy 0.00MB with 0.00MB in potential savings
Potential savings
Compression of 2 random PNG files using pngquant | |||
---|---|---|---|
File | Size - original | Size - compressed | Savings |
library/assets/images/info_icon.png | 0.61KB | 0.35KB | ▼ 42.70% |
library/assets/images/crown.png | 0.50KB | 0.43KB | ▼ 13.61% |