Benchmarks
Plugin footprint 83% from 16 tests
Installer Passed 1 test
🔺 Critical test (weight: 50) | Checking the installer triggered no errors
Install script ran successfully
Server metrics [RAM: ▲0.31MB] [CPU: ▼7.21ms] Passed 4 tests
Server-side resources used by Layer Slider
This plugin does not affect your website's performance
Page | Memory (MB) | CPU Time (ms) |
---|---|---|
Home / | 3.85 ▲0.39 | 31.07 ▼16.10 |
Dashboard /wp-admin | 3.65 ▲0.35 | 41.73 ▼5.81 |
Posts /wp-admin/edit.php | 3.79 ▲0.43 | 44.14 ▼8.27 |
Add New Post /wp-admin/post-new.php | 5.97 ▲0.08 | 98.08 ▲1.34 |
Media Library /wp-admin/upload.php | 3.67 ▲0.45 | 44.05 ▲11.33 |
Global Settings /wp-admin/edit.php?post_type=beeslider&page=bee_slider_settings | 3.90 | 52.93 |
Add New Slider /wp-admin/post-new.php?post_type=beeslider | 3.82 | 43.35 |
Layer Sliders /wp-admin/edit.php?post_type=beeslider | 3.76 | 32.88 |
Server storage [IO: ▲4.44MB] [DB: ▲0.00MB] Passed 3 tests
Analyzing filesystem and database footprints of this plugin
This plugin installed successfully
Filesystem: 252 new files
Database: no new tables, 6 new options
New WordPress options |
---|
can_compress_scripts |
widget_theysaidso_widget |
widget_recent-comments |
widget_recent-posts |
theysaidso_admin_options |
db_upgraded |
Browser metrics Passed 4 tests
Layer Slider: an overview of browser usage
This plugin has a minimal impact on browser resources
Page | Nodes | Memory (MB) | Script (ms) | Layout (ms) |
---|---|---|---|---|
Home / | 2,964 ▲218 | 13.78 ▼0.80 | 7.91 ▲5.99 | 42.43 ▲1.58 |
Dashboard /wp-admin | 2,257 ▲69 | 4.91 ▼1.00 | 206.75 ▲94.37 | 89.36 ▲43.09 |
Posts /wp-admin/edit.php | 2,143 ▲54 | 2.01 ▲0.01 | 48.84 ▲8.18 | 51.26 ▲9.66 |
Add New Post /wp-admin/post-new.php | 1,450 ▼64 | 17.92 ▲0.37 | 663.53 ▲10.60 | 35.24 ▼20.25 |
Media Library /wp-admin/upload.php | 1,436 ▲48 | 4.19 ▼0.11 | 127.62 ▲23.12 | 93.72 ▲51.34 |
Global Settings /wp-admin/edit.php?post_type=beeslider&page=bee_slider_settings | 2,506 | 7.64 | 117.75 | 103.36 |
Add New Slider /wp-admin/post-new.php?post_type=beeslider | 1,709 | 3.91 | 72.38 | 91.18 |
Layer Sliders /wp-admin/edit.php?post_type=beeslider | 1,112 | 1.98 | 32.83 | 32.19 |
Uninstaller [IO: ▲0.00MB] [DB: ▲0.00MB] 75% from 4 tests
🔸 Tests weight: 35 | The uninstall procedure must remove all plugin files and extra database tables
These items require your attention
- Zombie WordPress options detected upon uninstall: 6 options
- widget_recent-comments
- widget_theysaidso_widget
- db_upgraded
- can_compress_scripts
- widget_recent-posts
- theysaidso_admin_options
Smoke tests 25% from 4 tests
Server-side errors 0% from 1 test
🔹 Test weight: 20 | A smoke test targeting server-side errors
These errors were triggered by the plugin
- 24 occurences, only the last one shown
- > GET request to /wp-admin/edit.php?post_type=beeslider
- > Notice in wp-content/plugins/bee-layer-slider/includes/framework/extn/mb-settings-page/inc/settings-page-meta-box.php+162
Trying to access array offset on value of type null
SRP 0% 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
- 5× PHP files output non-empty strings when accessed directly via GET requests:
- > /wp-content/plugins/bee-layer-slider/admin/partials/bee-slider-admin-display.php
- > /wp-content/plugins/bee-layer-slider/includes/framework/inc/templates/image-advanced.php
- > /wp-content/plugins/bee-layer-slider/includes/framework/inc/templates/media.php
- > /wp-content/plugins/bee-layer-slider/includes/framework/inc/templates/upload.php
- > /wp-content/plugins/bee-layer-slider/public/partials/bee-slider-public-display.php
- 52× PHP files trigger errors when accessed directly with GET requests (only 10 are shown):
- > PHP Fatal error
Uncaught Error: Class 'RWMB_Field' not found in wp-content/plugins/bee-layer-slider/includes/framework/inc/fields/map.php:5
- > PHP Fatal error
Uncaught Error: Class 'RWMB_File_Field' not found in wp-content/plugins/bee-layer-slider/includes/framework/inc/fields/media.php:6
- > PHP Fatal error
Uncaught Error: Class 'RWMB_Media_Field' not found in wp-content/plugins/bee-layer-slider/includes/framework/inc/fields/file-upload.php:5
- > PHP Fatal error
Uncaught Error: Class 'RWMB_Multiple_Values_Field' not found in wp-content/plugins/bee-layer-slider/includes/framework/inc/fields/text-list.php:6
- > PHP Fatal error
Uncaught Error: Class 'RWMB_Select_Field' not found in wp-content/plugins/bee-layer-slider/includes/framework/inc/fields/select-advanced.php:5
- > PHP Fatal error
Uncaught Error: Class 'Walker' not found in wp-content/plugins/bee-layer-slider/includes/framework/inc/walkers/base.php:6
- > PHP Fatal error
Uncaught Error: Class 'RWMB_Field' not found in wp-content/plugins/bee-layer-slider/includes/framework/inc/fields/divider.php:5
- > PHP Fatal error
Uncaught Error: Class 'RWMB_Input_List_Field' not found in wp-content/plugins/bee-layer-slider/includes/framework/inc/fields/checkbox-list.php:5
- > PHP Fatal error
Uncaught Error: Class 'RWMB_Field' not found in wp-content/plugins/bee-layer-slider/includes/framework/inc/fields/file.php:6
- > PHP Fatal error
Uncaught Error: Class 'RWMB_Field' not found in wp-content/plugins/bee-layer-slider/includes/framework/inc/fields/heading.php:6
- > PHP Fatal error
User-side errors Passed 1 test
🔹 Test weight: 20 | Just a short smoke test targeting errors on the browser (console and network errors and warnings)
Everything seems fine, but this is not an exhaustive test
Optimizations
Plugin configuration 93% from 29 tests
readme.txt Passed 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
8 plugin tags: responsive image slider, text slider, slideshow, layer slider, banner slider...
bee-layer-slider/bee-slider.php 85% from 13 tests
This is the main PHP file of "Layer Slider" version 1.1, providing information about the plugin in the header fields and serving as the principal entry point to the plugin's functions
The following require your attention:
- Main file name: The principal plugin file should be the same as the plugin slug ("bee-layer-slider.php" instead of "bee-slider.php")
- 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 | A short check of programming languages and file extensions; no executable files are allowed
No dangerous file extensions were detected9,128 lines of code in 206 files:
Language | Files | Blank lines | Comment lines | Lines of code |
---|---|---|---|---|
PHP | 85 | 947 | 3,214 | 4,508 |
JavaScript | 83 | 585 | 557 | 2,805 |
CSS | 35 | 139 | 109 | 1,778 |
PO File | 1 | 2 | 4 | 27 |
JSON | 2 | 0 | 0 | 10 |
PHP code Passed 2 tests
An overview of cyclomatic complexity and code structure
All good! No complexity issues found
Cyclomatic complexity | |
---|---|
Average complexity per logical line of code | 0.32 |
Average class complexity | 6.81 |
▷ Minimum class complexity | 1.00 |
▷ Maximum class complexity | 49.00 |
Average method complexity | 2.28 |
▷ Minimum method complexity | 1.00 |
▷ Maximum method complexity | 10.00 |
Code structure | ||
---|---|---|
Namespaces | 0 | |
Interfaces | 0 | |
Traits | 0 | |
Classes | 73 | |
▷ Abstract classes | 7 | 9.59% |
▷ Concrete classes | 66 | 90.41% |
▷ Final classes | 0 | 0.00% |
Methods | 331 | |
▷ Static methods | 238 | 71.90% |
▷ Public methods | 311 | 93.96% |
▷ Protected methods | 15 | 4.53% |
▷ Private methods | 5 | 1.51% |
Functions | 22 | |
▷ Named functions | 20 | 90.91% |
▷ Anonymous functions | 2 | 9.09% |
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
18 compressed PNG files occupy 0.05MB
Potential savings
Compression of 5 random PNG files using pngquant | |||
---|---|---|---|
File | Size - original | Size - compressed | Savings |
includes/framework/img/jqueryui/ui-bg_glass_75_dadada_1x400.png | 0.11KB | 0.16KB | 0.00% |
includes/framework/img/jqueryui/ui-icons_888888_256x240.png | 4.27KB | 4.11KB | ▼ 3.78% |
includes/framework/img/jqueryui/ui-icons_222222_256x240.png | 4.27KB | 4.11KB | ▼ 3.78% |
includes/framework/img/jqueryui/ui-bg_flat_75_ffffff_40x100.png | 0.17KB | 0.08KB | ▼ 51.12% |
includes/framework/img/jqueryui/ui-bg_glass_55_fbf9ee_1x400.png | 0.12KB | 0.14KB | 0.00% |