Benchmarks
Plugin footprint 82% from 16 tests
Installer Passed 1 test
🔺 Critical test (weight: 50) | The install procedure must perform silently
Installer ran successfully
Server metrics [RAM: ▲5.40MB] [CPU: ▲21.13ms] 75% from 4 tests
A check of server-side resources used by WUPO Group Attributes for WooCommerce
It is recommended to improve the following
- Extra RAM: The extra memory usage must be under 5MB (currently 5.40MB on /wp-admin/options-general.php?page=wugrat_settings)
Page | Memory (MB) | CPU Time (ms) |
---|---|---|
Home / | 9.21 ▲5.74 | 66.43 ▲26.34 |
Dashboard /wp-admin | 9.23 ▲5.88 | 81.48 ▲16.30 |
Posts /wp-admin/edit.php | 9.23 ▲5.87 | 78.06 ▲28.62 |
Add New Post /wp-admin/post-new.php | 9.98 ▲4.10 | 113.21 ▲13.25 |
Media Library /wp-admin/upload.php | 9.23 ▲6.00 | 77.03 ▲41.97 |
Freemius Debug [v.2.5.10] /wp-admin/admin.php?page=freemius | 9.23 | 66.37 |
WUPO Group Attributes /wp-admin/options-general.php?page=wugrat_settings | 9.23 | 68.46 |
Server storage [IO: ▲3.18MB] [DB: ▲0.00MB] Passed 3 tests
A short overview of filesystem and database impact
There were no storage issued detected upon installing this plugin
Filesystem: 201 new files
Database: no new tables, 11 new options
New WordPress options |
---|
widget_theysaidso_widget |
db_upgraded |
widget_recent-comments |
wc_wugrat_settings_tab_general_enable_wugrat |
fs_active_plugins |
widget_recent-posts |
theysaidso_admin_options |
fs_accounts |
can_compress_scripts |
fs_debug_mode |
... |
Browser metrics Passed 4 tests
A check of browser resources used by WUPO Group Attributes for WooCommerce
There were no issues detected in relation to browser resource usage
Page | Nodes | Memory (MB) | Script (ms) | Layout (ms) |
---|---|---|---|---|
Home / | 2,847 ▲101 | 13.20 ▼1.18 | 1.77 ▲0.16 | 31.38 ▼10.35 |
Dashboard /wp-admin | 2,225 ▲37 | 5.84 ▲0.92 | 102.28 ▼2.30 | 43.72 ▼0.02 |
Posts /wp-admin/edit.php | 2,108 ▲19 | 2.04 ▲0.03 | 37.35 ▲0.29 | 43.82 ▲9.29 |
Add New Post /wp-admin/post-new.php | 1,522 ▲3 | 23.09 ▼0.23 | 672.91 ▼12.79 | 57.46 ▼1.84 |
Media Library /wp-admin/upload.php | 1,404 ▲19 | 4.22 ▲0.03 | 110.45 ▼6.96 | 50.26 ▲1.99 |
Freemius Debug [v.2.5.10] /wp-admin/admin.php?page=freemius | 1,072 | 2.05 | 32.78 | 30.93 |
WUPO Group Attributes /wp-admin/options-general.php?page=wugrat_settings | 980 | 1.71 | 26.03 | 56.89 |
Uninstaller [IO: ▲0.00MB] [DB: ▲0.00MB] 75% from 4 tests
🔸 Tests weight: 35 | Checking the uninstaller removed all traces of the plugin
Please fix the following items
- Zombie WordPress options were found after uninstall: 11 options
- fs_debug_mode
- fs_active_plugins
- wc_wugrat_settings_tab_general_enable_wugrat
- can_compress_scripts
- widget_theysaidso_widget
- widget_recent-comments
- widget_recent-posts
- wc_wugrat_settings_tab_styling_layout
- theysaidso_admin_options
- db_upgraded
- ...
Smoke tests 75% from 4 tests
Server-side errors Passed 1 test
🔹 Test weight: 20 | A smoke test targeting server-side errors
Good news, no errors were detected
SRP 50% from 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
Please fix the following
- 1× GET requests to PHP files trigger server-side errors or Error 500 responses:
- > PHP Fatal error
Uncaught Error: Call to undefined function plugin_dir_path() in wp-content/plugins/wupo-group-attributes/admin/class-wugrat-admin.php:3
- > PHP Fatal error
User-side errors Passed 1 test
🔹 Test weight: 20 | Just a short smoke test targeting errors on the browser (console and network errors and warnings)
There were no browser issues found
Optimizations
Plugin configuration 90% from 29 tests
readme.txt 94% from 16 tests
The readme.txt file uses markdown syntax to describe your plugin to the world
These attributes need your attention:
- Screenshots: These screenshots lack descriptions #1, #2, #3, #4, #5 in wupo-group-attributes/assets to your readme.txt
wupo-group-attributes/wupo-group-attributes.php 85% from 13 tests
The main PHP file in "WUPO Group Attributes for WooCommerce" ver. 2.3.3 adds more information about the plugin and also serves as the entry point for this plugin
You should first fix the following items:
- Requires at least: Required version must be the same as the one declared in readme.txt ("5.0" instead of "5.0.0")
- Description: Please keep the plugin description shorter than 140 characters (currently 262 characters long)
Code Analysis 97% from 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
There were no executable files found in this plugin34,483 lines of code in 147 files:
Language | Files | Blank lines | Comment lines | Lines of code |
---|---|---|---|---|
PHP | 129 | 8,156 | 17,706 | 34,150 |
JavaScript | 5 | 58 | 62 | 320 |
CSS | 13 | 0 | 0 | 13 |
PHP code 50% from 2 tests
This is a short overview of cyclomatic complexity and code structure for this plugin
Please fix the following
- Cyclomatic complexity of classes should be reduced to less than 1000 (currently 3,073)
Cyclomatic complexity | |
---|---|
Average complexity per logical line of code | 0.62 |
Average class complexity | 81.96 |
▷ Minimum class complexity | 1.00 |
▷ Maximum class complexity | 3,073.00 |
Average method complexity | 4.54 |
▷ Minimum method complexity | 1.00 |
▷ Maximum method complexity | 94.00 |
Code structure | ||
---|---|---|
Namespaces | 0 | |
Interfaces | 0 | |
Traits | 0 | |
Classes | 56 | |
▷ Abstract classes | 2 | 3.57% |
▷ Concrete classes | 54 | 96.43% |
▷ Final classes | 0 | 0.00% |
Methods | 1,311 | |
▷ Static methods | 203 | 15.48% |
▷ Public methods | 915 | 69.79% |
▷ Protected methods | 17 | 1.30% |
▷ Private methods | 379 | 28.91% |
Functions | 107 | |
▷ Named functions | 107 | 100.00% |
▷ Anonymous functions | 0 | 0.00% |
Constants | 148 | |
▷ Global constants | 101 | 68.24% |
▷ Class constants | 47 | 31.76% |
▷ Public constants | 47 | 100.00% |
Plugin size Passed 2 tests
Image compression Passed 2 tests
All PNG images should be compressed to minimize bandwidth usage for end users
3 PNG files occupy 0.04MB with 0.01MB in potential savings
Potential savings
Compression of 3 random PNG files using pngquant | |||
---|---|---|---|
File | Size - original | Size - compressed | Savings |
public/img/icon-256x256.png | 17.77KB | 18.97KB | 0.00% |
freemius/assets/img/plugin-icon.png | 9.16KB | 5.26KB | ▼ 42.58% |
freemius/assets/img/theme-icon.png | 10.97KB | 5.78KB | ▼ 47.37% |