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 successfully, without throwing any errors or notices
Server metrics [RAM: ▲0.08MB] [CPU: ▼3.17ms] Passed 4 tests
A check of server-side resources used by WPC Composite Products for WooCommerce
This plugin does not affect your website's performance
Page | Memory (MB) | CPU Time (ms) |
---|---|---|
Home / | 3.54 ▲0.07 | 36.20 ▼3.49 |
Dashboard /wp-admin | 3.38 ▲0.07 | 46.04 ▼6.79 |
Posts /wp-admin/edit.php | 3.49 ▲0.13 | 49.24 ▲0.40 |
Add New Post /wp-admin/post-new.php | 5.98 ▲0.09 | 90.85 ▼2.80 |
Media Library /wp-admin/upload.php | 3.30 ▲0.07 | 37.28 ▲3.15 |
Essential Kit /wp-admin/admin.php?page=wpclever-kit | 3.27 | 28.49 |
About /wp-admin/admin.php?page=wpclever | 3.27 | 29.46 |
Server storage [IO: ▲0.66MB] [DB: ▲0.02MB] Passed 3 tests
Input-output and database impact of this plugin
This plugin was installed successfully
Filesystem: 40 new files
Database: no new tables, 6 new options
New WordPress options |
---|
widget_recent-posts |
db_upgraded |
theysaidso_admin_options |
widget_recent-comments |
can_compress_scripts |
widget_theysaidso_widget |
Browser metrics Passed 4 tests
Checking browser requirements for WPC Composite Products for WooCommerce
Minimal impact on browser resources
Page | Nodes | Memory (MB) | Script (ms) | Layout (ms) |
---|---|---|---|---|
Home / | 2,867 ▲105 | 14.67 ▲0.39 | 1.60 ▼0.03 | 40.51 ▼2.85 |
Dashboard /wp-admin | 2,269 ▲89 | 5.55 ▼0.11 | 89.09 ▼6.65 | 70.18 ▲22.70 |
Posts /wp-admin/edit.php | 2,181 ▲81 | 2.01 ▲0.07 | 38.92 ▼4.23 | 34.23 ▼2.65 |
Add New Post /wp-admin/post-new.php | 1,762 ▲227 | 24.68 ▲6.27 | 674.54 ▲75.43 | 51.04 ▼15.32 |
Media Library /wp-admin/upload.php | 1,477 ▲80 | 4.16 ▲0.02 | 112.08 ▲7.66 | 46.14 ▲0.87 |
Essential Kit /wp-admin/admin.php?page=wpclever-kit | 5,741 | 2.16 | 33.01 | 55.61 |
About /wp-admin/admin.php?page=wpclever | 1,378 | 2.15 | 35.50 | 35.11 |
Uninstaller [IO: ▲0.00MB] [DB: ▲0.02MB] 75% from 4 tests
🔸 Tests weight: 35 | All plugins must uninstall correctly, removing their source code and extra database tables they might have created
It is recommended to fix the following
- Zombie WordPress options detected upon uninstall: 6 options
- theysaidso_admin_options
- widget_theysaidso_widget
- can_compress_scripts
- widget_recent-posts
- db_upgraded
- widget_recent-comments
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 | 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
Congratulations! This plugin passed the SRP test
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, but this is not an exhaustive test
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
These attributes need to be fixed:
- Screenshots: These screenshots lack descriptions #1, #2, #3, #4 in wpc-composite-products/assets to your readme.txt
wpc-composite-products/wpc-composite-products.php Passed 13 tests
The main file in "WPC Composite Products for WooCommerce" v. 7.1.6 serves as a complement to information provided in readme.txt and as the entry point to the plugin
86 characters long description:
WPC Composite Products provide a powerful kit-building solution for WooCommerce store.
Code Analysis 97% from 3 tests
File types Passed 1 test
🔸 Test weight: 35 | Executable files are not allowed as they can serve as attack vectors
Good job! No executable or dangerous file extensions detected9,335 lines of code in 28 files:
Language | Files | Blank lines | Comment lines | Lines of code |
---|---|---|---|---|
PHP | 7 | 576 | 125 | 3,444 |
PO File | 8 | 985 | 1,093 | 2,391 |
CSS | 5 | 364 | 156 | 1,797 |
JavaScript | 5 | 218 | 47 | 1,177 |
Sass | 1 | 97 | 0 | 494 |
SVG | 2 | 0 | 0 | 32 |
PHP code 50% from 2 tests
Analyzing logical lines of code, cyclomatic complexity, and other code metrics
Please fix the following
- Cyclomatic complexity of methods has to be reduced to less than 100 (currently 156)
Cyclomatic complexity | |
---|---|
Average complexity per logical line of code | 0.49 |
Average class complexity | 138.80 |
▷ Minimum class complexity | 1.00 |
▷ Maximum class complexity | 634.00 |
Average method complexity | 7.32 |
▷ Minimum method complexity | 1.00 |
▷ Maximum method complexity | 156.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 | 109 | |
▷ Static methods | 9 | 8.26% |
▷ Public methods | 109 | 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 | 11 | |
▷ Global constants | 11 | 100.00% |
▷ Class constants | 0 | 0.00% |
▷ Public constants | 0 | 0.00% |
Plugin size Passed 2 tests
Image compression Passed 2 tests
PNG files should be compressed to save space and minimize bandwidth usage
There are no PNG files in this plugin