Benchmarks
Plugin footprint 58% from 16 tests
Installer 0% from 1 test
🔺 Critical test (weight: 50) | It is important to correctly install your plugin, without throwing errors or notices
These installer errors require your attention
- The plugin did not install without errors
- > Warning in wp-includes/class-wp-hook.php+312
call_user_func_array() expects parameter 1 to be a valid callback, function 'wpbrim_carousel_activation_redirect' not found or invalid function name
Server metrics [RAM: ▲0.11MB] [CPU: ▲1.49ms] Passed 4 tests
An overview of server-side resources used by Carousel
Normal server usage
Page | Memory (MB) | CPU Time (ms) |
---|---|---|
Home / | 3.51 ▲0.06 | 38.35 ▼1.00 |
Dashboard /wp-admin | 3.49 ▲0.19 | 48.38 ▼6.45 |
Posts /wp-admin/edit.php | 3.54 ▲0.18 | 57.67 ▲11.97 |
Add New Post /wp-admin/post-new.php | 5.98 ▲0.10 | 92.26 ▲3.91 |
Media Library /wp-admin/upload.php | 3.32 ▲0.09 | 43.23 ▲9.51 |
Help & Upgrade /wp-admin/edit.php?post_type=wb_carousel&page=wpbrim_carousel_menu_help | 3.34 | 35.42 |
Categories /wp-admin/edit-tags.php?taxonomy=carousel_category&post_type=wb_carousel | 3.34 | 37.39 |
All Carousels /wp-admin/edit.php?post_type=wb_carousel | 3.39 | 39.88 |
Add New Carousel /wp-admin/post-new.php?post_type=wb_carousel | 3.40 | 46.14 |
Carousel Settings /wp-admin/edit.php?post_type=wb_carousel&page=carousel-settings | 3.32 | 38.69 |
Server storage [IO: ▲0.19MB] [DB: ▲0.00MB] Passed 3 tests
How much does this plugin use your filesystem and database?
There were no storage issued detected upon installing this plugin
Filesystem: 30 new files
Database: no new tables, 9 new options
New WordPress options |
---|
db_upgraded |
widget_theysaidso_widget |
wb_carousel_basics |
can_compress_scripts |
widget_recent-comments |
wb_carousel_others |
wb_carousel_advanced |
widget_recent-posts |
theysaidso_admin_options |
Browser metrics Passed 4 tests
Carousel: an overview of browser usage
Normal browser usage
Page | Nodes | Memory (MB) | Script (ms) | Layout (ms) |
---|---|---|---|---|
Home / | 3,117 ▲382 | 15.71 ▲0.91 | 6.24 ▲4.41 | 42.31 ▼6.94 |
Dashboard /wp-admin | 2,403 ▲212 | 6.62 ▲0.63 | 134.07 ▲15.32 | 83.41 ▲38.94 |
Posts /wp-admin/edit.php | 2,309 ▲223 | 3.62 ▲1.64 | 57.50 ▲21.59 | 69.84 ▲34.51 |
Add New Post /wp-admin/post-new.php | 1,719 ▲186 | 22.75 ▼0.55 | 576.29 ▼20.18 | 31.38 ▼21.72 |
Media Library /wp-admin/upload.php | 1,448 ▲60 | 4.26 ▲0.03 | 80.56 ▼14.37 | 82.19 ▲36.36 |
Help & Upgrade /wp-admin/edit.php?post_type=wb_carousel&page=wpbrim_carousel_menu_help | 1,000 | 3.21 | 40.91 | 68.86 |
Categories /wp-admin/edit-tags.php?taxonomy=carousel_category&post_type=wb_carousel | 1,476 | 3.28 | 45.65 | 75.71 |
All Carousels /wp-admin/edit.php?post_type=wb_carousel | 1,306 | 3.46 | 46.94 | 69.72 |
Add New Carousel /wp-admin/post-new.php?post_type=wb_carousel | 1,726 | 3.94 | 63.95 | 91.27 |
Carousel Settings /wp-admin/edit.php?post_type=wb_carousel&page=carousel-settings | 1,796 | 3.87 | 78.29 | 68.86 |
Uninstaller [IO: ▲0.00MB] [DB: ▲0.00MB] 75% from 4 tests
🔸 Tests weight: 35 | It is important to correctly uninstall your plugin, without leaving any traces
These items require your attention
- This plugin does not fully uninstall, leaving 9 options in the database
- widget_theysaidso_widget
- wb_carousel_others
- db_upgraded
- theysaidso_admin_options
- wb_carousel_advanced
- widget_recent-posts
- widget_recent-comments
- wb_carousel_basics
- can_compress_scripts
Smoke tests 50% from 4 tests
Server-side errors Passed 1 test
🔹 Test weight: 20 | A smoke test targeting server-side errors
Even though no errors were found, this is by no means an exhaustive test
SRP 0% from 2 tests
🔹 Tests weight: 20 | It is important to ensure that your PHP files perform no action when accessed directly, respecting the single-responsibility principle
Please fix the following items
- 1× PHP files perform the action of outputting non-empty strings when accessed directly:
- > /wp-content/plugins/wb-carousel/lib/wb-carousel-help-upgrade.php
- 4× GET requests to PHP files have triggered server-side errors or warnings:
- > PHP Fatal error
Uncaught Error: Call to undefined function add_action() in wp-content/plugins/wb-carousel/public/view.php:80
- > PHP Fatal error
Uncaught Error: Call to undefined function __() in wp-content/plugins/wb-carousel/wb-carousel.php:20
- > PHP Fatal error
Uncaught Error: Call to undefined function add_action() in wp-content/plugins/wb-carousel/lib/cpt.php:37
- > PHP Fatal error
Uncaught Error: Call to undefined function add_filter() in wp-content/plugins/wb-carousel/lib/wb-carousel-column.php:3
- > PHP Fatal error
User-side errors Passed 1 test
🔹 Test weight: 20 | This is a smoke test targeting browser errors/issues
Everything seems fine on the user side
Optimizations
Plugin configuration 93% from 29 tests
readme.txt 94% from 16 tests
Perhaps the most important file in your plugin readme.txt gets parsed in order to generate the public listing of your plugin
These attributes need to be fixed:
- Screenshots: Add an image for screenshot #1 (Final output after adding shortcode from)
wb-carousel/wb-carousel.php 92% from 13 tests
This is the main PHP file of "Carousel" version 1.0, providing information about the plugin in the header fields and serving as the principal entry point to the plugin's functions
Please take the time to fix the following:
- Description: The description should be shorter than 140 characters (currently 272 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
Success! There were no dangerous files found in this plugin3,206 lines of code in 18 files:
Language | Files | Blank lines | Comment lines | Lines of code |
---|---|---|---|---|
JavaScript | 2 | 450 | 857 | 1,764 |
PHP | 8 | 227 | 213 | 790 |
CSS | 7 | 37 | 62 | 582 |
Markdown | 1 | 38 | 0 | 70 |
PHP code Passed 2 tests
An short overview of logical lines of code, cyclomatic complexity, and other code metrics
There were no cyclomatic complexity issued detected
Cyclomatic complexity | |
---|---|
Average complexity per logical line of code | 0.28 |
Average class complexity | 26.00 |
▷ Minimum class complexity | 3.00 |
▷ Maximum class complexity | 49.00 |
Average method complexity | 2.39 |
▷ Minimum method complexity | 1.00 |
▷ Maximum method complexity | 15.00 |
Code structure | ||
---|---|---|
Namespaces | 0 | |
Interfaces | 0 | |
Traits | 0 | |
Classes | 2 | |
▷ Abstract classes | 0 | 0.00% |
▷ Concrete classes | 2 | 100.00% |
▷ Final classes | 0 | 0.00% |
Methods | 36 | |
▷ Static methods | 0 | 0.00% |
▷ Public methods | 36 | 100.00% |
▷ Protected methods | 0 | 0.00% |
▷ Private methods | 0 | 0.00% |
Functions | 14 | |
▷ Named functions | 14 | 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
All PNG images should be compressed to minimize bandwidth usage for end users
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 |
vendors/owl-carousel/assets/owl.video.play.png | 4.86KB | 2.74KB | ▼ 43.61% |
assets/images/icons.png | 1.10KB | 0.22KB | ▼ 79.88% |