Benchmarks
Plugin footprint 83% from 16 tests
Installer Passed 1 test
🔺 Critical test (weight: 50) | The install procedure must perform silently
The plugin installed successfully, without throwing any errors or notices
Server metrics [RAM: ▲0.17MB] [CPU: ▼1.32ms] Passed 4 tests
An overview of server-side resources used by bxSlider integration for WordPress
Server-side resource usage in normal parameters
Page | Memory (MB) | CPU Time (ms) |
---|---|---|
Home / | 3.61 ▲0.15 | 38.06 ▲0.47 |
Dashboard /wp-admin | 3.48 ▲0.18 | 44.15 ▼4.38 |
Posts /wp-admin/edit.php | 3.60 ▲0.24 | 44.93 ▲1.51 |
Add New Post /wp-admin/post-new.php | 6.07 ▲0.18 | 84.79 ▼2.87 |
Media Library /wp-admin/upload.php | 3.41 ▲0.18 | 35.81 ▲1.57 |
bxSlider integration /wp-admin/options-general.php?page=bxsg-settings | 3.37 | 31.98 |
Server storage [IO: ▲0.37MB] [DB: ▲0.00MB] Passed 3 tests
How much does this plugin use your filesystem and database?
The plugin installed successfully
Filesystem: 45 new files
Database: no new tables, 6 new options
New WordPress options |
---|
can_compress_scripts |
widget_recent-comments |
theysaidso_admin_options |
widget_recent-posts |
db_upgraded |
widget_theysaidso_widget |
Browser metrics Passed 4 tests
This is an overview of browser requirements for bxSlider integration for WordPress
Normal browser usage
Page | Nodes | Memory (MB) | Script (ms) | Layout (ms) |
---|---|---|---|---|
Home / | 2,905 ▲144 | 13.84 ▼0.75 | 8.46 ▲6.90 | 42.92 ▼7.74 |
Dashboard /wp-admin | 2,199 ▲25 | 5.59 ▼0.09 | 80.67 ▼8.03 | 37.93 ▼4.04 |
Posts /wp-admin/edit.php | 2,104 ▲4 | 2.03 ▲0.04 | 43.86 ▲8.53 | 45.79 ▲13.11 |
Add New Post /wp-admin/post-new.php | 1,536 ▲8 | 23.27 ▲0.26 | 673.71 ▼7.39 | 56.59 ▼1.38 |
Media Library /wp-admin/upload.php | 1,404 ▲4 | 4.23 ▲0.01 | 104.00 ▲8.22 | 47.50 ▲0.96 |
bxSlider integration /wp-admin/options-general.php?page=bxsg-settings | 1,151 | 2.00 | 30.42 | 56.88 |
Uninstaller [IO: ▲0.00MB] [DB: ▲0.00MB] 75% from 4 tests
🔸 Tests weight: 35 | All plugins must uninstall correctly, removing their source code and extra database tables they might have created
These items require your attention
- Zombie WordPress options were found after uninstall: 6 options
- widget_theysaidso_widget
- widget_recent-posts
- can_compress_scripts
- db_upgraded
- theysaidso_admin_options
- widget_recent-comments
Smoke tests 25% from 4 tests
Server-side errors 0% from 1 test
🔹 Test weight: 20 | This is a short smoke test looking for server-side errors
Almost there, just fix the following server-side errors
- > GET request to /wp-admin/options-general.php?page=bxsg-settings
- > User deprecated in wp-includes/functions.php+5463
Function screen_icon is deprecated since version 3.8.0 with no alternative available.
- > GET request to /wp-admin/options-general.php?page=bxsg-settings
- > User deprecated in wp-includes/functions.php+5463
Function get_screen_icon is deprecated since version 3.8.0 with no alternative available.
SRP 0% 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
The following issues need your attention
- 2× PHP files output non-empty strings when accessed directly via GET requests:
- > /wp-content/plugins/bxslider-integration/src/php/slider-shortcode.view.php
- > /wp-content/plugins/bxslider-integration/src/php/slider-shortcode.script.php
- 33× GET requests to PHP files have triggered server-side errors or warnings (only 10 are shown):
- > PHP Notice
Undefined variable: hide_carousel in wp-content/plugins/bxslider-integration/src/php/gallery-shortcode.script.php on line 24
- > PHP Notice
Undefined variable: gallery_id in wp-content/plugins/bxslider-integration/src/php/gallery-shortcode.view.php on line 24
- > PHP Warning
Use of undefined constant BXSG_INCLUDES_DIR - assumed 'BXSG_INCLUDES_DIR' (this will throw an Error in a future version of PHP) in wp-content/plugins/bxslider-integration/src/php/theme-utils.class.php on line 19
- > PHP Notice
Undefined variable: adaptive_height in wp-content/plugins/bxslider-integration/src/php/slider-shortcode.script.php on line 24
- > PHP Notice
Undefined variable: gallery_id in wp-content/plugins/bxslider-integration/src/php/gallery-shortcode.script.php on line 22
- > PHP Notice
Undefined variable: hide_carousel in wp-content/plugins/bxslider-integration/src/php/gallery-shortcode.script.php on line 38
- > PHP Notice
Undefined variable: gallery_id in wp-content/plugins/bxslider-integration/src/php/gallery-shortcode.script.php on line 43
- > PHP Notice
Undefined variable: auto_start in wp-content/plugins/bxslider-integration/src/php/slider-shortcode.script.php on line 25
- > PHP Notice
Undefined variable: extra_options in wp-content/plugins/bxslider-integration/src/php/slider-shortcode.script.php on line 29
- > PHP Fatal error
require_once(): Failed opening required 'BXSG_INCLUDES_DIR/settings.class.php' (include_path='.:/usr/share/php') in wp-content/plugins/bxslider-integration/src/php/plugin.class.php on line 19
- > PHP Notice
User-side errors Passed 1 test
🔹 Test weight: 20 | This is a smoke test targeting browser errors/issues
There were no browser issues found
Optimizations
Plugin configuration 93% from 29 tests
readme.txt 94% from 16 tests
The readme.txt file is undoubtedly the most important file in your plugin, preparing it for public listing on WordPress.org
Please fix the following attributes:
- Screenshots: Add a description for screenshot #1 in bxslider-integration/assets to your readme.txt
bxslider-integration/bxslider-integration.php 92% from 13 tests
The entry point to "bxSlider integration for WordPress" version 1.7.2 is a PHP file that has certain tags in its header comment area
Please make the necessary changes and fix the following:
- Text Domain: The text domain is optional since WordPress version 4.6; if you do specify it, it must be the same as the plugin slug
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
There were no executable files found in this plugin3,650 lines of code in 28 files:
Language | Files | Blank lines | Comment lines | Lines of code |
---|---|---|---|---|
JavaScript | 5 | 84 | 559 | 996 |
PHP | 11 | 213 | 350 | 978 |
PO File | 5 | 453 | 726 | 854 |
Markdown | 1 | 95 | 0 | 483 |
LESS | 3 | 36 | 26 | 165 |
CSS | 2 | 34 | 25 | 149 |
JSON | 1 | 0 | 0 | 25 |
PHP code Passed 2 tests
This is a short overview of cyclomatic complexity and code structure for this plugin
Everything seems fine, there were no complexity issues found
Cyclomatic complexity | |
---|---|
Average complexity per logical line of code | 0.17 |
Average class complexity | 7.80 |
▷ Minimum class complexity | 1.00 |
▷ Maximum class complexity | 16.00 |
Average method complexity | 1.97 |
▷ Minimum method complexity | 1.00 |
▷ Maximum method complexity | 6.00 |
Code structure | ||
---|---|---|
Namespaces | 0 | |
Interfaces | 0 | |
Traits | 0 | |
Classes | 5 | |
▷ Abstract classes | 0 | 0.00% |
▷ Concrete classes | 5 | 100.00% |
▷ Final classes | 0 | 0.00% |
Methods | 35 | |
▷ Static methods | 2 | 5.71% |
▷ Public methods | 29 | 82.86% |
▷ Protected methods | 0 | 0.00% |
▷ Private methods | 6 | 17.14% |
Functions | 0 | |
▷ Named functions | 0 | 0.00% |
▷ Anonymous functions | 0 | 0.00% |
Constants | 6 | |
▷ Global constants | 6 | 100.00% |
▷ Class constants | 0 | 0.00% |
▷ Public constants | 0 | 0.00% |
Plugin size Passed 2 tests
Image compression Passed 2 tests
All PNG images should be compressed to minimize bandwidth usage for end users
2 PNG files occupy 0.01MB with 0.00MB in potential savings
Potential savings
Compression of 2 random PNG files using pngquant | |||
---|---|---|---|
File | Size - original | Size - compressed | Savings |
assets/img/controls.png | 2.74KB | 1.42KB | ▼ 48.29% |
libs/bxslider/images/controls.png | 2.74KB | 1.42KB | ▼ 48.29% |