Benchmarks
Plugin footprint 58% from 16 tests
Installer 0% from 1 test
🔺 Critical test (weight: 50) | It is important to correctly install your plugin, without throwing errors or notices
You still need to fix the following installer errors
- Install procedure validation failed for this plugin
- > User deprecated in wp-includes/functions.php+5453
Function get_page_by_title is deprecated since version 6.2.0! Use WP_Query instead.
Server metrics [RAM: ▲0.89MB] [CPU: ▲2.17ms] Passed 4 tests
Server-side resources used by Slide Anything - Responsive Content / HTML Slider and Carousel
Server-side resource usage in normal parameters
Page | Memory (MB) | CPU Time (ms) |
---|---|---|
Home / | 4.21 ▲0.74 | 47.24 ▲5.95 |
Dashboard /wp-admin | 4.24 ▲0.93 | 53.37 ▼2.62 |
Posts /wp-admin/edit.php | 4.33 ▲0.97 | 49.03 ▲4.42 |
Add New Post /wp-admin/post-new.php | 6.83 ▲0.94 | 86.28 ▲0.93 |
Media Library /wp-admin/upload.php | 4.17 ▲0.94 | 49.00 ▲15.49 |
SA Sliders /wp-admin/edit.php?post_type=sa_slider | 4.24 | 50.31 |
Re-Order Slides /wp-admin/edit.php?post_type=sa_slider&page=reorderslides | 4.16 | 43.15 |
Add New Slider /wp-admin/post-new.php?post_type=sa_slider | 4.09 | 50.23 |
Server storage [IO: ▲1.09MB] [DB: ▲0.01MB] Passed 3 tests
A short overview of filesystem and database impact
The plugin installed successfully
Filesystem: 76 new files
Database: no new tables, 6 new options
New WordPress options |
---|
can_compress_scripts |
widget_recent-posts |
widget_theysaidso_widget |
theysaidso_admin_options |
db_upgraded |
widget_recent-comments |
Browser metrics Passed 4 tests
Checking browser requirements for Slide Anything - Responsive Content / HTML Slider and Carousel
There were no issues detected in relation to browser resource usage
Page | Nodes | Memory (MB) | Script (ms) | Layout (ms) |
---|---|---|---|---|
Home / | 2,828 ▲67 | 14.38 ▼0.20 | 1.76 ▲0.02 | 40.26 ▼6.45 |
Dashboard /wp-admin | 2,234 ▲57 | 5.63 ▼0.01 | 79.09 ▼17.81 | 39.83 ▼3.38 |
Posts /wp-admin/edit.php | 2,133 ▲33 | 1.97 ▼0.04 | 35.61 ▲1.27 | 31.95 ▼4.43 |
Add New Post /wp-admin/post-new.php | 1,557 ▲31 | 23.00 ▼0.97 | 657.18 ▼53.50 | 59.21 ▼0.46 |
Media Library /wp-admin/upload.php | 1,439 ▲39 | 4.18 ▼0.03 | 98.14 ▼14.36 | 42.24 ▼2.18 |
SA Sliders /wp-admin/edit.php?post_type=sa_slider | 1,854 | 3.75 | 53.28 | 30.04 |
Re-Order Slides /wp-admin/edit.php?post_type=sa_slider&page=reorderslides | 1,062 | 3.71 | 44.30 | 32.69 |
Add New Slider /wp-admin/post-new.php?post_type=sa_slider | 6,782 | 9.46 | 351.56 | 206.90 |
Uninstaller [IO: ▲0.00MB] [DB: ▲0.01MB] 75% from 4 tests
🔸 Tests weight: 35 | Checking the uninstaller removed all traces of the plugin
Please fix the following items
- This plugin does not fully uninstall, leaving 6 options in the database
- can_compress_scripts
- widget_recent-posts
- widget_theysaidso_widget
- widget_recent-comments
- db_upgraded
- theysaidso_admin_options
Smoke tests 50% from 4 tests
Server-side errors 0% from 1 test
🔹 Test weight: 20 | Just a short smoke test targeting errors on the server (in the Apache logs)
Smoke test failed, please fix the following
- 3 occurences, only the last one shown
- > GET request to /wp-admin/post-new.php?post_type=sa_slider
- > Notice in wp-content/plugins/slide-anything/php/slide-anything-admin.php+1315
Undefined variable: preview_button
SRP 50% from 2 tests
🔹 Tests weight: 20 | The single-responsibility principle: PHP files have to remain inert when accessed directly, throwing no errors and performing no actions
Almost there! Just fix the following items
- 2× GET requests to PHP files trigger server-side errors or Error 500 responses:
- > PHP Fatal error
Uncaught Error: Call to undefined function add_shortcode() in wp-content/plugins/slide-anything/php/slide-anything-frontend.php:13
- > PHP Fatal error
Uncaught Error: Call to undefined function language_attributes() in wp-content/plugins/slide-anything/php/single-page.php:11
- > PHP Fatal error
User-side errors Passed 1 test
🔹 Test weight: 20 | A shallow check that no browser errors were triggered
No browser errors were detected
Optimizations
Plugin configuration 96% from 29 tests
readme.txt Passed 16 tests
The readme.txt file uses markdown syntax to describe your plugin to the world
6 plugin tags: html slider, owl carousel, content slider, carousel, slider...
slide-anything/slide-anything.php 92% from 13 tests
The main file in "Slide Anything - Responsive Content / HTML Slider and Carousel" v. 2.4.9 serves as a complement to information provided in readme.txt and as the entry point to the plugin
It is important to fix the following:
- Description: Please keep the plugin description shorter than 140 characters (currently 283 characters long)
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 plugin11,750 lines of code in 31 files:
Language | Files | Blank lines | Comment lines | Lines of code |
---|---|---|---|---|
CSS | 14 | 433 | 140 | 4,917 |
PHP | 4 | 226 | 504 | 3,931 |
JavaScript | 12 | 434 | 457 | 2,848 |
SVG | 1 | 0 | 0 | 54 |
PHP code Passed 2 tests
A short review of cyclomatic complexity and code structure
There were no cyclomatic complexity issued detected
Cyclomatic complexity | |
---|---|
Average complexity per logical line of code | 0.30 |
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 | 31 | |
▷ Named functions | 31 | 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 Passed 2 tests
Image compression Passed 2 tests
Often times overlooked, PNG files can occupy unnecessary space in your plugin
36 PNG files occupy 0.10MB with 0.04MB in potential savings
Potential savings
Compression of 5 random PNG files using pngquant | |||
---|---|---|---|
File | Size - original | Size - compressed | Savings |
images/ui-icons_777777_256x240.png | 6.83KB | 4.17KB | ▼ 38.92% |
images/slide_anything_pro_product_image.png | 10.26KB | 4.37KB | ▼ 57.43% |
images/icon_next.png | 0.25KB | 0.23KB | ▼ 8.43% |
images/sample_logo3.png | 2.76KB | 0.85KB | ▼ 69.08% |
images/ui-icons_777620_256x240.png | 4.44KB | 4.17KB | ▼ 6.02% |