Benchmarks
Plugin footprint 83% from 16 tests
Installer Passed 1 test
🔺 Critical test (weight: 50) | All plugins must install correctly, without throwing any errors, warnings, or notices
The plugin installed successfully, without throwing any errors or notices
Server metrics [RAM: ▲0.09MB] [CPU: ▼5.22ms] Passed 4 tests
Server-side resources used by Monarch Sidebar Minimized on Mobile
Normal server usage
Page | Memory (MB) | CPU Time (ms) |
---|---|---|
Home / | 3.55 ▲0.09 | 39.51 ▲0.39 |
Dashboard /wp-admin | 3.39 ▲0.09 | 44.50 ▼7.37 |
Posts /wp-admin/edit.php | 3.50 ▲0.15 | 51.27 ▲6.92 |
Add New Post /wp-admin/post-new.php | 5.97 ▲0.09 | 80.35 ▼16.87 |
Media Library /wp-admin/upload.php | 3.31 ▲0.09 | 35.52 ▲2.96 |
Server storage [IO: ▲0.44MB] [DB: ▲0.00MB] Passed 3 tests
How much does this plugin use your filesystem and database?
This plugin installed successfully
Filesystem: 88 new files
Database: no new tables, 7 new options
New WordPress options |
---|
widget_recent-posts |
can_compress_scripts |
widget_recent-comments |
dp_msmom_basic_options |
db_upgraded |
theysaidso_admin_options |
widget_theysaidso_widget |
Browser metrics Passed 4 tests
An overview of browser requirements for Monarch Sidebar Minimized on Mobile
This plugin has a minimal impact on browser resources
Page | Nodes | Memory (MB) | Script (ms) | Layout (ms) |
---|---|---|---|---|
Home / | 2,800 ▲54 | 13.24 ▼1.14 | 4.73 ▲3.09 | 46.53 ▲6.69 |
Dashboard /wp-admin | 2,206 ▲15 | 5.79 ▲0.89 | 99.48 ▼5.14 | 38.71 ▼4.64 |
Posts /wp-admin/edit.php | 2,092 ▼0 | 2.00 ▲0.00 | 39.62 ▼1.14 | 35.44 ▼8.86 |
Add New Post /wp-admin/post-new.php | 1,519 ▼23 | 23.17 ▲4.96 | 592.06 ▼20.68 | 54.61 ▼7.89 |
Media Library /wp-admin/upload.php | 1,388 ▼0 | 4.20 ▼0.02 | 94.31 ▼13.02 | 43.38 ▼0.90 |
Uninstaller [IO: ▲0.00MB] [DB: ▲0.00MB] 75% from 4 tests
🔸 Tests weight: 35 | Checking the uninstaller removed all traces of the plugin
These items require your attention
- The uninstall procedure has failed, leaving 7 options in the database
- widget_recent-comments
- can_compress_scripts
- dp_msmom_basic_options
- widget_recent-posts
- widget_theysaidso_widget
- db_upgraded
- theysaidso_admin_options
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
Everything seems fine, however this is by no means an exhaustive test
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
- 2× PHP files output non-empty strings when accessed directly via GET requests:
- > /wp-content/plugins/gg-monarch-sidebar-minimized-on-mobile/public/partials/gg-monarch-sidebar-minimized-on-mobile-public-display.php
- > /wp-content/plugins/gg-monarch-sidebar-minimized-on-mobile/admin/partials/gg-monarch-sidebar-minimized-on-mobile-admin-display.php
- 3× PHP files trigger errors when accessed directly with GET requests:
- > PHP Fatal error
Uncaught Error: Class 'MSMoMDP\\Std\\Html\\Attr' not found in wp-content/plugins/gg-monarch-sidebar-minimized-on-mobile/vendor/deeppresentation/php-std/build/Components/Dropdown.php:6
- > PHP Fatal error
Uncaught Error: Call to undefined function add_action() in wp-content/plugins/gg-monarch-sidebar-minimized-on-mobile/admin/gg-monarch-sidebar-minimized-on-mobile-route.php:5
- > PHP Fatal error
Uncaught Error: Class 'MSMoMDP\\Std\\Core\\GoogleGeo' not found in wp-content/plugins/gg-monarch-sidebar-minimized-on-mobile/vendor/deeppresentation/wordpress-std/build/GoogleGeo.php:6
- > PHP Fatal error
User-side errors Passed 1 test
🔹 Test weight: 20 | This is a shallow check for browser errors
Everything seems fine, but this is not an exhaustive test
Optimizations
Plugin configuration 96% from 29 tests
readme.txt Passed 16 tests
The readme.txt file describes your plugin functionality and requirements and it is parsed to prepare the your plugin's listing
5 plugin tags: monarch, sidebar, mobile, social, elegantthemes
gg-monarch-sidebar-minimized-on-mobile/gg-monarch-sidebar-minimized-on-mobile.php 92% from 13 tests
The entry point to "Monarch Sidebar Minimized on Mobile" version 1.2.5 is a PHP file that has certain tags in its header comment area
Please make the necessary changes and fix the following:
- Description: Please keep the plugin description shorter than 140 characters (currently 209 characters long)
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
Everything looks great! No dangerous files found in this plugin5,928 lines of code in 70 files:
Language | Files | Blank lines | Comment lines | Lines of code |
---|---|---|---|---|
PHP | 59 | 861 | 1,408 | 5,669 |
JSON | 3 | 0 | 0 | 251 |
JavaScript | 6 | 0 | 101 | 6 |
CSS | 2 | 4 | 34 | 2 |
PHP code Passed 2 tests
A short review of cyclomatic complexity and code structure
There were no cyclomatic complexity issued detected
Cyclomatic complexity | |
---|---|
Average complexity per logical line of code | 0.48 |
Average class complexity | 23.28 |
▷ Minimum class complexity | 1.00 |
▷ Maximum class complexity | 112.00 |
Average method complexity | 3.59 |
▷ Minimum method complexity | 1.00 |
▷ Maximum method complexity | 48.00 |
Code structure | ||
---|---|---|
Namespaces | 10 | |
Interfaces | 0 | |
Traits | 0 | |
Classes | 47 | |
▷ Abstract classes | 0 | 0.00% |
▷ Concrete classes | 47 | 100.00% |
▷ Final classes | 1 | 2.13% |
Methods | 405 | |
▷ Static methods | 175 | 43.21% |
▷ Public methods | 353 | 87.16% |
▷ Protected methods | 15 | 3.70% |
▷ Private methods | 37 | 9.14% |
Functions | 12 | |
▷ Named functions | 7 | 58.33% |
▷ Anonymous functions | 5 | 41.67% |
Constants | 43 | |
▷ Global constants | 43 | 100.00% |
▷ Class constants | 0 | 0.00% |
▷ Public constants | 0 | 0.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
There are no PNG files in this plugin