Benchmarks
Plugin footprint 83% from 16 tests
Installer Passed 1 test
🔺 Critical test (weight: 50) | The install procedure must perform silently
Install script ran successfully
Server metrics [RAM: ▲0.04MB] [CPU: ▼3.42ms] Passed 4 tests
An overview of server-side resources used by WP BxSlider
Server-side resource usage in normal parameters
Page | Memory (MB) | CPU Time (ms) |
---|---|---|
Home / | 3.51 ▲0.05 | 38.87 ▼6.56 |
Dashboard /wp-admin | 3.35 ▲0.04 | 46.70 ▼2.33 |
Posts /wp-admin/edit.php | 3.39 ▲0.04 | 48.09 ▼1.34 |
Add New Post /wp-admin/post-new.php | 5.93 ▲0.04 | 87.76 ▼3.44 |
Media Library /wp-admin/upload.php | 3.27 ▲0.04 | 36.66 ▲3.00 |
bxslider /wp-admin/edit.php?post_type=bxslider-eitems | 3.32 | 35.95 |
Add New /wp-admin/post-new.php?post_type=bxslider-eitems | 3.36 | 50.55 |
Categories /wp-admin/edit-tags.php?taxonomy=category&post_type=bxslider-eitems | 3.26 | 38.96 |
Tags /wp-admin/edit-tags.php?taxonomy=post_tag&post_type=bxslider-eitems | 3.26 | 32.65 |
Server storage [IO: ▲0.08MB] [DB: ▲0.00MB] Passed 3 tests
Analyzing filesystem and database footprints of this plugin
The plugin installed successfully
Filesystem: 14 new files
Database: no new tables, 7 new options
New WordPress options |
---|
can_compress_scripts |
theysaidso_admin_options |
db_upgraded |
widget_recent-comments |
widget_recent-posts |
category_children |
widget_theysaidso_widget |
Browser metrics Passed 4 tests
A check of browser resources used by WP BxSlider
Minimal impact on browser resources
Page | Nodes | Memory (MB) | Script (ms) | Layout (ms) |
---|---|---|---|---|
Home / | 2,932 ▲175 | 13.62 ▼0.99 | 5.29 ▲3.37 | 41.88 ▼11.82 |
Dashboard /wp-admin | 2,242 ▲54 | 5.85 ▼0.18 | 99.03 ▼0.40 | 38.89 ▼6.13 |
Posts /wp-admin/edit.php | 2,128 ▲39 | 2.02 ▲0.00 | 40.01 ▲5.37 | 34.71 ▲0.68 |
Add New Post /wp-admin/post-new.php | 1,547 ▲33 | 23.44 ▲5.85 | 658.91 ▲15.56 | 57.70 ▲4.93 |
Media Library /wp-admin/upload.php | 1,421 ▲30 | 4.22 ▼0.03 | 96.76 ▼3.22 | 42.48 ▼0.75 |
bxslider /wp-admin/edit.php?post_type=bxslider-eitems | 1,147 | 2.10 | 30.08 | 28.44 |
Add New /wp-admin/post-new.php?post_type=bxslider-eitems | 1,823 | 3.83 | 65.98 | 31.89 |
Categories /wp-admin/edit-tags.php?taxonomy=category&post_type=bxslider-eitems | 1,482 | 2.15 | 28.55 | 31.34 |
Tags /wp-admin/edit-tags.php?taxonomy=post_tag&post_type=bxslider-eitems | 1,349 | 2.15 | 26.70 | 29.72 |
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
It is recommended to fix the following
- This plugin did not uninstall successfully, leaving 7 options in the database
- category_children
- db_upgraded
- widget_recent-posts
- widget_theysaidso_widget
- can_compress_scripts
- widget_recent-comments
- theysaidso_admin_options
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 no errors were found, 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
- 1× GET requests to PHP files have triggered server-side errors or warnings:
- > PHP Fatal error
Uncaught Error: Call to undefined function add_action() in wp-content/plugins/my-wp-bxslider/bxslider-min.php:18
- > 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 90% 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 need to be fixed:
- Donate link: Invalid URI found ("")
- Screenshots: These screenshots require images: #1 (How to use shortcode in editor.), #2 (Another demo.)
my-wp-bxslider/bxslider-min.php 92% from 13 tests
The entry point to "WP BxSlider" version 1.0 is a PHP file that has certain tags in its header comment area
You should first fix the following items:
- Main file name: The principal plugin file should be the same as the plugin slug ("my-wp-bxslider.php" instead of "bxslider-min.php")
Code Analysis Passed 3 tests
File types Passed 1 test
🔸 Test weight: 35 | A short glimpse at programming languages used with this plugin and a check that no dangerous files are present
Good job! No executable or dangerous file extensions detected262 lines of code in 4 files:
Language | Files | Blank lines | Comment lines | Lines of code |
---|---|---|---|---|
CSS | 1 | 36 | 22 | 152 |
PHP | 1 | 26 | 15 | 81 |
JavaScript | 2 | 6 | 34 | 29 |
PHP code Passed 2 tests
This is a very shot review of cyclomatic complexity and code structure
All good! No complexity issues found
Cyclomatic complexity | |
---|---|
Average complexity per logical line of code | 0.03 |
Average class complexity | 0.00 |
▷ Minimum class complexity | 0.00 |
▷ Maximum class complexity | 0.00 |
Average method complexity | 0.00 |
▷ Minimum method complexity | 0.00 |
▷ Maximum method complexity | 0.00 |
Code structure | ||
---|---|---|
Namespaces | 0 | |
Interfaces | 0 | |
Traits | 0 | |
Classes | 0 | |
▷ Abstract classes | 0 | 0.00% |
▷ Concrete classes | 0 | 0.00% |
▷ Final classes | 0 | 0.00% |
Methods | 0 | |
▷ Static methods | 0 | 0.00% |
▷ Public methods | 0 | 0.00% |
▷ Protected methods | 0 | 0.00% |
▷ Private methods | 0 | 0.00% |
Functions | 9 | |
▷ Named functions | 9 | 100.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
4 PNG files occupy 0.01MB with 0.00MB in potential savings
Potential savings
Compression of 4 random PNG files using pngquant | |||
---|---|---|---|
File | Size - original | Size - compressed | Savings |
images/controls.png | 2.74KB | 1.42KB | ▼ 48.29% |
js/bx.png | 1.95KB | 1.12KB | ▼ 42.59% |
js/controls.png | 2.74KB | 1.42KB | ▼ 48.29% |
images/picto.png | 4.39KB | 3.34KB | ▼ 23.87% |