Benchmarks
Plugin footprint 83% from 16 tests
Installer Passed 1 test
🔺 Critical test (weight: 50) | All plugins must install correctly, without throwing any errors, warnings, or notices
Installer ran successfully
Server metrics [RAM: ▲0.03MB] [CPU: ▲0.47ms] Passed 4 tests
This is a short check of server-side resources used by UM Bootstrap Carousels
Server-side resource usage in normal parameters
Page | Memory (MB) | CPU Time (ms) |
---|---|---|
Home / | 3.49 ▲0.03 | 41.64 ▼2.65 |
Dashboard /wp-admin | 3.33 ▲0.03 | 60.26 ▲9.01 |
Posts /wp-admin/edit.php | 3.38 ▲0.03 | 54.04 ▲0.05 |
Add New Post /wp-admin/post-new.php | 5.91 ▲0.03 | 101.99 ▲5.23 |
Media Library /wp-admin/upload.php | 3.26 ▲0.03 | 39.48 ▼0.76 |
Server storage [IO: ▲0.31MB] [DB: ▲0.00MB] Passed 3 tests
Input-output and database impact of this plugin
This plugin was installed successfully
Filesystem: 26 new files
Database: no new tables, 9 new options
New WordPress options |
---|
widget_theysaidso_widget |
um-bootstrap-carousels |
widget_recent-comments |
db_upgraded |
um-bootstrap-carousels-notices |
widget_recent-posts |
can_compress_scripts |
theysaidso_admin_options |
um-bootstrap-carousels-settings |
Browser metrics Passed 4 tests
This is an overview of browser requirements for UM Bootstrap Carousels
This plugin has a minimal impact on browser resources
Page | Nodes | Memory (MB) | Script (ms) | Layout (ms) |
---|---|---|---|---|
Home / | 2,841 ▲52 | 14.48 ▲0.86 | 1.57 ▼0.33 | 42.33 ▼5.30 |
Dashboard /wp-admin | 2,247 ▲41 | 5.89 ▲1.03 | 110.02 ▼1.91 | 44.61 ▲6.11 |
Posts /wp-admin/edit.php | 2,134 ▲42 | 2.02 ▼0.02 | 40.42 ▼3.70 | 34.13 ▼1.75 |
Add New Post /wp-admin/post-new.php | 1,548 ▲15 | 23.10 ▼0.27 | 714.25 ▲9.80 | 66.96 ▲11.60 |
Media Library /wp-admin/upload.php | 1,433 ▲45 | 4.23 ▲0.13 | 102.92 ▼13.27 | 44.64 ▼5.92 |
Uninstaller [IO: ✅] [DB: ▲0.00MB] 75% from 4 tests
🔸 Tests weight: 35 | The uninstall procedure must remove all plugin files and extra database tables
These items require your attention
- This plugin did not uninstall successfully, leaving 6 options in the database
- widget_theysaidso_widget
- can_compress_scripts
- theysaidso_admin_options
- widget_recent-posts
- db_upgraded
- widget_recent-comments
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 | SRP (Single-Responsibility Principle) - PHP files must act as libraries and never output text or perform any action when accessed directly in a browser
Please fix the following
- 1× PHP files trigger server errors when accessed directly:
- > PHP Fatal error
Uncaught Error: Call to undefined function _e() in wp-content/plugins/um-bootstrap-carousels/admin/display/um-bootstrap-carousel-admin-display.php:18
- > PHP Fatal error
User-side errors Passed 1 test
🔹 Test weight: 20 | This is a smoke test targeting browser errors/issues
No browser errors were detected
Optimizations
Plugin configuration Passed 29 tests
readme.txt Passed 16 tests
The readme.txt file is undoubtedly the most important file in your plugin, preparing it for public listing on WordPress.org
8 plugin tags: image carousel, image slider, images, bootstrap 4, slider...
um-bootstrap-carousels/um-bootstrap-carousels.php Passed 13 tests
The main PHP file in "UM Bootstrap Carousels" ver. 1.0.3 adds more information about the plugin and also serves as the entry point for this plugin
39 characters long description:
Create and Manage Bootstrap 4 Carousels
Code Analysis Passed 3 tests
File types Passed 1 test
🔸 Test weight: 35 | A short review of files and their extensions; it is not recommended to include executable files
Success! There were no dangerous files found in this plugin1,274 lines of code in 15 files:
Language | Files | Blank lines | Comment lines | Lines of code |
---|---|---|---|---|
PHP | 8 | 222 | 303 | 889 |
JavaScript | 4 | 76 | 84 | 222 |
CSS | 3 | 2 | 8 | 163 |
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.23 |
Average class complexity | 16.00 |
▷ Minimum class complexity | 1.00 |
▷ Maximum class complexity | 56.00 |
Average method complexity | 3.08 |
▷ Minimum method complexity | 1.00 |
▷ Maximum method complexity | 17.00 |
Code structure | ||
---|---|---|
Namespaces | 0 | |
Interfaces | 0 | |
Traits | 0 | |
Classes | 5 | |
▷ Abstract classes | 0 | 0.00% |
▷ Concrete classes | 5 | 100.00% |
▷ Final classes | 0 | 0.00% |
Methods | 36 | |
▷ Static methods | 2 | 5.56% |
▷ Public methods | 30 | 83.33% |
▷ Protected methods | 0 | 0.00% |
▷ Private methods | 6 | 16.67% |
Functions | 3 | |
▷ Named functions | 3 | 100.00% |
▷ Anonymous functions | 0 | 0.00% |
Constants | 1 | |
▷ Global constants | 1 | 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
1 PNG file occupies 0.00MB with 0.00MB in potential savings
Potential savings
Compression of 1 random PNG file using pngquant | |||
---|---|---|---|
File | Size - original | Size - compressed | Savings |
admin/display/images/no-image.png | 4.81KB | 2.08KB | ▼ 56.77% |