Benchmarks
Plugin footprint 83% from 16 tests
Installer Passed 1 test
🔺 Critical test (weight: 50) | It is important to correctly install your plugin, without throwing errors or notices
The plugin installed successfully, without throwing any errors or notices
Server metrics [RAM: ▲0.12MB] [CPU: ▼289.29ms] 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.70 ▲0.18 | 54.09 ▲5.49 |
Dashboard /wp-admin | 3.55 ▲0.15 | 34.60 ▲1.39 |
Posts /wp-admin/edit.php | 3.78 ▲0.14 | 40.43 ▲3.82 |
Add New Post /wp-admin/post-new.php | 7.02 ▲0.05 | 101.81 ▼1,154.38 |
Media Library /wp-admin/upload.php | 3.43 ▲0.13 | 23.54 ▼7.98 |
Add New Carousel /wp-admin/post-new.php?post_type=twabc | 3.76 | 47.80 |
Categories /wp-admin/edit-tags.php?taxonomy=twabc_category&post_type=twabc | 3.43 | 25.23 |
All Carousels /wp-admin/edit.php?post_type=twabc | 3.54 | 25.06 |
Settings /wp-admin/edit.php?post_type=twabc&page=twabc-settings | 3.38 | 25.67 |
Server storage [IO: ▲0.04MB] [DB: ▲0.00MB] Passed 3 tests
A short overview of filesystem and database impact
No storage issues were detected
Filesystem: 10 new files
Database: no new tables, 1 new option
New WordPress options |
---|
twabc_settings |
Browser metrics Passed 4 tests
An overview of browser requirements for Advanced Bootstrap Carousel
Minimal impact on browser resources
Page | Nodes | Memory (MB) | Script (ms) | Layout (ms) |
---|---|---|---|---|
Home / | 3,844 ▲100 | 15.91 ▲0.24 | 7.23 ▲1.42 | 2.69 ▲0.17 |
Dashboard /wp-admin | 2,933 ▲72 | 6.16 ▼0.05 | 117.06 ▼13.90 | 153.74 ▼6.59 |
Posts /wp-admin/edit.php | 2,738 ▲50 | 3.24 ▼0.00 | 63.67 ▲0.86 | 137.83 ▼4.29 |
Add New Post /wp-admin/post-new.php | 1,690 ▼83 | 16.25 ▼5.17 | 406.28 ▼31.72 | 153.18 ▼3.59 |
Media Library /wp-admin/upload.php | 1,742 ▲44 | 5.56 ▲0.07 | 144.57 ▲7.33 | 185.67 ▼7.14 |
Add New Carousel /wp-admin/post-new.php?post_type=twabc | 2,422 | 5.40 | 95.44 | 125.89 |
Categories /wp-admin/edit-tags.php?taxonomy=twabc_category&post_type=twabc | 1,669 | 2.76 | 58.35 | 109.34 |
All Carousels /wp-admin/edit.php?post_type=twabc | 1,440 | 3.15 | 60.41 | 114.06 |
Settings /wp-admin/edit.php?post_type=twabc&page=twabc-settings | 1,393 | 2.50 | 56.00 | 146.30 |
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: 1 option
- twabc_settings
Smoke tests 50% from 4 tests
Server-side errors 0% from 1 test
🔹 Test weight: 20 | A smoke test targeting server-side errors
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: PHP files have to remain inert when accessed directly, throwing no errors and performing no actions
Almost there! Just fix the following items
- 6× PHP files trigger server-side errors or warnings 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-4.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 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
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-3.php:2
- > 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 on the user side
Optimizations
Plugin configuration 96% from 29 tests
readme.txt Passed 16 tests
The readme.txt file is important because it is parsed by WordPress.org for the public listing of your plugin
9 plugin tags: responsive slider, bootstrap fading slider, bootstrap vertical slider, bootstrap slider, banner slider...
advanced-bootstrap-carousel/advanced-bootstrap-carousel.php 92% from 13 tests
The main PHP script in "Advanced Bootstrap Carousel" version 2.0.0 is automatically included on every request by WordPress
You should first fix the following items:
- Description: Please don't use more than 140 characters for the plugin description (currently 233 characters long)
Code Analysis Passed 3 tests
File types Passed 1 test
🔸 Test weight: 35 | Executable files are considered dangerous and should not be included with any WordPress plugin
Success! There were no dangerous files found in this plugin872 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
An short overview of logical lines of code, cyclomatic complexity, and other code metrics
Although this was not an exhaustive test, there were no cyclomatic complexity issues detected
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
Often times overlooked, PNG files can occupy unnecessary space in your plugin
No PNG files were detected