Benchmarks
Plugin footprint 83% from 16 tests
Installer Passed 1 test
🔺 Critical test (weight: 50) | Checking the installer triggered no errors
The plugin installed successfully, without throwing any errors or notices
Server metrics [RAM: ▲0.10MB] [CPU: ▼4.43ms] Passed 4 tests
This is a short check of server-side resources used by Next Product Toolbox for WooCommerce
Normal server usage
Page | Memory (MB) | CPU Time (ms) |
---|---|---|
Home / | 3.49 ▲0.02 | 28.23 ▼14.46 |
Dashboard /wp-admin | 3.44 ▲0.13 | 46.95 ▼1.09 |
Posts /wp-admin/edit.php | 3.55 ▲0.19 | 53.54 ▲6.51 |
Add New Post /wp-admin/post-new.php | 6.02 ▲0.13 | 82.80 ▼8.66 |
Media Library /wp-admin/upload.php | 3.36 ▲0.13 | 40.75 ▲6.63 |
Misc /wp-admin/admin.php?page=wcptb-acp&tab=wcptb_misc | 3.60 | 39.89 |
Toolbox /wp-admin/admin.php?page=wcptb-acp&tab=wcptb_box | 3.60 | 38.44 |
Next Toolbox /wp-admin/admin.php?page=wcptb-acp | 3.60 | 37.27 |
SEO /wp-admin/admin.php?page=wcptb-acp&tab=wcptb_seo | 3.60 | 39.40 |
Server storage [IO: ▲0.10MB] [DB: ▲0.00MB] Passed 3 tests
Analyzing filesystem and database footprints of this plugin
There were no storage issued detected upon installing this plugin
Filesystem: 14 new files
Database: no new tables, 8 new options
New WordPress options |
---|
widget_theysaidso_widget |
can_compress_scripts |
widget_recent-comments |
db_upgraded |
widget_recent-posts |
wcptbCurrentType |
theysaidso_admin_options |
wcptbCurrentVersion |
Browser metrics Passed 4 tests
Checking browser requirements for Next Product Toolbox for WooCommerce
This plugin has a minimal impact on browser resources
Page | Nodes | Memory (MB) | Script (ms) | Layout (ms) |
---|---|---|---|---|
Home / | 2,512 ▼259 | 14.45 ▼0.13 | 0.87 ▼1.17 | 14.10 ▼34.42 |
Dashboard /wp-admin | 2,245 ▲54 | 4.90 ▲0.03 | 99.25 ▼2.22 | 71.27 ▲27.27 |
Posts /wp-admin/edit.php | 2,125 ▲36 | 1.97 ▼0.05 | 38.39 ▲1.67 | 37.85 ▲1.74 |
Add New Post /wp-admin/post-new.php | 1,698 ▲179 | 21.94 ▼1.36 | 680.48 ▼1.11 | 74.14 ▲13.98 |
Media Library /wp-admin/upload.php | 1,415 ▲24 | 4.32 ▲0.11 | 97.34 ▼2.43 | 77.23 ▲30.90 |
Misc /wp-admin/admin.php?page=wcptb-acp&tab=wcptb_misc | 874 | 2.05 | 23.44 | 52.49 |
Toolbox /wp-admin/admin.php?page=wcptb-acp&tab=wcptb_box | 915 | 2.05 | 25.20 | 35.00 |
Next Toolbox /wp-admin/admin.php?page=wcptb-acp | 918 | 2.05 | 24.94 | 32.38 |
SEO /wp-admin/admin.php?page=wcptb-acp&tab=wcptb_seo | 1,059 | 2.20 | 25.94 | 37.68 |
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
You still need to fix the following
- Zombie WordPress options were found after uninstall: 8 options
- wcptbCurrentType
- theysaidso_admin_options
- can_compress_scripts
- wcptbCurrentVersion
- widget_recent-posts
- widget_recent-comments
- widget_theysaidso_widget
- db_upgraded
Smoke tests 50% from 4 tests
Server-side errors 0% from 1 test
🔹 Test weight: 20 | A shallow check that no server-side errors were triggered
Almost there, just fix the following server-side errors
- 4 occurences, only the last one shown
- > GET request to /wp-admin/admin.php?page=wcptb-acp&tab=wcptb_seo
- > Notice in wp-content/plugins/next-wc-product-toolbox/includes/wcptb-acp-page.php+75
Undefined index: section
- > GET request to /wp-admin/admin.php?page=wcptb-acp
- > Notice in wp-content/plugins/next-wc-product-toolbox/includes/wcptb-acp-page.php+73
Undefined index: tab
SRP 50% from 2 tests
🔹 Tests weight: 20 | It is important to ensure that your PHP files perform no action when accessed directly, respecting the single-responsibility principle
Please take a closer look at the following
- 3× PHP files trigger server-side errors or warnings when accessed directly:
- > PHP Fatal error
Uncaught Error: Call to undefined function plugin_dir_path() in wp-content/plugins/next-wc-product-toolbox/includes/wcptb-acp-page.php:2
- > PHP Fatal error
Uncaught Error: Call to undefined function add_action() in wp-content/plugins/next-wc-product-toolbox/includes/wcptb-functions.php:21
- > PHP Fatal error
Uncaught Error: Call to undefined function plugin_dir_path() in wp-content/plugins/next-wc-product-toolbox/next-wc-product-toolbox.php:17
- > PHP Fatal error
User-side errors Passed 1 test
🔹 Test weight: 20 | A shallow check that no browser errors were triggered
No browser issues were found
Optimizations
Plugin configuration 90% from 29 tests
readme.txt 88% from 16 tests
Perhaps the most important file in your plugin readme.txt gets parsed in order to generate the public listing of your plugin
Attributes that need to be fixed:
- Requires php: Version format is invalid
- Tags: Please reduce the number of tags, currently 15 tag instead of maximum 10
next-wc-product-toolbox/next-wc-product-toolbox.php 92% from 13 tests
The main file in "Next Product Toolbox for WooCommerce" v. 1.3.1 serves as a complement to information provided in readme.txt and as the entry point to the plugin
The following require your attention:
- Description: The description should be shorter than 140 characters (currently 425 characters long)
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
There were no executable files found in this plugin1,247 lines of code in 7 files:
Language | Files | Blank lines | Comment lines | Lines of code |
---|---|---|---|---|
PHP | 4 | 173 | 16 | 919 |
PO File | 1 | 266 | 444 | 216 |
CSS | 2 | 13 | 5 | 112 |
PHP code Passed 2 tests
This is a short overview of cyclomatic complexity and code structure for this plugin
No complexity issues detected
Cyclomatic complexity | |
---|---|
Average complexity per logical line of code | 0.27 |
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 | 29 | |
▷ Named functions | 29 | 100.00% |
▷ Anonymous functions | 0 | 0.00% |
Constants | 6 | |
▷ Global constants | 6 | 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
1 PNG file occupies 0.00MB with 0.00MB in potential savings
Potential savings
Compression of 1 random PNG file using pngquant | |||
---|---|---|---|
File | Size - original | Size - compressed | Savings |
images/icon.png | 1.34KB | 1.06KB | ▼ 20.32% |