Benchmarks
Plugin footprint 65% 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 gracefully, with no errors
Server metrics [RAM: ▲0.19MB] [CPU: ▲1.00ms] Passed 4 tests
A check of server-side resources used by Nmedia Wordpress Member Conversation
No issues were detected with server-side resource usage
Page | Memory (MB) | CPU Time (ms) |
---|---|---|
Home / | 3.63 ▲0.17 | 45.13 ▲5.64 |
Dashboard /wp-admin | 3.50 ▲0.20 | 54.36 ▲3.37 |
Posts /wp-admin/edit.php | 3.62 ▲0.26 | 52.54 ▼0.71 |
Add New Post /wp-admin/post-new.php | 6.08 ▲0.20 | 86.01 ▼3.48 |
Media Library /wp-admin/upload.php | 3.43 ▲0.20 | 42.39 ▲4.83 |
Convo List /wp-admin/admin.php?page=nmconvo-list | 3.41 | 35.47 |
WP Convo /wp-admin/admin.php?page=nmconvo | 3.44 | 37.58 |
Server storage [IO: ▲1.15MB] [DB: ▲0.00MB] Passed 3 tests
How much does this plugin use your filesystem and database?
The plugin installed successfully
Filesystem: 108 new files
Database: 1 new table, 7 new options
New tables |
---|
wp_nm_convo |
New WordPress options |
---|
widget_theysaidso_widget |
theysaidso_admin_options |
nmconvo_db_version |
widget_recent-comments |
widget_recent-posts |
can_compress_scripts |
db_upgraded |
Browser metrics Passed 4 tests
Nmedia Wordpress Member Conversation: an overview of browser usage
There were no issues detected in relation to browser resource usage
Page | Nodes | Memory (MB) | Script (ms) | Layout (ms) |
---|---|---|---|---|
Home / | 2,840 ▲79 | 14.31 ▲0.02 | 2.20 ▲0.61 | 43.34 ▲1.21 |
Dashboard /wp-admin | 2,206 ▲29 | 5.52 ▼0.12 | 90.45 ▼13.36 | 79.82 ▲34.18 |
Posts /wp-admin/edit.php | 2,126 ▲26 | 1.98 ▼0.06 | 40.85 ▲3.87 | 38.74 ▲2.39 |
Add New Post /wp-admin/post-new.php | 1,563 ▲35 | 22.98 ▼0.03 | 664.10 ▲17.32 | 162.52 ▲112.42 |
Media Library /wp-admin/upload.php | 1,426 ▲23 | 4.25 ▲0.03 | 114.94 ▲9.59 | 76.31 ▲28.52 |
Convo List /wp-admin/admin.php?page=nmconvo-list | 886 | 1.83 | 24.02 | 28.05 |
WP Convo /wp-admin/admin.php?page=nmconvo | 950 | 2.00 | 33.08 | 46.30 |
Uninstaller [IO: ▲0.00MB] [DB: ▲0.00MB] 50% from 4 tests
🔸 Tests weight: 35 | All plugins must uninstall correctly, removing their source code and extra database tables they might have created
Please fix the following items
- This plugin does not fully uninstall, leaving 1 table in the database
- wp_nm_convo
- The uninstall procedure has failed, leaving 7 options in the database
- widget_recent-posts
- widget_recent-comments
- theysaidso_admin_options
- nmconvo_db_version
- widget_theysaidso_widget
- db_upgraded
- can_compress_scripts
Smoke tests 50% from 4 tests
Server-side errors Passed 1 test
🔹 Test weight: 20 | This is a shallow check for server-side errors
Everything seems fine, however this is by no means an exhaustive test
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
The following issues need your attention
- 8× PHP files output text when accessed directly:
- > /wp-content/plugins/wordpress-member-private-conversation/templates/admin/all-convos.php
- > /wp-content/plugins/wordpress-member-private-conversation/inc/admin.php
- > /wp-content/plugins/wordpress-member-private-conversation/inc/helpers.php
- > /wp-content/plugins/wordpress-member-private-conversation/templates/file-attachment-new.php
- > /wp-content/plugins/wordpress-member-private-conversation/templates/user-convos-list.php
- > /wp-content/plugins/wordpress-member-private-conversation/templates/admin/single-convo.php
- > /wp-content/plugins/wordpress-member-private-conversation/templates/admin/options.php
- > /wp-content/plugins/wordpress-member-private-conversation/templates/file-attachment-reply.php
- 7× GET requests to PHP files trigger server-side errors or Error 500 responses:
- > PHP Notice
Undefined index: cid in wp-content/plugins/wordpress-member-private-conversation/templates/admin/load-convo-detail-admin.php on line 8
- > PHP Fatal error
Uncaught Error: Call to undefined function untrailingslashit() in wp-content/plugins/wordpress-member-private-conversation/nm-wp-member-convo.php:11
- > PHP Fatal error
Uncaught Error: Call to undefined function NMCONVO() in wp-content/plugins/wordpress-member-private-conversation/templates/admin/load-convo-detail-admin.php:9
- > PHP Fatal error
Uncaught Error: Call to undefined function add_action() in wp-content/plugins/wordpress-member-private-conversation/classes/class.convo.php:1184
- > PHP Fatal error
Uncaught Error: Call to undefined function NMCONVO() in wp-content/plugins/wordpress-member-private-conversation/templates/modal/user-modal.php:6
- > PHP Fatal error
Uncaught Error: Call to undefined function NMCONVO() in wp-content/plugins/wordpress-member-private-conversation/templates/_template_convo.php:8
- > PHP Fatal error
Uncaught Error: Call to undefined function wp_get_current_user() in wp-content/plugins/wordpress-member-private-conversation/templates/convo-detail.php:6
- > PHP Notice
User-side errors Passed 1 test
🔹 Test weight: 20 | A shallow check that no browser errors were triggered
Everything seems fine on the user side
Optimizations
Plugin configuration 96% from 29 tests
readme.txt Passed 16 tests
It's important to format your readme.txt file correctly as it is parsed for the public listing of your plugin
6 plugin tags: wp internal messages system, wp conversation, member private messaging, user conversation system, private conversation...
wordpress-member-private-conversation/nm-wp-member-convo.php 92% from 13 tests
The entry point to "Nmedia Wordpress Member Conversation" version 2.1 is a PHP file that has certain tags in its header comment area
Please take the time to fix the following:
- Main file name: It is recommended to name the main PHP file as the plugin slug ("wordpress-member-private-conversation.php" instead of "nm-wp-member-convo.php")
Code Analysis Passed 3 tests
File types Passed 1 test
🔸 Test weight: 35 | An overview of files in this plugin; executable files are not allowed
There were no executable files found in this plugin9,265 lines of code in 42 files:
Language | Files | Blank lines | Comment lines | Lines of code |
---|---|---|---|---|
JavaScript | 15 | 1,469 | 1,449 | 6,730 |
PHP | 15 | 684 | 250 | 1,547 |
CSS | 7 | 127 | 204 | 823 |
PO File | 1 | 62 | 153 | 132 |
XML | 4 | 1 | 0 | 33 |
PHP code Passed 2 tests
This plugin's cyclomatic complexity and code structure detailed below
All good! No complexity issues found
Cyclomatic complexity | |
---|---|
Average complexity per logical line of code | 0.27 |
Average class complexity | 93.00 |
▷ Minimum class complexity | 93.00 |
▷ Maximum class complexity | 93.00 |
Average method complexity | 3.60 |
▷ Minimum method complexity | 1.00 |
▷ Maximum method complexity | 39.00 |
Code structure | ||
---|---|---|
Namespaces | 0 | |
Interfaces | 0 | |
Traits | 0 | |
Classes | 1 | |
▷ Abstract classes | 0 | 0.00% |
▷ Concrete classes | 1 | 100.00% |
▷ Final classes | 0 | 0.00% |
Methods | 36 | |
▷ Static methods | 2 | 5.56% |
▷ Public methods | 36 | 100.00% |
▷ Protected methods | 0 | 0.00% |
▷ Private methods | 0 | 0.00% |
Functions | 24 | |
▷ Named functions | 23 | 95.83% |
▷ Anonymous functions | 1 | 4.17% |
Constants | 3 | |
▷ Global constants | 3 | 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
56 compressed PNG files occupy 0.12MB
Potential savings
Compression of 5 random PNG files using pngquant | |||
---|---|---|---|
File | Size - original | Size - compressed | Savings |
js/images/sort_desc_disabled.png | 0.14KB | 0.25KB | 0.00% |
templates/default/images/icon_s01.png | 0.20KB | 0.13KB | ▼ 33.17% |
js/ui/ui-lightness/images/ui-bg_highlight-soft_100_eeeeee_1x100.png | 0.09KB | 0.14KB | 0.00% |
js/images/sort_asc_disabled.png | 0.14KB | 0.25KB | 0.00% |
templates/default/images/icon_s17.png | 0.24KB | 0.17KB | ▼ 31.33% |