Benchmarks
Plugin footprint 65% from 16 tests
Installer Passed 1 test
🔺 Critical test (weight: 50) | All plugins must install correctly, without throwing any errors, warnings, or notices
Installer ran successfully
Server metrics [RAM: ▼1.87MB] [CPU: ▼190.54ms] Passed 4 tests
An overview of server-side resources used by Responsive Banner Slider
Server-side resource usage in normal parameters
Page | Memory (MB) | CPU Time (ms) |
---|---|---|
Home / | 1.76 ▼1.07 | 4.72 ▼32.62 |
Dashboard /wp-admin | 1.78 ▼1.27 | 5.36 ▼38.13 |
Posts /wp-admin/edit.php | 1.78 ▼1.33 | 5.66 ▼38.04 |
Add New Post /wp-admin/post-new.php | 1.78 ▼3.65 | 5.50 ▼653.35 |
Media Library /wp-admin/upload.php | 1.78 ▼1.22 | 5.51 ▼31.31 |
Banner Slider /wp-admin/edit.php?post_type=slides | 1.78 | 5.32 |
Banner Slider /wp-admin/options-general.php?page=slide-rnd-01 | 1.78 | 6.18 |
Add New Banner /wp-admin/post-new.php?post_type=slides | 1.78 | 5.18 |
Server storage [IO: ▲0.08MB] [DB: ▲0.00MB] Passed 3 tests
How much does this plugin use your filesystem and database?
This plugin was installed successfully
Filesystem: 12 new files
Database: no new tables, 4 new options
New WordPress options |
---|
banner_slidereffect |
banner_pausetime |
banner_transitiontime |
banner_prevnextbtn |
Browser metrics Passed 4 tests
This is an overview of browser requirements for Responsive Banner Slider
This plugin renders optimally with no browser resource issues detected
Page | Nodes | Memory (MB) | Script (ms) | Layout (ms) |
---|---|---|---|---|
Home / | 3,844 ▲248 | 16.21 ▲0.65 | 10.92 ▲2.29 | 52.67 ▲3.53 |
Dashboard /wp-admin | 3,007 ▲76 | 5.88 ▼0.04 | 141.65 ▼14.65 | 153.22 ▲35.35 |
Posts /wp-admin/edit.php | 2,783 ▲44 | 2.70 ▲0.00 | 68.19 ▼2.85 | 88.21 ▼6.59 |
Add New Post /wp-admin/post-new.php | 1,713 ▲30 | 18.83 ▼0.05 | 369.62 ▼25.53 | 123.03 ▼1.33 |
Media Library /wp-admin/upload.php | 1,795 ▼15 | 5.01 ▲0.00 | 133.70 ▼27.71 | 147.35 ▲23.88 |
Banner Slider /wp-admin/edit.php?post_type=slides | 1,452 | 2.61 | 63.86 | 80.00 |
Banner Slider /wp-admin/options-general.php?page=slide-rnd-01 | 1,172 | 2.09 | 52.44 | 69.82 |
Add New Banner /wp-admin/post-new.php?post_type=slides | 2,285 | 4.49 | 103.50 | 106.08 |
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
You still need to fix the following
- This plugin did not uninstall without warnings or errors
- > User notice in wp-includes/functions.php+5663
wp_enqueue_style was called incorrectly. Scripts and styles should not be registered or enqueued until the wp_enqueue_scripts, admin_enqueue_scripts, or login_enqueue_scripts hooks. This notice was triggered by the banner-slider-style handle. Please see Debugging in WordPress for more information. (This message was added in version 3.3.0.)
- Zombie WordPress options were found after uninstall: 4 options
- banner_slidereffect
- banner_pausetime
- banner_transitiontime
- banner_prevnextbtn
Smoke tests 50% 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)
These server-side errors were triggered
- 4 occurences, only the last one shown
- > GET request to /wp-admin/post-new.php?post_type=slides
- > User notice in wp-includes/functions.php+5663
wp_enqueue_style was called incorrectly. Scripts and styles should not be registered or enqueued until the wp_enqueue_scripts, admin_enqueue_scripts, or login_enqueue_scripts hooks. This notice was triggered by the banner-slider-style handle. Please see Debugging in WordPress for more information. (This message was added in version 3.3.0.)
- 4 occurences, only the last one shown
- > GET request to /wp-admin/post-new.php?post_type=slides
- > User notice in wp-includes/functions.php+5663
wp_enqueue_script was called incorrectly. Scripts and styles should not be registered or enqueued until the wp_enqueue_scripts, admin_enqueue_scripts, or login_enqueue_scripts hooks. This notice was triggered by the banner-slider-script handle. Please see Debugging in WordPress for more information. (This message was added in version 3.3.0.)
- > GET request to /wp-admin/post-new.php?post_type=slides
- > Notice in wp-content/plugins/responsive-banner-slider/responsive-banner-slider-post.php+115
Undefined index: wptuts_slidelink_2_meta_box_nonce
- > GET request to /wp-admin/post-new.php?post_type=slides
- > Notice in wp-content/plugins/responsive-banner-slider/responsive-banner-slider-post.php+98
Undefined index: std
SRP 50% from 2 tests
🔹 Tests weight: 20 | It is important to ensure that your PHP files perform no action when accessed directly, respecting the single-responsibility principle
Please fix the following items
- 4× GET requests to PHP files trigger server-side errors or Error 500 responses:
- > PHP Fatal error
Uncaught Error: Call to undefined function wp_enqueue_style() in wp-content/plugins/responsive-banner-slider/responsive-banner-slider.php:13
- > PHP Fatal error
Uncaught Error: Call to undefined function add_option() in wp-content/plugins/responsive-banner-slider/responsive-banner-slider-options.php:2
- > PHP Fatal error
Uncaught Error: Call to undefined function add_action() in wp-content/plugins/responsive-banner-slider/responsive-banner-slider-post.php:42
- > PHP Fatal error
Uncaught Error: Call to undefined function add_shortcode() in wp-content/plugins/responsive-banner-slider/responsive-banner-slider-shortcode.php:9
- > PHP Fatal error
User-side errors Passed 1 test
🔹 Test weight: 20 | This is a smoke test targeting browser errors/issues
No browser issues were found
Optimizations
Plugin configuration 97% from 29 tests
readme.txt 94% from 16 tests
Often overlooked, readme.txt is one of the most important files in your plugin
Please fix the following attributes:
- Screenshots: Please add images for these screenshots: #1 (The screenshot description corresponds to screenshot-1.(png|jpg|jpeg|gif).), #2 (The screenshot description corresponds to screenshot-2.(png|jpg|jpeg|gif).), #3 (The screenshot description corresponds to screenshot-3.(png|jpg|jpeg|gif).)
responsive-banner-slider/responsive-banner-slider.php Passed 13 tests
The primary PHP file in "Responsive Banner Slider" version 1.0 is used by WordPress to initiate all plugin functionality
29 characters long description:
Responsive Page Banner Slider
Code Analysis Passed 3 tests
File types Passed 1 test
🔸 Test weight: 35 | Executable files are considered dangerous and should not be included with any WordPress plugin
Good job! No executable or dangerous file extensions detected1,233 lines of code in 7 files:
Language | Files | Blank lines | Comment lines | Lines of code |
---|---|---|---|---|
JavaScript | 1 | 130 | 120 | 901 |
PHP | 5 | 45 | 28 | 271 |
CSS | 1 | 12 | 20 | 61 |
PHP code Passed 2 tests
Analyzing logical lines of code, cyclomatic complexity, and other code metrics
No cyclomatic complexity issues were detected for this plugin
Cyclomatic complexity | |
---|---|
Average complexity per logical line of code | 0.31 |
Average class complexity | 0.00 |
▷ Minimum class complexity | 0.00 |
▷ Maximum class complexity | 0.00 |
Average method complexity | 0.00 |
▷ Minimum method complexity | 0.00 |
▷ Maximum method complexity | 0.00 |
Code structure | ||
---|---|---|
Namespaces | 0 | |
Interfaces | 0 | |
Traits | 0 | |
Classes | 0 | |
▷ Abstract classes | 0 | 0.00% |
▷ Concrete classes | 0 | 0.00% |
▷ Final classes | 0 | 0.00% |
Methods | 0 | |
▷ Static methods | 0 | 0.00% |
▷ Public methods | 0 | 0.00% |
▷ Protected methods | 0 | 0.00% |
▷ Private methods | 0 | 0.00% |
Functions | 10 | |
▷ Named functions | 10 | 100.00% |
▷ Anonymous functions | 0 | 0.00% |
Constants | 0 | |
▷ Global constants | 0 | 0.00% |
▷ Class constants | 0 | 0.00% |
▷ Public constants | 0 | 0.00% |
Plugin size Passed 2 tests
Image compression Passed 2 tests
PNG files should be compressed to save space and minimize bandwidth usage
3 PNG files occupy 0.00MB with 0.00MB in potential savings
Potential savings
Compression of 3 random PNG files using pngquant | |||
---|---|---|---|
File | Size - original | Size - compressed | Savings |
images/icon.png | 0.66KB | 0.88KB | 0.00% |
css/bullet.png | 0.82KB | 0.81KB | 0.24% |
css/next-previous.png | 0.57KB | 0.25KB | ▼ 55.97% |