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
Install script ran successfully
Server metrics [RAM: ▲0.07MB] [CPU: ▼5.89ms] Passed 4 tests
Server-side resources used by Ni WooCommerce Product Variations Table
No issues were detected with server-side resource usage
Page | Memory (MB) | CPU Time (ms) |
---|---|---|
Home / | 3.47 ▲0.01 | 26.68 ▼20.80 |
Dashboard /wp-admin | 3.40 ▲0.09 | 47.82 ▼2.77 |
Posts /wp-admin/edit.php | 3.51 ▲0.15 | 50.78 ▲5.80 |
Add New Post /wp-admin/post-new.php | 5.98 ▲0.09 | 85.69 ▼0.58 |
Media Library /wp-admin/upload.php | 3.32 ▲0.09 | 35.79 ▲0.58 |
Other Plugins /wp-admin/admin.php?page=niwoopvt-other-plugins | 3.31 | 32.99 |
Settings /wp-admin/admin.php?page=nipv-settings | 3.30 | 32.41 |
Dashboard /wp-admin/admin.php?page=nipv-product-variation | 3.59 | 33.61 |
Server storage [IO: ▲1.94MB] [DB: ▲0.00MB] Passed 3 tests
Input-output and database impact of this plugin
The plugin installed successfully
Filesystem: 34 new files
Database: no new tables, 7 new options
New WordPress options |
---|
theysaidso_admin_options |
db_upgraded |
recovery_mode_email_last_sent |
can_compress_scripts |
widget_recent-comments |
widget_theysaidso_widget |
widget_recent-posts |
Browser metrics Passed 4 tests
This is an overview of browser requirements for Ni WooCommerce Product Variations Table
This plugin has a minimal impact on browser resources
Page | Nodes | Memory (MB) | Script (ms) | Layout (ms) |
---|---|---|---|---|
Home / | 2,503 ▼232 | 13.17 ▼1.14 | 0.81 ▼1.39 | 13.89 ▼30.42 |
Dashboard /wp-admin | 2,230 ▲39 | 5.79 ▼0.09 | 98.66 ▼10.55 | 39.45 ▼3.07 |
Posts /wp-admin/edit.php | 2,116 ▲24 | 2.05 ▲0.05 | 35.01 ▼1.06 | 35.83 ▲2.39 |
Add New Post /wp-admin/post-new.php | 1,555 ▲13 | 23.25 ▲5.25 | 648.76 ▲38.71 | 64.81 ▲7.21 |
Media Library /wp-admin/upload.php | 1,415 ▲27 | 4.24 ▼0.03 | 94.42 ▼10.09 | 45.35 ▲4.44 |
Other Plugins /wp-admin/admin.php?page=niwoopvt-other-plugins | 1,153 | 2.34 | 32.56 | 66.30 |
Settings /wp-admin/admin.php?page=nipv-settings | 870 | 2.37 | 29.50 | 27.67 |
Dashboard /wp-admin/admin.php?page=nipv-product-variation | 1,536 | 2.00 | 15.51 | 78.71 |
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
It is recommended to fix the following
- The uninstall procedure has failed, leaving 7 options in the database
- recovery_mode_email_last_sent
- widget_recent-posts
- widget_theysaidso_widget
- widget_recent-comments
- db_upgraded
- can_compress_scripts
- theysaidso_admin_options
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 errors were triggered by the plugin
- > GET request to /wp-admin/admin.php?page=nipv-product-variation
- > Error in wp-content/plugins/ni-woocommerce-product-variations-table/includes/ni-product-variations-dashboard.php+329
Uncaught Error: Call to undefined function wc_price() in wp-content/plugins/ni-woocommerce-product-variations-table/includes/ni-product-variations-dashboard.php:329
Stack trace:
#0 wp-content/plugins/ni-woocommerce-product-variations-table/includes/ni-product-variations-table.php(40): Ni_Product_Variations_Dashboard->page_init()
#1 wp-includes/class-wp-hook.php(310): Ni_Product_Variations_Table->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
Looking good! No server-side errors or output on direct access of PHP files
User-side errors Passed 1 test
🔹 Test weight: 20 | This is just a short smoke test looking for browser issues
There were no browser issues found
Optimizations
Plugin configuration 97% 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
These attributes need your attention:
- Screenshots: Add images for these screenshots: #1 (Change WooCommerce default varations dropdown to product variations table), #2 (Top country, top customer, payment gateway and order status report), #3 (Sales key indicatior)
ni-woocommerce-product-variations-table/ni-woocommerce-product-variations-table.php Passed 13 tests
The principal PHP file in "Ni WooCommerce Product Variations Table" v. 1.6.1 is loaded by WordPress automatically on each request
136 characters long description:
Ni WooCommerce Product Variations Table plugin change the WooCommerce product variation dropdown to Variations table or Variations Grid.
Code Analysis Passed 3 tests
File types Passed 1 test
🔸 Test weight: 35 | An overview of files in this plugin; executable files are not allowed
No dangerous file extensions were detected9,689 lines of code in 24 files:
Language | Files | Blank lines | Comment lines | Lines of code |
---|---|---|---|---|
CSS | 6 | 144 | 162 | 5,049 |
SVG | 2 | 0 | 0 | 2,678 |
PHP | 6 | 259 | 78 | 1,861 |
JavaScript | 10 | 7 | 15 | 101 |
PHP code Passed 2 tests
A brief analysis of cyclomatic complexity and code structure for this plugin
No complexity issues detected
Cyclomatic complexity | |
---|---|
Average complexity per logical line of code | 0.22 |
Average class complexity | 19.33 |
▷ Minimum class complexity | 1.00 |
▷ Maximum class complexity | 48.00 |
Average method complexity | 3.44 |
▷ Minimum method complexity | 1.00 |
▷ Maximum method complexity | 36.00 |
Code structure | ||
---|---|---|
Namespaces | 0 | |
Interfaces | 0 | |
Traits | 0 | |
Classes | 6 | |
▷ Abstract classes | 0 | 0.00% |
▷ Concrete classes | 6 | 100.00% |
▷ Final classes | 0 | 0.00% |
Methods | 45 | |
▷ Static methods | 1 | 2.22% |
▷ Public methods | 45 | 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
4 PNG files occupy 0.10MB with 0.04MB in potential savings
Potential savings
Compression of 4 random PNG files using pngquant | |||
---|---|---|---|
File | Size - original | Size - compressed | Savings |
screenshot-4.png | 4.13KB | 3.12KB | ▼ 24.57% |
screenshot-2.png | 18.96KB | 11.39KB | ▼ 39.93% |
screenshot-1.png | 42.54KB | 18.12KB | ▼ 57.40% |
screenshot-3.png | 40.36KB | 20.87KB | ▼ 48.30% |