Benchmarks
Plugin footprint 58% from 16 tests
Installer 0% from 1 test
🔺 Critical test (weight: 50) | Checking the installer triggered no errors
You still need to fix the following installer errors
- Install procedure validation failed for this plugin
- > Notice in wp-content/plugins/creative-image-slider/includes/install/install.sql.php+10
Undefined variable: wpcis_db_version
Server metrics [RAM: ▲0.02MB] [CPU: ▼3.68ms] Passed 4 tests
This is a short check of server-side resources used by Creative Image Slider - Responsive Slider Plugin
Server-side resource usage in normal parameters
Page | Memory (MB) | CPU Time (ms) |
---|---|---|
Home / | 3.48 ▲0.01 | 42.10 ▼0.29 |
Dashboard /wp-admin | 3.33 ▲0.03 | 50.03 ▼5.44 |
Posts /wp-admin/edit.php | 3.38 ▲0.03 | 49.99 ▼4.48 |
Add New Post /wp-admin/post-new.php | 5.91 ▲0.03 | 88.34 ▼4.51 |
Media Library /wp-admin/upload.php | 3.25 ▲0.03 | 38.50 ▲6.17 |
Sliders /wp-admin/admin.php?page=cis_sliders | 3.49 | 36.18 |
Overview /wp-admin/admin.php?page=creativeimageslider | 3.29 | 34.30 |
Items /wp-admin/admin.php?page=cis_items | 3.35 | 39.05 |
Categories /wp-admin/admin.php?page=cis_categories | 3.32 | 33.60 |
Server storage [IO: ▲2.19MB] [DB: ▲0.01MB] Passed 3 tests
Filesystem and database footprint
The plugin installed successfully
Filesystem: 295 new files
Database: 3 new tables, 8 new options
New tables |
---|
wp_cis_sliders |
wp_cis_categories |
wp_cis_images |
New WordPress options |
---|
widget_recent-posts |
db_upgraded |
widget_theysaidso_widget |
wpcis_db_version |
theysaidso_admin_options |
widget_creativeimageslider_widget |
widget_recent-comments |
can_compress_scripts |
Browser metrics Passed 4 tests
Creative Image Slider - Responsive Slider Plugin: an overview of browser usage
Minimal impact on browser resources
Page | Nodes | Memory (MB) | Script (ms) | Layout (ms) |
---|---|---|---|---|
Home / | 2,834 ▲63 | 14.47 ▲0.10 | 1.72 ▼0.35 | 41.20 ▼2.21 |
Dashboard /wp-admin | 2,225 ▲37 | 5.80 ▲0.91 | 101.79 ▼15.43 | 81.86 ▲39.76 |
Posts /wp-admin/edit.php | 2,140 ▲51 | 2.26 ▲0.24 | 33.57 ▼1.71 | 30.31 ▼2.63 |
Add New Post /wp-admin/post-new.php | 1,544 ▲7 | 17.54 ▼5.89 | 788.41 ▲122.16 | 64.82 ▲1.15 |
Media Library /wp-admin/upload.php | 1,432 ▲47 | 4.15 ▼0.01 | 97.21 ▼5.60 | 79.19 ▲33.87 |
Sliders /wp-admin/admin.php?page=cis_sliders | 1,093 | 2.37 | 45.11 | 33.85 |
Overview /wp-admin/admin.php?page=creativeimageslider | 1,027 | 1.77 | 26.84 | 40.86 |
Items /wp-admin/admin.php?page=cis_items | 1,421 | 3.67 | 64.52 | 72.73 |
Categories /wp-admin/admin.php?page=cis_categories | 1,037 | 2.44 | 46.25 | 36.86 |
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 detected upon uninstall: 7 options
- can_compress_scripts
- widget_creativeimageslider_widget
- widget_recent-posts
- db_upgraded
- theysaidso_admin_options
- widget_recent-comments
- widget_theysaidso_widget
Smoke tests 50% from 4 tests
Server-side errors Passed 1 test
🔹 Test weight: 20 | A shallow check that no server-side errors were triggered
Good news, no errors were detected
SRP 50% from 2 tests
🔹 Tests weight: 20 | The single-responsibility principle applies for WordPress plugins as well - please make sure your PHP files perform no actions when accessed directly
Please take a closer look at the following
- 22× PHP files perform the action of outputting non-empty strings when accessed directly (only 10 are shown):
- > /wp-content/plugins/creative-image-slider/includes/admin/overview.php
- > /wp-content/plugins/creative-image-slider/includes/admin/item_submit.php
- > /wp-content/plugins/creative-image-slider/includes/dictionary.php
- > /wp-content/plugins/creative-image-slider/creativeimageslider.php
- > /wp-content/plugins/creative-image-slider/includes/admin/sliders.php
- > /wp-content/plugins/creative-image-slider/includes/admin/categories.php
- > /wp-content/plugins/creative-image-slider/includes/admin/item.php
- > /wp-content/plugins/creative-image-slider/includes/parser.php
- > /wp-content/plugins/creative-image-slider/includes/admin/slider.php
- > /wp-content/plugins/creative-image-slider/includes/display-functions.php
User-side errors 0% from 1 test
🔹 Test weight: 20 | This is a smoke test targeting browser errors/issues
Please fix the following user-side errors
- > GET request to /wp-admin/admin.php?page=cis_categories
- > Network (severe)
wp-content/plugins/creative-image-slider/includes/js/options_functions.js?ver=6.3.1 - Failed to load resource: the server responded with a status of 404 (Not Found)
Optimizations
Plugin configuration 93% from 29 tests
readme.txt Passed 16 tests
The readme.txt file is an important file in your plugin as it is parsed by WordPress.org to prepare the public listing of your plugin
5 plugin tags: image slider, slider, slideshow, wordpress slider, slider plugin
creative-image-slider/creativeimageslider.php 85% from 13 tests
The main PHP file in "Creative Image Slider - Responsive Slider Plugin" ver. 2.1.3 adds more information about the plugin and also serves as the entry point for this plugin
It is important to fix the following:
- Main file name: Please rename the main PHP file in this plugin to the plugin slug ("creative-image-slider.php" instead of "creativeimageslider.php")
- Description: Please keep the plugin description shorter than 140 characters (currently 148 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
No dangerous file extensions were detected18,649 lines of code in 54 files:
Language | Files | Blank lines | Comment lines | Lines of code |
---|---|---|---|---|
JavaScript | 12 | 1,667 | 985 | 7,161 |
CSS | 19 | 396 | 294 | 6,225 |
PHP | 22 | 584 | 173 | 5,262 |
HTML | 1 | 0 | 0 | 1 |
PHP code Passed 2 tests
Cyclomatic complexity and code structure are the fingerprint of this plugin
There are no cyclomatic complexity problems detected for this plugin
Cyclomatic complexity | |
---|---|
Average complexity per logical line of code | 0.23 |
Average class complexity | 4.00 |
▷ Minimum class complexity | 4.00 |
▷ Maximum class complexity | 4.00 |
Average method complexity | 1.86 |
▷ Minimum method complexity | 1.00 |
▷ Maximum method complexity | 3.00 |
Code structure | ||
---|---|---|
Namespaces | 0 | |
Interfaces | 0 | |
Traits | 0 | |
Classes | 2 | |
▷ Abstract classes | 0 | 0.00% |
▷ Concrete classes | 2 | 100.00% |
▷ Final classes | 0 | 0.00% |
Methods | 7 | |
▷ Static methods | 0 | 0.00% |
▷ Public methods | 7 | 100.00% |
▷ Protected methods | 0 | 0.00% |
▷ Private methods | 0 | 0.00% |
Functions | 23 | |
▷ Named functions | 23 | 100.00% |
▷ Anonymous functions | 0 | 0.00% |
Constants | 4 | |
▷ Global constants | 4 | 100.00% |
▷ Class constants | 0 | 0.00% |
▷ Public constants | 0 | 0.00% |
Plugin size 50% from 2 tests
Image compression 50% from 2 tests
Often times overlooked, PNG files can occupy unnecessary space in your plugin
200 PNG files occupy 1.06MB with 0.53MB in potential savings
Potential savings
Compression of 5 random PNG files using pngquant | |||
---|---|---|---|
File | Size - original | Size - compressed | Savings |
includes/assets/images/arrows/cis_button_right43.png | 7.55KB | 3.56KB | ▼ 52.86% |
includes/assets/images/arrows/cis_button_left42.png | 7.83KB | 3.56KB | ▼ 54.49% |
includes/images/select2.png | 0.51KB | 0.33KB | ▼ 34.94% |
includes/assets/images/arrows/cis_button_left10.png | 5.50KB | 2.04KB | ▼ 63.00% |
includes/images/2glux.png | 3.46KB | 1.86KB | ▼ 46.16% |