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
Install script ran successfully
Server metrics [RAM: ▲0.09MB] [CPU: ▼8.52ms] Passed 4 tests
A check of server-side resources used by Awesome Carousel Slider
This plugin has minimal impact on server resources
Page | Memory (MB) | CPU Time (ms) |
---|---|---|
Home / | 3.52 ▲0.05 | 40.75 ▼0.02 |
Dashboard /wp-admin | 3.45 ▲0.11 | 49.55 ▼16.03 |
Posts /wp-admin/edit.php | 3.50 ▲0.15 | 49.24 ▼0.01 |
Add New Post /wp-admin/post-new.php | 5.98 ▲0.09 | 94.37 ▼18.03 |
Media Library /wp-admin/upload.php | 3.31 ▲0.08 | 41.71 ▲5.03 |
Add New /wp-admin/post-new.php?post_type=carousels | 3.59 | 61.22 |
All Slides /wp-admin/edit.php?post_type=carousels | 3.42 | 35.78 |
Server storage [IO: ▲0.91MB] [DB: ▲0.07MB] Passed 3 tests
Analyzing filesystem and database footprints of this plugin
There were no storage issued detected upon installing this plugin
Filesystem: 119 new files
Database: no new tables, 8 new options
New WordPress options |
---|
widget_recent-posts |
can_compress_scripts |
widget_widget_carousel_slider |
db_upgraded |
theysaidso_admin_options |
widget_recent-comments |
carousel_slider_version |
widget_theysaidso_widget |
Browser metrics Passed 4 tests
A check of browser resources used by Awesome Carousel Slider
There were no issues detected in relation to browser resource usage
Page | Nodes | Memory (MB) | Script (ms) | Layout (ms) |
---|---|---|---|---|
Home / | 2,816 ▲55 | 14.72 ▲0.37 | 1.78 ▲0.13 | 44.47 ▲3.92 |
Dashboard /wp-admin | 2,222 ▲44 | 5.60 ▼0.05 | 85.20 ▼16.47 | 38.19 ▼3.76 |
Posts /wp-admin/edit.php | 2,127 ▲27 | 2.02 ▲0.02 | 38.15 ▼1.65 | 36.39 ▼1.11 |
Add New Post /wp-admin/post-new.php | 1,549 ▲21 | 23.07 ▼0.21 | 698.23 ▲96.40 | 57.67 ▲9.80 |
Media Library /wp-admin/upload.php | 1,427 ▲27 | 4.18 ▲0.00 | 102.94 ▲1.09 | 44.24 ▼1.56 |
Add New /wp-admin/post-new.php?post_type=carousels | 4,778 | 5.74 | 223.63 | 57.87 |
All Slides /wp-admin/edit.php?post_type=carousels | 1,152 | 1.92 | 36.73 | 31.71 |
Uninstaller [IO: ▲0.00MB] [DB: ▲0.07MB] 75% from 4 tests
🔸 Tests weight: 35 | Checking the uninstaller removed all traces of the plugin
These items require your attention
- This plugin did not uninstall successfully, leaving 8 options in the database
- theysaidso_admin_options
- carousel_slider_version
- widget_recent-comments
- db_upgraded
- widget_recent-posts
- widget_widget_carousel_slider
- can_compress_scripts
- widget_theysaidso_widget
Smoke tests 75% from 4 tests
Server-side errors Passed 1 test
🔹 Test weight: 20 | A shallow check that no server-side errors were triggered
Everything seems fine, however this is by no means an exhaustive test
SRP Passed 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
No output text or server-side errors detected on direct access of PHP files
User-side errors 0% from 1 test
🔹 Test weight: 20 | Just a short smoke test targeting errors on the browser (console and network errors and warnings)
There are user-side issues you should fix
- 5 occurences, only the last one shown
- > GET request to /wp-admin/post-new.php?post_type=carousels
- > Console-api (warning) in wp-admin/js/common.min.js?ver=6.3.1+1:283
wpColorPickerL10n.defaultLabel is deprecated since version 5.5.0! Use wp.i18n instead.
- 5 occurences, only the last one shown
- > GET request to /wp-admin/post-new.php?post_type=carousels
- > Console-api (warning) in wp-admin/js/common.min.js?ver=6.3.1+1:283
wpColorPickerL10n.pick is deprecated since version 5.5.0! Use wp.i18n instead.
- 5 occurences, only the last one shown
- > GET request to /wp-admin/post-new.php?post_type=carousels
- > Console-api (warning) in wp-admin/js/common.min.js?ver=6.3.1+1:283
wpColorPickerL10n.defaultString is deprecated since version 5.5.0! Use wp.i18n instead.
- 5 occurences, only the last one shown
- > GET request to /wp-admin/post-new.php?post_type=carousels
- > Console-api (warning) in wp-admin/js/common.min.js?ver=6.3.1+1:283
wpColorPickerL10n.defaultAriaLabel is deprecated since version 5.5.0! Use wp.i18n instead.
Optimizations
Plugin configuration 87% from 29 tests
readme.txt 88% from 16 tests
You should put a lot of thought into formatting readme.txt as it is used by WordPress.org to prepare the public listing of your plugin
Attributes that require attention:
- Screenshots: Screenshot #6 (This is the six screen shot) image not found
- Plugin Name: You should set the name of your plugin on the first line (
=== awesome-carousel-slider ===
)
awesome-carousel-slider/carousel-slider.php 85% from 13 tests
The main file in "Awesome Carousel Slider" v. 1.0.0 serves as a complement to information provided in readme.txt and as the entry point to the plugin
You should first fix the following items:
- Text Domain: The text domain is optional since WordPress version 4.6; if you do specify it, it must be the same as the plugin slug
- Main file name: Please rename the main PHP file in this plugin to the plugin slug ("awesome-carousel-slider.php" instead of "carousel-slider.php")
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 detected18,161 lines of code in 102 files:
Language | Files | Blank lines | Comment lines | Lines of code |
---|---|---|---|---|
JavaScript | 23 | 2,251 | 1,678 | 9,430 |
PHP | 44 | 820 | 1,021 | 4,865 |
Sass | 29 | 420 | 121 | 2,991 |
XML | 1 | 6 | 0 | 733 |
SVG | 3 | 0 | 0 | 140 |
CSS | 2 | 0 | 0 | 2 |
PHP code Passed 2 tests
Analyzing cyclomatic complexity and code structure
All good! No complexity issues found
Cyclomatic complexity | |
---|---|
Average complexity per logical line of code | 0.34 |
Average class complexity | 18.19 |
▷ Minimum class complexity | 2.00 |
▷ Maximum class complexity | 63.00 |
Average method complexity | 3.04 |
▷ Minimum method complexity | 1.00 |
▷ Maximum method complexity | 16.00 |
Code structure | ||
---|---|---|
Namespaces | 0 | |
Interfaces | 0 | |
Traits | 0 | |
Classes | 16 | |
▷ Abstract classes | 0 | 0.00% |
▷ Concrete classes | 16 | 100.00% |
▷ Final classes | 1 | 6.25% |
Methods | 139 | |
▷ Static methods | 18 | 12.95% |
▷ Public methods | 101 | 72.66% |
▷ Protected methods | 0 | 0.00% |
▷ Private methods | 38 | 27.34% |
Functions | 19 | |
▷ Named functions | 12 | 63.16% |
▷ Anonymous functions | 7 | 36.84% |
Constants | 10 | |
▷ Global constants | 10 | 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
No PNG images were found in this plugin