Benchmarks
Plugin footprint 83% from 16 tests
Installer Passed 1 test
🔺 Critical test (weight: 50) | The install procedure must perform silently
Install script ran successfully
Server metrics [RAM: ▲0.73MB] [CPU: ▼3.47ms] Passed 4 tests
This is a short check of server-side resources used by Mimo Carousel
This plugin has minimal impact on server resources
Page | Memory (MB) | CPU Time (ms) |
---|---|---|
Home / | 4.18 ▲0.72 | 46.47 ▲4.39 |
Dashboard /wp-admin | 4.05 ▲0.75 | 53.47 ▲0.85 |
Posts /wp-admin/edit.php | 4.08 ▲0.72 | 48.27 ▼6.79 |
Add New Post /wp-admin/post-new.php | 6.65 ▲0.76 | 88.92 ▼11.94 |
Media Library /wp-admin/upload.php | 3.97 ▲0.74 | 44.73 ▲4.00 |
All Carousels /wp-admin/edit.php?post_type=mm_car_carousel | 4.02 | 39.14 |
Add New Carousel /wp-admin/post-new.php?post_type=mm_car_carousel | 4.39 | 55.71 |
Mimo Carousel /wp-admin/options-general.php?page=mimo-carousel-settings | 3.88 | 35.91 |
Categories /wp-admin/edit-tags.php?taxonomy=mm_car_category&post_type=mm_car_carousel | 4.10 | 40.39 |
Server storage [IO: ▲1.80MB] [DB: ▲0.00MB] Passed 3 tests
A short overview of filesystem and database impact
The plugin installed successfully
Filesystem: 212 new files
Database: no new tables, 7 new options
New WordPress options |
---|
db_upgraded |
can_compress_scripts |
widget_recent-comments |
widget_recent-posts |
theysaidso_admin_options |
widget_theysaidso_widget |
widget_mimo_carousel |
Browser metrics Passed 4 tests
Checking browser requirements for Mimo Carousel
Minimal impact on browser resources
Page | Nodes | Memory (MB) | Script (ms) | Layout (ms) |
---|---|---|---|---|
Home / | 2,968 ▲233 | 13.70 ▼0.48 | 6.39 ▲4.33 | 43.37 ▼9.99 |
Dashboard /wp-admin | 2,264 ▲76 | 5.00 ▲0.12 | 105.41 ▼8.84 | 43.75 ▲1.53 |
Posts /wp-admin/edit.php | 2,137 ▲45 | 2.22 ▲0.21 | 36.22 ▼4.07 | 33.85 ▼2.20 |
Add New Post /wp-admin/post-new.php | 1,552 ▼116 | 23.16 ▲0.70 | 691.21 ▲57.24 | 58.04 ▲17.42 |
Media Library /wp-admin/upload.php | 1,433 ▲42 | 4.30 ▲0.10 | 103.50 ▲7.22 | 41.67 ▼0.84 |
All Carousels /wp-admin/edit.php?post_type=mm_car_carousel | 1,118 | 2.17 | 33.07 | 37.89 |
Add New Carousel /wp-admin/post-new.php?post_type=mm_car_carousel | 2,884 | 2.74 | 57.61 | 54.99 |
Mimo Carousel /wp-admin/options-general.php?page=mimo-carousel-settings | 888 | 1.98 | 32.56 | 31.64 |
Categories /wp-admin/edit-tags.php?taxonomy=mm_car_category&post_type=mm_car_carousel | 1,310 | 2.29 | 29.13 | 27.32 |
Uninstaller [IO: ▲0.00MB] [DB: ▲0.00MB] 75% from 4 tests
🔸 Tests weight: 35 | Verifying that this plugin uninstalls completely without leaving any traces
The following items require your attention
- This plugin does not fully uninstall, leaving 7 options in the database
- widget_recent-posts
- db_upgraded
- widget_theysaidso_widget
- widget_mimo_carousel
- widget_recent-comments
- theysaidso_admin_options
- can_compress_scripts
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
Even though no errors were found, this is by no means an exhaustive test
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
- 2× PHP files output non-empty strings when accessed directly via GET requests:
- > /wp-content/plugins/mimo-carousel/public/partials/mimo-carousel-public-display.php
- > /wp-content/plugins/mimo-carousel/admin/partials/mimo-carousel-admin-display.php
- 6× 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/mimo-carousel/includes/widgets/mimo-widget-carousel.php:7
- > PHP Fatal error
Uncaught Error: Call to undefined function do_action() in wp-content/plugins/mimo-carousel/includes/CMB2/bootstrap.php:17
- > PHP Fatal error
Uncaught Error: Call to undefined function esc_html() in wp-content/plugins/mimo-carousel/admin/views/admin.php:21
- > PHP Fatal error
Uncaught Error: Call to undefined function get_header() in wp-content/plugins/mimo-carousel/templates/mimo-carousel-single.php:10
- > PHP Fatal error
Uncaught Error: Call to undefined function get_header() in wp-content/plugins/mimo-carousel/templates/single-carousel.php:10
- > PHP Fatal error
Uncaught Error: Call to undefined function add_action() in wp-content/plugins/mimo-carousel/includes/CMB2/init.php:72
- > PHP Fatal error
User-side errors Passed 1 test
🔹 Test weight: 20 | This is just a short smoke test looking for browser issues
There were no browser issues found
Optimizations
Plugin configuration 93% from 29 tests
readme.txt 88% from 16 tests
You should put a lot of thought into formatting readme.txt as it is used by WordPress.org to prepare the public listing of your plugin
Attributes that require attention:
- Plugin Name: You should set the name of your plugin on the first line (
=== mimo-carousel ===
) - Tags: You are using too many tags: 65 tag instead of maximum 10
mimo-carousel/mimo-carousel.php Passed 13 tests
This is the main PHP file of "Mimo Carousel" version 1.3.5, providing information about the plugin in the header fields and serving as the principal entry point to the plugin's functions
60 characters long description:
Create custom Carousels for your posts and custom taxonomies
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
No dangerous file extensions were detected30,648 lines of code in 155 files:
Language | Files | Blank lines | Comment lines | Lines of code |
---|---|---|---|---|
PO File | 96 | 8,914 | 11,876 | 20,460 |
CSS | 6 | 1,069 | 1,037 | 4,234 |
PHP | 31 | 1,398 | 2,721 | 3,888 |
Sass | 11 | 168 | 23 | 1,116 |
JavaScript | 6 | 188 | 164 | 730 |
Markdown | 3 | 62 | 0 | 196 |
SVG | 1 | 1 | 0 | 13 |
JSON | 1 | 0 | 0 | 11 |
PHP code Passed 2 tests
Analyzing cyclomatic complexity and code structure
There were no cyclomatic complexity issued detected
Cyclomatic complexity | |
---|---|
Average complexity per logical line of code | 0.44 |
Average class complexity | 26.83 |
▷ Minimum class complexity | 1.00 |
▷ Maximum class complexity | 107.00 |
Average method complexity | 3.39 |
▷ Minimum method complexity | 1.00 |
▷ Maximum method complexity | 18.00 |
Code structure | ||
---|---|---|
Namespaces | 0 | |
Interfaces | 0 | |
Traits | 0 | |
Classes | 23 | |
▷ Abstract classes | 0 | 0.00% |
▷ Concrete classes | 23 | 100.00% |
▷ Final classes | 0 | 0.00% |
Methods | 249 | |
▷ Static methods | 26 | 10.44% |
▷ Public methods | 234 | 93.98% |
▷ Protected methods | 7 | 2.81% |
▷ Private methods | 8 | 3.21% |
Functions | 22 | |
▷ Named functions | 22 | 100.00% |
▷ Anonymous functions | 0 | 0.00% |
Constants | 5 | |
▷ Global constants | 3 | 60.00% |
▷ Class constants | 2 | 40.00% |
▷ Public constants | 2 | 100.00% |
Plugin size Passed 2 tests
Image compression Passed 2 tests
Often times overlooked, PNG files can occupy unnecessary space in your plugin
14 compressed PNG files occupy 0.02MB
Potential savings
Compression of 5 random PNG files using pngquant | |||
---|---|---|---|
File | Size - original | Size - compressed | Savings |
includes/CMB2/images/ico-delete.png | 0.70KB | 0.72KB | 0.00% |
includes/CMB2/images/ui-icons_888888_256x240.png | 5.23KB | 4.11KB | ▼ 21.49% |
includes/CMB2/images/ui-bg_glass_95_fef1ec_1x400.png | 0.12KB | 0.14KB | 0.00% |
includes/CMB2/images/ui-icons_2e83ff_256x240.png | 4.27KB | 4.11KB | ▼ 3.78% |
includes/CMB2/images/ui-bg_glass_75_e6e6e6_1x400.png | 0.11KB | 0.14KB | 0.00% |