Benchmarks
Plugin footprint 83% from 16 tests
Installer Passed 1 test
🔺 Critical test (weight: 50) | Checking the installer triggered no errors
This plugin's installer ran successfully
Server metrics [RAM: ▲0.14MB] [CPU: ▼2.21ms] Passed 4 tests
An overview of server-side resources used by Advanced Bootstrap Carousel
Server-side resource usage in normal parameters
Page | Memory (MB) | CPU Time (ms) |
---|---|---|
Home / | 3.58 ▲0.12 | 36.00 ▼5.67 |
Dashboard /wp-admin | 3.44 ▲0.14 | 45.87 ▼1.68 |
Posts /wp-admin/edit.php | 3.56 ▲0.20 | 49.05 ▲2.55 |
Add New Post /wp-admin/post-new.php | 6.02 ▲0.14 | 87.64 ▼1.88 |
Media Library /wp-admin/upload.php | 3.37 ▲0.14 | 36.70 ▲0.38 |
Add New Carousel /wp-admin/post-new.php?post_type=twabc | 3.45 | 53.95 |
Settings /wp-admin/edit.php?post_type=twabc&page=twabc-settings | 3.31 | 33.75 |
Categories /wp-admin/edit-tags.php?taxonomy=twabc_category&post_type=twabc | 3.36 | 33.30 |
All Carousels /wp-admin/edit.php?post_type=twabc | 3.41 | 36.32 |
Server storage [IO: ▲0.04MB] [DB: ▲0.00MB] Passed 3 tests
Analyzing filesystem and database footprints of this plugin
There were no storage issued detected upon installing this plugin
Filesystem: 10 new files
Database: no new tables, 7 new options
New WordPress options |
---|
widget_theysaidso_widget |
db_upgraded |
widget_recent-comments |
twabc_settings |
widget_recent-posts |
theysaidso_admin_options |
can_compress_scripts |
Browser metrics Passed 4 tests
An overview of browser requirements for Advanced Bootstrap Carousel
This plugin has a minimal impact on browser resources
Page | Nodes | Memory (MB) | Script (ms) | Layout (ms) |
---|---|---|---|---|
Home / | 2,838 ▲103 | 13.28 ▼1.11 | 4.26 ▲2.37 | 42.33 ▼3.30 |
Dashboard /wp-admin | 2,235 ▲47 | 5.81 ▲0.93 | 103.61 ▼15.09 | 40.18 ▼3.12 |
Posts /wp-admin/edit.php | 2,124 ▲35 | 2.04 ▲0.04 | 39.21 ▼1.30 | 35.16 ▲0.34 |
Add New Post /wp-admin/post-new.php | 1,543 ▲10 | 17.43 ▼5.61 | 701.08 ▲19.34 | 66.43 ▲10.68 |
Media Library /wp-admin/upload.php | 1,426 ▲38 | 4.12 ▼0.10 | 101.68 ▼2.12 | 40.95 ▼1.09 |
Add New Carousel /wp-admin/post-new.php?post_type=twabc | 1,807 | 3.74 | 61.12 | 33.48 |
Settings /wp-admin/edit.php?post_type=twabc&page=twabc-settings | 1,128 | 2.20 | 24.29 | 36.35 |
Categories /wp-admin/edit-tags.php?taxonomy=twabc_category&post_type=twabc | 1,300 | 2.14 | 29.39 | 27.79 |
All Carousels /wp-admin/edit.php?post_type=twabc | 1,113 | 1.93 | 29.50 | 31.19 |
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
- The uninstall procedure has failed, leaving 7 options in the database
- db_upgraded
- can_compress_scripts
- widget_theysaidso_widget
- widget_recent-posts
- widget_recent-comments
- theysaidso_admin_options
- twabc_settings
Smoke tests 50% from 4 tests
Server-side errors 0% from 1 test
🔹 Test weight: 20 | Just a short smoke test targeting errors on the server (in the Apache logs)
Smoke test failed, please fix the following
- > GET request to /wp-admin/edit.php?post_type=twabc&page=twabc-settings
- > Notice in wp-content/plugins/advanced-bootstrap-carousel/twabc-admin-settings.php+317
Undefined variable: twabc_effect_t
- > GET request to /wp-admin/edit.php?post_type=twabc&page=twabc-settings
- > Notice in wp-content/plugins/advanced-bootstrap-carousel/twabc-admin-settings.php+318
Undefined variable: twabc_effect_c
- > GET request to /wp-admin/edit.php?post_type=twabc&page=twabc-settings
- > Notice in wp-content/plugins/advanced-bootstrap-carousel/twabc-admin-settings.php+319
Undefined variable: twabc_effect_f
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
Almost there! Just fix the following items
- 6× PHP files trigger server errors when accessed directly:
- > PHP Fatal error
Uncaught Error: Call to undefined function wp_enqueue_style() in wp-content/plugins/advanced-bootstrap-carousel/twabc-front-view-3.php:2
- > PHP Fatal error
Uncaught Error: Call to undefined function plugin_basename() in wp-content/plugins/advanced-bootstrap-carousel/advanced-bootstrap-carousel.php:17
- > PHP Fatal error
Uncaught Error: Call to undefined function add_filter() in wp-content/plugins/advanced-bootstrap-carousel/twabc-admin-view.php:34
- > PHP Fatal error
Uncaught Error: Call to undefined function wp_enqueue_style() in wp-content/plugins/advanced-bootstrap-carousel/twabc-front-view-4.php:2
- > PHP Fatal error
Uncaught Error: Call to undefined function register_activation_hook() in wp-content/plugins/advanced-bootstrap-carousel/twabc-admin-settings.php:3
- > PHP Fatal error
Uncaught Error: Call to undefined function add_shortcode() in wp-content/plugins/advanced-bootstrap-carousel/twabc-front-view.php:17
- > PHP Fatal error
User-side errors Passed 1 test
🔹 Test weight: 20 | This is just a short smoke test looking for browser issues
There were no browser issues found
Optimizations
Plugin configuration 96% from 29 tests
readme.txt Passed 16 tests
The readme.txt file uses markdown syntax to describe your plugin to the world
9 plugin tags: slider, bootstrap carousel, bootstrap fading slider, bootstrap slider, responsive slider...
advanced-bootstrap-carousel/advanced-bootstrap-carousel.php 92% from 13 tests
The principal PHP file in "Advanced Bootstrap Carousel" v. 2.0.0 is loaded by WordPress automatically on each request
The following require your attention:
- Description: Keep the plugin description shorter than 140 characters (currently 233 characters long)
Code Analysis Passed 3 tests
File types Passed 1 test
🔸 Test weight: 35 | An overview of files in this plugin; executable files are not allowed
No dangerous file extensions were detected872 lines of code in 8 files:
Language | Files | Blank lines | Comment lines | Lines of code |
---|---|---|---|---|
PHP | 6 | 58 | 52 | 656 |
CSS | 2 | 16 | 23 | 216 |
PHP code Passed 2 tests
This plugin's cyclomatic complexity and code structure detailed below
There are no cyclomatic complexity problems detected for this plugin
Cyclomatic complexity | |
---|---|
Average complexity per logical line of code | 0.41 |
Average class complexity | 52.00 |
▷ Minimum class complexity | 52.00 |
▷ Maximum class complexity | 52.00 |
Average method complexity | 3.55 |
▷ 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 | 20 | |
▷ Static methods | 0 | 0.00% |
▷ Public methods | 20 | 100.00% |
▷ Protected methods | 0 | 0.00% |
▷ Private methods | 0 | 0.00% |
Functions | 12 | |
▷ Named functions | 12 | 100.00% |
▷ Anonymous functions | 0 | 0.00% |
Constants | 3 | |
▷ Global constants | 3 | 100.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
No PNG images were found in this plugin