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.08MB] [CPU: ▼2.69ms] Passed 4 tests
Analyzing server-side resources used by WP Slick Slider and Image Carousel
This plugin has minimal impact on server resources
Page | Memory (MB) | CPU Time (ms) |
---|---|---|
Home / | 3.55 ▲0.08 | 34.08 ▼7.58 |
Dashboard /wp-admin | 3.38 ▲0.07 | 45.32 ▼4.70 |
Posts /wp-admin/edit.php | 3.43 ▲0.07 | 49.62 ▲1.08 |
Add New Post /wp-admin/post-new.php | 6.00 ▲0.11 | 96.57 ▲3.76 |
Media Library /wp-admin/upload.php | 3.30 ▲0.07 | 33.31 ▲0.44 |
Server storage [IO: ▲0.81MB] [DB: ▲0.00MB] Passed 3 tests
How much does this plugin use your filesystem and database?
This plugin was installed successfully
Filesystem: 61 new files
Database: no new tables, 8 new options
New WordPress options |
---|
wpos_anylc_redirect |
wpos_anylc_site_uid |
widget_recent-posts |
widget_recent-comments |
theysaidso_admin_options |
db_upgraded |
can_compress_scripts |
widget_theysaidso_widget |
Browser metrics Passed 4 tests
This is an overview of browser requirements for WP Slick Slider and Image Carousel
Minimal impact on browser resources
Page | Nodes | Memory (MB) | Script (ms) | Layout (ms) |
---|---|---|---|---|
Home / | 1,546 ▼1,216 | 10.25 ▼3.89 | 1.44 ▼0.28 | 16.13 ▼28.53 |
Dashboard /wp-admin | 2,221 ▲41 | 5.54 ▼0.10 | 98.82 ▼0.37 | 54.10 ▲11.38 |
Posts /wp-admin/edit.php | 2,125 ▲22 | 2.02 ▲0.07 | 41.19 ▼4.41 | 37.03 ▼0.53 |
Add New Post /wp-admin/post-new.php | 6,215 ▲4,689 | 19.15 ▼4.10 | 901.23 ▲266.88 | 58.07 ▼0.47 |
Media Library /wp-admin/upload.php | 1,422 ▲25 | 4.25 ▲0.07 | 97.14 ▼3.81 | 39.92 ▼3.24 |
Uninstaller [IO: ▲0.00MB] [DB: ▲0.00MB] 75% from 4 tests
🔸 Tests weight: 35 | All plugins must uninstall correctly, removing their source code and extra database tables they might have created
These items require your attention
- This plugin does not fully uninstall, leaving 8 options in the database
- theysaidso_admin_options
- can_compress_scripts
- widget_theysaidso_widget
- wpos_anylc_site_uid
- widget_recent-posts
- db_upgraded
- widget_recent-comments
- wpos_anylc_redirect
Smoke tests Passed 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 | It is important to ensure that your PHP files perform no action when accessed directly, respecting the single-responsibility principle
Congratulations! This plugin passed the SRP test
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 93% from 29 tests
readme.txt 94% from 16 tests
The readme.txt file is undoubtedly the most important file in your plugin, preparing it for public listing on WordPress.org
These attributes need your attention:
- Tags: You are using too many tags: 23 tag instead of maximum 10
wp-slick-slider-and-image-carousel/wp-slick-image-slider.php 92% from 13 tests
"WP Slick Slider and Image Carousel" version 3.6'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: Even though not officially enforced, the main plugin file should be the same as the plugin slug ("wp-slick-slider-and-image-carousel.php" instead of "wp-slick-image-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
Everything looks great! No dangerous files found in this plugin3,394 lines of code in 44 files:
Language | Files | Blank lines | Comment lines | Lines of code |
---|---|---|---|---|
PHP | 32 | 553 | 806 | 2,753 |
JavaScript | 6 | 102 | 63 | 360 |
CSS | 5 | 26 | 16 | 280 |
JSON | 1 | 0 | 0 | 1 |
PHP code Passed 2 tests
An overview of cyclomatic complexity and code structure
Everything seems fine, there were no complexity issues found
Cyclomatic complexity | |
---|---|
Average complexity per logical line of code | 0.49 |
Average class complexity | 27.40 |
▷ Minimum class complexity | 3.00 |
▷ Maximum class complexity | 87.00 |
Average method complexity | 4.67 |
▷ Minimum method complexity | 1.00 |
▷ Maximum method complexity | 20.00 |
Code structure | ||
---|---|---|
Namespaces | 0 | |
Interfaces | 0 | |
Traits | 0 | |
Classes | 5 | |
▷ Abstract classes | 0 | 0.00% |
▷ Concrete classes | 5 | 100.00% |
▷ Final classes | 1 | 20.00% |
Methods | 36 | |
▷ Static methods | 1 | 2.78% |
▷ Public methods | 34 | 94.44% |
▷ Protected methods | 0 | 0.00% |
▷ Private methods | 2 | 5.56% |
Functions | 37 | |
▷ Named functions | 37 | 100.00% |
▷ Anonymous functions | 0 | 0.00% |
Constants | 13 | |
▷ Global constants | 13 | 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
13 PNG files occupy 0.47MB with 0.28MB in potential savings
Potential savings
Compression of 5 random PNG files using pngquant | |||
---|---|---|---|
File | Size - original | Size - compressed | Savings |
wpos-analytics/assets/images/wpos-logo.png | 9.04KB | 3.17KB | ▼ 64.91% |
assets/images/rating.png | 0.85KB | 0.55KB | ▼ 34.41% |
assets/images/popup-icon/slider.png | 5.26KB | 2.46KB | ▼ 53.19% |
assets/images/page-builder-icon.png | 40.77KB | 11.61KB | ▼ 71.53% |
assets/images/popup-icon/14-days-money-back-guarantee.png | 30.03KB | 8.44KB | ▼ 71.91% |