Benchmarks
Plugin footprint 40% from 16 tests
Installer 0% from 1 test
🔺 Critical test (weight: 50) | All plugins must install correctly, without throwing any errors, warnings, or notices
You still need to fix the following installer errors
- Install procedure validation failed for this plugin
- > Deprecated in wp-content/plugins/super-slider/init.php+520
Methods with the same name as their class will not be constructors in a future version of PHP; wp_super has a deprecated constructor
Server metrics [RAM: ▼1.77MB] [CPU: ▼51.42ms] Passed 4 tests
Analyzing server-side resources used by SUPER RESPONSIVE SLIDER
This plugin does not affect your website's performance
Page | Memory (MB) | CPU Time (ms) |
---|---|---|
Home / | 2.22 ▼1.24 | 5.06 ▼36.29 |
Dashboard /wp-admin | 2.24 ▼1.07 | 5.80 ▼44.19 |
Posts /wp-admin/edit.php | 2.24 ▼1.12 | 7.70 ▼40.91 |
Add New Post /wp-admin/post-new.php | 2.24 ▼3.65 | 8.85 ▼84.28 |
Media Library /wp-admin/upload.php | 2.24 ▼0.99 | 5.88 ▼25.73 |
SUPER SLIDER /wp-admin/options-general.php?page=super | 2.24 | 5.39 |
Server storage [IO: ▲5.01MB] [DB: ▲0.00MB] Passed 3 tests
A short overview of filesystem and database impact
There were no storage issued detected upon installing this plugin
Filesystem: 201 new files
Database: no new tables, 7 new options
New WordPress options |
---|
db_upgraded |
widget_wp_super |
theysaidso_admin_options |
widget_theysaidso_widget |
widget_recent-comments |
widget_recent-posts |
can_compress_scripts |
Browser metrics Passed 4 tests
A check of browser resources used by SUPER RESPONSIVE SLIDER
Normal browser usage
Page | Nodes | Memory (MB) | Script (ms) | Layout (ms) |
---|---|---|---|---|
Home / | 2,891 ▲156 | 13.63 ▼0.74 | 6.25 ▲4.15 | 36.34 ▼13.87 |
Dashboard /wp-admin | 2,213 ▲25 | 5.88 ▲1.00 | 108.03 ▼5.07 | 42.57 ▼3.70 |
Posts /wp-admin/edit.php | 2,093 ▲4 | 2.04 ▲0.04 | 38.46 ▼2.49 | 34.82 ▼1.74 |
Add New Post /wp-admin/post-new.php | 1,517 ▼11 | 17.74 ▼0.57 | 639.99 ▲30.28 | 44.53 ▼7.42 |
Media Library /wp-admin/upload.php | 1,389 ▲1 | 4.24 ▲0.04 | 98.81 ▼0.99 | 41.74 ▼2.39 |
SUPER SLIDER /wp-admin/options-general.php?page=super | 968 | 2.01 | 28.59 | 33.07 |
Uninstaller [IO: ▲0.00MB] [DB: ▲0.00MB] 50% from 4 tests
🔸 Tests weight: 35 | The uninstall procedure must remove all plugin files and extra database tables
The following items require your attention
- This plugin did not uninstall without warnings or errors
- > Deprecated in wp-content/plugins/super-slider/init.php+520
Methods with the same name as their class will not be constructors in a future version of PHP; wp_super has a deprecated constructor
- This plugin does not fully uninstall, leaving 7 options in the database
- theysaidso_admin_options
- can_compress_scripts
- widget_wp_super
- widget_recent-posts
- widget_recent-comments
- db_upgraded
- widget_theysaidso_widget
Smoke tests 25% from 4 tests
Server-side errors 0% from 1 test
🔹 Test weight: 20 | A shallow check that no server-side errors were triggered
These errors were triggered by the plugin
- > GET request to /wp-admin/options-general.php?page=super
- > Deprecated in wp-content/plugins/super-slider/init.php+520
Methods with the same name as their class will not be constructors in a future version of PHP; wp_super has a deprecated constructor
- > GET request to /wp-admin/options-general.php?page=super
- > Deprecated in wp-content/plugins/super-slider/init.php+869
Function create_function() is deprecated
- > GET request to /wp-admin/options-general.php?page=super
- > User deprecated in wp-includes/functions.php+5546
The called constructor method for WP_Widget class in wp_super is deprecated since version 4.3.0! Use __construct() instead.
- 2 occurences, only the last one shown
- > GET request to /wp-admin/options-general.php?page=super
- > User deprecated in wp-includes/functions.php+5737
Function has_cap was called with an argument that is deprecated since version 2.0.0! Usage of user levels is deprecated. Use capabilities instead.
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× PHP files perform the task of outputting text when accessed with GET requests:
- > /wp-content/plugins/super-slider/css/style.php
- > /wp-content/plugins/super-slider/template/panel.php
- > /wp-content/plugins/super-slider/js/template/panel.php
- > /wp-content/plugins/super-slider/js/css/style.php
- 314× PHP files trigger server-side errors or warnings when accessed directly (only 10 are shown):
- > PHP Notice
Undefined variable: id in wp-content/plugins/super-slider/template/panel.php on line 112
- > PHP Notice
Undefined variable: id in wp-content/plugins/super-slider/js/template/panel.php on line 98
- > PHP Notice
Undefined variable: font in wp-content/plugins/super-slider/template/panel.php on line 453
- > PHP Notice
Undefined variable: id in wp-content/plugins/super-slider/js/template/panel.php on line 112
- > PHP Notice
Undefined variable: sizethumbnail in wp-content/plugins/super-slider/template/panel.php on line 644
- > PHP Notice
Undefined variable: id in wp-content/plugins/super-slider/template/panel.php on line 107
- > PHP Notice
Undefined variable: sizethumbnail in wp-content/plugins/super-slider/template/panel.php on line 644
- > PHP Notice
Undefined variable: id in wp-content/plugins/super-slider/template/panel.php on line 485
- > PHP Notice
Undefined variable: id in wp-content/plugins/super-slider/template/panel.php on line 440
- > PHP Notice
Undefined variable: id in wp-content/plugins/super-slider/template/panel.php on line 109
- > PHP Notice
User-side errors Passed 1 test
🔹 Test weight: 20 | This is just a short smoke test looking for browser issues
There were no browser issues found
Optimizations
Plugin configuration 90% from 29 tests
readme.txt 94% from 16 tests
The readme.txt file uses markdown syntax to describe your plugin to the world
These attributes need to be fixed:
- Tags: Too many tags (18 tag instead of maximum 10); only the first 5 tags are used in your directory listing
super-slider/init.php 85% from 13 tests
The main PHP script in "SUPER RESPONSIVE SLIDER" version 1.4 is automatically included on every request by WordPress
The following require your attention:
- Main file name: Name the main plugin file the same as the plugin slug ("super-slider.php" instead of "init.php")
- Description: Please keep the plugin description shorter than 140 characters (currently 356 characters long)
Code Analysis Passed 3 tests
File types Passed 1 test
🔸 Test weight: 35 | This is an overview of file extensions present in this plugin and a short test that no dangerous files are bundled with this plugin
There were no executable files found in this plugin7,044 lines of code in 21 files:
Language | Files | Blank lines | Comment lines | Lines of code |
---|---|---|---|---|
JavaScript | 4 | 547 | 287 | 3,554 |
PHP | 7 | 1,411 | 496 | 2,390 |
CSS | 5 | 88 | 8 | 814 |
HTML | 5 | 127 | 0 | 286 |
PHP code Passed 2 tests
Analyzing cyclomatic complexity and code structure
This plugin has no cyclomatic complexity issues
Cyclomatic complexity | |
---|---|
Average complexity per logical line of code | 0.39 |
Average class complexity | 54.00 |
▷ Minimum class complexity | 4.00 |
▷ Maximum class complexity | 104.00 |
Average method complexity | 5.42 |
▷ Minimum method complexity | 1.00 |
▷ Maximum method complexity | 58.00 |
Code structure | ||
---|---|---|
Namespaces | 0 | |
Interfaces | 0 | |
Traits | 0 | |
Classes | 4 | |
▷ Abstract classes | 0 | 0.00% |
▷ Concrete classes | 4 | 100.00% |
▷ Final classes | 0 | 0.00% |
Methods | 48 | |
▷ Static methods | 0 | 0.00% |
▷ Public methods | 44 | 91.67% |
▷ Protected methods | 0 | 0.00% |
▷ Private methods | 4 | 8.33% |
Functions | 18 | |
▷ Named functions | 18 | 100.00% |
▷ Anonymous functions | 0 | 0.00% |
Constants | 2 | |
▷ Global constants | 0 | 0.00% |
▷ Class constants | 2 | 100.00% |
▷ Public constants | 2 | 100.00% |
Plugin size 50% from 2 tests
Image compression 50% from 2 tests
All PNG images should be compressed to minimize bandwidth usage for end users
124 PNG files occupy 0.84MB with 0.19MB in potential savings
Potential savings
Compression of 5 random PNG files using pngquant | |||
---|---|---|---|
File | Size - original | Size - compressed | Savings |
skins/violet/images/nav-bg.png | 16.32KB | 7.33KB | ▼ 55.09% |
skins/dark-room/images/button1/arrow-left-active.png | 3.61KB | 2.16KB | ▼ 40.12% |
skins/plain/images/arrow-left.png | 0.73KB | 0.60KB | ▼ 17.58% |
js/template/hs.png | 2.62KB | 7.54KB | 0.00% |
skins/dark-room/images/thumb_bg.png | 1.40KB | 1.41KB | 0.00% |