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 gracefully, with no errors
Server metrics [RAM: ▲0.27MB] [CPU: ▼157.54ms] Passed 4 tests
This is a short check of server-side resources used by SuperSlider
This plugin does not affect your website's performance
Page | Memory (MB) | CPU Time (ms) |
---|---|---|
Home / | 3.06 ▲0.34 | 40.83 ▲16.36 |
Dashboard /wp-admin | 3.35 ▲0.30 | 52.36 ▲0.38 |
Posts /wp-admin/edit.php | 3.41 ▲0.30 | 47.80 ▼0.16 |
Add New Post /wp-admin/post-new.php | 5.66 ▲0.23 | 101.43 ▼624.33 |
Media Library /wp-admin/upload.php | 3.24 ▲0.23 | 36.49 ▼6.06 |
SuperSlider /wp-admin/admin.php?page=superslider_options | 3.34 | 31.34 |
SS -- Modules /wp-admin/admin.php?page=superslider-modules | 3.61 | 32.36 |
Server storage [IO: ▲1.33MB] [DB: ▲0.00MB] Passed 3 tests
How much does this plugin use your filesystem and database?
This plugin was installed successfully
Filesystem: 163 new files
Database: no new tables, 2 new options
New WordPress options |
---|
ssMod_options |
ssBase_options |
Browser metrics Passed 4 tests
An overview of browser requirements for SuperSlider
Minimal impact on browser resources
Page | Nodes | Memory (MB) | Script (ms) | Layout (ms) |
---|---|---|---|---|
Home / | 3,881 ▲286 | 19.28 ▲4.08 | 29.36 ▲16.69 | 58.21 ▲11.98 |
Dashboard /wp-admin | 2,993 ▲62 | 5.97 ▼0.01 | 156.73 ▼1.53 | 137.85 ▲34.89 |
Posts /wp-admin/edit.php | 2,787 ▲48 | 2.71 ▼0.01 | 62.81 ▼26.33 | 91.16 ▼5.03 |
Add New Post /wp-admin/post-new.php | 1,736 ▲132 | 21.14 ▲2.61 | 432.48 ▲37.69 | 119.81 ▲10.60 |
Media Library /wp-admin/upload.php | 1,781 ▼26 | 5.02 ▼0.01 | 140.59 ▼13.28 | 139.77 ▲19.90 |
SuperSlider /wp-admin/admin.php?page=superslider_options | 2,019 | 3.13 | 81.09 | 92.46 |
SS -- Modules /wp-admin/admin.php?page=superslider-modules | 3,478 | 2.90 | 84.85 | 76.56 |
Uninstaller [IO: ▲0.00MB] [DB: ▲0.00MB] Passed 4 tests
🔸 Tests weight: 35 | Verifying that this plugin uninstalls completely without leaving any traces
The plugin uninstalled successfully, without leaving any zombie files or tables
Smoke tests 25% from 4 tests
Server-side errors 0% from 1 test
🔹 Test weight: 20 | This is a shallow check for server-side errors
Please fix the following server-side errors
- 4 occurences, only the last one shown
- > GET request to /wp-admin/admin.php?page=superslider-modules
- > Notice in wp-content/plugins/superslider/admin/superslider-modules-ui.php+1120
Trying to access array offset on value of type bool
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
The following issues need your attention
- 7× GET requests to PHP files trigger server-side errors or Error 500 responses:
- > PHP Fatal error
Uncaught Error: Call to undefined function current_user_can() in wp-content/plugins/superslider/admin/superslider-ui.php:26
- > PHP Notice
Undefined variable: acc_elemtag in wp-content/plugins/superslider/admin/superslider-acc-box.php on line 63
- > PHP Fatal error
Uncaught Error: Call to undefined function current_user_can() in wp-content/plugins/superslider/admin/superslider-modules-ui.php:22
- > PHP Fatal error
Uncaught Error: Call to undefined function register_activation_hook() in wp-content/plugins/superslider/superslider.php:109
- > PHP Notice
Undefined variable: acc_togtag in wp-content/plugins/superslider/admin/superslider-acc-box.php on line 62
- > PHP Notice
Undefined variable: acc_togtag in wp-content/plugins/superslider/admin/superslider-scroll-box.php on line 41
- > PHP Notice
Undefined variable: acc_elemtag in wp-content/plugins/superslider/admin/superslider-scroll-box.php on line 42
- > PHP Fatal error
User-side errors 0% from 1 test
🔹 Test weight: 20 | This is just a short smoke test looking for browser issues
These are user-side errors you should fix
- 2 occurences, only the last one shown
- > GET request to /wp-admin/admin.php?page=superslider-modules
- > Javascript (severe) in unknown
/wp-content/plugins/superslider/admin/js/jquery.tooltip.min.js?ver=2 13:62 Uncaught TypeError: Cannot read properties of undefined (reading 'msie')
- > GET request to /wp-admin/admin.php?page=superslider_options
- > Network (severe)
wp-content/plugins/superslider-menu/admin/img/default.png - Failed to load resource: the server responded with a status of 404 (Not Found)
- 2 occurences, only the last one shown
- > GET request to /wp-admin/admin.php?page=superslider-modules
- > Network (severe)
wp-content/plugins/superslider-menu/admin/img/logo_superslider.png - Failed to load resource: the server responded with a status of 404 (Not Found)
- > GET request to /wp-admin/admin.php?page=superslider_options
- > Network (severe)
wp-content/plugins/superslider-menu/admin/img/blue.png - Failed to load resource: the server responded with a status of 404 (Not Found)
- > GET request to /wp-admin/admin.php?page=superslider_options
- > Network (severe)
wp-content/plugins/superslider-menu/admin/img/black.png - Failed to load resource: the server responded with a status of 404 (Not Found)
- > GET request to /wp-admin/admin.php?page=superslider_options
- > Network (severe)
wp-content/plugins/superslider-menu/admin/img/custom.png - Failed to load resource: the server responded with a status of 404 (Not Found)
- 2 occurences, only the last one shown
- > GET request to /wp-admin/admin.php?page=superslider-modules
- > Console-api (warning) in unknown
/wp-admin/load-scripts.php?c=0&load%5Bchunk_0%5D=jquery-core,jquery-migrate,utils,jquery-ui-core&ver=5.8.1 1:31592 "jQuery.Deferred exception: $(...).tooltip is not a function" "TypeError: $(...).tooltip is not a function\n at HTMLDocument.\u003Canonymous> (/wp-content/plugins/superslider/admin/js/superslider-admin-tool.js?ver=2:5:19)\n at e (/wp-admin/load-scripts.php?c=0&load%5Bchunk_0%5D=jquery-core,jquery-migrate,utils,jquery-ui-core&ver=5.8.1:2:30038)\n at t (/wp-admin/load-scripts.php?c=0&load%5Bchunk_0%5D=jquery-core,jquery-migrate,utils,jquery-ui-core&ver=5.8.1:2:30340)" undefined
- 2 occurences, only the last one shown
- > GET request to /wp-admin/admin.php?page=superslider-modules
- > Javascript (severe) in unknown
/wp-admin/load-scripts.php?c=0&load%5Bchunk_0%5D=jquery-core,jquery-migrate,utils,jquery-ui-core&ver=5.8.1 1:31702 Uncaught TypeError: $(...).tooltip is not a function
Optimizations
Plugin configuration 93% from 29 tests
readme.txt 94% from 16 tests
The readme.txt file is important because it is parsed by WordPress.org for the public listing of your plugin
These attributes need to be fixed:
- Screenshots: Screenshot #1 (![SuperSlider-Base options screen](screenshot-1.png "SuperSlider-Base options screen")) image not found
superslider/superslider.php 92% from 13 tests
Analyzing the main PHP file in "SuperSlider" version 1.6
The following require your attention:
- Description: If Twitter did it, so should we! Keep the description under 140 characters (currently 147 characters long)
Code Analysis Passed 3 tests
File types Passed 1 test
🔸 Test weight: 35 | An overview of files in this plugin; executable files are not allowed
Success! There were no dangerous files found in this plugin8,647 lines of code in 54 files:
Language | Files | Blank lines | Comment lines | Lines of code |
---|---|---|---|---|
JavaScript | 20 | 629 | 553 | 4,072 |
PHP | 5 | 473 | 293 | 2,322 |
CSS | 21 | 149 | 177 | 1,698 |
HTML | 4 | 102 | 0 | 482 |
Markdown | 2 | 29 | 0 | 59 |
YAML | 2 | 0 | 0 | 14 |
PHP code Passed 2 tests
This is a very shot review of cyclomatic complexity and code structure
There are no cyclomatic complexity problems detected for this plugin
Cyclomatic complexity | |
---|---|
Average complexity per logical line of code | 0.39 |
Average class complexity | 136.00 |
▷ Minimum class complexity | 136.00 |
▷ Maximum class complexity | 136.00 |
Average method complexity | 3.21 |
▷ Minimum method complexity | 1.00 |
▷ Maximum method complexity | 29.00 |
Code structure | ||
---|---|---|
Namespaces | 0 | |
Interfaces | 0 | |
Traits | 0 | |
Classes | 1 | |
▷ Abstract classes | 0 | 0.00% |
▷ Concrete classes | 1 | 100.00% |
▷ Final classes | 0 | 0.00% |
Methods | 61 | |
▷ Static methods | 0 | 0.00% |
▷ Public methods | 61 | 100.00% |
▷ Protected methods | 0 | 0.00% |
▷ Private methods | 0 | 0.00% |
Functions | 1 | |
▷ Named functions | 1 | 100.00% |
▷ Anonymous functions | 0 | 0.00% |
Constants | 5 | |
▷ Global constants | 5 | 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
69 compressed PNG files occupy 0.55MB
Potential savings
Compression of 5 random PNG files using pngquant | |||
---|---|---|---|
File | Size - original | Size - compressed | Savings |
plugin-data/superslider/ssBase/blue/mBox/themes/mBoxTooltip-BlackGradient-Sprites.png | 0.22KB | 0.14KB | ▼ 37.28% |
js/mForm/Source/assets/flags/US.png | 0.65KB | 0.65KB | ▼ 0.75% |
js/mForm/Demo/flags/EG.png | 0.50KB | 0.61KB | 0.00% |
js/mForm/Source/assets/flags/AU.png | 0.73KB | 0.75KB | 0.00% |
admin/img/default.png | 1.45KB | 0.92KB | ▼ 36.82% |