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.20MB] [CPU: ▼3.91ms] Passed 4 tests
Server-side resources used by SX Bootstrap Carousel
This plugin has minimal impact on server resources
Page | Memory (MB) | CPU Time (ms) |
---|---|---|
Home / | 3.64 ▲0.18 | 44.63 ▲5.33 |
Dashboard /wp-admin | 3.51 ▲0.20 | 51.05 ▼1.47 |
Posts /wp-admin/edit.php | 3.62 ▲0.26 | 47.74 ▼6.13 |
Add New Post /wp-admin/post-new.php | 6.09 ▲0.20 | 96.11 ▼2.37 |
Media Library /wp-admin/upload.php | 3.43 ▲0.20 | 38.21 ▼5.67 |
Categories /wp-admin/edit-tags.php?taxonomy=carousel_category&post_type=sxbc | 3.42 | 38.16 |
Carousel /wp-admin/edit.php?post_type=sxbc | 3.47 | 39.47 |
Settings /wp-admin/edit.php?post_type=sxbc&page=sx-bootstrap-carousel | 3.40 | 35.88 |
Add New /wp-admin/post-new.php?post_type=sxbc | 3.58 | 52.23 |
Server storage [IO: ▲0.07MB] [DB: ▲0.00MB] Passed 3 tests
Analyzing filesystem and database footprints of this plugin
This plugin installed successfully
Filesystem: 10 new files
Database: no new tables, 7 new options
New WordPress options |
---|
widget_recent-comments |
can_compress_scripts |
sxbc_settings |
widget_theysaidso_widget |
theysaidso_admin_options |
widget_recent-posts |
db_upgraded |
Browser metrics Passed 4 tests
This is an overview of browser requirements for SX Bootstrap Carousel
There were no issues detected in relation to browser resource usage
Page | Nodes | Memory (MB) | Script (ms) | Layout (ms) |
---|---|---|---|---|
Home / | 2,878 ▲117 | 13.30 ▼1.08 | 2.14 ▲0.40 | 45.01 ▲1.05 |
Dashboard /wp-admin | 2,256 ▲50 | 4.84 ▼1.06 | 111.44 ▲7.02 | 44.71 ▲2.40 |
Posts /wp-admin/edit.php | 2,135 ▲38 | 2.02 ▲0.03 | 35.19 ▼3.64 | 33.81 ▼2.18 |
Add New Post /wp-admin/post-new.php | 1,583 ▲50 | 18.02 ▼5.43 | 642.41 ▼8.69 | 56.92 ▲4.20 |
Media Library /wp-admin/upload.php | 1,438 ▲38 | 4.20 ▲0.08 | 100.56 ▼25.01 | 46.33 ▼2.13 |
Categories /wp-admin/edit-tags.php?taxonomy=carousel_category&post_type=sxbc | 1,306 | 2.14 | 27.70 | 29.00 |
Carousel /wp-admin/edit.php?post_type=sxbc | 1,124 | 2.02 | 32.89 | 31.62 |
Settings /wp-admin/edit.php?post_type=sxbc&page=sx-bootstrap-carousel | 1,248 | 2.05 | 22.96 | 32.90 |
Add New /wp-admin/post-new.php?post_type=sxbc | 2,538 | 7.61 | 171.85 | 71.51 |
Uninstaller [IO: ▲0.00MB] [DB: ▲0.00MB] 75% from 4 tests
🔸 Tests weight: 35 | Checking the uninstaller removed all traces of the plugin
You still need to fix the following
- The uninstall procedure has failed, leaving 7 options in the database
- theysaidso_admin_options
- can_compress_scripts
- widget_theysaidso_widget
- widget_recent-comments
- sxbc_settings
- widget_recent-posts
- db_upgraded
Smoke tests 75% from 4 tests
Server-side errors Passed 1 test
🔹 Test weight: 20 | This is a short smoke test looking for server-side errors
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 take a closer look at the following
- 4× GET requests to PHP files trigger server-side errors or Error 500 responses:
- > PHP Fatal error
Uncaught Error: Call to undefined function add_shortcode() in wp-content/plugins/sx-bootstrap-carousel/sxbc-frontend.php:29
- > PHP Fatal error
Uncaught Error: Call to undefined function add_action() in wp-content/plugins/sx-bootstrap-carousel/sx-bootstrap-carousel.php:18
- > PHP Fatal error
Uncaught Error: Call to undefined function add_filter() in wp-content/plugins/sx-bootstrap-carousel/sxbc-admin.php:48
- > PHP Fatal error
Uncaught Error: Call to undefined function register_activation_hook() in wp-content/plugins/sx-bootstrap-carousel/sxbc-settings.php:15
- > 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 on the user side
Optimizations
Plugin configuration 96% from 29 tests
readme.txt Passed 16 tests
Don't ignore readme.txt as it is the file that instructs WordPress.org on how to present your plugin to the world
4 plugin tags: slider, image, bootstrap, carousel
sx-bootstrap-carousel/sx-bootstrap-carousel.php 92% from 13 tests
The entry point to "SX Bootstrap Carousel" version 1.0.0 is a PHP file that has certain tags in its header comment area
It is important to fix the following:
- Description: Please don't use more than 140 characters for the plugin description (currently 239 characters long)
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 detected1,052 lines of code in 6 files:
Language | Files | Blank lines | Comment lines | Lines of code |
---|---|---|---|---|
PHP | 4 | 69 | 93 | 848 |
PO File | 2 | 76 | 82 | 204 |
PHP code Passed 2 tests
A brief analysis 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.45 |
Average class complexity | 65.00 |
▷ Minimum class complexity | 65.00 |
▷ Maximum class complexity | 65.00 |
Average method complexity | 3.00 |
▷ Minimum method complexity | 1.00 |
▷ Maximum method complexity | 11.00 |
Code structure | ||
---|---|---|
Namespaces | 0 | |
Interfaces | 0 | |
Traits | 0 | |
Classes | 1 | |
▷ Abstract classes | 0 | 0.00% |
▷ Concrete classes | 1 | 100.00% |
▷ Final classes | 0 | 0.00% |
Methods | 32 | |
▷ Static methods | 0 | 0.00% |
▷ Public methods | 32 | 100.00% |
▷ Protected methods | 0 | 0.00% |
▷ Private methods | 0 | 0.00% |
Functions | 16 | |
▷ Named functions | 16 | 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
All PNG images should be compressed to minimize bandwidth usage for end users
There were not PNG files found in your plugin