Benchmarks
Plugin footprint 65% 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.15MB] [CPU: ▼2.41ms] Passed 4 tests
This is a short check of server-side resources used by MI Carousel
This plugin does not affect your website's performance
Page | Memory (MB) | CPU Time (ms) |
---|---|---|
Home / | 3.61 ▲0.14 | 42.87 ▲0.16 |
Dashboard /wp-admin | 3.44 ▲0.14 | 50.99 ▲0.17 |
Posts /wp-admin/edit.php | 3.56 ▲0.20 | 55.01 ▲4.78 |
Add New Post /wp-admin/post-new.php | 6.05 ▲0.17 | 86.01 ▼12.28 |
Media Library /wp-admin/upload.php | 3.37 ▲0.14 | 35.21 ▲2.33 |
New MI Carousel /wp-admin/post-new.php?post_type=mi_carousel_slider | 3.48 | 52.26 |
MI Carousels /wp-admin/edit-tags.php?taxonomy=mi_carousels&post_type=mi_carousel_slider | 3.36 | 37.24 |
All MI Carousels /wp-admin/edit.php?post_type=mi_carousel_slider | 3.41 | 37.15 |
Server storage [IO: ▲0.15MB] [DB: ▲0.00MB] Passed 3 tests
Filesystem and database footprint
This plugin was installed successfully
Filesystem: 24 new files
Database: no new tables, 6 new options
New WordPress options |
---|
can_compress_scripts |
widget_recent-comments |
widget_theysaidso_widget |
theysaidso_admin_options |
db_upgraded |
widget_recent-posts |
Browser metrics Passed 4 tests
A check of browser resources used by MI Carousel
This plugin has a minimal impact on browser resources
Page | Nodes | Memory (MB) | Script (ms) | Layout (ms) |
---|---|---|---|---|
Home / | 2,905 ▲144 | 13.81 ▼0.54 | 8.93 ▲7.00 | 44.07 ▲3.84 |
Dashboard /wp-admin | 2,228 ▲51 | 5.66 ▼0.00 | 84.31 ▼5.65 | 75.79 ▲32.39 |
Posts /wp-admin/edit.php | 2,136 ▲36 | 1.99 ▼0.02 | 35.76 ▼6.10 | 34.22 ▼2.36 |
Add New Post /wp-admin/post-new.php | 1,569 ▲41 | 23.28 ▲0.32 | 663.36 ▼19.49 | 163.46 ▲109.13 |
Media Library /wp-admin/upload.php | 1,430 ▲30 | 4.11 ▼0.04 | 96.86 ▼11.23 | 80.28 ▲32.16 |
New MI Carousel /wp-admin/post-new.php?post_type=mi_carousel_slider | 2,457 | 6.84 | 159.01 | 124.07 |
MI Carousels /wp-admin/edit-tags.php?taxonomy=mi_carousels&post_type=mi_carousel_slider | 1,386 | 2.25 | 26.10 | 29.96 |
All MI Carousels /wp-admin/edit.php?post_type=mi_carousel_slider | 1,107 | 1.91 | 30.32 | 31.06 |
Uninstaller [IO: ▲0.00MB] [DB: ▲0.00MB] 50% from 4 tests
🔸 Tests weight: 35 | All plugins must uninstall correctly, removing their source code and extra database tables they might have created
Please fix the following items
- This plugin did not uninstall without warnings or errors
- > Notice in wp-content/plugins/mi-carousel-slider/uninstall.php+22
Trying to get property 'term_id' of non-object
- Zombie WordPress options detected upon uninstall: 6 options
- widget_recent-comments
- theysaidso_admin_options
- can_compress_scripts
- db_upgraded
- widget_recent-posts
- widget_theysaidso_widget
Smoke tests 50% from 4 tests
Server-side errors Passed 1 test
🔹 Test weight: 20 | A shallow check that no server-side errors were triggered
Good news, no errors were detected
SRP 0% 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
Please fix the following items
- 1× GET requests to PHP files return non-empty strings:
- > /wp-content/plugins/mi-carousel-slider/mi-carousel.php
- 7× GET requests to PHP files have triggered server-side errors or warnings:
- > PHP Fatal error
Uncaught Error: Call to undefined function get_term_by() in wp-content/plugins/mi-carousel-slider/views/slide.php:2
- > PHP Fatal error
Uncaught Error: Call to undefined function add_action() in wp-content/plugins/mi-carousel-slider/views/metabox.php:8
- > PHP Fatal error
Uncaught Error: Call to undefined function add_shortcode() in wp-content/plugins/mi-carousel-slider/shortcode/mi_carousel.php:4
- > PHP Fatal error
Uncaught Error: Call to undefined function add_action() in wp-content/plugins/mi-carousel-slider/inc/kc_mi_carousel.php:2
- > PHP Fatal error
Uncaught Error: Call to undefined function add_filter() in wp-content/plugins/mi-carousel-slider/views/label.php:2
- > PHP Fatal error
Uncaught Error: Call to undefined function _x() in wp-content/plugins/mi-carousel-slider/views/taxonomy.php:3
- > PHP Fatal error
Uncaught Error: Call to undefined function _x() in wp-content/plugins/mi-carousel-slider/views/post_type.php:3
- > PHP Fatal error
User-side errors Passed 1 test
🔹 Test weight: 20 | This is a shallow check for browser errors
Everything seems fine on the user side
Optimizations
Plugin configuration 93% from 29 tests
readme.txt 94% from 16 tests
Don't ignore readme.txt as it is the file that instructs WordPress.org on how to present your plugin to the world
Please fix the following attributes:
- Screenshots: Add an image for screenshot #4 (Banner)
mi-carousel-slider/mi-carousel.php 92% from 13 tests
The entry point to "MI Carousel" version 2.0.3 is a PHP file that has certain tags in its header comment area
It is important to fix the following:
- Main file name: Name the main plugin file the same as the plugin slug ("mi-carousel-slider.php" instead of "mi-carousel.php")
Code Analysis Passed 3 tests
File types Passed 1 test
🔸 Test weight: 35 | This is a short overview of programming languages used in this plugin, detecting executable files
There were no executable files found in this plugin2,702 lines of code in 17 files:
Language | Files | Blank lines | Comment lines | Lines of code |
---|---|---|---|---|
JavaScript | 1 | 101 | 524 | 1,056 |
PHP | 10 | 95 | 83 | 687 |
CSS | 3 | 78 | 13 | 442 |
HTML | 1 | 38 | 4 | 433 |
Sass | 1 | 5 | 0 | 43 |
SVG | 1 | 1 | 3 | 41 |
PHP code Passed 2 tests
Analyzing 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.36 |
Average class complexity | 2.00 |
▷ Minimum class complexity | 2.00 |
▷ Maximum class complexity | 2.00 |
Average method complexity | 1.11 |
▷ Minimum method complexity | 1.00 |
▷ Maximum method complexity | 2.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 | 9 | |
▷ Static methods | 0 | 0.00% |
▷ Public methods | 9 | 100.00% |
▷ Protected methods | 0 | 0.00% |
▷ Private methods | 0 | 0.00% |
Functions | 16 | |
▷ Named functions | 15 | 93.75% |
▷ Anonymous functions | 1 | 6.25% |
Constants | 0 | |
▷ Global constants | 0 | 0.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
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 |
images/mi-carousel-slide-icon.png | 1.14KB | 0.31KB | ▼ 73.05% |