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.21MB] [CPU: ▼3.29ms] Passed 4 tests
Analyzing server-side resources used by WPC Smart Linked Products - Upsells & Cross-sells for WooCommerce
No issues were detected with server-side resource usage
Page | Memory (MB) | CPU Time (ms) |
---|---|---|
Home / | 3.68 ▲0.21 | 39.23 ▼0.46 |
Dashboard /wp-admin | 3.52 ▲0.21 | 48.88 ▲1.89 |
Posts /wp-admin/edit.php | 3.63 ▲0.27 | 46.98 ▲2.67 |
Add New Post /wp-admin/post-new.php | 6.12 ▲0.23 | 77.66 ▼17.27 |
Media Library /wp-admin/upload.php | 3.44 ▲0.21 | 38.00 ▲6.01 |
About /wp-admin/admin.php?page=wpclever | 3.41 | 32.71 |
Essential Kit /wp-admin/admin.php?page=wpclever-kit | 3.41 | 31.67 |
Server storage [IO: ▲0.13MB] [DB: ▲0.02MB] Passed 3 tests
Analyzing filesystem and database footprints of this plugin
The plugin installed successfully
Filesystem: 16 new files
Database: no new tables, 6 new options
New WordPress options |
---|
widget_recent-posts |
can_compress_scripts |
widget_theysaidso_widget |
widget_recent-comments |
theysaidso_admin_options |
db_upgraded |
Browser metrics Passed 4 tests
WPC Smart Linked Products - Upsells & Cross-sells for WooCommerce: an overview of browser usage
This plugin renders optimally with no browser resource issues detected
Page | Nodes | Memory (MB) | Script (ms) | Layout (ms) |
---|---|---|---|---|
Home / | 2,866 ▲105 | 14.14 ▼0.15 | 1.77 ▼0.13 | 45.75 ▼0.56 |
Dashboard /wp-admin | 2,257 ▲80 | 5.79 ▲0.27 | 98.29 ▲13.35 | 76.72 ▲36.05 |
Posts /wp-admin/edit.php | 2,181 ▲81 | 1.98 ▼0.02 | 34.23 ▲0.42 | 34.00 ▼1.32 |
Add New Post /wp-admin/post-new.php | 1,763 ▲237 | 24.56 ▲1.51 | 663.40 ▼16.84 | 59.22 ▼5.58 |
Media Library /wp-admin/upload.php | 1,474 ▲74 | 4.22 ▲0.03 | 95.18 ▼0.88 | 85.65 ▲40.96 |
About /wp-admin/admin.php?page=wpclever | 1,405 | 2.14 | 29.96 | 34.84 |
Essential Kit /wp-admin/admin.php?page=wpclever-kit | 5,732 | 2.16 | 32.76 | 58.57 |
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
The following items require your attention
- Zombie WordPress options detected upon uninstall: 6 options
- db_upgraded
- theysaidso_admin_options
- can_compress_scripts
- widget_recent-comments
- widget_theysaidso_widget
- widget_recent-posts
Smoke tests Passed 4 tests
Server-side errors Passed 1 test
🔹 Test weight: 20 | A smoke test targeting server-side errors
The smoke test was a success, however most plugin functionality was not tested
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
Everything seems fine, however this is by no means an exhaustive test
User-side errors Passed 1 test
🔹 Test weight: 20 | A shallow check that no browser errors were triggered
No browser errors were detected
Optimizations
Plugin configuration 93% from 29 tests
readme.txt 94% from 16 tests
You should put a lot of thought into formatting readme.txt as it is used by WordPress.org to prepare the public listing of your plugin
Please fix the following attributes:
- Screenshots: No descriptions were found for these screenshots #1, #2 in wpc-smart-linked-products/assets to your readme.txt
wpc-smart-linked-products/wpc-smart-linked-products.php 92% from 13 tests
The principal PHP file in "WPC Smart Linked Products - Upsells & Cross-sells for WooCommerce" v. 1.2.8 is loaded by WordPress automatically on each request
It is important to fix the following:
- Description: If Twitter did it, so should we! Keep the description under 140 characters (currently 206 characters long)
Code Analysis Passed 3 tests
File types Passed 1 test
🔸 Test weight: 35 | A short review of files and their extensions; it is not recommended to include executable files
No dangerous file extensions were detected2,943 lines of code in 13 files:
Language | Files | Blank lines | Comment lines | Lines of code |
---|---|---|---|---|
CSS | 4 | 274 | 147 | 1,369 |
PHP | 5 | 158 | 30 | 1,161 |
JavaScript | 3 | 62 | 3 | 384 |
SVG | 1 | 0 | 0 | 29 |
PHP code Passed 2 tests
Analyzing cyclomatic complexity and code structure
No cyclomatic complexity issues were detected for this plugin
Cyclomatic complexity | |
---|---|
Average complexity per logical line of code | 0.54 |
Average class complexity | 53.25 |
▷ Minimum class complexity | 1.00 |
▷ Maximum class complexity | 165.00 |
Average method complexity | 6.10 |
▷ Minimum method complexity | 1.00 |
▷ Maximum method complexity | 41.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 | 41 | |
▷ Static methods | 5 | 12.20% |
▷ Public methods | 41 | 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