Benchmarks
Plugin footprint 83% from 16 tests
Installer Passed 1 test
🔺 Critical test (weight: 50) | Checking the installer triggered no errors
Install script ran successfully
Server metrics [RAM: ▼0.00MB] [CPU: ▼8.11ms] Passed 4 tests
An overview of server-side resources used by HivePress Messages
This plugin does not affect your website's performance
Page | Memory (MB) | CPU Time (ms) |
---|---|---|
Home / | 3.47 ▲0.01 | 40.74 ▼0.98 |
Dashboard /wp-admin | 3.31 ▼0.03 | 50.81 ▼10.68 |
Posts /wp-admin/edit.php | 3.36 ▲0.01 | 43.42 ▼6.19 |
Add New Post /wp-admin/post-new.php | 5.89 ▲0.01 | 80.56 ▼14.06 |
Media Library /wp-admin/upload.php | 3.23 ▲0.00 | 31.94 ▼1.52 |
Server storage [IO: ▲0.13MB] [DB: ▲0.00MB] Passed 3 tests
Input-output and database impact of this plugin
This plugin was installed successfully
Filesystem: 47 new files
Database: no new tables, 6 new options
New WordPress options |
---|
widget_recent-comments |
db_upgraded |
theysaidso_admin_options |
can_compress_scripts |
widget_theysaidso_widget |
widget_recent-posts |
Browser metrics Passed 4 tests
An overview of browser requirements for HivePress Messages
There were no issues detected in relation to browser resource usage
Page | Nodes | Memory (MB) | Script (ms) | Layout (ms) |
---|---|---|---|---|
Home / | 2,800 ▲54 | 13.26 ▼1.12 | 4.79 ▲2.75 | 43.91 ▼0.78 |
Dashboard /wp-admin | 2,200 ▲12 | 5.79 ▼0.12 | 111.91 ▲10.00 | 38.91 ▼4.01 |
Posts /wp-admin/edit.php | 2,089 ▼0 | 2.05 ▲0.04 | 35.46 ▼3.37 | 32.09 ▼6.68 |
Add New Post /wp-admin/post-new.php | 1,533 ▲1 | 23.20 ▲4.93 | 673.55 ▲23.61 | 69.62 ▲8.24 |
Media Library /wp-admin/upload.php | 1,391 ▲6 | 4.16 ▼0.03 | 94.39 ▼6.26 | 41.77 ▼2.42 |
Uninstaller [IO: ▲0.00MB] [DB: ▲0.00MB] 75% from 4 tests
🔸 Tests weight: 35 | Verifying that this plugin uninstalls completely without leaving any traces
Please fix the following items
- This plugin did not uninstall successfully, leaving 6 options in the database
- db_upgraded
- can_compress_scripts
- theysaidso_admin_options
- widget_recent-posts
- widget_recent-comments
- widget_theysaidso_widget
Smoke tests Passed 4 tests
Server-side errors Passed 1 test
🔹 Test weight: 20 | This is a short smoke test looking for server-side errors
Even though no errors were found, this is by no means an exhaustive test
SRP Passed 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
The SRP test was a success
User-side errors Passed 1 test
🔹 Test weight: 20 | This is a shallow check for browser errors
Everything seems fine on the user side
Optimizations
Plugin configuration Passed 29 tests
readme.txt Passed 16 tests
The readme.txt file is an important file in your plugin as it is parsed by WordPress.org to prepare the public listing of your plugin
5 plugin tags: classifieds, hivepress, listings, messages, directory
hivepress-messages/hivepress-messages.php Passed 13 tests
The entry point to "HivePress Messages" version 1.3.0 is a PHP file that has certain tags in its header comment area
37 characters long description:
Allow users to send private messages.
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
Success! There were no dangerous files found in this plugin2,093 lines of code in 43 files:
Language | Files | Blank lines | Comment lines | Lines of code |
---|---|---|---|---|
PHP | 40 | 476 | 871 | 1,981 |
LESS | 1 | 19 | 3 | 106 |
JSON | 1 | 0 | 0 | 5 |
CSS | 1 | 0 | 0 | 1 |
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.51 |
Average class complexity | 13.60 |
▷ Minimum class complexity | 1.00 |
▷ Maximum class complexity | 47.00 |
Average method complexity | 3.36 |
▷ Minimum method complexity | 1.00 |
▷ Maximum method complexity | 22.00 |
Code structure | ||
---|---|---|
Namespaces | 9 | |
Interfaces | 0 | |
Traits | 0 | |
Classes | 15 | |
▷ Abstract classes | 0 | 0.00% |
▷ Concrete classes | 15 | 100.00% |
▷ Final classes | 2 | 13.33% |
Methods | 81 | |
▷ Static methods | 22 | 27.16% |
▷ Public methods | 78 | 96.30% |
▷ Protected methods | 1 | 1.23% |
▷ Private methods | 2 | 2.47% |
Functions | 3 | |
▷ Named functions | 1 | 33.33% |
▷ Anonymous functions | 2 | 66.67% |
Constants | 0 | |
▷ Global constants | 0 | 0.00% |
▷ Class constants | 0 | 0.00% |
▷ Public constants | 0 | 0.00% |
Plugin size Passed 2 tests
Image compression Passed 2 tests
It is recommended to compress PNG files in your plugin to minimize bandwidth usage
There are no PNG files in this plugin