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
This plugin's installer ran successfully
Server metrics [RAM: ▲0.24MB] [CPU: ▼1.03ms] Passed 4 tests
Server-side resources used by Owl Carousel WP
This plugin does not affect your website's performance
Page | Memory (MB) | CPU Time (ms) |
---|---|---|
Home / | 3.70 ▲0.19 | 44.04 ▲4.87 |
Dashboard /wp-admin | 3.68 ▲0.29 | 58.16 ▼10.00 |
Posts /wp-admin/edit.php | 3.73 ▲0.33 | 62.25 ▲10.21 |
Add New Post /wp-admin/post-new.php | 6.18 ▲0.25 | 90.08 ▼2.47 |
Media Library /wp-admin/upload.php | 3.51 ▲0.24 | 42.36 ▲3.49 |
Carousel Settings /wp-admin/edit.php?post_type=ocw_carousel&page=carousel-settings | 3.51 | 40.91 |
Add New Carousel /wp-admin/post-new.php?post_type=ocw_carousel | 3.59 | 50.09 |
Help & Upgrade /wp-admin/edit.php?post_type=ocw_carousel&page=tc_ocw_carousel_menu_help | 3.51 | 38.20 |
All Carousels /wp-admin/edit.php?post_type=ocw_carousel | 3.58 | 53.01 |
Categories /wp-admin/edit-tags.php?taxonomy=carousel_category&post_type=ocw_carousel | 3.53 | 40.79 |
Server storage [IO: ▲0.22MB] [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: 33 new files
Database: no new tables, 9 new options
New WordPress options |
---|
tc-owlcarousel_others |
tc-owlcarousel_basics |
theysaidso_admin_options |
tc-owlcarousel_advanced |
db_upgraded |
can_compress_scripts |
widget_recent-posts |
widget_theysaidso_widget |
widget_recent-comments |
Browser metrics Passed 4 tests
Owl Carousel WP: an overview of browser usage
There were no issues detected in relation to browser resource usage
Page | Nodes | Memory (MB) | Script (ms) | Layout (ms) |
---|---|---|---|---|
Home / | 3,077 ▲316 | 15.17 ▲0.89 | 6.45 ▲4.95 | 43.85 ▼0.45 |
Dashboard /wp-admin | 2,374 ▲197 | 6.30 ▲0.62 | 110.92 ▲22.02 | 98.16 ▲52.62 |
Posts /wp-admin/edit.php | 2,320 ▲220 | 3.53 ▲1.57 | 55.00 ▲18.21 | 83.65 ▲47.94 |
Add New Post /wp-admin/post-new.php | 1,584 ▲57 | 18.45 ▼4.58 | 613.69 ▼41.68 | 194.03 ▲136.30 |
Media Library /wp-admin/upload.php | 1,457 ▲63 | 4.39 ▲0.21 | 92.95 ▼9.45 | 90.65 ▲43.24 |
Carousel Settings /wp-admin/edit.php?post_type=ocw_carousel&page=carousel-settings | 1,845 | 3.90 | 77.83 | 69.24 |
Add New Carousel /wp-admin/post-new.php?post_type=ocw_carousel | 2,000 | 3.78 | 73.37 | 111.41 |
Help & Upgrade /wp-admin/edit.php?post_type=ocw_carousel&page=tc_ocw_carousel_menu_help | 1,714 | 10.27 | 296.87 | 92.04 |
All Carousels /wp-admin/edit.php?post_type=ocw_carousel | 1,322 | 3.52 | 44.69 | 67.32 |
Categories /wp-admin/edit-tags.php?taxonomy=carousel_category&post_type=ocw_carousel | 1,488 | 3.33 | 41.58 | 73.40 |
Uninstaller [IO: ▲0.00MB] [DB: ▲0.00MB] 75% from 4 tests
🔸 Tests weight: 35 | All plugins must uninstall correctly, removing their source code and extra database tables they might have created
It is recommended to fix the following
- Zombie WordPress options detected upon uninstall: 9 options
- theysaidso_admin_options
- tc-owlcarousel_basics
- tc-owlcarousel_others
- can_compress_scripts
- widget_theysaidso_widget
- tc-owlcarousel_advanced
- db_upgraded
- widget_recent-comments
- widget_recent-posts
Smoke tests 50% from 4 tests
Server-side errors Passed 1 test
🔹 Test weight: 20 | This is a short smoke test looking for server-side errors
Good news, no errors were detected
SRP 0% from 2 tests
🔹 Tests weight: 20 | A shallow check of the single-responsibility principle; PHP files should perform no action - including output of placeholder text - and trigger no errors when accessed directly
Please take a closer look at the following
- 1× PHP files perform the action of outputting non-empty strings when accessed directly:
- > /wp-content/plugins/owl-carousel-wp/lib/tc-ocw_carousel-help-upgrade.php
- 5× GET requests to PHP files trigger server-side errors or Error 500 responses:
- > PHP Fatal error
Uncaught Error: Call to undefined function __() in wp-content/plugins/owl-carousel-wp/owl-carousel-wp.php:20
- > PHP Fatal error
Uncaught Error: Call to undefined function add_action() in wp-content/plugins/owl-carousel-wp/public/view.php:93
- > PHP Fatal error
Uncaught Error: Call to undefined function add_action() in wp-content/plugins/owl-carousel-wp/lib/tc_exlink.php:16
- > PHP Fatal error
Uncaught Error: Call to undefined function add_action() in wp-content/plugins/owl-carousel-wp/lib/cpt.php:37
- > PHP Fatal error
Uncaught Error: Call to undefined function add_filter() in wp-content/plugins/owl-carousel-wp/lib/tc-owlcarousel-column.php:3
- > PHP Fatal error
User-side errors Passed 1 test
🔹 Test weight: 20 | A shallow check that no browser errors were triggered
No browser issues were found
Optimizations
Plugin configuration 96% from 29 tests
readme.txt Passed 16 tests
It's important to format your readme.txt file correctly as it is parsed for the public listing of your plugin
10 plugin tags: carousel, post carousel, carousel slider wordpress, wordpress image carousel, image carousel...
owl-carousel-wp/owl-carousel-wp.php 92% from 13 tests
The principal PHP file in "Owl Carousel WP" v. 2.2.1 is loaded by WordPress automatically on each request
You should first fix the following items:
- Description: If Twitter did it, so should we! Keep the description under 140 characters (currently 363 characters long)
Code Analysis Passed 3 tests
File types Passed 1 test
🔸 Test weight: 35 | This is an overview of file extensions present in this plugin and a short test that no dangerous files are bundled with this plugin
Success! There were no dangerous files found in this plugin3,428 lines of code in 19 files:
Language | Files | Blank lines | Comment lines | Lines of code |
---|---|---|---|---|
JavaScript | 2 | 450 | 857 | 1,764 |
PHP | 9 | 258 | 260 | 1,012 |
CSS | 7 | 37 | 62 | 582 |
Markdown | 1 | 38 | 0 | 70 |
PHP code Passed 2 tests
An overview of cyclomatic complexity and code structure
Although this was not an exhaustive test, there were no cyclomatic complexity issues detected
Cyclomatic complexity | |
---|---|
Average complexity per logical line of code | 0.27 |
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 | 22 | |
▷ Named functions | 22 | 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
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 |
assets/images/icons.png | 0.55KB | 0.32KB | ▼ 42.86% |
vendors/owl-carousel/assets/owl.video.play.png | 4.86KB | 2.74KB | ▼ 43.61% |