Benchmarks
Plugin footprint 83% from 16 tests
Installer Passed 1 test
🔺 Critical test (weight: 50) | The install procedure must perform silently
This plugin's installer ran successfully
Server metrics [RAM: ▲0.21MB] [CPU: ▼0.18ms] Passed 4 tests
A check of server-side resources used by OS BXSlider
No issues were detected with server-side resource usage
Page | Memory (MB) | CPU Time (ms) |
---|---|---|
Home / | 3.63 ▲0.17 | 52.71 ▲10.27 |
Dashboard /wp-admin | 3.50 ▲0.20 | 49.04 ▼1.31 |
Posts /wp-admin/edit.php | 3.60 ▲0.25 | 53.14 ▲1.91 |
Add New Post /wp-admin/post-new.php | 6.19 ▲0.31 | 97.04 ▼3.94 |
Media Library /wp-admin/upload.php | 3.44 ▲0.21 | 37.75 ▲2.63 |
OS BXSlider /wp-admin/edit.php?post_type=os_bxslider | 3.53 | 43.83 |
Add New /wp-admin/post-new.php?post_type=os_bxslider | 3.59 | 51.83 |
Server storage [IO: ▲1.56MB] [DB: ▲0.00MB] Passed 3 tests
Analyzing filesystem and database footprints of this plugin
The plugin installed successfully
Filesystem: 44 new files
Database: no new tables, 6 new options
New WordPress options |
---|
widget_theysaidso_widget |
widget_recent-posts |
db_upgraded |
theysaidso_admin_options |
widget_recent-comments |
can_compress_scripts |
Browser metrics Passed 4 tests
A check of browser resources used by OS BXSlider
This plugin has a minimal impact on browser resources
Page | Nodes | Memory (MB) | Script (ms) | Layout (ms) |
---|---|---|---|---|
Home / | 2,863 ▲117 | 13.21 ▼1.19 | 3.74 ▲1.53 | 42.68 ▼2.90 |
Dashboard /wp-admin | 2,233 ▲45 | 5.86 ▲0.98 | 99.26 ▼8.82 | 39.58 ▼5.61 |
Posts /wp-admin/edit.php | 2,116 ▲27 | 2.07 ▲0.04 | 39.14 ▲2.29 | 36.77 ▲2.92 |
Add New Post /wp-admin/post-new.php | 1,561 ▲26 | 23.27 ▲0.07 | 679.87 ▲0.28 | 53.94 ▼2.50 |
Media Library /wp-admin/upload.php | 1,412 ▲24 | 4.21 ▲0.03 | 109.15 ▼0.45 | 48.22 ▼1.15 |
OS BXSlider /wp-admin/edit.php?post_type=os_bxslider | 1,265 | 3.47 | 44.23 | 26.96 |
Add New /wp-admin/post-new.php?post_type=os_bxslider | 2,775 | 3.75 | 69.21 | 45.10 |
Uninstaller [IO: ▲0.00MB] [DB: ▲0.00MB] 75% from 4 tests
🔸 Tests weight: 35 | Verifying that this plugin uninstalls completely without leaving any traces
You still need to fix the following
- Zombie WordPress options detected upon uninstall: 6 options
- theysaidso_admin_options
- widget_recent-posts
- db_upgraded
- widget_recent-comments
- can_compress_scripts
- widget_theysaidso_widget
Smoke tests 75% from 4 tests
Server-side errors Passed 1 test
🔹 Test weight: 20 | Just a short smoke test targeting errors on the server (in the Apache logs)
Everything seems fine, however this is by no means an exhaustive test
SRP 50% from 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
Please fix the following
- 9× PHP files trigger server-side errors or warnings when accessed directly:
- > PHP Fatal error
Uncaught Error: Class 'osBxSliderPostTypes' not found in wp-content/plugins/os-bxslider/includes/admin/meta-boxes/views/os-bxslider.general.php:2
- > PHP Fatal error
Uncaught Error: Class 'osBxSliderPostTypes' not found in wp-content/plugins/os-bxslider/includes/admin/meta-boxes/views/os-bxslider.carousel.php:2
- > PHP Fatal error
Uncaught Error: Class 'osBxSliderPostTypes' not found in wp-content/plugins/os-bxslider/includes/admin/meta-boxes/views/os-bxslider.auto.php:2
- > PHP Fatal error
Uncaught Error: Class 'osBxSliderPostTypes' not found in wp-content/plugins/os-bxslider/includes/admin/meta-boxes/views/os-bxslider.shortcode.php:2
- > PHP Fatal error
Uncaught Error: Class 'osBxSliderPostTypes' not found in wp-content/plugins/os-bxslider/includes/admin/meta-boxes/views/os-bxslider.type.php:2
- > PHP Fatal error
Uncaught Error: Class 'osBxSliderPostTypes' not found in wp-content/plugins/os-bxslider/includes/admin/meta-boxes/views/os-bxslider.design.php:2
- > PHP Fatal error
Uncaught Error: Class 'osBxSliderPostTypes' not found in wp-content/plugins/os-bxslider/includes/admin/meta-boxes/views/os-bxslider.pager.php:2
- > PHP Fatal error
Uncaught Error: Class 'osBxSliderPostTypes' not found in wp-content/plugins/os-bxslider/includes/admin/meta-boxes/views/os-bxslider.controls.php:2
- > PHP Fatal error
Uncaught Error: Class 'osBxSliderPostTypes' not found in wp-content/plugins/os-bxslider/includes/admin/meta-boxes/views/os-bxslider.slide.php:2
- > PHP Fatal error
User-side errors Passed 1 test
🔹 Test weight: 20 | This is a smoke test targeting browser errors/issues
Everything seems fine on the user side
Optimizations
Plugin configuration 97% from 29 tests
readme.txt 94% from 16 tests
Perhaps the most important file in your plugin readme.txt gets parsed in order to generate the public listing of your plugin
Attributes that require attention:
- Screenshots: These screenshots require images: #1 (OS BXSlider slider listing interface), #2 (OS BXSlider add new slider interface), #3 (OS BXSlider - Slider with captions), #4 (OS BXSlider - Carousel), #5 (OS BXSlider - Thumbnail), #6 (OS BXSlider - Ticker)
os-bxslider/os-bxslider.php Passed 13 tests
The primary PHP file in "OS BXSlider" version 2.6 is used by WordPress to initiate all plugin functionality
101 characters long description:
Creates a responsive slider using bxslider. WordPress plugin develop by Offshorent Softwares Pvt Ltd.
Code Analysis Passed 3 tests
File types Passed 1 test
🔸 Test weight: 35 | Executable files are not allowed as they can serve as attack vectors
No dangerous file extensions were detected2,101 lines of code in 27 files:
Language | Files | Blank lines | Comment lines | Lines of code |
---|---|---|---|---|
PHP | 20 | 264 | 419 | 1,128 |
JavaScript | 4 | 70 | 478 | 807 |
CSS | 3 | 35 | 22 | 166 |
PHP code Passed 2 tests
An overview of cyclomatic complexity and code structure
This plugin has no cyclomatic complexity issues
Cyclomatic complexity | |
---|---|
Average complexity per logical line of code | 0.32 |
Average class complexity | 5.64 |
▷ Minimum class complexity | 1.00 |
▷ Maximum class complexity | 37.00 |
Average method complexity | 1.94 |
▷ Minimum method complexity | 1.00 |
▷ Maximum method complexity | 18.00 |
Code structure | ||
---|---|---|
Namespaces | 0 | |
Interfaces | 0 | |
Traits | 0 | |
Classes | 11 | |
▷ Abstract classes | 0 | 0.00% |
▷ Concrete classes | 11 | 100.00% |
▷ Final classes | 1 | 9.09% |
Methods | 54 | |
▷ Static methods | 3 | 5.56% |
▷ Public methods | 52 | 96.30% |
▷ Protected methods | 0 | 0.00% |
▷ Private methods | 2 | 3.70% |
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 50% from 2 tests
Image compression 50% from 2 tests
Using a strong compression for your PNG files is a great way to speed-up your plugin
15 PNG files occupy 1.41MB with 0.46MB in potential savings
Potential savings
Compression of 5 random PNG files using pngquant | |||
---|---|---|---|
File | Size - original | Size - compressed | Savings |
images/thumbnail.png | 0.34KB | 0.13KB | ▼ 62.11% |
images/delete.png | 0.46KB | 0.54KB | 0.00% |
images/down.png | 0.68KB | 0.76KB | 0.00% |
images/slider_caption.png | 0.58KB | 0.39KB | ▼ 32.72% |
screenshot-3.png | 380.57KB | 113.70KB | ▼ 70.12% |