Benchmarks
Plugin footprint 83% from 16 tests
Installer Passed 1 test
🔺 Critical test (weight: 50) | All plugins must install correctly, without throwing any errors, warnings, or notices
The plugin installed successfully, without throwing any errors or notices
Server metrics [RAM: ▲0.02MB] [CPU: ▼10.38ms] Passed 4 tests
An overview of server-side resources used by eCommerce Product Slider Gallery
Server-side resource usage in normal parameters
Page | Memory (MB) | CPU Time (ms) |
---|---|---|
Home / | 3.50 ▲0.04 | 41.18 ▲3.36 |
Dashboard /wp-admin | 3.34 ▼0.01 | 48.25 ▼8.02 |
Posts /wp-admin/edit.php | 3.39 ▲0.03 | 43.11 ▼4.82 |
Add New Post /wp-admin/post-new.php | 5.94 ▲0.06 | 79.25 ▼27.42 |
Media Library /wp-admin/upload.php | 3.26 ▲0.03 | 34.49 ▼1.25 |
Add New /wp-admin/post-new.php?post_type=epsg_slider | 3.71 | 44.40 |
All Sliders /wp-admin/edit.php?post_type=epsg_slider | 3.30 | 34.22 |
Server storage [IO: ▲1.71MB] [DB: ▲0.07MB] Passed 3 tests
Input-output and database impact of this plugin
This plugin installed successfully
Filesystem: 37 new files
Database: no new tables, 6 new options
New WordPress options |
---|
widget_recent-posts |
widget_recent-comments |
db_upgraded |
can_compress_scripts |
theysaidso_admin_options |
widget_theysaidso_widget |
Browser metrics Passed 4 tests
This is an overview of browser requirements for eCommerce Product Slider Gallery
Minimal impact on browser resources
Page | Nodes | Memory (MB) | Script (ms) | Layout (ms) |
---|---|---|---|---|
Home / | 2,982 ▲221 | 13.71 ▼0.73 | 12.80 ▲10.82 | 44.73 ▲7.19 |
Dashboard /wp-admin | 2,271 ▲90 | 5.62 ▼0.12 | 86.32 ▼21.62 | 83.06 ▲37.47 |
Posts /wp-admin/edit.php | 2,174 ▲74 | 2.16 ▲0.19 | 35.85 ▼7.18 | 32.75 ▼2.11 |
Add New Post /wp-admin/post-new.php | 1,748 ▲222 | 22.59 ▼0.29 | 692.46 ▼4.24 | 53.73 ▼5.73 |
Media Library /wp-admin/upload.php | 1,476 ▲73 | 4.30 ▲0.09 | 97.14 ▼2.47 | 83.32 ▲40.21 |
Add New /wp-admin/post-new.php?post_type=epsg_slider | 3,103 | 2.64 | 53.68 | 80.83 |
All Sliders /wp-admin/edit.php?post_type=epsg_slider | 1,158 | 1.99 | 32.35 | 31.74 |
Uninstaller [IO: ▲0.00MB] [DB: ▲0.07MB] 75% from 4 tests
🔸 Tests weight: 35 | Verifying that this plugin uninstalls completely without leaving any traces
It is recommended to fix the following
- Zombie WordPress options detected upon uninstall: 6 options
- db_upgraded
- widget_theysaidso_widget
- widget_recent-comments
- widget_recent-posts
- can_compress_scripts
- theysaidso_admin_options
Smoke tests 50% from 4 tests
Server-side errors Passed 1 test
🔹 Test weight: 20 | A shallow check that no server-side errors were triggered
Even though no errors were found, this is by no means an exhaustive test
SRP 50% from 2 tests
🔹 Tests weight: 20 | SRP (Single-Responsibility Principle) - PHP files must act as libraries and never output text or perform any action when accessed directly in a browser
Please fix the following items
- 9× PHP files trigger server errors when accessed directly:
- > PHP Fatal error
Uncaught Error: Call to undefined function add_action() in wp-content/plugins/ecommerce-product-slider-gallery/inc/cpt/product-slider-cpt.php:3
- > PHP Warning
Use of undefined constant EPSG_PATH - assumed 'EPSG_PATH' (this will throw an Error in a future version of PHP) in wp-content/plugins/ecommerce-product-slider-gallery/inc/slider-layouts/layout-one/layout-one.php on line 2
- > PHP Fatal error
Uncaught Error: Call to undefined function add_action() in wp-content/plugins/ecommerce-product-slider-gallery/inc/dashboard_notice.php:3
- > PHP Fatal error
Uncaught Error: Call to undefined function add_shortcode() in wp-content/plugins/ecommerce-product-slider-gallery/inc/shortcode.php:3
- > PHP Fatal error
require(): Failed opening required 'EPSG_PATHinc/slider-layouts/layout-one/css/layout-one-css.php' (include_path='.:/usr/share/php') in wp-content/plugins/ecommerce-product-slider-gallery/inc/slider-layouts/layout-one/layout-one.php on line 2
- > PHP Fatal error
Uncaught Error: Call to undefined function add_action() in wp-content/plugins/ecommerce-product-slider-gallery/inc/enqueue.php:3
- > PHP Warning
require(EPSG_PATHinc/slider-layouts/layout-one/css/layout-one-css.php): failed to open stream: No such file or directory in wp-content/plugins/ecommerce-product-slider-gallery/inc/slider-layouts/layout-one/layout-one.php on line 2
- > PHP Fatal error
Uncaught Error: Call to undefined function wp_enqueue_script() in wp-content/plugins/ecommerce-product-slider-gallery/inc/cpt/product-slider-settings.php:2
- > PHP Fatal error
Uncaught Error: Call to undefined function get_post_meta() in wp-content/plugins/ecommerce-product-slider-gallery/inc/slider-layouts/layout-one/css/layout-one-css.php:2
- > PHP Fatal error
User-side errors 0% from 1 test
🔹 Test weight: 20 | This is just a short smoke test looking for browser issues
There are user-side issues you should fix
- > GET request to /wp-admin/post-new.php?post_type=epsg_slider
- > Rendering (warning) in unknown
/wp-admin/post-new.php?post_type=epsg_slider 735 The specified value "#000" does not conform to the required format. The format is "#rrggbb" where rr, gg, bb are two-digit hexadecimal numbers.
- > GET request to /wp-admin/post-new.php?post_type=epsg_slider
- > Rendering (warning) in unknown
/wp-admin/post-new.php?post_type=epsg_slider 747 The specified value "000" does not conform to the required format. The format is "#rrggbb" where rr, gg, bb are two-digit hexadecimal numbers.
- > GET request to /wp-admin/post-new.php?post_type=epsg_slider
- > Rendering (warning) in unknown
/wp-admin/post-new.php?post_type=epsg_slider 759 The specified value "#000" does not conform to the required format. The format is "#rrggbb" where rr, gg, bb are two-digit hexadecimal numbers.
- > GET request to /wp-admin/post-new.php?post_type=epsg_slider
- > Rendering (warning) in unknown
/wp-admin/post-new.php?post_type=epsg_slider 763 The specified value "#000" does not conform to the required format. The format is "#rrggbb" where rr, gg, bb are two-digit hexadecimal numbers.
- > GET request to /wp-admin/post-new.php?post_type=epsg_slider
- > Rendering (warning) in unknown
/wp-admin/post-new.php?post_type=epsg_slider 792 The specified value "#000" does not conform to the required format. The format is "#rrggbb" where rr, gg, bb are two-digit hexadecimal numbers.
- > GET request to /wp-admin/post-new.php?post_type=epsg_slider
- > Rendering (warning) in unknown
/wp-admin/post-new.php?post_type=epsg_slider 804 The specified value "#000" does not conform to the required format. The format is "#rrggbb" where rr, gg, bb are two-digit hexadecimal numbers.
- > GET request to /wp-admin/post-new.php?post_type=epsg_slider
- > Rendering (warning) in unknown
/wp-admin/post-new.php?post_type=epsg_slider 817 The specified value "#000" does not conform to the required format. The format is "#rrggbb" where rr, gg, bb are two-digit hexadecimal numbers.
- > GET request to /wp-admin/post-new.php?post_type=epsg_slider
- > Rendering (warning) in unknown
/wp-admin/post-new.php?post_type=epsg_slider 821 The specified value "#000" does not conform to the required format. The format is "#rrggbb" where rr, gg, bb are two-digit hexadecimal numbers.
- > GET request to /wp-admin/post-new.php?post_type=epsg_slider
- > Rendering (warning) in unknown
/wp-admin/post-new.php?post_type=epsg_slider 850 The specified value "#000" does not conform to the required format. The format is "#rrggbb" where rr, gg, bb are two-digit hexadecimal numbers.
Optimizations
Plugin configuration 93% from 29 tests
readme.txt 94% from 16 tests
The readme.txt file is undoubtedly the most important file in your plugin, preparing it for public listing on WordPress.org
Please fix the following attributes:
- Tags: Please delete some tags, you are using 33 tag instead of maximum 10
ecommerce-product-slider-gallery/ecommerce-product-slider-gallery.php 92% from 13 tests
The principal PHP file in "eCommerce Product Slider Gallery" v. 1.0.2 is loaded by WordPress automatically on each request
You should first fix the following items:
- Description: The description should be shorter than 140 characters (currently 231 characters long)
Code Analysis Passed 3 tests
File types Passed 1 test
🔸 Test weight: 35 | An overview of files in this plugin; executable files are not allowed
Everything looks great! No dangerous files found in this plugin17,042 lines of code in 27 files:
Language | Files | Blank lines | Comment lines | Lines of code |
---|---|---|---|---|
CSS | 10 | 835 | 128 | 13,526 |
PHP | 9 | 20 | 68 | 1,523 |
JavaScript | 7 | 103 | 23 | 1,308 |
SVG | 1 | 0 | 0 | 685 |
PHP code Passed 2 tests
An overview 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.25 |
Average class complexity | 0.00 |
▷ Minimum class complexity | 0.00 |
▷ Maximum class complexity | 0.00 |
Average method complexity | 0.00 |
▷ Minimum method complexity | 0.00 |
▷ Maximum method complexity | 0.00 |
Code structure | ||
---|---|---|
Namespaces | 0 | |
Interfaces | 0 | |
Traits | 0 | |
Classes | 0 | |
▷ Abstract classes | 0 | 0.00% |
▷ Concrete classes | 0 | 0.00% |
▷ Final classes | 0 | 0.00% |
Methods | 0 | |
▷ Static methods | 0 | 0.00% |
▷ Public methods | 0 | 0.00% |
▷ Protected methods | 0 | 0.00% |
▷ Private methods | 0 | 0.00% |
Functions | 16 | |
▷ Named functions | 16 | 100.00% |
▷ Anonymous functions | 0 | 0.00% |
Constants | 2 | |
▷ Global constants | 2 | 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
3 PNG files occupy 0.01MB with 0.00MB in potential savings
Potential savings
Compression of 3 random PNG files using pngquant | |||
---|---|---|---|
File | Size - original | Size - compressed | Savings |
assets/images/product-notice.png | 7.39KB | 2.70KB | ▼ 63.47% |
assets/images/chosen-sprite.png | 0.53KB | 0.88KB | 0.00% |
assets/images/product Icon.png | 3.49KB | 1.05KB | ▼ 69.97% |