Benchmarks
Plugin footprint 65% from 16 tests
Installer Passed 1 test
🔺 Critical test (weight: 50) | All plugins must install correctly, without throwing any errors, warnings, or notices
Install script ran successfully
Server metrics [RAM: ▲0.77MB] [CPU: ▲5.08ms] Passed 4 tests
This is a short check of server-side resources used by Smart Manager – WooCommerce Advanced Bulk Edit, Inventory Management, Stock Manager, Duplicate, Export...
Server-side resource usage in normal parameters
Page | Memory (MB) | CPU Time (ms) |
---|---|---|
Home / | 4.16 ▲0.70 | 45.15 ▲3.81 |
Dashboard /wp-admin | 4.11 ▲0.76 | 55.60 ▼4.67 |
Posts /wp-admin/edit.php | 4.16 ▲0.80 | 57.30 ▲12.13 |
Add New Post /wp-admin/post-new.php | 6.69 ▲0.80 | 103.93 ▲9.05 |
Media Library /wp-admin/upload.php | 4.03 ▲0.80 | 44.95 ▲12.28 |
StoreApps Plugins /wp-admin/admin.php?page=sm-storeapps-plugins | 3.94 | 43.33 |
Smart Manager /wp-admin/admin.php?page=smart-manager | 4.11 | 54.14 |
Docs & Support /wp-admin/admin.php?page=smart-manager&landing-page=sm-about | 4.09 | 250.80 |
🔥 Go Pro /wp-admin/admin.php?page=smart-manager-pricing | 3.92 | 48.70 |
Server storage [IO: ▲3.83MB] [DB: ▲0.02MB] Passed 3 tests
Input-output and database impact of this plugin
The plugin installed successfully
Filesystem: 82 new files
Database: 3 new tables, 8 new options
New tables |
---|
wp_sm_task_details |
wp_sm_tasks |
wp_sm_advanced_search_temp |
New WordPress options |
---|
widget_theysaidso_widget |
theysaidso_admin_options |
_sm_update_418_date |
db_upgraded |
can_compress_scripts |
widget_recent-comments |
widget_recent-posts |
sm_lite_activation_date |
Browser metrics Passed 4 tests
An overview of browser requirements for Smart Manager – WooCommerce Advanced Bulk Edit, Inventory Management, Stock Manager, Duplicate, Export...
Normal browser usage
Page | Nodes | Memory (MB) | Script (ms) | Layout (ms) |
---|---|---|---|---|
Home / | 2,862 ▲100 | 14.67 ▼0.04 | 1.71 ▼0.05 | 36.76 ▼7.38 |
Dashboard /wp-admin | 2,284 ▲104 | 5.56 ▼0.06 | 97.68 ▼4.26 | 47.69 ▲7.85 |
Posts /wp-admin/edit.php | 2,191 ▲91 | 2.04 ▲0.03 | 41.02 ▼0.01 | 42.71 ▲5.82 |
Add New Post /wp-admin/post-new.php | 1,563 ▲28 | 23.30 ▲0.07 | 636.28 ▼39.48 | 59.05 ▼6.99 |
Media Library /wp-admin/upload.php | 1,465 ▲65 | 4.27 ▲0.11 | 98.98 ▲2.98 | 47.86 ▲4.50 |
StoreApps Plugins /wp-admin/admin.php?page=sm-storeapps-plugins | 933 | 1.63 | 23.90 | 65.92 |
Smart Manager /wp-admin/admin.php?page=smart-manager | 1,884 | 7.64 | 377.47 | 104.54 |
Docs & Support /wp-admin/admin.php?page=smart-manager&landing-page=sm-about | 5,083 | 53.20 | 1,496.84 | 85.11 |
🔥 Go Pro /wp-admin/admin.php?page=smart-manager-pricing | 839 | 2.02 | 35.98 | 47.63 |
Uninstaller [IO: ▲0.00MB] [DB: ▲0.01MB] 50% from 4 tests
🔸 Tests weight: 35 | All plugins must uninstall correctly, removing their source code and extra database tables they might have created
It is recommended to fix the following
- The uninstall procedure failed, leaving 2 tables in the database
- wp_sm_task_details
- wp_sm_tasks
- This plugin did not uninstall successfully, leaving 8 options in the database
- theysaidso_admin_options
- widget_theysaidso_widget
- widget_recent-comments
- widget_recent-posts
- _sm_update_418_date
- sm_lite_activation_date
- db_upgraded
- can_compress_scripts
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
- 2 occurences, only the last one shown
- > GET request to /wp-admin/admin.php?page=smart-manager-pricing
- > Warning in wp-includes/pluggable.php+1438
Cannot modify header information - headers already sent by (output started at wp-includes/script-loader.php:2838)
SRP Passed 2 tests
🔹 Tests weight: 20 | SRP (Single-Responsibility Principle) - PHP files must act as libraries and never output text or perform any action when accessed directly in a browser
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 errors were detected
Optimizations
Plugin configuration 83% from 29 tests
readme.txt 94% from 16 tests
It's important to format your readme.txt file correctly as it is parsed for the public listing of your plugin
These attributes need to be fixed:
- Tags: There are too many tags (39 tag instead of maximum 10)
smart-manager-for-wp-e-commerce/smart-manager.php 69% from 13 tests
The main PHP file in "Smart Manager – WooCommerce Advanced Bulk Edit, Inventory Management, Stock Manager, Duplicate, Export..." ver. 8.24.0 adds more information about the plugin and also serves as the entry point for this plugin
The following require your attention:
- Plugin Name: A shorter plugin name is better (currently 78 characters long instead of max. 70)
- Description: Keep the plugin description shorter than 140 characters (currently 196 characters long)
- Main file name: The principal plugin file should be the same as the plugin slug ("smart-manager-for-wp-e-commerce.php" instead of "smart-manager.php")
- Requires PHP: Required version number should use periods and dots only (ex. "7.0" instead of "5.6+")
Code Analysis 95% from 3 tests
File types Passed 1 test
🔸 Test weight: 35 | Executable files are not allowed as they can serve as attack vectors
Everything looks great! No dangerous files found in this plugin26,051 lines of code in 45 files:
Language | Files | Blank lines | Comment lines | Lines of code |
---|---|---|---|---|
PHP | 17 | 2,371 | 1,578 | 10,529 |
PO File | 6 | 3,558 | 4,071 | 9,391 |
JavaScript | 14 | 776 | 291 | 4,202 |
CSS | 7 | 273 | 341 | 1,194 |
SVG | 1 | 0 | 1 | 735 |
PHP code 0% from 2 tests
An short overview of logical lines of code, cyclomatic complexity, and other code metrics
It is recommended to fix the following
- Class cyclomatic complexity has to be reduced to less than 1000 (currently 1,231)
- Cyclomatic complexity of methods should be reduced to less than 100 (currently 210)
Cyclomatic complexity | |
---|---|
Average complexity per logical line of code | 0.83 |
Average class complexity | 233.93 |
▷ Minimum class complexity | 1.00 |
▷ Maximum class complexity | 1,231.00 |
Average method complexity | 13.52 |
▷ Minimum method complexity | 1.00 |
▷ Maximum method complexity | 210.00 |
Code structure | ||
---|---|---|
Namespaces | 0 | |
Interfaces | 0 | |
Traits | 0 | |
Classes | 14 | |
▷ Abstract classes | 0 | 0.00% |
▷ Concrete classes | 14 | 100.00% |
▷ Final classes | 0 | 0.00% |
Methods | 241 | |
▷ Static methods | 62 | 25.73% |
▷ Public methods | 239 | 99.17% |
▷ Protected methods | 0 | 0.00% |
▷ Private methods | 2 | 0.83% |
Functions | 45 | |
▷ Named functions | 22 | 48.89% |
▷ Anonymous functions | 23 | 51.11% |
Constants | 84 | |
▷ Global constants | 84 | 100.00% |
▷ Class constants | 0 | 0.00% |
▷ Public constants | 0 | 0.00% |
Plugin size Passed 2 tests
Image compression Passed 2 tests
It is recommended to compress PNG files in your plugin to minimize bandwidth usage
27 PNG files occupy 0.21MB with 0.14MB in potential savings
Potential savings
Compression of 5 random PNG files using pngquant | |||
---|---|---|---|
File | Size - original | Size - compressed | Savings |
assets/images/jqgrid/save_img-white-16X16.png | 14.61KB | 0.11KB | ▼ 99.22% |
assets/images/jqgrid/ui-bg_flat_75_ffffff_40x100.png | 0.20KB | 0.08KB | ▼ 58.17% |
classes/sa-includes/images/bfcm-2023.png | 170.20KB | 74.75KB | ▼ 56.08% |
assets/images/jqgrid/ui-bg_flat_0_aaaaaa_40x100.png | 0.21KB | 0.08KB | ▼ 58.96% |
assets/images/jqgrid/ui-bg_highlight-soft_25_E2EFF8_1x100.png | 0.31KB | 0.12KB | ▼ 60.31% |