Benchmarks
Plugin footprint 83% from 16 tests
Installer Passed 1 test
🔺 Critical test (weight: 50) | The install procedure must perform silently
The plugin installed successfully, without throwing any errors or notices
Server metrics [RAM: ▲0.08MB] [CPU: ▼7.19ms] Passed 4 tests
Analyzing server-side resources used by WPC Grouped Product for WooCommerce
Normal server usage
Page | Memory (MB) | CPU Time (ms) |
---|---|---|
Home / | 3.55 ▲0.08 | 38.50 ▼0.17 |
Dashboard /wp-admin | 3.39 ▲0.04 | 47.82 ▼11.31 |
Posts /wp-admin/edit.php | 3.50 ▲0.14 | 44.92 ▲1.02 |
Add New Post /wp-admin/post-new.php | 5.99 ▲0.10 | 92.12 ▼17.46 |
Media Library /wp-admin/upload.php | 3.31 ▲0.08 | 35.05 ▲0.18 |
About /wp-admin/admin.php?page=wpclever | 3.28 | 31.27 |
Essential Kit /wp-admin/admin.php?page=wpclever-kit | 3.49 | 31.93 |
Server storage [IO: ▲0.29MB] [DB: ▲0.02MB] Passed 3 tests
Filesystem and database footprint
This plugin was installed successfully
Filesystem: 22 new files
Database: no new tables, 6 new options
New WordPress options |
---|
can_compress_scripts |
theysaidso_admin_options |
widget_theysaidso_widget |
widget_recent-comments |
db_upgraded |
widget_recent-posts |
Browser metrics Passed 4 tests
WPC Grouped Product for WooCommerce: an overview of browser usage
Normal browser usage
Page | Nodes | Memory (MB) | Script (ms) | Layout (ms) |
---|---|---|---|---|
Home / | 2,867 ▲95 | 14.33 ▲0.07 | 1.68 ▼0.19 | 43.75 ▼2.05 |
Dashboard /wp-admin | 2,257 ▲79 | 5.60 ▼0.10 | 88.42 ▼26.12 | 85.25 ▲39.00 |
Posts /wp-admin/edit.php | 2,181 ▲81 | 1.98 ▼0.03 | 38.15 ▲2.88 | 34.97 ▼1.74 |
Add New Post /wp-admin/post-new.php | 1,754 ▲218 | 22.50 ▼0.67 | 743.56 ▲91.05 | 55.06 ▲5.28 |
Media Library /wp-admin/upload.php | 1,471 ▲71 | 4.16 ▼0.05 | 99.06 ▲4.01 | 86.08 ▲44.63 |
About /wp-admin/admin.php?page=wpclever | 1,408 | 2.27 | 32.37 | 36.34 |
Essential Kit /wp-admin/admin.php?page=wpclever-kit | 5,732 | 2.16 | 34.70 | 63.94 |
Uninstaller [IO: ▲0.00MB] [DB: ▲0.02MB] 75% from 4 tests
🔸 Tests weight: 35 | It is important to correctly uninstall your plugin, without leaving any traces
You still need to fix the following
- Zombie WordPress options were found after uninstall: 6 options
- widget_recent-comments
- theysaidso_admin_options
- can_compress_scripts
- widget_recent-posts
- widget_theysaidso_widget
- db_upgraded
Smoke tests Passed 4 tests
Server-side errors Passed 1 test
🔹 Test weight: 20 | Just a short smoke test targeting errors on the server (in the Apache logs)
Everything seems fine, however this is by no means an exhaustive test
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
The SRP test was a success
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)
Everything seems fine on the user side
Optimizations
Plugin configuration 97% from 29 tests
readme.txt 94% from 16 tests
Don't ignore readme.txt as it is the file that instructs WordPress.org on how to present your plugin to the world
Attributes that require attention:
- Screenshots: Please add descriptions for these screenshots #1, #2 in wpc-grouped-product/assets to your readme.txt
wpc-grouped-product/wpc-grouped-product.php Passed 13 tests
The main PHP file in "WPC Grouped Product for WooCommerce" ver. 4.2.7 adds more information about the plugin and also serves as the entry point for this plugin
88 characters long description:
WPC Grouped Product helps you made up standalone products that are presented as a group.
Code Analysis Passed 3 tests
File types Passed 1 test
🔸 Test weight: 35 | A short check of programming languages and file extensions; no executable files are allowed
There were no executable files found in this plugin4,714 lines of code in 18 files:
Language | Files | Blank lines | Comment lines | Lines of code |
---|---|---|---|---|
PHP | 7 | 359 | 58 | 2,151 |
CSS | 5 | 339 | 150 | 1,598 |
JavaScript | 4 | 164 | 59 | 731 |
PO File | 1 | 79 | 105 | 205 |
SVG | 1 | 0 | 0 | 29 |
PHP code Passed 2 tests
Analyzing cyclomatic complexity and code structure
Great job! No cyclomatic complexity issues were detected in this plugin
Cyclomatic complexity | |
---|---|
Average complexity per logical line of code | 0.41 |
Average class complexity | 66.60 |
▷ Minimum class complexity | 1.00 |
▷ Maximum class complexity | 256.00 |
Average method complexity | 5.43 |
▷ Minimum method complexity | 1.00 |
▷ Maximum method complexity | 76.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 | 74 | |
▷ Static methods | 2 | 2.70% |
▷ Public methods | 74 | 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
No PNG images were found in this plugin