Benchmarks
Plugin footprint 58% from 16 tests
Installer 0% from 1 test
🔺 Critical test (weight: 50) | Checking the installer triggered no errors
The following installer errors require your attention
- The plugin cannot be installed
- > Notice in wp-content/plugins/superslider-slimbox/superslider-slimbox.php+175
Trying to access array offset on value of type bool
Server metrics [RAM: ▲0.07MB] [CPU: ▼301.15ms] Passed 4 tests
A check of server-side resources used by SuperSlider-Slimbox
No issues were detected with server-side resource usage
Page | Memory (MB) | CPU Time (ms) |
---|---|---|
Home / | 3.66 ▲0.14 | 57.12 ▲6.04 |
Dashboard /wp-admin | 3.50 ▲0.10 | 40.01 ▼3.53 |
Posts /wp-admin/edit.php | 3.73 ▲0.09 | 40.77 ▼32.26 |
Add New Post /wp-admin/post-new.php | 6.97 ▼0.00 | 95.31 ▼1,165.95 |
Media Library /wp-admin/upload.php | 3.38 ▲0.09 | 25.56 ▼2.84 |
SuperSlider-Slimbox /wp-admin/options-general.php?page=superslider-slimbox | 3.51 | 22.47 |
Server storage [IO: ▲0.66MB] [DB: ▲0.00MB] Passed 3 tests
Analyzing filesystem and database footprints of this plugin
This plugin was installed successfully
Filesystem: 49 new files
Database: no new tables, 1 new option
New WordPress options |
---|
ssSlimbox_options |
Browser metrics Passed 4 tests
This is an overview of browser requirements for SuperSlider-Slimbox
This plugin has a minimal impact on browser resources
Page | Nodes | Memory (MB) | Script (ms) | Layout (ms) |
---|---|---|---|---|
Home / | 3,786 ▲28 | 15.64 ▼0.41 | 6.44 ▲0.52 | 2.82 ▲0.10 |
Dashboard /wp-admin | 2,883 ▲22 | 6.24 ▲0.00 | 117.06 ▼19.37 | 162.65 ▼4.35 |
Posts /wp-admin/edit.php | 2,693 ▲2 | 3.23 ▼0.13 | 68.89 ▲3.56 | 178.33 ▲29.67 |
Add New Post /wp-admin/post-new.php | 1,856 ▲166 | 16.99 ▼3.65 | 440.35 ▼13.78 | 164.92 ▲9.09 |
Media Library /wp-admin/upload.php | 1,706 ▲8 | 5.53 ▲0.03 | 147.36 ▼1.75 | 188.51 ▼2.35 |
SuperSlider-Slimbox /wp-admin/options-general.php?page=superslider-slimbox | 2,313 | 2.96 | 70.28 | 158.60 |
Uninstaller [IO: ▲0.00MB] [DB: ▲0.00MB] 75% from 4 tests
🔸 Tests weight: 35 | It is important to correctly uninstall your plugin, without leaving any traces
It is recommended to fix the following
- Zombie WordPress options detected upon uninstall: 1 option
- ssSlimbox_options
Smoke tests 25% from 4 tests
Server-side errors 0% from 1 test
🔹 Test weight: 20 | Just a short smoke test targeting errors on the server (in the Apache logs)
Please fix the following server-side errors
- 2 occurences, only the last one shown
- > GET request to /wp-admin/options-general.php?page=superslider-slimbox
- > Notice in wp-content/plugins/superslider-slimbox/admin/superslider-slimbox-ui.php+583
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
- 2× GET requests to PHP files have triggered server-side errors or warnings:
- > PHP Fatal error
Uncaught Error: Call to undefined function current_user_can() in wp-content/plugins/superslider-slimbox/admin/superslider-slimbox-ui.php:25
- > PHP Fatal error
Uncaught Error: Call to undefined function get_option() in wp-content/plugins/superslider-slimbox/superslider-slimbox.php:173
- > PHP Fatal error
User-side errors 0% from 1 test
🔹 Test weight: 20 | This is a shallow check for browser errors
Please take a look at the following user-side issues
- > GET request to /wp-admin/options-general.php?page=superslider-slimbox
- > Network (severe)
wp-content/plugins/superslider-show/admin/ss_admin_style.css?ver=5.9.2 - Failed to load resource: the server responded with a status of 404 (Not Found)
Optimizations
Plugin configuration 93% from 29 tests
readme.txt 88% from 16 tests
You should put a lot of thought into formatting readme.txt as it is used by WordPress.org to prepare the public listing of your plugin
These attributes need your attention:
- Requires at least: Invalid version format
- Screenshots: Please add images for these screenshots: #1 (![Slimbox sample](screenshot-1.png "Slimbox sample")), #2 (![SuperSlider-Slimbox options screen](screenshot-2.png "SuperSlider-Slimbox options screen")), #3 (![SuperSlider-Slimbox MetaBox on post screen](screenshot-3.png "SuperSlider-Slimbox MetaBox screen"))
superslider-slimbox/superslider-slimbox.php Passed 13 tests
"SuperSlider-Slimbox" version 1.5's main PHP file describes plugin functionality and also serves as the entry point to any WordPress functionality
138 characters long description:
Another pop over light box. Theme based, animated, automatic linking, autoplay show built with slimbox2 , uses mootools 1.4.5 java script.
Code Analysis Passed 3 tests
File types Passed 1 test
🔸 Test weight: 35 | A short review of files and their extensions; it is not recommended to include executable files
No dangerous file extensions were detected4,015 lines of code in 20 files:
Language | Files | Blank lines | Comment lines | Lines of code |
---|---|---|---|---|
JavaScript | 11 | 123 | 187 | 2,549 |
PHP | 3 | 188 | 113 | 863 |
CSS | 6 | 69 | 13 | 603 |
PHP code Passed 2 tests
Cyclomatic complexity and code structure are the fingerprint of this plugin
There were no cyclomatic complexity issued detected
Cyclomatic complexity | |
---|---|
Average complexity per logical line of code | 0.35 |
Average class complexity | 41.00 |
▷ Minimum class complexity | 41.00 |
▷ Maximum class complexity | 41.00 |
Average method complexity | 2.43 |
▷ Minimum method complexity | 1.00 |
▷ Maximum method complexity | 10.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 | 28 | |
▷ Static methods | 0 | 0.00% |
▷ Public methods | 28 | 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
Often times overlooked, PNG files can occupy unnecessary space in your plugin
10 PNG files occupy 0.16MB with 0.11MB in potential savings
Potential savings
Compression of 5 random PNG files using pngquant | |||
---|---|---|---|
File | Size - original | Size - compressed | Savings |
plugin-data/superslider/ssSlimbox/next_edit.png | 28.72KB | 0.29KB | ▼ 98.99% |
plugin-data/superslider/ssSlimbox/prev_edit.png | 28.90KB | 0.31KB | ▼ 98.94% |
admin/img/blue.png | 1.19KB | 0.62KB | ▼ 48.15% |
plugin-data/superslider/ssSlimbox/default/images/328(2).png | 20.35KB | 11.19KB | ▼ 45.02% |
admin/img/black.png | 1.29KB | 0.67KB | ▼ 47.64% |