Benchmarks
Plugin footprint 83% from 16 tests
Installer Passed 1 test
🔺 Critical test (weight: 50) | The install procedure must perform silently
Install script ran successfully
Server metrics [RAM: ▲0.02MB] [CPU: ▼4.76ms] Passed 4 tests
Analyzing server-side resources used by Ni WooCommerce Bulk Product Editor
No issues were detected with server-side resource usage
Page | Memory (MB) | CPU Time (ms) |
---|---|---|
Home / | 3.48 ▲0.02 | 34.11 ▼7.99 |
Dashboard /wp-admin | 3.33 ▲0.03 | 44.08 ▼9.25 |
Posts /wp-admin/edit.php | 3.38 ▲0.03 | 45.68 ▲2.38 |
Add New Post /wp-admin/post-new.php | 5.91 ▲0.03 | 82.82 ▼4.17 |
Media Library /wp-admin/upload.php | 3.25 ▲0.02 | 34.56 ▲2.52 |
Ni Product Editor /wp-admin/admin.php?page=niwpe-product-editor | 3.39 | 32.48 |
Dashboard /wp-admin/admin.php?page=niwpe-product-dashboard | 3.34 | 29.23 |
Server storage [IO: ▲0.15MB] [DB: ▲0.00MB] Passed 3 tests
A short overview of filesystem and database impact
No storage issues were detected
Filesystem: 12 new files
Database: no new tables, 7 new options
New WordPress options |
---|
db_upgraded |
recovery_mode_email_last_sent |
theysaidso_admin_options |
widget_recent-posts |
can_compress_scripts |
widget_recent-comments |
widget_theysaidso_widget |
Browser metrics Passed 4 tests
An overview of browser requirements for Ni WooCommerce Bulk Product Editor
Minimal impact on browser resources
Page | Nodes | Memory (MB) | Script (ms) | Layout (ms) |
---|---|---|---|---|
Home / | 2,823 ▲88 | 13.21 ▼1.38 | 1.48 ▼0.61 | 36.26 ▼8.29 |
Dashboard /wp-admin | 2,226 ▲38 | 5.84 ▼0.04 | 104.97 ▼5.51 | 42.51 ▼2.88 |
Posts /wp-admin/edit.php | 2,094 ▲5 | 1.98 ▼0.07 | 34.60 ▼0.04 | 32.61 ▼3.79 |
Add New Post /wp-admin/post-new.php | 1,552 ▲38 | 23.08 ▲5.53 | 617.51 ▼53.13 | 49.20 ▼0.27 |
Media Library /wp-admin/upload.php | 1,408 ▲20 | 4.21 ▲0.03 | 95.01 ▼6.24 | 42.82 ▼1.21 |
Ni Product Editor /wp-admin/admin.php?page=niwpe-product-editor | 991 | 1.80 | 30.43 | 30.10 |
Dashboard /wp-admin/admin.php?page=niwpe-product-dashboard | 843 | 1.14 | 6.45 | 56.82 |
Uninstaller [IO: ▲0.00MB] [DB: ▲0.00MB] 75% from 4 tests
🔸 Tests weight: 35 | All plugins must uninstall correctly, removing their source code and extra database tables they might have created
The following items require your attention
- This plugin did not uninstall successfully, leaving 7 options in the database
- theysaidso_admin_options
- widget_theysaidso_widget
- recovery_mode_email_last_sent
- db_upgraded
- widget_recent-posts
- can_compress_scripts
- widget_recent-comments
Smoke tests 75% from 4 tests
Server-side errors 0% from 1 test
🔹 Test weight: 20 | This is a short smoke test looking for server-side errors
Smoke test failed, please fix the following
- > GET request to /wp-admin/admin.php?page=niwpe-product-dashboard
- > Error in wp-content/plugins/ni-woocommerce-product-editor/includes/niwpe-dashboard.php+76
Uncaught Error: Call to undefined function wc_price() in wp-content/plugins/ni-woocommerce-product-editor/includes/niwpe-dashboard.php:76
Stack trace:
#0 wp-content/plugins/ni-woocommerce-product-editor/includes/ni-woocommerce-product-editor-init.php(69): NiWPE_Dashboard->get_niwpe_page()
#1 wp-includes/class-wp-hook.php(310): Ni_WooCommerce_product_Editor_Init->add_page()
#2 wp-includes/class-wp-hook.php(334): WP_Hook->apply_filters()
#3 wp-includes/plugin.php(517): WP_Hook->do_action()
#4 wp-admin/admin.php(259): do_action()
#5 {main}
thrown
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
No output text or server-side errors detected on direct access of PHP files
User-side errors Passed 1 test
🔹 Test weight: 20 | This is a shallow check for browser errors
There were no browser issues found
Optimizations
Plugin configuration 93% from 29 tests
readme.txt 94% from 16 tests
Often overlooked, readme.txt is one of the most important files in your plugin
Attributes that require attention:
- Screenshots: These screenshots do not have images: #1 (Dashboard Sales count and amount), #2 (Product editor)
ni-woocommerce-product-editor/ni-woocommerce-product-editor.php 92% from 13 tests
"Ni WooCommerce Bulk Product Editor" version 1.4.4's primary PHP file adds more information about the plugin and serves as the entry point for WordPress
Please take the time to fix the following:
- Description: If Twitter did it, so should we! Keep the description under 140 characters (currently 175 characters long)
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
No dangerous file extensions were detected1,585 lines of code in 9 files:
Language | Files | Blank lines | Comment lines | Lines of code |
---|---|---|---|---|
PHP | 5 | 232 | 68 | 1,330 |
CSS | 2 | 24 | 14 | 181 |
JavaScript | 2 | 13 | 19 | 74 |
PHP code Passed 2 tests
This plugin's cyclomatic complexity and code structure detailed below
Great job! No cyclomatic complexity issues were detected in this plugin
Cyclomatic complexity | |
---|---|
Average complexity per logical line of code | 0.29 |
Average class complexity | 32.20 |
▷ Minimum class complexity | 1.00 |
▷ Maximum class complexity | 63.00 |
Average method complexity | 4.90 |
▷ Minimum method complexity | 1.00 |
▷ Maximum method complexity | 28.00 |
Code structure | ||
---|---|---|
Namespaces | 0 | |
Interfaces | 0 | |
Traits | 0 | |
Classes | 5 | |
▷ Abstract classes | 0 | 0.00% |
▷ Concrete classes | 5 | 100.00% |
▷ Final classes | 0 | 0.00% |
Methods | 40 | |
▷ Static methods | 0 | 0.00% |
▷ Public methods | 40 | 100.00% |
▷ Protected methods | 0 | 0.00% |
▷ Private methods | 0 | 0.00% |
Functions | 0 | |
▷ Named functions | 0 | 0.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
2 PNG files occupy 0.08MB with 0.03MB in potential savings
Potential savings
Compression of 2 random PNG files using pngquant | |||
---|---|---|---|
File | Size - original | Size - compressed | Savings |
screenshot-2.png | 44.15KB | 27.56KB | ▼ 37.58% |
screenshot-1.png | 38.64KB | 20.10KB | ▼ 47.97% |