Benchmarks
Plugin footprint Passed 16 tests
Installer Passed 1 test
🔺 Critical test (weight: 50) | Verifying that this plugin installs correctly without errors
This plugin's installer ran successfully
Server metrics [RAM: ▲0.02MB] [CPU: ▼291.71ms] Passed 4 tests
Analyzing server-side resources used by SuperSlider-Menu
This plugin has minimal impact on server resources
Page | Memory (MB) | CPU Time (ms) |
---|---|---|
Home / | 3.61 ▲0.09 | 55.62 ▲5.96 |
Dashboard /wp-admin | 3.45 ▲0.05 | 33.39 ▼0.00 |
Posts /wp-admin/edit.php | 3.68 ▲0.04 | 39.60 ▼3.08 |
Add New Post /wp-admin/post-new.php | 6.92 ▼0.05 | 92.34 ▼1,164.09 |
Media Library /wp-admin/upload.php | 3.33 ▲0.04 | 23.88 ▲0.34 |
SuperSlider-Menu /wp-admin/options-general.php?page=superslider-menu | 3.49 | 23.21 |
Server storage [IO: ▲0.79MB] [DB: ▲0.00MB] Passed 3 tests
A short overview of filesystem and database impact
No storage issues were detected
Filesystem: 47 new files
Database: no new tables, 1 new option
New WordPress options |
---|
ssMenu_options |
Browser metrics Passed 4 tests
This is an overview of browser requirements for SuperSlider-Menu
Normal browser usage
Page | Nodes | Memory (MB) | Script (ms) | Layout (ms) |
---|---|---|---|---|
Home / | 3,856 ▲112 | 19.22 ▲3.18 | 16.90 ▲10.02 | 2.73 ▲0.42 |
Dashboard /wp-admin | 2,897 ▲36 | 6.40 ▲0.01 | 120.19 ▼13.08 | 156.29 ▼2.01 |
Posts /wp-admin/edit.php | 2,693 ▼1 | 3.43 ▼0.12 | 61.18 ▼2.10 | 141.64 ▼3.13 |
Add New Post /wp-admin/post-new.php | 1,664 ▲3 | 16.64 ▼5.95 | 415.53 ▼15.60 | 161.57 ▲8.58 |
Media Library /wp-admin/upload.php | 1,706 ▲8 | 5.73 ▼0.02 | 143.34 ▲5.87 | 189.97 ▲4.39 |
SuperSlider-Menu /wp-admin/options-general.php?page=superslider-menu | 2,400 | 3.25 | 75.71 | 152.55 |
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 25% from 4 tests
Server-side errors 0% from 1 test
🔹 Test weight: 20 | A shallow check that no server-side errors were triggered
Smoke test failed, please fix the following
- 2 occurences, only the last one shown
- > GET request to /wp-admin/options-general.php?page=superslider-menu
- > Notice in wp-content/plugins/superslider-menu/admin/superslider-menu-ui.php+606
Trying to access array offset on value of type bool
SRP 50% 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
- 3× GET requests to PHP files have triggered server-side errors or warnings:
- > PHP Fatal error
Uncaught Error: Call to undefined function get_option() in wp-content/plugins/superslider-menu/superslider-menu-widget.php:75
- > PHP Fatal error
Uncaught Error: Call to undefined function current_user_can() in wp-content/plugins/superslider-menu/admin/superslider-menu-ui.php:23
- > PHP Fatal error
Uncaught Error: Call to undefined function register_activation_hook() in wp-content/plugins/superslider-menu/superslider-menu.php:296
- > PHP Fatal error
User-side errors 0% from 1 test
🔹 Test weight: 20 | This is a smoke test targeting browser errors/issues
These are user-side errors you should fix
- > GET request to /wp-admin/options-general.php?page=superslider-menu
- > Javascript (severe) in unknown
/wp-content/plugins/superslider-menu/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-menu
- > 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.9.2 1:31592 "jQuery.Deferred exception: $(...).tooltip is not a function" "TypeError: $(...).tooltip is not a function\n at HTMLDocument.\u003Canonymous> (/wp-content/plugins/superslider-menu/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.9.2: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.9.2:2:30340)" undefined
- > GET request to /wp-admin/options-general.php?page=superslider-menu
- > 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.9.2 1:31702 Uncaught TypeError: $(...).tooltip is not a function
Optimizations
Plugin configuration 90% from 29 tests
readme.txt 88% from 16 tests
The readme.txt file is an important file in your plugin as it is parsed by WordPress.org to prepare the public listing of your plugin
These attributes need to be fixed:
- Tags: Please delete some tags, you are using 11 tag instead of maximum 10
- Screenshots: These screenshots require images: #1 (![SuperSlider-Menu options screen](screenshot-1.png "SuperSlider-Menu")), #2 (![SuperSlider-Menu ](screenshot-2.png "SuperSlider-Menu Widget options")), #3 (![SuperSlider-Menu ](screenshot-3.png "SuperSlider-Menu options screen"))
superslider-menu/superslider-menu.php 92% from 13 tests
The main PHP file in "SuperSlider-Menu" ver. 2.3 adds more information about the plugin and also serves as the entry point for this plugin
Please make the necessary changes and fix the following:
- Description: The description should be shorter than 140 characters (currently 167 characters long)
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,120 lines of code in 19 files:
Language | Files | Blank lines | Comment lines | Lines of code |
---|---|---|---|---|
PHP | 4 | 340 | 124 | 1,266 |
JavaScript | 9 | 41 | 85 | 1,173 |
CSS | 6 | 106 | 27 | 681 |
PHP code Passed 2 tests
Analyzing logical lines of code, cyclomatic complexity, and other code metrics
This plugin has no cyclomatic complexity problems
Cyclomatic complexity | |
---|---|
Average complexity per logical line of code | 0.44 |
Average class complexity | 25.00 |
▷ Minimum class complexity | 25.00 |
▷ Maximum class complexity | 25.00 |
Average method complexity | 2.26 |
▷ 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 | 19 | |
▷ Static methods | 0 | 0.00% |
▷ Public methods | 19 | 100.00% |
▷ Protected methods | 0 | 0.00% |
▷ Private methods | 0 | 0.00% |
Functions | 7 | |
▷ Named functions | 7 | 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
Using a strong compression for your PNG files is a great way to speed-up your plugin
27 PNG files occupy 0.49MB with 0.26MB in potential savings
Potential savings
Compression of 5 random PNG files using pngquant | |||
---|---|---|---|
File | Size - original | Size - compressed | Savings |
plugin-data/superslider/ssMenu/custom/nav_arrows.png | 2.05KB | 1.30KB | ▼ 36.68% |
plugin-data/superslider/ssMenu/blue/tooltips/tip_edit.png | 32.29KB | 1.99KB | ▼ 93.83% |
screenshot-1.png | 27.39KB | 8.73KB | ▼ 68.13% |
admin/img/black.png | 1.29KB | 0.67KB | ▼ 47.64% |
plugin-data/superslider/ssMenu/black/tooltips/tip-sprite.png | 2.81KB | 2.08KB | ▼ 25.92% |