Benchmarks
Plugin footprint 83% from 16 tests
Installer Passed 1 test
🔺 Critical test (weight: 50) | The install procedure must perform silently
This plugin's installer ran successfully
Server metrics [RAM: ▼0.16MB] [CPU: ▼8.37ms] Passed 4 tests
An overview of server-side resources used by Grouped Variations Table
This plugin does not affect your website's performance
Page | Memory (MB) | CPU Time (ms) |
---|---|---|
Home / | 3.47 ▲0.00 | 40.77 ▼2.38 |
Dashboard /wp-admin | 3.20 ▼0.10 | 46.33 ▼3.42 |
Posts /wp-admin/edit.php | 3.27 ▼0.09 | 36.92 ▼12.04 |
Add New Post /wp-admin/post-new.php | 5.44 ▼0.44 | 78.01 ▼15.65 |
Media Library /wp-admin/upload.php | 3.21 ▼0.02 | 31.56 ▼2.09 |
Grouped Variations Table /wp-admin/options-general.php?page=grouped-variations-table | 3.18 | 27.86 |
Server storage [IO: ▲0.02MB] [DB: ▲0.00MB] Passed 3 tests
How much does this plugin use your filesystem and database?
There were no storage issued detected upon installing this plugin
Filesystem: 13 new files
Database: no new tables, 10 new options
New WordPress options |
---|
groupedvartable_option_mainwidth |
widget_recent-comments |
widget_theysaidso_widget |
recovery_mode_email_last_sent |
can_compress_scripts |
theysaidso_admin_options |
widget_recent-posts |
groupedvartable_option_buttonsenabled |
db_upgraded |
groupedvartable_option_mainsorter |
Browser metrics Passed 4 tests
Grouped Variations Table: an overview of browser usage
There were no issues detected in relation to browser resource usage
Page | Nodes | Memory (MB) | Script (ms) | Layout (ms) |
---|---|---|---|---|
Home / | 1,486 ▼1,300 | 12.39 ▼1.96 | 2.16 ▲0.02 | 42.59 ▼2.80 |
Dashboard /wp-admin | 854 ▼1,317 | 1.36 ▼4.24 | 14.10 ▼76.98 | 20.18 ▼21.95 |
Posts /wp-admin/edit.php | 865 ▼1,235 | 1.51 ▼0.59 | 6.70 ▼30.00 | 22.64 ▼10.22 |
Add New Post /wp-admin/post-new.php | 590 ▼936 | 1.71 ▼21.18 | 18.29 ▼666.20 | 8.52 ▼53.02 |
Media Library /wp-admin/upload.php | 750 ▼653 | 1.71 ▼2.44 | 20.79 ▼85.49 | 19.55 ▼27.38 |
Grouped Variations Table /wp-admin/options-general.php?page=grouped-variations-table | 685 | 1.51 | 7.67 | 16.64 |
Uninstaller [IO: ▲0.00MB] [DB: ▲0.00MB] 75% from 4 tests
🔸 Tests weight: 35 | It is important to correctly uninstall your plugin, without leaving any traces
The following items require your attention
- The uninstall procedure has failed, leaving 10 options in the database
- widget_theysaidso_widget
- groupedvartable_option_mainsorter
- groupedvartable_option_mainwidth
- widget_recent-posts
- theysaidso_admin_options
- widget_recent-comments
- recovery_mode_email_last_sent
- groupedvartable_option_buttonsenabled
- db_upgraded
- can_compress_scripts
Smoke tests 25% from 4 tests
Server-side errors 0% from 1 test
🔹 Test weight: 20 | A shallow check that no server-side errors were triggered
Please fix the following server-side errors
- > GET request to /wp-admin/options-general.php?page=grouped-variations-table
- > Error in wp-content/plugins/grouped-variations-table/grouped-variations-table-settings.php+27
Uncaught Error: Call to undefined function wc_get_attribute_taxonomies() in wp-content/plugins/grouped-variations-table/grouped-variations-table-settings.php:27
Stack trace:
#0 wp-includes/class-wp-hook.php(310): groupedvartable_error_notice()
#1 wp-includes/class-wp-hook.php(334): WP_Hook->apply_filters()
#2 wp-includes/plugin.php(517): WP_Hook->do_action()
#3 wp-admin/admin-header.php(303): do_action()
#4 wp-admin/admin.php(239): require_once('/var/www/wordpr...')
#5 wp-admin/options-general.php(10): require_once('/var/www/wordpr...')
#6 {main}
thrown
SRP 0% 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 fix the following items
- 1× PHP files perform the action of outputting non-empty strings when accessed directly:
- > /wp-content/plugins/grouped-variations-table/grouped-variations-table.php
- 1× PHP files trigger server-side errors or warnings when accessed directly:
- > PHP Fatal error
Uncaught Error: Call to undefined function add_action() in wp-content/plugins/grouped-variations-table/grouped-variations-table-settings.php:16
- > PHP Fatal error
User-side errors Passed 1 test
🔹 Test weight: 20 | This is a shallow check for browser errors
No browser errors were detected
Optimizations
Plugin configuration 97% from 29 tests
readme.txt 94% 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 require attention:
- Screenshots: A description for screenshot #0 is required in grouped-variations-table/assets to your readme.txt
grouped-variations-table/grouped-variations-table.php Passed 13 tests
The main PHP script in "Grouped Variations Table" version 1.5.0 is automatically included on every request by WordPress
68 characters long description:
Allowing you to group variations in sleak tables on the product page
Code Analysis Passed 3 tests
File types Passed 1 test
🔸 Test weight: 35 | This is an overview of file extensions present in this plugin and a short test that no dangerous files are bundled with this plugin
Good job! No executable or dangerous file extensions detected370 lines of code in 6 files:
Language | Files | Blank lines | Comment lines | Lines of code |
---|---|---|---|---|
PHP | 3 | 49 | 32 | 244 |
PO File | 2 | 29 | 38 | 89 |
CSS | 1 | 3 | 0 | 37 |
PHP code Passed 2 tests
A short review of cyclomatic complexity and code structure
There were no cyclomatic complexity issued detected
Cyclomatic complexity | |
---|---|
Average complexity per logical line of code | 0.37 |
Average class complexity | 29.00 |
▷ Minimum class complexity | 29.00 |
▷ Maximum class complexity | 29.00 |
Average method complexity | 4.11 |
▷ Minimum method complexity | 1.00 |
▷ Maximum method complexity | 7.00 |
Code structure | ||
---|---|---|
Namespaces | 0 | |
Interfaces | 0 | |
Traits | 0 | |
Classes | 1 | |
▷ Abstract classes | 0 | 0.00% |
▷ Concrete classes | 1 | 100.00% |
▷ Final classes | 0 | 0.00% |
Methods | 9 | |
▷ Static methods | 0 | 0.00% |
▷ Public methods | 9 | 100.00% |
▷ Protected methods | 0 | 0.00% |
▷ Private methods | 0 | 0.00% |
Functions | 4 | |
▷ Named functions | 4 | 100.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
No PNG files were detected