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
The plugin installed gracefully, with no errors
Server metrics [RAM: ▲0.08MB] [CPU: ▼9.12ms] Passed 4 tests
An overview of server-side resources used by WPC Smart Attribute Groups for WooCommerce
Normal server usage
Page | Memory (MB) | CPU Time (ms) |
---|---|---|
Home / | 3.55 ▲0.09 | 35.38 ▼4.60 |
Dashboard /wp-admin | 3.39 ▲0.04 | 46.55 ▼18.07 |
Posts /wp-admin/edit.php | 3.50 ▲0.15 | 48.17 ▼3.27 |
Add New Post /wp-admin/post-new.php | 5.99 ▲0.10 | 93.34 ▼10.54 |
Media Library /wp-admin/upload.php | 3.31 ▲0.08 | 36.44 ▲5.29 |
Essential Kit /wp-admin/admin.php?page=wpclever-kit | 3.28 | 30.22 |
About /wp-admin/admin.php?page=wpclever | 3.28 | 35.23 |
Server storage [IO: ▲0.11MB] [DB: ▲0.02MB] Passed 3 tests
A short overview of filesystem and database impact
The plugin installed successfully
Filesystem: 23 new files
Database: no new tables, 6 new options
New WordPress options |
---|
db_upgraded |
can_compress_scripts |
widget_recent-comments |
theysaidso_admin_options |
widget_theysaidso_widget |
widget_recent-posts |
Browser metrics Passed 4 tests
A check of browser resources used by WPC Smart Attribute Groups for WooCommerce
Minimal impact on browser resources
Page | Nodes | Memory (MB) | Script (ms) | Layout (ms) |
---|---|---|---|---|
Home / | 2,867 ▲120 | 14.22 ▲0.30 | 1.56 ▼0.00 | 37.41 ▼2.38 |
Dashboard /wp-admin | 2,260 ▲82 | 5.62 ▼0.13 | 93.09 ▼20.35 | 80.38 ▲33.25 |
Posts /wp-admin/edit.php | 2,185 ▲82 | 1.98 ▲0.03 | 37.06 ▼6.43 | 34.51 ▼1.22 |
Add New Post /wp-admin/post-new.php | 1,596 ▲69 | 23.53 ▲0.38 | 685.54 ▲87.01 | 61.00 ▲7.49 |
Media Library /wp-admin/upload.php | 1,477 ▲77 | 4.09 ▼0.12 | 97.80 ▲1.77 | 78.11 ▲35.71 |
Essential Kit /wp-admin/admin.php?page=wpclever-kit | 5,741 | 2.13 | 35.22 | 62.37 |
About /wp-admin/admin.php?page=wpclever | 1,399 | 2.23 | 33.96 | 34.35 |
Uninstaller [IO: ▲0.00MB] [DB: ▲0.02MB] 75% from 4 tests
🔸 Tests weight: 35 | Verifying that this plugin uninstalls completely without leaving any traces
Please fix the following items
- This plugin did not uninstall successfully, leaving 6 options in the database
- can_compress_scripts
- widget_theysaidso_widget
- widget_recent-posts
- widget_recent-comments
- db_upgraded
- theysaidso_admin_options
Smoke tests Passed 4 tests
Server-side errors Passed 1 test
🔹 Test weight: 20 | This is a shallow check for server-side errors
Even though everything seems fine, this is not an exhaustive test
SRP Passed 2 tests
🔹 Tests weight: 20 | A shallow check of the single-responsibility principle; PHP files should perform no action - including output of placeholder text - and trigger no errors when accessed directly
Everything seems fine, however this is by no means an exhaustive test
User-side errors Passed 1 test
🔹 Test weight: 20 | This is a shallow check for browser errors
Everything seems fine, but this is not an exhaustive test
Optimizations
Plugin configuration 97% from 29 tests
readme.txt 94% from 16 tests
The readme.txt file is an important file in your plugin as it is parsed by WordPress.org to prepare the public listing of your plugin
Attributes that need to be fixed:
- Screenshots: No descriptions were found for these screenshots #1, #2 in wpc-attribute-groups/assets to your readme.txt
wpc-attribute-groups/wpc-attribute-groups.php Passed 13 tests
The principal PHP file in "WPC Smart Attribute Groups for WooCommerce" v. 1.0.3 is loaded by WordPress automatically on each request
101 characters long description:
WPC Smart Attribute Groups give you the possibility to display product attributes in separate groups.
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
Success! There were no dangerous files found in this plugin2,437 lines of code in 19 files:
Language | Files | Blank lines | Comment lines | Lines of code |
---|---|---|---|---|
PHP | 8 | 192 | 35 | 1,219 |
CSS | 5 | 215 | 148 | 959 |
JavaScript | 3 | 33 | 4 | 178 |
Sass | 2 | 9 | 0 | 52 |
SVG | 1 | 0 | 0 | 29 |
PHP code Passed 2 tests
This plugin's cyclomatic complexity and code structure detailed below
No cyclomatic complexity issues were detected for this plugin
Cyclomatic complexity | |
---|---|
Average complexity per logical line of code | 0.45 |
Average class complexity | 23.00 |
▷ Minimum class complexity | 1.00 |
▷ Maximum class complexity | 78.00 |
Average method complexity | 3.75 |
▷ Minimum method complexity | 1.00 |
▷ Maximum method complexity | 19.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 | 48 | |
▷ Static methods | 7 | 14.58% |
▷ Public methods | 48 | 100.00% |
▷ Protected methods | 0 | 0.00% |
▷ Private methods | 0 | 0.00% |
Functions | 3 | |
▷ Named functions | 2 | 66.67% |
▷ Anonymous functions | 1 | 33.33% |
Constants | 10 | |
▷ Global constants | 10 | 100.00% |
▷ Class constants | 0 | 0.00% |
▷ Public constants | 0 | 0.00% |
Plugin size Passed 2 tests
Image compression Passed 2 tests
Often times overlooked, PNG files can occupy unnecessary space in your plugin
There were not PNG files found in your plugin