Benchmarks
Plugin footprint 83% from 16 tests
Installer Passed 1 test
🔺 Critical test (weight: 50) | Checking the installer triggered no errors
Install script ran successfully
Server metrics [RAM: ▲0.22MB] [CPU: ▼2.96ms] Passed 4 tests
This is a short check of server-side resources used by Shoppable Images
This plugin does not affect your website's performance
Page | Memory (MB) | CPU Time (ms) |
---|---|---|
Home / | 3.62 ▲0.15 | 45.63 ▲6.89 |
Dashboard /wp-admin | 3.60 ▲0.29 | 48.79 ▼0.85 |
Posts /wp-admin/edit.php | 3.65 ▲0.29 | 44.55 ▼5.17 |
Add New Post /wp-admin/post-new.php | 6.12 ▲0.23 | 95.36 ▼4.51 |
Media Library /wp-admin/upload.php | 3.46 ▲0.23 | 37.16 ▼1.32 |
Shoppable Images Lite /wp-admin/options-general.php?page=mabel-shoppable-images-lite | 3.51 | 37.19 |
Server storage [IO: ▲0.19MB] [DB: ▲0.00MB] Passed 3 tests
How much does this plugin use your filesystem and database?
The plugin installed successfully
Filesystem: 67 new files
Database: no new tables, 6 new options
New WordPress options |
---|
widget_theysaidso_widget |
can_compress_scripts |
widget_recent-posts |
widget_recent-comments |
theysaidso_admin_options |
db_upgraded |
Browser metrics Passed 4 tests
An overview of browser requirements for Shoppable Images
There were no issues detected in relation to browser resource usage
Page | Nodes | Memory (MB) | Script (ms) | Layout (ms) |
---|---|---|---|---|
Home / | 2,907 ▲146 | 13.52 ▼0.83 | 8.42 ▲6.49 | 43.01 ▲0.75 |
Dashboard /wp-admin | 2,202 ▲25 | 5.63 ▲0.03 | 83.56 ▼4.06 | 38.65 ▲0.78 |
Posts /wp-admin/edit.php | 2,104 ▲4 | 1.99 ▼0.04 | 36.11 ▲1.84 | 35.02 ▼2.70 |
Add New Post /wp-admin/post-new.php | 1,538 ▲10 | 18.42 ▼4.65 | 661.34 ▼26.87 | 68.53 ▲17.88 |
Media Library /wp-admin/upload.php | 1,401 ▼2 | 4.21 ▼0.05 | 107.07 ▲6.80 | 47.54 ▲4.65 |
Shoppable Images Lite /wp-admin/options-general.php?page=mabel-shoppable-images-lite | 1,489 | 4.39 | 96.20 | 34.01 |
Uninstaller [IO: ▲0.00MB] [DB: ▲0.00MB] 75% from 4 tests
🔸 Tests weight: 35 | All plugins must uninstall correctly, removing their source code and extra database tables they might have created
Please fix the following items
- This plugin does not fully uninstall, leaving 6 options in the database
- theysaidso_admin_options
- widget_theysaidso_widget
- can_compress_scripts
- widget_recent-comments
- widget_recent-posts
- db_upgraded
Smoke tests 50% from 4 tests
Server-side errors Passed 1 test
🔹 Test weight: 20 | This is a short smoke test looking for server-side errors
Even though no errors were found, this is by no means an exhaustive test
SRP 0% from 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
Almost there! Just fix the following items
- 4× PHP files output non-empty strings when accessed directly via GET requests:
- > /wp-content/plugins/mabel-shoppable-images-lite/core/views/fields/colorpicker.php
- > /wp-content/plugins/mabel-shoppable-images-lite/core/views/widget_form.php
- > /wp-content/plugins/mabel-shoppable-images-lite/core/views/fields/container-option.php
- > /wp-content/plugins/mabel-shoppable-images-lite/core/views/fields/hidden.php
- 38× GET requests to PHP files have triggered server-side errors or warnings (only 10 are shown):
- > PHP Fatal error
Uncaught Error: Class 'MABEL_SILITE\\Core\\Common\\Presentation_Base' not found in wp-content/plugins/mabel-shoppable-images-lite/core/common/class-frontend.php:6
- > PHP Notice
Undefined variable: option in wp-content/plugins/mabel-shoppable-images-lite/core/views/fields/container-option.php on line 10
- > PHP Fatal error
Uncaught Error: Call to undefined function _e() in wp-content/plugins/mabel-shoppable-images-lite/admin/views/all_images.php:2
- > PHP Fatal error
Uncaught Error: Class 'MABEL_SILITE\\Core\\Models\\Option' not found in wp-content/plugins/mabel-shoppable-images-lite/core/models/class-hidden-option.php:5
- > PHP Notice
Trying to get property 'value' of non-object in wp-content/plugins/mabel-shoppable-images-lite/core/views/fields/hidden.php on line 5
- > PHP Fatal error
Uncaught Error: Call to undefined function _e() in wp-content/plugins/mabel-shoppable-images-lite/admin/views/add_image.php:3
- > PHP Notice
Trying to get property 'name' of non-object in wp-content/plugins/mabel-shoppable-images-lite/core/views/fields/colorpicker.php on line 7
- > PHP Fatal error
Uncaught Error: Class 'WP_Widget' not found in wp-content/plugins/mabel-shoppable-images-lite/core/common/class-widget.php:10
- > PHP Notice
Undefined variable: model in wp-content/plugins/mabel-shoppable-images-lite/code/views/shoppable-image.php on line 7
- > PHP Warning
Invalid argument supplied for foreach() in wp-content/plugins/mabel-shoppable-images-lite/core/views/widget_form.php on line 9
- > PHP Fatal error
User-side errors Passed 1 test
🔹 Test weight: 20 | This is just a short smoke test looking for browser issues
Everything seems fine on the user side
Optimizations
Plugin configuration 90% from 29 tests
readme.txt 88% 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 a description for screenshot #4 in mabel-shoppable-images-lite/assets to your readme.txt
- Screenshots: Add an image for screenshot #14 (Example of how it could look on your website.)
mabel-shoppable-images-lite/mabel-shoppable-images-lite.php 92% from 13 tests
Analyzing the main PHP file in "Shoppable Images" version 1.2.5
It is important to fix the following:
- Requires at least: Required version does not match the one declared in readme.txt ("3.7" instead of "3.6.0")
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
Success! There were no dangerous files found in this plugin1,959 lines of code in 59 files:
Language | Files | Blank lines | Comment lines | Lines of code |
---|---|---|---|---|
PHP | 54 | 475 | 338 | 1,919 |
JavaScript | 2 | 0 | 0 | 21 |
SVG | 1 | 0 | 0 | 17 |
CSS | 2 | 0 | 0 | 2 |
PHP code Passed 2 tests
An short overview of logical lines of code, cyclomatic complexity, and other code metrics
Great job! No cyclomatic complexity issues were detected in this plugin
Cyclomatic complexity | |
---|---|
Average complexity per logical line of code | 0.29 |
Average class complexity | 4.41 |
▷ Minimum class complexity | 1.00 |
▷ Maximum class complexity | 29.00 |
Average method complexity | 2.15 |
▷ Minimum method complexity | 1.00 |
▷ Maximum method complexity | 11.00 |
Code structure | ||
---|---|---|
Namespaces | 8 | |
Interfaces | 0 | |
Traits | 0 | |
Classes | 37 | |
▷ Abstract classes | 2 | 5.41% |
▷ Concrete classes | 35 | 94.59% |
▷ Final classes | 0 | 0.00% |
Methods | 109 | |
▷ Static methods | 18 | 16.51% |
▷ Public methods | 97 | 88.99% |
▷ Protected methods | 0 | 0.00% |
▷ Private methods | 12 | 11.01% |
Functions | 5 | |
▷ Named functions | 2 | 40.00% |
▷ Anonymous functions | 3 | 60.00% |
Constants | 0 | |
▷ Global constants | 0 | 0.00% |
▷ Class constants | 0 | 0.00% |
▷ Public constants | 0 | 0.00% |
Plugin size Passed 2 tests
Image compression Passed 2 tests
It is recommended to compress PNG files in your plugin to minimize bandwidth usage
No PNG images were found in this plugin