Benchmarks
Plugin footprint Passed 16 tests
Installer Passed 1 test
🔺 Critical test (weight: 50) | Verifying that this plugin installs correctly without errors
The plugin installed successfully, without throwing any errors or notices
Server metrics [RAM: ▲0.02MB] [CPU: ▼294.60ms] Passed 4 tests
An overview of server-side resources used by Impressive Sliders for Elementor Page Builder
This plugin has minimal impact on server resources
Page | Memory (MB) | CPU Time (ms) |
---|---|---|
Home / | 3.60 ▲0.08 | 51.30 ▼2.77 |
Dashboard /wp-admin | 3.46 ▲0.05 | 32.92 ▼1.50 |
Posts /wp-admin/edit.php | 3.69 ▲0.04 | 36.47 ▲1.56 |
Add New Post /wp-admin/post-new.php | 6.93 ▼0.05 | 94.74 ▼1,175.08 |
Media Library /wp-admin/upload.php | 3.34 ▲0.04 | 24.25 ▲0.94 |
Server storage [IO: ▲0.40MB] [DB: ▲0.00MB] Passed 3 tests
Filesystem and database footprint
This plugin was installed successfully
Filesystem: 43 new files
Database: no new tables, no new options
Browser metrics Passed 4 tests
Checking browser requirements for Impressive Sliders for Elementor Page Builder
This plugin has a minimal impact on browser resources
Page | Nodes | Memory (MB) | Script (ms) | Layout (ms) |
---|---|---|---|---|
Home / | 3,765 ▲7 | 15.86 ▲0.28 | 7.43 ▲1.67 | 2.56 ▼0.20 |
Dashboard /wp-admin | 2,895 ▲37 | 6.15 ▼0.02 | 115.80 ▼27.71 | 154.28 ▼4.75 |
Posts /wp-admin/edit.php | 2,691 ▲6 | 3.24 ▲0.01 | 64.85 ▲1.39 | 139.47 ▲3.39 |
Add New Post /wp-admin/post-new.php | 1,781 ▲120 | 21.89 ▲5.52 | 414.62 ▼23.27 | 158.37 ▲2.07 |
Media Library /wp-admin/upload.php | 1,695 ▼3 | 5.48 ▼0.06 | 134.63 ▼1.32 | 189.25 ▲5.25 |
Uninstaller [IO: ▲0.00MB] [DB: ▲0.00MB] Passed 4 tests
🔸 Tests weight: 35 | Verifying that this plugin uninstalls completely without leaving any traces
Uninstall script ran successfully
Smoke tests 50% from 4 tests
Server-side errors Passed 1 test
🔹 Test weight: 20 | A smoke test targeting server-side errors
Even though everything seems fine, this is not an exhaustive test
SRP 0% from 2 tests
🔹 Tests weight: 20 | SRP (Single-Responsibility Principle) - PHP files must act as libraries and never output text or perform any action when accessed directly in a browser
Almost there! Just fix the following items
- 4× GET requests to PHP files return non-empty strings:
- > /wp-content/plugins/impressive-sliders-for-elementor-page-builder/templates/slider-default-templates/image-gallery-default.php
- > /wp-content/plugins/impressive-sliders-for-elementor-page-builder/templates/slider-default-templates/image-slider-default.php
- > /wp-content/plugins/impressive-sliders-for-elementor-page-builder/templates/slider-default-templates/tab-slider-default.php
- > /wp-content/plugins/impressive-sliders-for-elementor-page-builder/templates/slider-default-templates/slider-init-default.php
- 51× GET requests to PHP files have triggered server-side errors or warnings (only 10 are shown):
- > PHP Warning
Invalid argument supplied for foreach() in wp-content/plugins/impressive-sliders-for-elementor-page-builder/templates/slider-default-templates/tab-slider-default.php on line 15
- > PHP Notice
Undefined variable: slider_height in wp-content/plugins/impressive-sliders-for-elementor-page-builder/templates/slider-default-templates/image-slider-default.php on line 9
- > PHP Notice
Undefined variable: slider_width in wp-content/plugins/impressive-sliders-for-elementor-page-builder/templates/slider-default-templates/image-gallery-default.php on line 12
- > PHP Notice
Undefined variable: id_int in wp-content/plugins/impressive-sliders-for-elementor-page-builder/templates/slider-default-templates/slider-init-default.php on line 35
- > PHP Notice
Undefined variable: id_int in wp-content/plugins/impressive-sliders-for-elementor-page-builder/templates/slider-default-templates/slider-init-default.php on line 43
- > PHP Warning
Invalid argument supplied for foreach() in wp-content/plugins/impressive-sliders-for-elementor-page-builder/templates/slider-default-templates/image-gallery-default.php on line 15
- > PHP Notice
Undefined variable: slider_images in wp-content/plugins/impressive-sliders-for-elementor-page-builder/templates/slider-default-templates/image-slider-default.php on line 10
- > PHP Warning
extract() expects parameter 1 to be array, null given in wp-content/plugins/impressive-sliders-for-elementor-page-builder/templates/slider-default-templates/image-gallery-default.php on line 3
- > PHP Notice
Undefined variable: id_int in wp-content/plugins/impressive-sliders-for-elementor-page-builder/templates/slider-default-templates/slider-init-default.php on line 37
- > PHP Notice
Undefined variable: slider_images in wp-content/plugins/impressive-sliders-for-elementor-page-builder/templates/slider-default-templates/tab-slider-default.php on line 15
- > PHP Warning
User-side errors Passed 1 test
🔹 Test weight: 20 | This is a smoke test targeting browser errors/issues
Everything seems fine on the user side
Optimizations
Plugin configuration 93% from 29 tests
readme.txt 94% from 16 tests
Often overlooked, readme.txt is one of the most important files in your plugin
Attributes that need to be fixed:
- Tags: Please reduce the number of tags, currently 15 tag instead of maximum 10
impressive-sliders-for-elementor-page-builder/impressive-sliders-elementor-page-builder.php 92% from 13 tests
The main PHP script in "Impressive Sliders for Elementor Page Builder" version 1.0 is automatically included on every request by WordPress
It is important to fix the following:
- Main file name: The principal plugin file should be the same as the plugin slug ("impressive-sliders-for-elementor-page-builder.php" instead of "impressive-sliders-elementor-page-builder.php")
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
Good job! No executable or dangerous file extensions detected4,296 lines of code in 16 files:
Language | Files | Blank lines | Comment lines | Lines of code |
---|---|---|---|---|
JavaScript | 6 | 149 | 7 | 3,547 |
PHP | 9 | 150 | 30 | 520 |
CSS | 1 | 41 | 44 | 229 |
PHP code Passed 2 tests
This is a short overview of cyclomatic complexity and code structure for this plugin
No complexity issues detected
Cyclomatic complexity | |
---|---|
Average complexity per logical line of code | 0.32 |
Average class complexity | 15.25 |
▷ Minimum class complexity | 10.00 |
▷ Maximum class complexity | 24.00 |
Average method complexity | 4.80 |
▷ Minimum method complexity | 1.00 |
▷ Maximum method complexity | 22.00 |
Code structure | ||
---|---|---|
Namespaces | 1 | |
Interfaces | 0 | |
Traits | 0 | |
Classes | 4 | |
▷ Abstract classes | 0 | 0.00% |
▷ Concrete classes | 4 | 100.00% |
▷ Final classes | 0 | 0.00% |
Methods | 15 | |
▷ Static methods | 1 | 6.67% |
▷ Public methods | 13 | 86.67% |
▷ Protected methods | 2 | 13.33% |
▷ Private methods | 0 | 0.00% |
Functions | 2 | |
▷ Named functions | 2 | 100.00% |
▷ Anonymous functions | 0 | 0.00% |
Constants | 2 | |
▷ Global constants | 2 | 100.00% |
▷ Class constants | 0 | 0.00% |
▷ Public constants | 0 | 0.00% |
Plugin size Passed 2 tests
Image compression Passed 2 tests
Using a strong compression for your PNG files is a great way to speed-up your plugin
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/arrows/a15.png | 2.85KB | 2.22KB | ▼ 22.23% |
images/arrows/a20.png | 5.79KB | 3.60KB | ▼ 37.83% |
images/arrows/a09.png | 0.54KB | 0.28KB | ▼ 49.01% |
images/thumbs/t01.png | 1.58KB | 0.74KB | ▼ 53.49% |
images/arrows/a14.png | 3.45KB | 2.83KB | ▼ 18.18% |