Benchmarks
Plugin footprint 83% from 16 tests
Installer Passed 1 test
🔺 Critical test (weight: 50) | The install procedure must perform silently
Installer ran successfully
Server metrics [RAM: ▲0.02MB] [CPU: ▼5.08ms] Passed 4 tests
A check of server-side resources used by WPC Force Sells for WooCommerce
No issues were detected with server-side resource usage
Page | Memory (MB) | CPU Time (ms) |
---|---|---|
Home / | 3.49 ▲0.02 | 38.79 ▼1.66 |
Dashboard /wp-admin | 3.33 ▼0.02 | 47.66 ▼7.94 |
Posts /wp-admin/edit.php | 3.44 ▲0.08 | 44.03 ▼1.96 |
Add New Post /wp-admin/post-new.php | 5.93 ▲0.04 | 82.36 ▼8.77 |
Media Library /wp-admin/upload.php | 3.25 ▲0.02 | 34.48 ▼0.18 |
Essential Kit /wp-admin/admin.php?page=wpclever-kit | 3.22 | 31.23 |
About /wp-admin/admin.php?page=wpclever | 3.22 | 28.20 |
Server storage [IO: ▲0.21MB] [DB: ▲0.02MB] Passed 3 tests
A short overview of filesystem and database impact
This plugin was installed successfully
Filesystem: 17 new files
Database: no new tables, 6 new options
New WordPress options |
---|
can_compress_scripts |
widget_theysaidso_widget |
theysaidso_admin_options |
widget_recent-posts |
db_upgraded |
widget_recent-comments |
Browser metrics Passed 4 tests
Checking browser requirements for WPC Force Sells for WooCommerce
Minimal impact on browser resources
Page | Nodes | Memory (MB) | Script (ms) | Layout (ms) |
---|---|---|---|---|
Home / | 2,891 ▲145 | 14.33 ▼0.04 | 1.90 ▲0.27 | 44.00 ▲2.69 |
Dashboard /wp-admin | 2,257 ▲80 | 5.80 ▲0.14 | 94.70 ▲8.41 | 89.80 ▲47.77 |
Posts /wp-admin/edit.php | 2,181 ▲81 | 2.01 ▼0.02 | 41.09 ▲3.99 | 35.69 ▲3.14 |
Add New Post /wp-admin/post-new.php | 1,600 ▲74 | 22.90 ▼0.68 | 657.30 ▼33.65 | 60.76 ▼2.85 |
Media Library /wp-admin/upload.php | 1,471 ▲71 | 4.17 ▼0.04 | 96.96 ▼11.17 | 70.06 ▲20.96 |
Essential Kit /wp-admin/admin.php?page=wpclever-kit | 5,744 | 2.13 | 35.42 | 53.61 |
About /wp-admin/admin.php?page=wpclever | 1,396 | 2.14 | 31.26 | 33.73 |
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
These items require your attention
- Zombie WordPress options were found after uninstall: 6 options
- can_compress_scripts
- widget_recent-comments
- theysaidso_admin_options
- widget_theysaidso_widget
- widget_recent-posts
- db_upgraded
Smoke tests Passed 4 tests
Server-side errors Passed 1 test
🔹 Test weight: 20 | A smoke test targeting server-side errors
Even though no errors were found, this is by no means an exhaustive test
SRP Passed 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
No output text or server-side errors detected on direct access of PHP files
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)
No browser errors were detected
Optimizations
Plugin configuration Passed 29 tests
readme.txt Passed 16 tests
The readme.txt file is undoubtedly the most important file in your plugin, preparing it for public listing on WordPress.org
5 plugin tags: force, wpc, woo, woocommerce, sells
wpc-force-sells/wpc-force-sells.php Passed 13 tests
The primary PHP file in "WPC Force Sells for WooCommerce" version 6.1.1 is used by WordPress to initiate all plugin functionality
86 characters long description:
Create a deal that combines various related products and put them for sale altogether.
Code Analysis Passed 3 tests
File types Passed 1 test
🔸 Test weight: 35 | This is an overview of programming languages used in this plugin; dangerous file extensions are not allowed
There were no executable files found in this plugin4,251 lines of code in 15 files:
Language | Files | Blank lines | Comment lines | Lines of code |
---|---|---|---|---|
PHP | 5 | 351 | 69 | 2,078 |
CSS | 5 | 315 | 149 | 1,487 |
JavaScript | 4 | 130 | 36 | 657 |
SVG | 1 | 0 | 0 | 29 |
PHP code Passed 2 tests
A short review of cyclomatic complexity and code structure
This plugin has no cyclomatic complexity issues
Cyclomatic complexity | |
---|---|
Average complexity per logical line of code | 0.43 |
Average class complexity | 88.00 |
▷ Minimum class complexity | 1.00 |
▷ Maximum class complexity | 304.00 |
Average method complexity | 5.30 |
▷ Minimum method complexity | 1.00 |
▷ Maximum method complexity | 42.00 |
Code structure | ||
---|---|---|
Namespaces | 0 | |
Interfaces | 0 | |
Traits | 0 | |
Classes | 4 | |
▷ Abstract classes | 0 | 0.00% |
▷ Concrete classes | 4 | 100.00% |
▷ Final classes | 0 | 0.00% |
Methods | 81 | |
▷ Static methods | 5 | 6.17% |
▷ Public methods | 81 | 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
All PNG images should be compressed to minimize bandwidth usage for end users
There were not PNG files found in your plugin