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 gracefully, with no errors
Server metrics [RAM: ▲0.10MB] [CPU: ▼3.32ms] Passed 4 tests
This is a short check of server-side resources used by WPC Shoppable Images for WooCommerce
This plugin does not affect your website's performance
Page | Memory (MB) | CPU Time (ms) |
---|---|---|
Home / | 3.59 ▲0.08 | 44.69 ▼3.94 |
Dashboard /wp-admin | 47.49 ▲44.10 | 9,093,291.94 ▲9,093,222.59 |
Posts /wp-admin/edit.php | 3.54 ▲0.14 | 49.41 ▼2.13 |
Add New Post /wp-admin/post-new.php | 6.03 ▲0.10 | 90.87 ▼12.97 |
Media Library /wp-admin/upload.php | 3.35 ▲0.08 | 44.90 ▲5.77 |
About /wp-admin/admin.php?page=wpclever | 3.32 | 35.53 |
Essential Kit /wp-admin/admin.php?page=wpclever-kit | 3.53 | 34.41 |
Server storage [IO: ▲0.17MB] [DB: ▲0.02MB] Passed 3 tests
Input-output and database impact of this plugin
This plugin installed successfully
Filesystem: 27 new files
Database: no new tables, 6 new options
New WordPress options |
---|
widget_recent-comments |
theysaidso_admin_options |
widget_theysaidso_widget |
widget_recent-posts |
db_upgraded |
can_compress_scripts |
Browser metrics Passed 4 tests
WPC Shoppable Images for WooCommerce: an overview of browser usage
There were no issues detected in relation to browser resource usage
Page | Nodes | Memory (MB) | Script (ms) | Layout (ms) |
---|---|---|---|---|
Home / | 2,866 ▲120 | 14.27 ▼0.09 | 1.84 ▲0.09 | 46.34 ▲5.65 |
Dashboard /wp-admin | 2,260 ▲83 | 5.61 ▲0.05 | 86.66 ▼5.64 | 73.90 ▲28.92 |
Posts /wp-admin/edit.php | 2,181 ▲81 | 2.01 ▼0.01 | 34.08 ▲0.38 | 32.90 ▼1.81 |
Add New Post /wp-admin/post-new.php | 1,600 ▲74 | 23.10 ▼0.57 | 710.28 ▲25.15 | 62.43 ▲6.73 |
Media Library /wp-admin/upload.php | 1,471 ▲71 | 4.16 ▼0.04 | 107.62 ▼8.00 | 84.29 ▲37.33 |
About /wp-admin/admin.php?page=wpclever | 1,408 | 2.14 | 31.16 | 35.58 |
Essential Kit /wp-admin/admin.php?page=wpclever-kit | 5,735 | 2.16 | 31.43 | 58.22 |
Uninstaller [IO: ▲0.00MB] [DB: ▲0.02MB] 75% from 4 tests
🔸 Tests weight: 35 | Checking the uninstaller removed all traces of the plugin
You still need to fix the following
- Zombie WordPress options were found after uninstall: 6 options
- can_compress_scripts
- widget_recent-posts
- db_upgraded
- theysaidso_admin_options
- widget_theysaidso_widget
- widget_recent-comments
Smoke tests 75% from 4 tests
Server-side errors 0% from 1 test
🔹 Test weight: 20 | This is a shallow check for server-side errors
Please fix the following server-side errors
- 23 occurences, only the last one shown
- > GET request to /wp-admin/admin.php?page=wpclever-kit
- > POST request to /wp-cron.php?doing_wp_cron=1697551793.8827230930328369140625
- > Warning in wp-content/plugins/easy-age-verifier/lib/extras/wpApi.php+48
file_get_contents(): php_network_getaddresses: getaddrinfo failed: Name or service not known
- 23 occurences, only the last one shown
- > GET request to /wp-admin/admin.php?page=wpclever-kit
- > POST request to /wp-cron.php?doing_wp_cron=1697551793.8827230930328369140625
- > Warning in wp-content/plugins/easy-age-verifier/lib/extras/wpApi.php+48
file_get_contents(http://www.fillyourtaproom.com/wp-json/wp/v2/posts?per_page=10): failed to open stream: php_network_getaddresses: getaddrinfo failed: Name or service not known
SRP Passed 2 tests
🔹 Tests weight: 20 | The single-responsibility principle applies for WordPress plugins as well - please make sure your PHP files perform no actions when accessed directly
Congratulations! This plugin passed the SRP test
User-side errors Passed 1 test
🔹 Test weight: 20 | This is just a short smoke test looking for browser issues
No browser errors were detected
Optimizations
Plugin configuration 93% from 29 tests
readme.txt 94% from 16 tests
The readme.txt file describes your plugin functionality and requirements and it is parsed to prepare the your plugin's listing
Attributes that need to be fixed:
- Screenshots: Please add descriptions for these screenshots #1, #2, #3 in wpc-shoppable-images/assets to your readme.txt
wpc-shoppable-images/wpc-shoppable-images.php 92% from 13 tests
The main PHP script in "WPC Shoppable Images for WooCommerce" version 2.0.9 is automatically included on every request by WordPress
Please make the necessary changes and fix the following:
- Description: Please don't use more than 140 characters for the plugin description (currently 150 characters long)
Code Analysis Passed 3 tests
File types Passed 1 test
🔸 Test weight: 35 | Executable files are considered dangerous and should not be included with any WordPress plugin
Everything looks great! No dangerous files found in this plugin3,056 lines of code in 21 files:
Language | Files | Blank lines | Comment lines | Lines of code |
---|---|---|---|---|
CSS | 7 | 393 | 152 | 1,820 |
PHP | 6 | 125 | 22 | 907 |
JavaScript | 5 | 59 | 15 | 276 |
SVG | 3 | 1 | 0 | 53 |
PHP code Passed 2 tests
A short review of cyclomatic complexity and code structure
Although this was not an exhaustive test, there were no cyclomatic complexity issues detected
Cyclomatic complexity | |
---|---|
Average complexity per logical line of code | 0.40 |
Average class complexity | 20.00 |
▷ Minimum class complexity | 1.00 |
▷ Maximum class complexity | 44.00 |
Average method complexity | 3.83 |
▷ Minimum method complexity | 1.00 |
▷ Maximum method complexity | 32.00 |
Code structure | ||
---|---|---|
Namespaces | 0 | |
Interfaces | 0 | |
Traits | 0 | |
Classes | 6 | |
▷ Abstract classes | 0 | 0.00% |
▷ Concrete classes | 6 | 100.00% |
▷ Final classes | 0 | 0.00% |
Methods | 41 | |
▷ Static methods | 2 | 4.88% |
▷ Public methods | 39 | 95.12% |
▷ Protected methods | 0 | 0.00% |
▷ Private methods | 2 | 4.88% |
Functions | 3 | |
▷ Named functions | 2 | 66.67% |
▷ Anonymous functions | 1 | 33.33% |
Constants | 7 | |
▷ Global constants | 7 | 100.00% |
▷ Class constants | 0 | 0.00% |
▷ Public constants | 0 | 0.00% |
Plugin size Passed 2 tests
Image compression Passed 2 tests
Using a strong compression for your PNG files is a great way to speed-up your plugin
No PNG images were found in this plugin