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 gracefully, with no errors
Server metrics [RAM: ▲0.19MB] [CPU: ▼2.98ms] Passed 4 tests
An overview of server-side resources used by Image Carousel
This plugin has minimal impact on server resources
Page | Memory (MB) | CPU Time (ms) |
---|---|---|
Home / | 3.70 ▲0.24 | 47.31 ▲9.49 |
Dashboard /wp-admin | 3.48 ▲0.17 | 45.66 ▼5.19 |
Posts /wp-admin/edit.php | 3.59 ▲0.23 | 45.74 ▼2.52 |
Add New Post /wp-admin/post-new.php | 6.09 ▲0.20 | 81.87 ▼8.15 |
Media Library /wp-admin/upload.php | 3.40 ▲0.17 | 38.07 ▲3.93 |
Server storage [IO: ▲0.68MB] [DB: ▲0.00MB] Passed 3 tests
Filesystem and database footprint
No storage issues were detected
Filesystem: 52 new files
Database: no new tables, 6 new options
New WordPress options |
---|
can_compress_scripts |
widget_recent-comments |
widget_recent-posts |
widget_theysaidso_widget |
theysaidso_admin_options |
db_upgraded |
Browser metrics Passed 4 tests
A check of browser resources used by Image Carousel
Minimal impact on browser resources
Page | Nodes | Memory (MB) | Script (ms) | Layout (ms) |
---|---|---|---|---|
Home / | 2,916 ▲181 | 13.51 ▼0.86 | 8.47 ▲6.69 | 46.59 ▲3.31 |
Dashboard /wp-admin | 2,218 ▲30 | 5.80 ▲0.90 | 96.78 ▼22.11 | 43.03 ▼1.55 |
Posts /wp-admin/edit.php | 2,101 ▲12 | 2.04 ▲0.04 | 34.10 ▼3.18 | 36.10 ▲1.89 |
Add New Post /wp-admin/post-new.php | 6,422 ▲4,889 | 27.36 ▲4.13 | 945.88 ▲262.57 | 68.12 ▲3.34 |
Media Library /wp-admin/upload.php | 1,400 ▲15 | 4.40 ▲0.28 | 99.17 ▼0.95 | 42.84 ▲0.97 |
Uninstaller [IO: ▲0.00MB] [DB: ▲0.00MB] 75% from 4 tests
🔸 Tests weight: 35 | Verifying that this plugin uninstalls completely without leaving any traces
Please fix the following items
- Zombie WordPress options were found after uninstall: 6 options
- theysaidso_admin_options
- widget_recent-posts
- widget_theysaidso_widget
- widget_recent-comments
- db_upgraded
- can_compress_scripts
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)
Even though everything seems fine, this is not an exhaustive test
SRP 50% from 2 tests
🔹 Tests weight: 20 | A shallow check of the single-responsibility principle; PHP files should perform no action - including output of placeholder text - and trigger no errors when accessed directly
Please take a closer look at the following
- 3× PHP files output non-empty strings when accessed directly via GET requests:
- > /wp-content/plugins/image-carousel/inc/icp-metabox.php
- > /wp-content/plugins/image-carousel/image-carousel.php
- > /wp-content/plugins/image-carousel/inc/functions/icp-functions.php
User-side errors Passed 1 test
🔹 Test weight: 20 | This is just a short smoke test looking for browser issues
Everything seems fine, but this is not an exhaustive test
Optimizations
Plugin configuration Passed 29 tests
readme.txt Passed 16 tests
The readme.txt file is undoubtedly the most important file in your plugin, preparing it for public listing on WordPress.org
10 plugin tags: image carousel, image gallery, block carousel, gallery, image...
image-carousel/image-carousel.php Passed 13 tests
The main PHP file in "Image Carousel" ver. 1.0.0.39 adds more information about the plugin and also serves as the entry point for this plugin
89 characters long description:
Touch enabled Wordpress plugin that lets you create a beautiful responsive image carousel
Code Analysis Passed 3 tests
File types Passed 1 test
🔸 Test weight: 35 | A short review of files and their extensions; it is not recommended to include executable files
No dangerous file extensions were detected9,537 lines of code in 30 files:
Language | Files | Blank lines | Comment lines | Lines of code |
---|---|---|---|---|
CSS | 7 | 875 | 147 | 4,670 |
PO File | 8 | 640 | 680 | 1,802 |
PHP | 10 | 690 | 367 | 1,708 |
JavaScript | 5 | 202 | 588 | 1,357 |
PHP code Passed 2 tests
Cyclomatic complexity and code structure are the fingerprint of this plugin
There were no cyclomatic complexity issued detected
Cyclomatic complexity | |
---|---|
Average complexity per logical line of code | 0.49 |
Average class complexity | 27.20 |
▷ Minimum class complexity | 4.00 |
▷ Maximum class complexity | 96.00 |
Average method complexity | 7.55 |
▷ Minimum method complexity | 1.00 |
▷ Maximum method complexity | 91.00 |
Code structure | ||
---|---|---|
Namespaces | 0 | |
Interfaces | 0 | |
Traits | 0 | |
Classes | 5 | |
▷ Abstract classes | 0 | 0.00% |
▷ Concrete classes | 5 | 100.00% |
▷ Final classes | 0 | 0.00% |
Methods | 20 | |
▷ Static methods | 5 | 25.00% |
▷ Public methods | 18 | 90.00% |
▷ Protected methods | 2 | 10.00% |
▷ Private methods | 0 | 0.00% |
Functions | 39 | |
▷ Named functions | 39 | 100.00% |
▷ Anonymous functions | 0 | 0.00% |
Constants | 8 | |
▷ Global constants | 8 | 100.00% |
▷ Class constants | 0 | 0.00% |
▷ Public constants | 0 | 0.00% |
Plugin size Passed 2 tests
Image compression Passed 2 tests
It is recommended to compress PNG files in your plugin to minimize bandwidth usage
6 PNG files occupy 0.11MB with 0.06MB in potential savings
Potential savings
Compression of 5 random PNG files using pngquant | |||
---|---|---|---|
File | Size - original | Size - compressed | Savings |
inc/images/icp-icon.png | 2.96KB | 0.27KB | ▼ 90.75% |
css/images/controls.png | 2.74KB | 1.42KB | ▼ 48.29% |
css/images/controls_white.png | 4.79KB | 1.42KB | ▼ 70.44% |
inc/images/info.png | 2.01KB | 1.62KB | ▼ 19.37% |
inc/images/carousel-pro.png | 92.14KB | 35.46KB | ▼ 61.52% |