Benchmarks
Plugin footprint 83% from 16 tests
Installer Passed 1 test
🔺 Critical test (weight: 50) | Checking the installer triggered no errors
The plugin installed successfully, without throwing any errors or notices
Server metrics [RAM: ▲0.07MB] [CPU: ▼5.22ms] Passed 4 tests
A check of server-side resources used by SC BXSlider
No issues were detected with server-side resource usage
Page | Memory (MB) | CPU Time (ms) |
---|---|---|
Home / | 3.54 ▲0.08 | 39.39 ▼3.13 |
Dashboard /wp-admin | 3.39 ▲0.04 | 45.18 ▼13.27 |
Posts /wp-admin/edit.php | 3.51 ▲0.15 | 47.41 ▼3.66 |
Add New Post /wp-admin/post-new.php | 5.97 ▲0.08 | 90.43 ▼0.81 |
Media Library /wp-admin/upload.php | 3.31 ▲0.08 | 35.45 ▲2.39 |
Tags /wp-admin/edit-tags.php?taxonomy=post_tag&post_type=sc_bxslider_posttype | 3.31 | 34.34 |
All Items /wp-admin/edit.php?post_type=sc_bxslider_posttype | 3.36 | 35.12 |
Add New /wp-admin/post-new.php?post_type=sc_bxslider_posttype | 3.37 | 44.96 |
Server storage [IO: ▲0.12MB] [DB: ▲0.00MB] Passed 3 tests
How much does this plugin use your filesystem and database?
The plugin installed successfully
Filesystem: 19 new files
Database: no new tables, 6 new options
New WordPress options |
---|
widget_recent-comments |
widget_theysaidso_widget |
can_compress_scripts |
theysaidso_admin_options |
db_upgraded |
widget_recent-posts |
Browser metrics Passed 4 tests
This is an overview of browser requirements for SC BXSlider
This plugin has a minimal impact on browser resources
Page | Nodes | Memory (MB) | Script (ms) | Layout (ms) |
---|---|---|---|---|
Home / | 2,936 ▲201 | 13.97 ▼0.41 | 7.42 ▲5.50 | 40.97 ▼5.03 |
Dashboard /wp-admin | 2,250 ▲68 | 5.81 ▲0.89 | 96.01 ▼11.91 | 39.35 ▼5.24 |
Posts /wp-admin/edit.php | 2,136 ▲47 | 2.01 ▼0.03 | 40.00 ▲3.16 | 37.94 ▲5.75 |
Add New Post /wp-admin/post-new.php | 1,561 ▲28 | 23.36 ▲0.32 | 598.37 ▼72.73 | 49.68 ▼15.51 |
Media Library /wp-admin/upload.php | 1,438 ▲47 | 4.24 ▼0.08 | 99.22 ▲3.25 | 45.37 ▲2.34 |
Tags /wp-admin/edit-tags.php?taxonomy=post_tag&post_type=sc_bxslider_posttype | 1,351 | 2.14 | 26.69 | 29.39 |
All Items /wp-admin/edit.php?post_type=sc_bxslider_posttype | 1,117 | 2.00 | 31.18 | 25.81 |
Add New /wp-admin/post-new.php?post_type=sc_bxslider_posttype | 1,717 | 3.79 | 65.23 | 32.96 |
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
The following items require your attention
- Zombie WordPress options were found after uninstall: 6 options
- widget_recent-posts
- can_compress_scripts
- db_upgraded
- widget_recent-comments
- theysaidso_admin_options
- widget_theysaidso_widget
Smoke tests 75% from 4 tests
Server-side errors Passed 1 test
🔹 Test weight: 20 | This is a shallow check for server-side errors
Everything seems fine, however this is by no means 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
- 5× PHP files trigger server-side errors or warnings when accessed directly:
- > PHP Fatal error
Uncaught Error: Call to undefined function add_action() in wp-content/plugins/sc-bxslider/index.php:15
- > PHP Fatal error
Uncaught Error: Call to undefined function add_action() in wp-content/plugins/sc-bxslider/functions/customize.php:2
- > PHP Fatal error
Uncaught Error: Call to undefined function add_action() in wp-content/plugins/sc-bxslider/functions/options/general.php:389
- > PHP Fatal error
Uncaught Error: Call to undefined function add_shortcode() in wp-content/plugins/sc-bxslider/functions/shortcode.php:19
- > PHP Fatal error
Uncaught Error: Call to undefined function add_action() in wp-content/plugins/sc-bxslider/functions/posttype.php:45
- > 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 87% from 29 tests
readme.txt 88% from 16 tests
The readme.txt file describes your plugin functionality and requirements and it is parsed to prepare the your plugin's listing
Attributes that require attention:
- Plugin Name: Write the name of your plugin instead of "Plugin Name" on the first line (
=== sc-bxslider ===
) - Screenshots: Screenshot #1 (Slideshow) image missing
sc-bxslider/index.php 85% from 13 tests
The primary PHP file in "SC BXSlider" version 2.1.0 is used by WordPress to initiate all plugin functionality
Please make the necessary changes and fix the following:
- Main file name: Name the main plugin file the same as the plugin slug ("sc-bxslider.php" instead of "index.php")
- Text Domain: Since WordPress version 4.6 the text domain is optional; if specified, it must be the same as the plugin slug
Code Analysis Passed 3 tests
File types Passed 1 test
🔸 Test weight: 35 | There should be no dangerous file extensions present in any WordPress plugin
Good job! No executable or dangerous file extensions detected1,546 lines of code in 14 files:
Language | Files | Blank lines | Comment lines | Lines of code |
---|---|---|---|---|
JavaScript | 3 | 88 | 543 | 889 |
PHP | 5 | 110 | 65 | 376 |
Sass | 1 | 34 | 0 | 180 |
Markdown | 2 | 38 | 0 | 56 |
JSON | 1 | 0 | 0 | 34 |
Ruby | 1 | 4 | 3 | 10 |
CSS | 1 | 0 | 20 | 1 |
PHP code Passed 2 tests
This is a short overview of cyclomatic complexity and code structure for this plugin
There were no cyclomatic complexity issued detected
Cyclomatic complexity | |
---|---|
Average complexity per logical line of code | 0.17 |
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 | 24 | |
▷ Named functions | 24 | 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
Often times overlooked, PNG files can occupy unnecessary space in your plugin
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 |
images/controls.png | 2.74KB | 1.42KB | ▼ 48.29% |
wtfpl-badge.png | 2.91KB | 1.80KB | ▼ 37.92% |