Benchmarks
Plugin footprint 83% from 16 tests
Installer Passed 1 test
🔺 Critical test (weight: 50) | It is important to correctly install your plugin, without throwing errors or notices
Install script ran successfully
Server metrics [RAM: ▲0.86MB] [CPU: ▼159.42ms] Passed 4 tests
A check of server-side resources used by Muut – Commenting and Forums Re-Imagined
Server-side resource usage in normal parameters
Page | Memory (MB) | CPU Time (ms) |
---|---|---|
Home / | 3.62 ▲0.90 | 46.27 ▲22.12 |
Dashboard /wp-admin | 3.89 ▲0.83 | 62.92 ▲10.50 |
Posts /wp-admin/edit.php | 4.00 ▲0.89 | 55.47 ▲1.49 |
Add New Post /wp-admin/post-new.php | 6.32 ▲0.88 | 111.85 ▼652.57 |
Media Library /wp-admin/upload.php | 3.82 ▲0.82 | 44.38 ▲2.90 |
Server storage [IO: ▲0.73MB] [DB: ▲0.00MB] Passed 3 tests
A short overview of filesystem and database impact
This plugin was installed successfully
Filesystem: 78 new files
Database: no new tables, 6 new options
New WordPress options |
---|
widget_muut_latest_comments_widget |
widget_muut_trending_posts_widget |
widget_muut_online_users_widget |
widget_muut_my_feed_widget |
muut_options |
widget_muut_channel_embed_widget |
Browser metrics Passed 4 tests
This is an overview of browser requirements for Muut – Commenting and Forums Re-Imagined
Minimal impact on browser resources
Page | Nodes | Memory (MB) | Script (ms) | Layout (ms) |
---|---|---|---|---|
Home / | 3,742 ▲95 | 16.03 ▼0.02 | 10.03 ▲0.26 | 54.21 ▲5.61 |
Dashboard /wp-admin | 3,001 ▲70 | 6.17 ▲0.20 | 158.40 ▼27.15 | 116.74 ▼10.99 |
Posts /wp-admin/edit.php | 2,770 ▲31 | 2.73 ▲0.01 | 73.29 ▲1.74 | 104.54 ▲8.12 |
Add New Post /wp-admin/post-new.php | 1,680 ▲99 | 17.91 ▼0.31 | 478.37 ▲38.80 | 191.70 ▲73.09 |
Media Library /wp-admin/upload.php | 1,838 ▲16 | 5.07 ▲0.04 | 173.73 ▲19.06 | 130.18 ▼9.08 |
Uninstaller [IO: ▲0.00MB] [DB: ▲0.00MB] 75% from 4 tests
🔸 Tests weight: 35 | Verifying that this plugin uninstalls completely without leaving any traces
It is recommended to fix the following
- This plugin does not fully uninstall, leaving 6 options in the database
- widget_muut_my_feed_widget
- widget_muut_trending_posts_widget
- widget_muut_latest_comments_widget
- widget_muut_channel_embed_widget
- widget_muut_online_users_widget
- muut_options
Smoke tests 50% from 4 tests
Server-side errors Passed 1 test
🔹 Test weight: 20 | This is a shallow check for server-side errors
The smoke test was a success, however most plugin functionality was not tested
SRP 0% from 2 tests
🔹 Tests weight: 20 | SRP (Single-Responsibility Principle) - PHP files must act as libraries and never output text or perform any action when accessed directly in a browser
Please fix the following items
- 25× PHP files perform the task of outputting text when accessed with GET requests (only 10 are shown):
- > /wp-content/plugins/muut/lib/escaped-fragments.class.php
- > /wp-content/plugins/muut/lib/custom-post-types.class.php
- > /wp-content/plugins/muut/lib/initializer.class.php
- > /wp-content/plugins/muut/lib/admin/admin-settings.class.php
- > /wp-content/plugins/muut/lib/post-muut.utility.class.php
- > /wp-content/plugins/muut/lib/admin/admin-field-validation.utility.class.php
- > /wp-content/plugins/muut/lib/channel.utility.class.php
- > /wp-content/plugins/muut/lib/admin/admin-contextual-help.class.php
- > /wp-content/plugins/muut/lib/files.utility.class.php
- > /wp-content/plugins/muut/lib/shortcodes.class.php
- 34× PHP files trigger server errors when accessed directly (only 10 are shown):
- > PHP Fatal error
Uncaught Error: Class 'Muut_Post_Utility' not found in wp-content/plugins/muut/views/blocks/metabox-tab-forum.php:12
- > PHP Fatal error
Uncaught Error: Call to undefined function _e() in wp-content/plugins/muut/views/blocks/help-tab-settings-commenting.php:11
- > PHP Fatal error
Uncaught Error: Call to undefined function get_header() in wp-content/plugins/muut/templates/forum-page.php:13
- > PHP Notice
Undefined variable: latest_comments_data in wp-content/plugins/muut/views/widgets/widget-latest-comments.php on line 18
- > PHP Fatal error
Uncaught Error: Call to undefined function _e() in wp-content/plugins/muut/views/blocks/help-tab-post-editor-forum.php:10
- > PHP Fatal error
Uncaught Error: Call to undefined function _e() in wp-content/plugins/muut/views/blocks/help-tab-settings-general.php:11
- > PHP Fatal error
Uncaught Error: Call to undefined function muut() in wp-content/plugins/muut/views/blocks/forum-page-embed.php:13
- > PHP Fatal error
Uncaught Error: Using $this when not in object context in wp-content/plugins/muut/views/widgets/admin-widget-online-users.php:20
- > PHP Fatal error
Uncaught Error: Using $this when not in object context in wp-content/plugins/muut/views/widgets/admin-widget-my-feed.php:20
- > PHP Fatal error
Uncaught Error: Call to undefined function __() in wp-content/plugins/muut/views/blocks/help-tab-settings-overview.php:9
- > PHP Fatal error
User-side errors Passed 1 test
🔹 Test weight: 20 | This is a smoke test targeting browser errors/issues
No browser issues were found
Optimizations
Plugin configuration Passed 29 tests
readme.txt Passed 16 tests
Often overlooked, readme.txt is one of the most important files in your plugin
7 plugin tags: widgets, comments, social, forum, realtime...
muut/muut.php Passed 13 tests
The main PHP script in "Muut – Commenting and Forums Re-Imagined" version 3.0.6 is automatically included on every request by WordPress
114 characters long description:
A complete re-imagining of what online discussions should be. Real‑time forums and commenting for WordPress.
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 plugin9,357 lines of code in 70 files:
Language | Files | Blank lines | Comment lines | Lines of code |
---|---|---|---|---|
PHP | 54 | 1,010 | 3,477 | 4,796 |
JavaScript | 11 | 849 | 2,022 | 3,398 |
PO File | 1 | 182 | 215 | 722 |
CSS | 4 | 95 | 28 | 441 |
PHP code Passed 2 tests
This is a very shot review of cyclomatic complexity and code structure
This plugin has no cyclomatic complexity issues
Cyclomatic complexity | |
---|---|
Average complexity per logical line of code | 0.42 |
Average class complexity | 33.41 |
▷ Minimum class complexity | 3.00 |
▷ Maximum class complexity | 111.00 |
Average method complexity | 3.26 |
▷ Minimum method complexity | 1.00 |
▷ Maximum method complexity | 27.00 |
Code structure | ||
---|---|---|
Namespaces | 0 | |
Interfaces | 0 | |
Traits | 0 | |
Classes | 22 | |
▷ Abstract classes | 0 | 0.00% |
▷ Concrete classes | 22 | 100.00% |
▷ Final classes | 0 | 0.00% |
Methods | 315 | |
▷ Static methods | 44 | 13.97% |
▷ Public methods | 257 | 81.59% |
▷ Protected methods | 50 | 15.87% |
▷ Private methods | 8 | 2.54% |
Functions | 18 | |
▷ Named functions | 18 | 100.00% |
▷ Anonymous functions | 0 | 0.00% |
Constants | 20 | |
▷ Global constants | 0 | 0.00% |
▷ Class constants | 20 | 100.00% |
▷ Public constants | 20 | 100.00% |
Plugin size Passed 2 tests
Image compression Passed 2 tests
PNG files should be compressed to save space and minimize bandwidth usage
3 compressed PNG files occupy 0.06MB
Potential savings
Compression of 3 random PNG files using pngquant | |||
---|---|---|---|
File | Size - original | Size - compressed | Savings |
resources/images/webhooks-instructions@2x.png | 38.10KB | 42.15KB | 0.00% |
resources/images/webhooks-instructions.png | 24.10KB | 26.69KB | 0.00% |
vendor/jqueryui-editable/img/clear.png | 0.50KB | 0.38KB | ▼ 22.59% |