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.22MB] [CPU: ▼9.37ms] Passed 4 tests
This is a short check of server-side resources used by Image Slider - Responsive jQuery Slider
Normal server usage
Page | Memory (MB) | CPU Time (ms) |
---|---|---|
Home / | 3.61 ▲0.15 | 39.21 ▼3.47 |
Dashboard /wp-admin | 3.58 ▲0.24 | 43.78 ▼14.82 |
Posts /wp-admin/edit.php | 3.65 ▲0.30 | 48.42 ▲0.14 |
Add New Post /wp-admin/post-new.php | 6.21 ▲0.32 | 72.21 ▼18.39 |
Media Library /wp-admin/upload.php | 3.44 ▲0.21 | 35.15 ▼0.79 |
Slider Settings /wp-admin/admin.php?page=ercs-settings | 3.50 | 32.30 |
All Sliders /wp-admin/admin.php?page=ercs-lists | 3.43 | 33.61 |
Server storage [IO: ▲1.29MB] [DB: ▲0.00MB] Passed 3 tests
How much does this plugin use your filesystem and database?
No storage issues were detected
Filesystem: 37 new files
Database: no new tables, 6 new options
New WordPress options |
---|
theysaidso_admin_options |
widget_recent-posts |
widget_recent-comments |
widget_theysaidso_widget |
can_compress_scripts |
db_upgraded |
Browser metrics Passed 4 tests
An overview of browser requirements for Image Slider - Responsive jQuery Slider
Normal browser usage
Page | Nodes | Memory (MB) | Script (ms) | Layout (ms) |
---|---|---|---|---|
Home / | 3,017 ▲271 | 15.58 ▲1.13 | 1.91 ▲0.19 | 41.90 ▼4.73 |
Dashboard /wp-admin | 2,401 ▲213 | 6.69 ▲0.79 | 138.09 ▲37.67 | 39.98 ▼2.32 |
Posts /wp-admin/edit.php | 2,301 ▲209 | 3.60 ▲1.58 | 50.78 ▲5.93 | 31.56 ▼3.57 |
Add New Post /wp-admin/post-new.php | 1,559 ▲23 | 23.40 ▲0.13 | 660.78 ▼24.01 | 36.11 ▼18.48 |
Media Library /wp-admin/upload.php | 1,443 ▲52 | 4.42 ▲0.25 | 97.05 ▲0.95 | 48.89 ▲4.88 |
Slider Settings /wp-admin/admin.php?page=ercs-settings | 1,762 | 3.32 | 40.54 | 48.72 |
All Sliders /wp-admin/admin.php?page=ercs-lists | 1,159 | 3.48 | 40.61 | 31.73 |
Uninstaller [IO: ▲0.00MB] [DB: ▲0.00MB] 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
- can_compress_scripts
- widget_recent-posts
- widget_theysaidso_widget
- widget_recent-comments
- db_upgraded
- theysaidso_admin_options
Smoke tests 75% from 4 tests
Server-side errors Passed 1 test
🔹 Test weight: 20 | Just a short smoke test targeting errors on the server (in the Apache logs)
Everything seems fine, however this is by no means an exhaustive test
SRP Passed 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
No output text or server-side errors detected on direct access of PHP files
User-side errors 0% from 1 test
🔹 Test weight: 20 | This is a smoke test targeting browser errors/issues
Please fix the following user-side errors
- 2 occurences, only the last one shown
- > GET request to /wp-admin/admin.php?page=ercs-lists
- > Console-api (warning) in unknown
/wp-admin/load-scripts.php?c=0&load%5Bchunk_0%5D=jquery-core,jquery-migrate,utils,moxiejs,plupload&ver=6.3.1 1:28609 "jQuery.Deferred exception: s(...).live is not a function" "TypeError: s(...).live is not a function\n at HTMLDocument.\u003Canonymous> (/wp-content/plugins/elegant-responsive-content-slider//assets/js/ercs-admin.min.js?ver=1:5:465)\n at e (/wp-admin/load-scripts.php?c=0&load%5Bchunk_0%5D=jquery-core,jquery-migrate,utils,moxiejs,plupload&ver=6.3.1:2:26990)\n at t (/wp-admin/load-scripts.php?c=0&load%5Bchunk_0%5D=jquery-core,jquery-migrate,utils,moxiejs,plupload&ver=6.3.1:2:27292)" undefined
- 2 occurences, only the last one shown
- > GET request to /wp-admin/admin.php?page=ercs-lists
- > Javascript (severe) in unknown
/wp-admin/load-scripts.php?c=0&load%5Bchunk_0%5D=jquery-core,jquery-migrate,utils,moxiejs,plupload&ver=6.3.1 1:28721 Uncaught TypeError: s(...).live is not a function
Optimizations
Plugin configuration 90% from 29 tests
readme.txt 94% from 16 tests
The readme.txt file is important because it is parsed by WordPress.org for the public listing of your plugin
These attributes need your attention:
- Screenshots: These screenshots require images: #1 (Adding Slider Contents.), #2 (Elegant Slider General Settings.), #3 (Elegant Slider Font Settings.), #4 (Elegant Slider Color Settings.), #5 (Elegant Slider Advanced Settings.), #6 (Demo of the slider (Boxed View).), #7 (Demo of the slider (Full View).)
elegant-responsive-content-slider/responsive-content-slider.php 85% from 13 tests
"Image Slider - Responsive jQuery Slider" version 1.0.2's main PHP file describes plugin functionality and also serves as the entry point to any WordPress functionality
It is important to fix the following:
- Main file name: The principal plugin file should be the same as the plugin slug ("elegant-responsive-content-slider.php" instead of "responsive-content-slider.php")
- Text Domain: If you choose to specify the text domain, it must be the same as the plugin slug; optional since WordPress version 4.6
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
Good job! No executable or dangerous file extensions detected1,558 lines of code in 15 files:
Language | Files | Blank lines | Comment lines | Lines of code |
---|---|---|---|---|
PHP | 8 | 52 | 130 | 946 |
CSS | 3 | 10 | 54 | 388 |
PO File | 1 | 100 | 114 | 221 |
JavaScript | 3 | 0 | 16 | 3 |
PHP code Passed 2 tests
This is a very shot review of cyclomatic complexity and code structure
No complexity issues detected
Cyclomatic complexity | |
---|---|
Average complexity per logical line of code | 0.35 |
Average class complexity | 17.50 |
▷ Minimum class complexity | 1.00 |
▷ Maximum class complexity | 34.00 |
Average method complexity | 7.60 |
▷ Minimum method complexity | 1.00 |
▷ Maximum method complexity | 30.00 |
Code structure | ||
---|---|---|
Namespaces | 0 | |
Interfaces | 0 | |
Traits | 0 | |
Classes | 2 | |
▷ Abstract classes | 0 | 0.00% |
▷ Concrete classes | 2 | 100.00% |
▷ Final classes | 0 | 0.00% |
Methods | 5 | |
▷ Static methods | 1 | 20.00% |
▷ Public methods | 3 | 60.00% |
▷ Protected methods | 0 | 0.00% |
▷ Private methods | 2 | 40.00% |
Functions | 17 | |
▷ Named functions | 17 | 100.00% |
▷ Anonymous functions | 0 | 0.00% |
Constants | 1 | |
▷ Global constants | 1 | 100.00% |
▷ Class constants | 0 | 0.00% |
▷ Public constants | 0 | 0.00% |
Plugin size 50% from 2 tests
Image compression 50% from 2 tests
All PNG images should be compressed to minimize bandwidth usage for end users
9 PNG files occupy 1.10MB with 0.54MB in potential savings
Potential savings
Compression of 5 random PNG files using pngquant | |||
---|---|---|---|
File | Size - original | Size - compressed | Savings |
screenshot-1.png | 50.18KB | 22.38KB | ▼ 55.40% |
assets/images/controls.png | 2.74KB | 1.42KB | ▼ 48.29% |
assets/images/ercs-buttons.png | 2.09KB | 1.35KB | ▼ 35.31% |
screenshot-4.png | 49.22KB | 22.38KB | ▼ 54.52% |
screenshot-3.png | 26.36KB | 12.41KB | ▼ 52.90% |