Benchmarks
Plugin footprint 40% from 16 tests
Installer 0% from 1 test
🔺 Critical test (weight: 50) | All plugins must install correctly, without throwing any errors, warnings, or notices
Please fix the following installer errors
- This plugin did not install gracefully
- > User notice in wp-includes/functions.php+5905
Function register_uninstall_hook was called incorrectly. Only a static class method or function can be used in an uninstall hook. Please see Debugging in WordPress for more information. (This message was added in version 3.1.0.)
Server metrics [RAM: ▼1.89MB] [CPU: ▼57.01ms] Passed 4 tests
A check of server-side resources used by bxSlider for WordPress
This plugin does not affect your website's performance
Page | Memory (MB) | CPU Time (ms) |
---|---|---|
Home / | 2.10 ▼1.37 | 4.64 ▼35.49 |
Dashboard /wp-admin | 2.12 ▼1.19 | 5.82 ▼48.71 |
Posts /wp-admin/edit.php | 2.12 ▼1.24 | 6.66 ▼43.31 |
Add New Post /wp-admin/post-new.php | 2.12 ▼3.77 | 5.65 ▼100.53 |
Media Library /wp-admin/upload.php | 2.12 ▼1.11 | 5.81 ▼31.74 |
WP bxSlider setting /wp-admin/options-general.php?page=WP_bxSlider_admin_menu | 2.12 | 7.34 |
Server storage [IO: ▲0.50MB] [DB: ▲0.00MB] Passed 3 tests
Analyzing filesystem and database footprints of this plugin
There were no storage issued detected upon installing this plugin
Filesystem: 11 new files
Database: no new tables, 12 new options
New WordPress options |
---|
widget_recent-comments |
bxslider_wp_slide_speed |
bxslider_wp_slide_delay |
bxslider_wp_slide_infiniteLoop |
theysaidso_admin_options |
widget_theysaidso_widget |
widget_recent-posts |
bxslider_wp_slide_size |
db_upgraded |
bxslider_wp_auto_start |
... |
Browser metrics Passed 4 tests
bxSlider for WordPress: an overview of browser usage
This plugin has a minimal impact on browser resources
Page | Nodes | Memory (MB) | Script (ms) | Layout (ms) |
---|---|---|---|---|
Home / | 3,043 ▲257 | 14.84 ▲0.20 | 6.73 ▲4.61 | 44.59 ▲3.90 |
Dashboard /wp-admin | 2,341 ▲164 | 6.17 ▲0.49 | 118.03 ▲26.08 | 42.76 ▼7.03 |
Posts /wp-admin/edit.php | 2,263 ▲163 | 3.32 ▲1.34 | 48.72 ▲11.10 | 31.52 ▼1.82 |
Add New Post /wp-admin/post-new.php | 1,548 ▲8 | 23.28 ▲5.23 | 625.38 ▲3.72 | 35.69 ▼12.79 |
Media Library /wp-admin/upload.php | 1,401 ▲1 | 4.21 ▲0.05 | 84.79 ▼21.29 | 44.93 ▼1.89 |
WP bxSlider setting /wp-admin/options-general.php?page=WP_bxSlider_admin_menu | 1,395 | 5.25 | 76.99 | 61.46 |
Uninstaller [IO: ▲0.00MB] [DB: ▲0.00MB] 50% from 4 tests
🔸 Tests weight: 35 | Checking the uninstaller removed all traces of the plugin
Please fix the following items
- This plugin did not uninstall without warnings or errors
- > User notice in wp-includes/functions.php+5905
Function register_uninstall_hook was called incorrectly. Only a static class method or function can be used in an uninstall hook. Please see Debugging in WordPress for more information. (This message was added in version 3.1.0.)
- The uninstall procedure has failed, leaving 6 options in the database
- theysaidso_admin_options
- db_upgraded
- widget_recent-posts
- can_compress_scripts
- widget_theysaidso_widget
- widget_recent-comments
Smoke tests 50% from 4 tests
Server-side errors 0% from 1 test
🔹 Test weight: 20 | This is a short smoke test looking for server-side errors
Smoke test failed, please fix the following
- > GET request to /wp-admin/options-general.php?page=WP_bxSlider_admin_menu
- > User notice in wp-includes/functions.php+5905
Function register_uninstall_hook was called incorrectly. Only a static class method or function can be used in an uninstall hook. Please see Debugging in WordPress for more information. (This message was added in version 3.1.0.)
- > GET request to /wp-admin/options-general.php?page=WP_bxSlider_admin_menu
- > Notice in wp-content/plugins/global-s-h-bxslider/manage/admin.php+33
Undefined index: BxsliderWp_save
- 3 occurences, only the last one shown
- > GET request to /wp-admin/options-general.php?page=WP_bxSlider_admin_menu
- > Warning in wp-content/plugins/global-s-h-bxslider/manage/admin.php+145
Use of undefined constant bxslider_wp_home_image_url1 - assumed 'bxslider_wp_home_image_url1' (this will throw an Error in a future version of PHP)
- 3 occurences, only the last one shown
- > GET request to /wp-admin/options-general.php?page=WP_bxSlider_admin_menu
- > Warning in wp-content/plugins/global-s-h-bxslider/manage/admin.php+168
Use of undefined constant bxslider_wp_home_image_url2 - assumed 'bxslider_wp_home_image_url2' (this will throw an Error in a future version of PHP)
- 3 occurences, only the last one shown
- > GET request to /wp-admin/options-general.php?page=WP_bxSlider_admin_menu
- > Warning in wp-content/plugins/global-s-h-bxslider/manage/admin.php+192
Use of undefined constant bxslider_wp_home_image_url3 - assumed 'bxslider_wp_home_image_url3' (this will throw an Error in a future version of PHP)
- 3 occurences, only the last one shown
- > GET request to /wp-admin/options-general.php?page=WP_bxSlider_admin_menu
- > Warning in wp-content/plugins/global-s-h-bxslider/manage/admin.php+214
Use of undefined constant bxslider_wp_home_image_url4 - assumed 'bxslider_wp_home_image_url4' (this will throw an Error in a future version of PHP)
- 20 occurences, only the last one shown
- > GET request to /wp-admin/options-general.php?page=WP_bxSlider_admin_menu
- > Warning in wp-content/plugins/global-s-h-bxslider/manage/admin.php+442
Use of undefined constant bxslider_wp_home_image_url - assumed 'bxslider_wp_home_image_url' (this will throw an Error in a future version of PHP)
SRP Passed 2 tests
🔹 Tests weight: 20 | The single-responsibility principle: PHP files have to remain inert when accessed directly, throwing no errors and performing no actions
Everything seems fine, however this is by no means an exhaustive test
User-side errors 0% from 1 test
🔹 Test weight: 20 | This is just a short smoke test looking for browser issues
Please take a look at the following user-side issues
- > GET request to /wp-admin/options-general.php?page=WP_bxSlider_admin_menu
- > Javascript (severe) in unknown
/wp-admin/options-general.php?page=WP_bxSlider_admin_menu 387:4 Uncaught TypeError: jQuery(...) is not a function
- > GET request to /wp-admin/options-general.php?page=WP_bxSlider_admin_menu
- > Javascript (severe) in unknown
/wp-admin/options-general.php?page=WP_bxSlider_admin_menu 450:4 Uncaught TypeError: jQuery(...) is not a function
- > GET request to /wp-admin/options-general.php?page=WP_bxSlider_admin_menu
- > Javascript (severe) in unknown
/wp-admin/options-general.php?page=WP_bxSlider_admin_menu 513:4 Uncaught TypeError: jQuery(...) is not a function
- > GET request to /wp-admin/options-general.php?page=WP_bxSlider_admin_menu
- > Javascript (severe) in unknown
/wp-admin/options-general.php?page=WP_bxSlider_admin_menu 576:4 Uncaught TypeError: jQuery(...) is not a function
- > GET request to /wp-admin/options-general.php?page=WP_bxSlider_admin_menu
- > Security (warning) in unknown
security - Error with Permissions-Policy header: Unrecognized feature: 'ambient-light-sensor'.
- > GET request to /wp-admin/options-general.php?page=WP_bxSlider_admin_menu
- > Security (warning) in unknown
security - Error with Permissions-Policy header: Unrecognized feature: 'bluetooth'.
Optimizations
Plugin configuration 83% 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
Attributes that require attention:
- Requires at least: The plugin version is formatted incorrectly
- Plugin Name: Write the name of your plugin instead of "Plugin Name" on the first line (
=== global-s-h-bxslider ===
)
global-s-h-bxslider/bx-slider-for-wp.php 77% from 13 tests
The main PHP script in "bxSlider for WordPress" version 1.2.3 is automatically included on every request by WordPress
Please make the necessary changes and fix the following:
- Description: Please keep the plugin description shorter than 140 characters (currently 208 characters long)
- Domain Path: The domain path folder was not found ("/languages/")
- Main file name: The principal plugin file should be the same as the plugin slug ("global-s-h-bxslider.php" instead of "bx-slider-for-wp.php")
Code Analysis Passed 3 tests
File types Passed 1 test
🔸 Test weight: 35 | There should be no dangerous file extensions present in any WordPress plugin
Good job! No executable or dangerous file extensions detected1,809 lines of code in 6 files:
Language | Files | Blank lines | Comment lines | Lines of code |
---|---|---|---|---|
JavaScript | 3 | 109 | 600 | 1,183 |
PHP | 2 | 171 | 96 | 462 |
CSS | 1 | 0 | 13 | 164 |
PHP code Passed 2 tests
Analyzing cyclomatic complexity and code structure
Great job! No cyclomatic complexity issues were detected in this plugin
Cyclomatic complexity | |
---|---|
Average complexity per logical line of code | 0.30 |
Average class complexity | 16.00 |
▷ Minimum class complexity | 16.00 |
▷ Maximum class complexity | 16.00 |
Average method complexity | 2.15 |
▷ Minimum method complexity | 1.00 |
▷ Maximum method complexity | 7.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 | 13 | |
▷ Static methods | 0 | 0.00% |
▷ Public methods | 13 | 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 | 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.39MB with 0.23MB in potential savings
Potential savings
Compression of 3 random PNG files using pngquant | |||
---|---|---|---|
File | Size - original | Size - compressed | Savings |
bx/images/controls.png | 2.74KB | 1.42KB | ▼ 48.29% |
screenshot-1.png | 333.72KB | 115.87KB | ▼ 65.28% |
screenshot-2.png | 60.66KB | 22.52KB | ▼ 62.87% |