Benchmarks
Plugin footprint 83% from 16 tests
Installer Passed 1 test
🔺 Critical test (weight: 50) | Verifying that this plugin installs correctly without errors
The plugin installed gracefully, with no errors
Server metrics [RAM: ▲0.10MB] [CPU: ▼3.28ms] Passed 4 tests
An overview of server-side resources used by No BS Image Slider
Normal server usage
Page | Memory (MB) | CPU Time (ms) |
---|---|---|
Home / | 3.57 ▲0.10 | 45.67 ▲1.31 |
Dashboard /wp-admin | 3.41 ▲0.10 | 52.41 ▲0.30 |
Posts /wp-admin/edit.php | 3.46 ▲0.10 | 51.34 ▲0.64 |
Add New Post /wp-admin/post-new.php | 5.99 ▲0.10 | 87.55 ▼13.57 |
Media Library /wp-admin/upload.php | 3.33 ▲0.10 | 36.38 ▼0.49 |
Image Sliders /wp-admin/edit-tags.php?taxonomy=no_bs_image_slider&post_type=no_bs_image_slide | 3.32 | 35.08 |
Add New /wp-admin/post-new.php?post_type=no_bs_image_slide | 3.40 | 50.72 |
Image Slides /wp-admin/edit.php?post_type=no_bs_image_slide | 3.37 | 39.07 |
Server storage [IO: ▲0.01MB] [DB: ▲0.00MB] Passed 3 tests
A short overview of filesystem and database impact
This plugin installed successfully
Filesystem: 4 new files
Database: no new tables, 7 new options
New WordPress options |
---|
widget_theysaidso_widget |
widget_no-bs-slideshow-widget |
widget_recent-posts |
can_compress_scripts |
theysaidso_admin_options |
db_upgraded |
widget_recent-comments |
Browser metrics Passed 4 tests
No BS Image Slider: an overview of browser usage
Minimal impact on browser resources
Page | Nodes | Memory (MB) | Script (ms) | Layout (ms) |
---|---|---|---|---|
Home / | 2,823 ▲62 | 14.34 ▼0.04 | 1.87 ▲0.14 | 44.53 ▲4.04 |
Dashboard /wp-admin | 2,226 ▲49 | 5.52 ▼0.17 | 96.45 ▲5.88 | 41.55 ▼1.12 |
Posts /wp-admin/edit.php | 2,131 ▲28 | 2.00 ▲0.01 | 39.29 ▲1.09 | 35.47 ▲0.56 |
Add New Post /wp-admin/post-new.php | 1,589 ▲44 | 18.15 ▼5.08 | 642.64 ▼49.41 | 54.86 ▼4.21 |
Media Library /wp-admin/upload.php | 1,434 ▲34 | 4.23 ▼0.06 | 99.65 ▼9.99 | 43.84 ▼3.30 |
Image Sliders /wp-admin/edit-tags.php?taxonomy=no_bs_image_slider&post_type=no_bs_image_slide | 1,277 | 2.15 | 31.47 | 29.30 |
Add New /wp-admin/post-new.php?post_type=no_bs_image_slide | 1,778 | 3.98 | 67.59 | 33.79 |
Image Slides /wp-admin/edit.php?post_type=no_bs_image_slide | 1,074 | 1.96 | 33.36 | 30.96 |
Uninstaller [IO: ▲0.00MB] [DB: ▲0.00MB] 75% from 4 tests
🔸 Tests weight: 35 | Checking the uninstaller removed all traces of the plugin
Please fix the following items
- Zombie WordPress options detected upon uninstall: 7 options
- widget_theysaidso_widget
- widget_no-bs-slideshow-widget
- widget_recent-comments
- widget_recent-posts
- theysaidso_admin_options
- db_upgraded
- can_compress_scripts
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)
Even though everything seems fine, this is not an exhaustive test
SRP 50% from 2 tests
🔹 Tests weight: 20 | The single-responsibility principle applies for WordPress plugins as well - please make sure your PHP files perform no actions when accessed directly
Please fix the following items
- 1× PHP files trigger server-side errors or warnings when accessed directly:
- > PHP Fatal error
Uncaught Error: Class 'WP_Widget' not found in wp-content/plugins/no-bs-image-slider/plugin.php:197
- > PHP Fatal error
User-side errors Passed 1 test
🔹 Test weight: 20 | This is just a short smoke test looking for browser issues
Everything seems fine, but this is not an exhaustive test
Optimizations
Plugin configuration 93% from 29 tests
readme.txt 94% from 16 tests
The readme.txt file uses markdown syntax to describe your plugin to the world
Attributes that need to be fixed:
- Plugin Name: You should set the name of your plugin on the first line (
=== no-bs-image-slider ===
)
no-bs-image-slider/plugin.php 92% from 13 tests
The main PHP file in "No BS Image Slider" ver. 1.8 adds more information about the plugin and also serves as the entry point for this plugin
The following require your attention:
- Main file name: It is recommended to name the main PHP file as the plugin slug ("no-bs-image-slider.php" instead of "plugin.php")
Code Analysis Passed 3 tests
File types Passed 1 test
🔸 Test weight: 35 | This is an overview of file extensions present in this plugin and a short test that no dangerous files are bundled with this plugin
Everything looks great! No dangerous files found in this plugin369 lines of code in 2 files:
Language | Files | Blank lines | Comment lines | Lines of code |
---|---|---|---|---|
PHP | 1 | 48 | 21 | 296 |
CSS | 1 | 10 | 0 | 73 |
PHP code Passed 2 tests
This is a short overview of cyclomatic complexity and code structure for this plugin
This plugin has no cyclomatic complexity issues
Cyclomatic complexity | |
---|---|
Average complexity per logical line of code | 0.24 |
Average class complexity | 9.00 |
▷ Minimum class complexity | 9.00 |
▷ Maximum class complexity | 9.00 |
Average method complexity | 2.67 |
▷ Minimum method complexity | 1.00 |
▷ Maximum method complexity | 6.00 |
Code structure | ||
---|---|---|
Namespaces | 1 | |
Interfaces | 0 | |
Traits | 0 | |
Classes | 1 | |
▷ Abstract classes | 0 | 0.00% |
▷ Concrete classes | 1 | 100.00% |
▷ Final classes | 0 | 0.00% |
Methods | 4 | |
▷ Static methods | 0 | 0.00% |
▷ Public methods | 4 | 100.00% |
▷ Protected methods | 0 | 0.00% |
▷ Private methods | 0 | 0.00% |
Functions | 11 | |
▷ Named functions | 6 | 54.55% |
▷ Anonymous functions | 5 | 45.45% |
Constants | 2 | |
▷ Global constants | 0 | 0.00% |
▷ Class constants | 2 | 100.00% |
▷ Public constants | 2 | 100.00% |
Plugin size Passed 2 tests
Image compression Passed 2 tests
All PNG images should be compressed to minimize bandwidth usage for end users
There were not PNG files found in your plugin