Benchmarks
Plugin footprint 83% from 16 tests
Installer Passed 1 test
🔺 Critical test (weight: 50) | The install procedure must perform silently
The plugin installed gracefully, with no errors
Server metrics [RAM: ▲0.41MB] [CPU: ▼1.77ms] Passed 4 tests
A check of server-side resources used by Image Slider by Ays- Responsive Slider and Carousel
This plugin has minimal impact on server resources
Page | Memory (MB) | CPU Time (ms) |
---|---|---|
Home / | 3.81 ▲0.35 | 38.69 ▼4.67 |
Dashboard /wp-admin | 3.76 ▲0.46 | 50.99 ▲4.11 |
Posts /wp-admin/edit.php | 3.80 ▲0.44 | 51.12 ▲5.17 |
Add New Post /wp-admin/post-new.php | 6.39 ▲0.50 | 89.38 ▼10.12 |
Media Library /wp-admin/upload.php | 3.64 ▲0.41 | 38.59 ▲3.62 |
Ays Slider /wp-admin/options-general.php?page=ays-slider | 3.74 | 42.63 |
Server storage [IO: ▲3.38MB] [DB: ▲0.00MB] Passed 3 tests
Filesystem and database footprint
There were no storage issued detected upon installing this plugin
Filesystem: 87 new files
Database: 1 new table, 9 new options
New tables |
---|
wp_ays_slider |
New WordPress options |
---|
ays_slider_db_version |
widget_recent-posts |
can_compress_scripts |
ays_slider_sale_btn |
db_upgraded |
widget_theysaidso_widget |
widget_recent-comments |
ays_slider_banner_time |
theysaidso_admin_options |
Browser metrics Passed 4 tests
Checking browser requirements for Image Slider by Ays- Responsive Slider and Carousel
There were no issues detected in relation to browser resource usage
Page | Nodes | Memory (MB) | Script (ms) | Layout (ms) |
---|---|---|---|---|
Home / | 2,839 ▲77 | 14.22 ▼0.50 | 1.61 ▼0.09 | 37.19 ▼8.00 |
Dashboard /wp-admin | 2,242 ▲65 | 5.52 ▼0.06 | 91.14 ▼8.58 | 81.62 ▲32.40 |
Posts /wp-admin/edit.php | 2,144 ▲41 | 1.99 ▼0.01 | 41.41 ▲6.79 | 37.05 ▲0.87 |
Add New Post /wp-admin/post-new.php | 1,567 ▲41 | 23.25 ▲0.29 | 695.69 ▲40.38 | 51.67 ▼7.83 |
Media Library /wp-admin/upload.php | 1,450 ▲50 | 4.15 ▼0.05 | 93.29 ▼14.08 | 72.98 ▲27.50 |
Ays Slider /wp-admin/options-general.php?page=ays-slider | 1,808 | 6.58 | 129.26 | 181.21 |
Uninstaller [IO: ▲0.00MB] [DB: ▲0.00MB] 75% from 4 tests
🔸 Tests weight: 35 | The uninstall procedure must remove all plugin files and extra database tables
It is recommended to fix the following
- This plugin did not uninstall successfully, leaving 8 options in the database
- widget_recent-comments
- db_upgraded
- theysaidso_admin_options
- widget_recent-posts
- can_compress_scripts
- widget_theysaidso_widget
- ays_slider_sale_btn
- ays_slider_banner_time
Smoke tests 50% from 4 tests
Server-side errors Passed 1 test
🔹 Test weight: 20 | A smoke test targeting server-side errors
Everything seems fine, however this is by no means an exhaustive test
SRP 0% 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
Almost there! Just fix the following items
- 1× PHP files output non-empty strings when accessed directly via GET requests:
- > /wp-content/plugins/ays-slider/public/partials/ays-slider-public-display.php
- 4× PHP files trigger server-side errors or warnings when accessed directly:
- > PHP Fatal error
Uncaught Error: Call to undefined function __() in wp-content/plugins/ays-slider/admin/partials/actions/ays-slider-admin-actions.php:79
- > PHP Fatal error
Uncaught Error: Call to undefined function plugins_url() in wp-content/plugins/ays-slider/widgets/ays-slider-widget.php:3
- > PHP Fatal error
Uncaught Error: Call to undefined function __() in wp-content/plugins/ays-slider/admin/partials/ays-slider-admin-display.php:20
- > PHP Fatal error
Uncaught Error: Class 'WP_List_Table' not found in wp-content/plugins/ays-slider/includes/lists/class-ays-slider-list-table.php:3
- > PHP Fatal error
User-side errors Passed 1 test
🔹 Test weight: 20 | This is a shallow check for browser errors
There were no browser issues found
Optimizations
Plugin configuration 97% from 29 tests
readme.txt 94% from 16 tests
Often overlooked, readme.txt is one of the most important files in your plugin
Please fix the following attributes:
- Screenshots: Screenshot #7 (Ays image slider - admin preview) image required
ays-slider/ays-slider.php Passed 13 tests
Analyzing the main PHP file in "Image Slider by Ays- Responsive Slider and Carousel" version 2.6.5
53 characters long description:
Create Beautifull And Responsive Sliders With Effects
Code Analysis Passed 3 tests
File types Passed 1 test
🔸 Test weight: 35 | Executable files are not allowed as they can serve as attack vectors
Everything looks great! No dangerous files found in this plugin5,509 lines of code in 46 files:
Language | Files | Blank lines | Comment lines | Lines of code |
---|---|---|---|---|
PHP | 16 | 405 | 829 | 2,764 |
CSS | 14 | 404 | 324 | 2,013 |
JavaScript | 12 | 77 | 97 | 655 |
SVG | 4 | 0 | 0 | 77 |
PHP code Passed 2 tests
This is a short overview of cyclomatic complexity and code structure for this plugin
This plugin has no cyclomatic complexity issues
Cyclomatic complexity | |
---|---|
Average complexity per logical line of code | 0.49 |
Average class complexity | 29.78 |
▷ Minimum class complexity | 1.00 |
▷ Maximum class complexity | 83.00 |
Average method complexity | 4.92 |
▷ Minimum method complexity | 1.00 |
▷ Maximum method complexity | 74.00 |
Code structure | ||
---|---|---|
Namespaces | 0 | |
Interfaces | 0 | |
Traits | 0 | |
Classes | 9 | |
▷ Abstract classes | 0 | 0.00% |
▷ Concrete classes | 9 | 100.00% |
▷ Final classes | 0 | 0.00% |
Methods | 66 | |
▷ Static methods | 7 | 10.61% |
▷ Public methods | 61 | 92.42% |
▷ Protected methods | 0 | 0.00% |
▷ Private methods | 5 | 7.58% |
Functions | 7 | |
▷ Named functions | 7 | 100.00% |
▷ Anonymous functions | 0 | 0.00% |
Constants | 6 | |
▷ Global constants | 6 | 100.00% |
▷ Class constants | 0 | 0.00% |
▷ Public constants | 0 | 0.00% |
Plugin size 50% from 2 tests
Image compression 50% from 2 tests
It is recommended to compress PNG files in your plugin to minimize bandwidth usage
10 PNG files occupy 0.66MB with 0.32MB in potential savings
Potential savings
Compression of 5 random PNG files using pngquant | |||
---|---|---|---|
File | Size - original | Size - compressed | Savings |
admin/images/winter-backround-bundle.png | 195.70KB | 95.87KB | ▼ 51.01% |
admin/images/huge_bundle_logo.png | 11.52KB | 4.06KB | ▼ 64.79% |
admin/images/ays_pro.png | 18.67KB | 4.33KB | ▼ 76.82% |
admin/images/black_friday_greate_bundle.png | 10.00KB | 10.02KB | 0.00% |
admin/images/winter_bundle_logo_background_2.png | 357.75KB | 171.13KB | ▼ 52.16% |