Benchmarks
Plugin footprint 83% from 16 tests
Installer Passed 1 test
🔺 Critical test (weight: 50) | Verifying that this plugin installs correctly without errors
This plugin's installer ran successfully
Server metrics [RAM: ▲0.21MB] [CPU: ▼9.36ms] Passed 4 tests
An overview of server-side resources used by Mimo Social
This plugin has minimal impact on server resources
Page | Memory (MB) | CPU Time (ms) |
---|---|---|
Home / | 3.67 ▲0.21 | 26.00 ▼12.87 |
Dashboard /wp-admin | 3.52 ▲0.17 | 49.05 ▼6.39 |
Posts /wp-admin/edit.php | 3.63 ▲0.28 | 46.07 ▼8.27 |
Add New Post /wp-admin/post-new.php | 6.12 ▲0.23 | 90.30 ▼9.90 |
Media Library /wp-admin/upload.php | 3.44 ▲0.21 | 35.59 ▼1.38 |
Mimo Social /wp-admin/options-general.php?page=mimo-social-settings | 4.06 | 36.29 |
Server storage [IO: ▲1.69MB] [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: 187 new files
Database: no new tables, 6 new options
New WordPress options |
---|
theysaidso_admin_options |
db_upgraded |
widget_recent-comments |
widget_theysaidso_widget |
widget_recent-posts |
can_compress_scripts |
Browser metrics Passed 4 tests
Mimo Social: an overview of browser usage
Minimal impact on browser resources
Page | Nodes | Memory (MB) | Script (ms) | Layout (ms) |
---|---|---|---|---|
Home / | 2,883 ▲122 | 13.53 ▼0.89 | 8.55 ▲6.92 | 42.71 ▼2.41 |
Dashboard /wp-admin | 2,203 ▲26 | 5.61 ▼0.06 | 94.84 ▲7.61 | 43.07 ▼2.65 |
Posts /wp-admin/edit.php | 2,105 ▲5 | 2.03 ▲0.01 | 33.28 ▼1.83 | 34.57 ▼0.59 |
Add New Post /wp-admin/post-new.php | 1,533 ▲6 | 23.18 ▼0.11 | 621.10 ▼73.53 | 49.87 ▼12.43 |
Media Library /wp-admin/upload.php | 1,408 ▲8 | 4.17 ▲0.03 | 95.06 ▼8.02 | 41.43 ▼2.07 |
Mimo Social /wp-admin/options-general.php?page=mimo-social-settings | 1,284 | 2.22 | 25.90 | 29.21 |
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
It is recommended to fix the following
- This plugin does not fully uninstall, leaving 6 options in the database
- can_compress_scripts
- db_upgraded
- theysaidso_admin_options
- widget_theysaidso_widget
- 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
Everything seems fine, however this is by no means an exhaustive test
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 take a closer look at the following
- 1× PHP files perform the task of outputting text when accessed with GET requests:
- > /wp-content/plugins/mimo-social/public/partials/mimo-social-public-display.php
- 3× PHP files trigger server-side errors or warnings when accessed directly:
- > PHP Fatal error
Uncaught Error: Call to undefined function do_action() in wp-content/plugins/mimo-social/includes/CMB2/bootstrap.php:17
- > PHP Fatal error
Uncaught Error: Call to undefined function add_action() in wp-content/plugins/mimo-social/includes/CMB2/init.php:72
- > PHP Fatal error
Uncaught Error: Call to undefined function esc_html() in wp-content/plugins/mimo-social/admin/partials/mimo-social-admin-display.php:19
- > PHP Fatal error
User-side errors Passed 1 test
🔹 Test weight: 20 | Just a short smoke test targeting errors on the browser (console and network errors and warnings)
No browser issues were found
Optimizations
Plugin configuration 93% from 29 tests
readme.txt 88% from 16 tests
The readme.txt file uses markdown syntax to describe your plugin to the world
These attributes need to be fixed:
- Plugin Name: Please replace "Plugin Name" with the name of your plugin on the first line (
=== mimo-social ===
) - Tags: Please reduce the number of tags, currently 20 tag instead of maximum 10
mimo-social/mimo-social.php Passed 13 tests
The main PHP file in "Mimo Social" ver. 1.2.0 adds more information about the plugin and also serves as the entry point for this plugin
59 characters long description:
Create custom share bar with your favorite social networks.
Code Analysis Passed 3 tests
File types Passed 1 test
🔸 Test weight: 35 | There should be no dangerous file extensions present in any WordPress plugin
No dangerous file extensions were detected29,450 lines of code in 143 files:
Language | Files | Blank lines | Comment lines | Lines of code |
---|---|---|---|---|
PO File | 94 | 8,873 | 11,789 | 20,306 |
CSS | 5 | 1,018 | 1,030 | 3,915 |
PHP | 27 | 1,239 | 2,510 | 3,319 |
Sass | 11 | 168 | 23 | 1,116 |
JavaScript | 5 | 178 | 164 | 703 |
Markdown | 1 | 39 | 0 | 91 |
PHP code Passed 2 tests
Cyclomatic complexity and code structure are the fingerprint of this plugin
No cyclomatic complexity issues were detected for this plugin
Cyclomatic complexity | |
---|---|
Average complexity per logical line of code | 0.49 |
Average class complexity | 29.38 |
▷ Minimum class complexity | 1.00 |
▷ Maximum class complexity | 107.00 |
Average method complexity | 3.59 |
▷ Minimum method complexity | 1.00 |
▷ Maximum method complexity | 21.00 |
Code structure | ||
---|---|---|
Namespaces | 0 | |
Interfaces | 0 | |
Traits | 0 | |
Classes | 21 | |
▷ Abstract classes | 0 | 0.00% |
▷ Concrete classes | 21 | 100.00% |
▷ Final classes | 0 | 0.00% |
Methods | 230 | |
▷ Static methods | 25 | 10.87% |
▷ Public methods | 213 | 92.61% |
▷ Protected methods | 7 | 3.04% |
▷ Private methods | 10 | 4.35% |
Functions | 20 | |
▷ Named functions | 20 | 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
All PNG images should be compressed to minimize bandwidth usage for end users
14 PNG files occupy 0.02MB with 0.00MB in potential savings
Potential savings
Compression of 5 random PNG files using pngquant | |||
---|---|---|---|
File | Size - original | Size - compressed | Savings |
includes/CMB2/images/ui-icons_222222_256x240.png | 4.27KB | 4.11KB | ▼ 3.78% |
includes/CMB2/images/ui-icons_888888_256x240.png | 5.23KB | 4.11KB | ▼ 21.49% |
includes/CMB2/images/ico-delete.png | 0.70KB | 0.72KB | 0.00% |
includes/CMB2/images/ui-bg_highlight-soft_75_cccccc_1x100.png | 0.10KB | 0.17KB | 0.00% |
includes/CMB2/images/ui-bg_flat_0_aaaaaa_40x100.png | 0.18KB | 0.08KB | ▼ 51.67% |