Benchmarks
Plugin footprint Passed 16 tests
Installer Passed 1 test
🔺 Critical test (weight: 50) | The install procedure must perform silently
The plugin installed gracefully, with no errors
Server metrics [RAM: ▲0.18MB] [CPU: ▼291.13ms] Passed 4 tests
A check of server-side resources used by Mimo Social
Normal server usage
Page | Memory (MB) | CPU Time (ms) |
---|---|---|
Home / | 3.67 ▲0.16 | 53.84 ▲3.47 |
Dashboard /wp-admin | 3.63 ▲0.22 | 33.68 ▲2.15 |
Posts /wp-admin/edit.php | 3.85 ▲0.21 | 36.77 ▲1.41 |
Add New Post /wp-admin/post-new.php | 7.10 ▲0.13 | 92.50 ▼1,168.68 |
Media Library /wp-admin/upload.php | 3.51 ▲0.22 | 25.80 ▲0.59 |
Mimo Social /wp-admin/options-general.php?page=mimo-social-settings | 4.13 | 28.85 |
Server storage [IO: ▲1.69MB] [DB: ▲0.00MB] Passed 3 tests
How much does this plugin use your filesystem and database?
The plugin installed successfully
Filesystem: 187 new files
Database: no new tables, no new options
Browser metrics Passed 4 tests
Mimo Social: an overview of browser usage
Normal browser usage
Page | Nodes | Memory (MB) | Script (ms) | Layout (ms) |
---|---|---|---|---|
Home / | 3,915 ▲157 | 16.61 ▲0.53 | 9.45 ▲3.08 | 2.34 ▼0.53 |
Dashboard /wp-admin | 2,901 ▲43 | 6.25 ▲0.05 | 115.42 ▼19.21 | 161.04 ▲3.42 |
Posts /wp-admin/edit.php | 2,694 ▼0 | 3.24 ▲0.01 | 64.49 ▼0.49 | 139.57 ▼2.96 |
Add New Post /wp-admin/post-new.php | 1,788 ▲36 | 16.94 ▼4.97 | 420.20 ▼37.52 | 157.00 ▼5.64 |
Media Library /wp-admin/upload.php | 1,708 ▲10 | 5.57 ▲0.07 | 159.02 ▲18.16 | 188.41 ▲6.97 |
Mimo Social /wp-admin/options-general.php?page=mimo-social-settings | 1,717 | 2.74 | 57.88 | 152.15 |
Uninstaller [IO: ▲0.00MB] [DB: ▲0.00MB] Passed 4 tests
🔸 Tests weight: 35 | All plugins must uninstall correctly, removing their source code and extra database tables they might have created
The plugin uninstalled successfully, without leaving any zombie files or tables
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
The smoke test was a success, however most plugin functionality was not tested
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 take a closer look at the following
- 1× PHP files output non-empty strings when accessed directly via 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 errors were detected
Optimizations
Plugin configuration 93% from 29 tests
readme.txt 88% 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:
- Tags: Please delete some tags, you are using 20 tag instead of maximum 10
- Plugin Name: Please replace "Plugin Name" with the name of your plugin on the first line (
=== mimo-social ===
)
mimo-social/mimo-social.php Passed 13 tests
The main PHP script in "Mimo Social" version 1.2.0 is automatically included on every request by WordPress
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 | This is an overview of programming languages used in this plugin; dangerous file extensions are not allowed
Everything looks great! No dangerous files found in this plugin29,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
A brief analysis of cyclomatic complexity and code structure for this plugin
There were no cyclomatic complexity issued detected
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
Using a strong compression for your PNG files is a great way to speed-up 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/ui-bg_glass_95_fef1ec_1x400.png | 0.12KB | 0.14KB | 0.00% |
includes/CMB2/images/ui-icons_cd0a0a_256x240.png | 4.27KB | 4.11KB | ▼ 3.78% |
includes/CMB2/images/ui-bg_highlight-soft_75_cccccc_1x100.png | 0.10KB | 0.17KB | 0.00% |
includes/CMB2/images/ui-bg_flat_75_ffffff_40x100.png | 0.17KB | 0.08KB | ▼ 51.12% |
includes/CMB2/images/ui-bg_glass_75_e6e6e6_1x400.png | 0.11KB | 0.14KB | 0.00% |