Benchmarks
Plugin footprint Passed 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.16MB] [CPU: ▼299.61ms] Passed 4 tests
An overview of server-side resources used by Impressive Slider Made Easy
Normal server usage
Page | Memory (MB) | CPU Time (ms) |
---|---|---|
Home / | 3.76 ▲0.25 | 53.28 ▼10.02 |
Dashboard /wp-admin | 3.60 ▲0.19 | 32.28 ▼5.27 |
Posts /wp-admin/edit.php | 3.82 ▲0.18 | 36.86 ▼2.60 |
Add New Post /wp-admin/post-new.php | 7.07 ▲0.10 | 97.12 ▼1,180.55 |
Media Library /wp-admin/upload.php | 3.47 ▲0.18 | 24.58 ▲1.44 |
Impressive Sliders /wp-admin/edit.php?post_type=wisme_slider | 3.59 | 27.74 |
Getting Started /wp-admin/edit.php?post_type=wisme_slider&page=wisme-help | 3.48 | 25.45 |
Add New /wp-admin/post-new.php?post_type=wisme_slider | 3.85 | 41.08 |
Server storage [IO: ▲0.47MB] [DB: ▲0.00MB] Passed 3 tests
Filesystem and database footprint
No storage issues were detected
Filesystem: 49 new files
Database: no new tables, no new options
Browser metrics Passed 4 tests
Checking browser requirements for Impressive Slider Made Easy
Normal browser usage
Page | Nodes | Memory (MB) | Script (ms) | Layout (ms) |
---|---|---|---|---|
Home / | 3,805 ▲51 | 16.22 ▲0.23 | 5.45 ▼1.59 | 2.27 ▼0.36 |
Dashboard /wp-admin | 2,929 ▲68 | 6.09 ▼0.10 | 129.41 ▼5.46 | 166.07 ▼0.22 |
Posts /wp-admin/edit.php | 2,742 ▲48 | 3.28 ▲0.04 | 71.05 ▲7.60 | 135.29 ▼3.05 |
Add New Post /wp-admin/post-new.php | 1,686 ▲25 | 16.82 ▲0.81 | 424.11 ▼17.77 | 153.65 ▼5.01 |
Media Library /wp-admin/upload.php | 1,746 ▲51 | 5.58 ▲0.09 | 140.02 ▼1.62 | 182.53 ▼3.20 |
Impressive Sliders /wp-admin/edit.php?post_type=wisme_slider | 1,440 | 3.21 | 73.15 | 113.93 |
Getting Started /wp-admin/edit.php?post_type=wisme_slider&page=wisme-help | 1,140 | 2.77 | 56.54 | 195.90 |
Add New /wp-admin/post-new.php?post_type=wisme_slider | 3,353 | 5.63 | 96.38 | 225.24 |
Uninstaller [IO: ▲0.00MB] [DB: ▲0.00MB] Passed 4 tests
🔸 Tests weight: 35 | Checking the uninstaller removed all traces of the plugin
Uninstall script ran successfully
Smoke tests 50% from 4 tests
Server-side errors Passed 1 test
🔹 Test weight: 20 | This is a short smoke test looking for server-side errors
Even though no errors were found, this is by no means an exhaustive test
SRP 0% 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
- 4× PHP files perform the action of outputting non-empty strings when accessed directly:
- > /wp-content/plugins/impressive-slider-made-easy/templates/slider-default-templates/slider-init-default.php
- > /wp-content/plugins/impressive-slider-made-easy/templates/slider-default-templates/tab-slider-default.php
- > /wp-content/plugins/impressive-slider-made-easy/templates/slider-default-templates/image-slider-default.php
- > /wp-content/plugins/impressive-slider-made-easy/templates/slider-default-templates/image-gallery-default.php
- 49× PHP files trigger server-side errors or warnings when accessed directly (only 10 are shown):
- > PHP Notice
Undefined variable: slider_width in wp-content/plugins/impressive-slider-made-easy/templates/slider-default-templates/image-gallery-default.php on line 42
- > PHP Warning
Invalid argument supplied for foreach() in wp-content/plugins/impressive-slider-made-easy/templates/plugins-feed.php on line 5
- > PHP Notice
Undefined variable: post_id in wp-content/plugins/impressive-slider-made-easy/templates/slider-default-templates/image-gallery-default.php on line 12
- > PHP Notice
Undefined variable: post_id in wp-content/plugins/impressive-slider-made-easy/templates/slider-default-templates/slider-init-default.php on line 31
- > PHP Warning
extract() expects parameter 1 to be array, null given in wp-content/plugins/impressive-slider-made-easy/templates/slider-default-templates/tab-slider-default.php on line 3
- > PHP Notice
Undefined variable: slider_height in wp-content/plugins/impressive-slider-made-easy/templates/slider-default-templates/image-slider-default.php on line 7
- > PHP Notice
Undefined variable: thumbnail_gallery_design in wp-content/plugins/impressive-slider-made-easy/templates/slider-default-templates/tab-slider-default.php on line 6
- > PHP Fatal error
Uncaught Error: Call to undefined function add_action() in wp-content/plugins/impressive-slider-made-easy/functions.php:13
- > PHP Notice
Undefined variable: slider_height in wp-content/plugins/impressive-slider-made-easy/templates/slider-default-templates/image-gallery-default.php on line 12
- > PHP Notice
Undefined variable: slider_height in wp-content/plugins/impressive-slider-made-easy/templates/slider-default-templates/image-gallery-default.php on line 5
- > PHP Notice
User-side errors Passed 1 test
🔹 Test weight: 20 | This is just a short smoke test looking for browser issues
Everything seems fine on the user side
Optimizations
Plugin configuration 97% from 29 tests
readme.txt 94% from 16 tests
The readme.txt file uses markdown syntax to describe your plugin to the world
Attributes that require attention:
- Tags: You are using too many tags: 13 tag instead of maximum 10
impressive-slider-made-easy/impressive-slider-made-easy.php Passed 13 tests
Analyzing the main PHP file in "Impressive Slider Made Easy" version 1.3
54 characters long description:
Create aweosome Image slider with jQuery JSSOR Slider.
Code Analysis Passed 3 tests
File types Passed 1 test
🔸 Test weight: 35 | A short check of programming languages and file extensions; no executable files are allowed
There were no executable files found in this plugin5,138 lines of code in 21 files:
Language | Files | Blank lines | Comment lines | Lines of code |
---|---|---|---|---|
JavaScript | 7 | 189 | 14 | 3,656 |
PHP | 12 | 301 | 95 | 1,080 |
CSS | 2 | 71 | 47 | 402 |
PHP code Passed 2 tests
A short review of cyclomatic complexity and code structure
This plugin has no cyclomatic complexity issues
Cyclomatic complexity | |
---|---|
Average complexity per logical line of code | 0.26 |
Average class complexity | 21.33 |
▷ Minimum class complexity | 8.00 |
▷ Maximum class complexity | 45.00 |
Average method complexity | 3.77 |
▷ Minimum method complexity | 1.00 |
▷ Maximum method complexity | 20.00 |
Code structure | ||
---|---|---|
Namespaces | 0 | |
Interfaces | 0 | |
Traits | 0 | |
Classes | 3 | |
▷ Abstract classes | 0 | 0.00% |
▷ Concrete classes | 3 | 100.00% |
▷ Final classes | 0 | 0.00% |
Methods | 22 | |
▷ Static methods | 1 | 4.55% |
▷ Public methods | 20 | 90.91% |
▷ Protected methods | 0 | 0.00% |
▷ Private methods | 2 | 9.09% |
Functions | 5 | |
▷ Named functions | 5 | 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 Passed 2 tests
Image compression Passed 2 tests
It is recommended to compress PNG files in your plugin to minimize bandwidth usage
24 PNG files occupy 0.08MB with 0.03MB in potential savings
Potential savings
Compression of 5 random PNG files using pngquant | |||
---|---|---|---|
File | Size - original | Size - compressed | Savings |
images/slider-delete.png | 0.29KB | 0.20KB | ▼ 29.59% |
images/arrows/a10.png | 1.15KB | 0.79KB | ▼ 31.75% |
images/arrows/a03.png | 5.54KB | 3.44KB | ▼ 37.80% |
images/arrows/a01.png | 3.65KB | 2.21KB | ▼ 39.44% |
images/arrows/a12.png | 2.42KB | 1.57KB | ▼ 35.40% |