Benchmarks
Plugin footprint 75% from 16 tests
Installer 0% from 1 test
🔺 Critical test (weight: 50) | All plugins must install correctly, without throwing any errors, warnings, or notices
These installer errors require your attention
- Install procedure had errors
- > Notice in wp-content/plugins/superslider-login/superslider-login.php+161
Trying to access array offset on value of type bool
Server metrics [RAM: ▲0.07MB] [CPU: ▼146.62ms] Passed 4 tests
An overview of server-side resources used by SuperSlider-Login
This plugin has minimal impact on server resources
Page | Memory (MB) | CPU Time (ms) |
---|---|---|
Home / | 3.00 ▲0.16 | 24.73 ▼2.51 |
Dashboard /wp-admin | 3.12 ▲0.06 | 43.04 ▲0.94 |
Posts /wp-admin/edit.php | 3.21 ▲0.10 | 34.61 ▼1.91 |
Add New Post /wp-admin/post-new.php | 5.49 ▲0.05 | 72.17 ▼583.00 |
Media Library /wp-admin/upload.php | 3.07 ▲0.06 | 30.50 ▲2.38 |
SuperSlider-Login /wp-admin/options-general.php?page=superslider-login | 3.19 | 22.14 |
Server storage [IO: ▲0.44MB] [DB: ▲0.00MB] Passed 3 tests
Filesystem and database footprint
There were no storage issued detected upon installing this plugin
Filesystem: 29 new files
Database: no new tables, 1 new option
New WordPress options |
---|
ssLogin_options |
Browser metrics Passed 4 tests
A check of browser resources used by SuperSlider-Login
There were no issues detected in relation to browser resource usage
Page | Nodes | Memory (MB) | Script (ms) | Layout (ms) |
---|---|---|---|---|
Home / | 4,295 ▲644 | 19.07 ▲3.44 | 18.94 ▲13.41 | 77.96 ▲2.25 |
Dashboard /wp-admin | 2,935 ▲39 | 6.11 ▼0.07 | 115.14 ▼16.08 | 168.53 ▼1.03 |
Posts /wp-admin/edit.php | 2,742 ▲5 | 3.12 ▼0.10 | 62.28 ▲0.57 | 135.67 ▼4.25 |
Add New Post /wp-admin/post-new.php | 3,710 ▼26 | 19.02 ▲0.12 | 488.67 ▼4.77 | 211.99 ▲49.25 |
Media Library /wp-admin/upload.php | 1,754 ▲5 | 5.57 ▲0.08 | 171.45 ▲30.46 | 205.56 ▲13.09 |
SuperSlider-Login /wp-admin/options-general.php?page=superslider-login | 2,316 | 3.01 | 73.18 | 138.57 |
Uninstaller [IO: ▲0.00MB] [DB: ▲0.00MB] Passed 4 tests
🔸 Tests weight: 35 | It is important to correctly uninstall your plugin, 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 | A shallow check that no server-side errors were triggered
These errors were triggered by the plugin
- 2 occurences, only the last one shown
- > GET request to /wp-admin/options-general.php?page=superslider-login
- > Notice in wp-content/plugins/superslider-login/admin/superslider-login-ui.php+560
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
Please fix the following
- 4× PHP files trigger server-side errors or warnings when accessed directly:
- > PHP Fatal error
Uncaught Error: Call to undefined function current_user_can() in wp-content/plugins/superslider-login/admin/superslider-login-ui.php:26
- > PHP Fatal error
Uncaught Error: Using $this when not in object context in wp-content/plugins/superslider-login/widget_panel.php:2
- > PHP Fatal error
Uncaught Error: Using $this when not in object context in wp-content/plugins/superslider-login/login_panel.php:2
- > PHP Fatal error
Uncaught Error: Call to undefined function get_option() in wp-content/plugins/superslider-login/superslider-login.php:334
- > PHP Fatal error
User-side errors 0% from 1 test
🔹 Test weight: 20 | A shallow check that no browser errors were triggered
There are user-side issues you should fix
- > GET request to /wp-admin/options-general.php?page=superslider-login
- > Javascript (severe) in unknown
/wp-content/plugins/superslider-login/admin/js/jquery.tooltip.min.js?ver=2 13:62 Uncaught TypeError: Cannot read properties of undefined (reading 'msie')
- > GET request to /wp-admin/options-general.php?page=superslider-login
- > 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-login/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
- > GET request to /wp-admin/options-general.php?page=superslider-login
- > 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 97% from 29 tests
readme.txt 94% from 16 tests
It's important to format your readme.txt file correctly as it is parsed for the public listing of your plugin
These attributes need your attention:
- Requires at least: Invalid version format
superslider-login/superslider-login.php Passed 13 tests
Analyzing the main PHP file in "SuperSlider-Login" version 3.2
121 characters long description:
A slidein login panel or widget panel. Theme based, animated, automatic user detection , uses mootools 1.4.5 java script.
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
Good job! No executable or dangerous file extensions detected3,273 lines of code in 19 files:
Language | Files | Blank lines | Comment lines | Lines of code |
---|---|---|---|---|
CSS | 10 | 107 | 108 | 1,111 |
JavaScript | 4 | 18 | 61 | 1,020 |
PHP | 4 | 184 | 98 | 938 |
PO File | 1 | 87 | 95 | 204 |
PHP code Passed 2 tests
A short review of cyclomatic complexity and code structure
This plugin has no cyclomatic complexity problems
Cyclomatic complexity | |
---|---|
Average complexity per logical line of code | 0.35 |
Average class complexity | 30.00 |
▷ Minimum class complexity | 30.00 |
▷ Maximum class complexity | 30.00 |
Average method complexity | 2.45 |
▷ Minimum method complexity | 1.00 |
▷ Maximum method complexity | 8.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 | 20 | |
▷ Static methods | 0 | 0.00% |
▷ Public methods | 20 | 100.00% |
▷ Protected methods | 0 | 0.00% |
▷ Private methods | 0 | 0.00% |
Functions | 0 | |
▷ Named functions | 0 | 0.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
It is recommended to compress PNG files in your plugin to minimize bandwidth usage
7 PNG files occupy 0.13MB with 0.06MB in potential savings
Potential savings
Compression of 5 random PNG files using pngquant | |||
---|---|---|---|
File | Size - original | Size - compressed | Savings |
plugin-data/superslider/ssLogin/custom/images/vert_button.png | 2.91KB | 1.90KB | ▼ 34.58% |
plugin-data/superslider/ssLogin/button_edit.png | 58.48KB | 1.44KB | ▼ 97.53% |
plugin-data/superslider/ssLogin/blue/images/vert_button.png | 2.82KB | 1.87KB | ▼ 33.50% |
plugin-data/superslider/ssLogin/black/images/vert_button.png | 2.69KB | 1.89KB | ▼ 29.81% |
admin/img/logo_superslider.png | 4.67KB | 2.61KB | ▼ 44.16% |