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
Install script ran successfully
Server metrics [RAM: ▲0.08MB] [CPU: ▼11.01ms] Passed 4 tests
An overview of server-side resources used by Message Mate
Server-side resource usage in normal parameters
Page | Memory (MB) | CPU Time (ms) |
---|---|---|
Home / | 3.54 ▲0.08 | 35.42 ▼12.60 |
Dashboard /wp-admin | 3.38 ▲0.08 | 46.62 ▼5.49 |
Posts /wp-admin/edit.php | 3.49 ▲0.14 | 49.40 ▼2.02 |
Add New Post /wp-admin/post-new.php | 5.98 ▲0.09 | 81.97 ▼23.93 |
Media Library /wp-admin/upload.php | 3.30 ▲0.07 | 40.80 ▲4.17 |
Message Mate /wp-admin/options-general.php?page=message-mate | 3.28 | 29.93 |
Server storage [IO: ▲0.06MB] [DB: ▲0.00MB] Passed 3 tests
A short overview of filesystem and database impact
The plugin installed successfully
Filesystem: 22 new files
Database: no new tables, 6 new options
New WordPress options |
---|
can_compress_scripts |
widget_recent-comments |
widget_theysaidso_widget |
widget_recent-posts |
db_upgraded |
theysaidso_admin_options |
Browser metrics Passed 4 tests
Checking browser requirements for Message Mate
This plugin renders optimally with no browser resource issues detected
Page | Nodes | Memory (MB) | Script (ms) | Layout (ms) |
---|---|---|---|---|
Home / | 2,905 ▲119 | 13.44 ▼0.83 | 8.20 ▲6.27 | 37.61 ▼5.65 |
Dashboard /wp-admin | 2,206 ▲29 | 5.64 ▲0.07 | 90.47 ▲3.28 | 40.01 ▼0.03 |
Posts /wp-admin/edit.php | 2,108 ▲5 | 2.01 ▼0.03 | 38.71 ▼11.33 | 37.23 ▼2.14 |
Add New Post /wp-admin/post-new.php | 1,533 ▲7 | 22.92 ▼0.33 | 683.28 ▼84.31 | 65.47 ▲0.40 |
Media Library /wp-admin/upload.php | 1,402 ▼1 | 4.26 ▲0.10 | 94.70 ▼12.44 | 42.96 ▼1.00 |
Message Mate /wp-admin/options-general.php?page=message-mate | 842 | 2.02 | 24.17 | 43.82 |
Uninstaller [IO: ▲0.00MB] [DB: ▲0.00MB] 75% from 4 tests
🔸 Tests weight: 35 | It is important to correctly uninstall your plugin, without leaving any traces
You still need to fix the following
- The uninstall procedure has failed, leaving 6 options in the database
- widget_theysaidso_widget
- theysaidso_admin_options
- widget_recent-comments
- db_upgraded
- can_compress_scripts
- widget_recent-posts
Smoke tests 25% from 4 tests
Server-side errors 0% from 1 test
🔹 Test weight: 20 | Just a short smoke test targeting errors on the server (in the Apache logs)
These errors were triggered by the plugin
- > GET request to /wp-admin/options-general.php?page=message-mate
- > Notice in wp-content/plugins/message-mate/admin/partials/message-mate-admin-display.php+29
Trying to access array offset on value of type bool
SRP 0% from 2 tests
🔹 Tests weight: 20 | A shallow check of the single-responsibility principle; PHP files should perform no action - including output of placeholder text - and trigger no errors when accessed directly
The following issues need your attention
- 1× PHP files output text when accessed directly:
- > /wp-content/plugins/message-mate/public/partials/message-mate-public-display.php
- 1× PHP files trigger server errors when accessed directly:
- > PHP Fatal error
Uncaught Error: Call to undefined function esc_html() in wp-content/plugins/message-mate/admin/partials/message-mate-admin-display.php:19
- > PHP Fatal error
User-side errors Passed 1 test
🔹 Test weight: 20 | A shallow check that no browser errors were triggered
No browser errors were detected
Optimizations
Plugin configuration 97% from 29 tests
readme.txt 94% 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
Attributes that need to be fixed:
- Contributors: Contributors not specified
message-mate/message-mate.php Passed 13 tests
The main PHP file in "Message Mate" ver. 1.4 adds more information about the plugin and also serves as the entry point for this plugin
112 characters long description:
Message Mate lets customers text you from their phone or computer. Reply privately via email, text or dashboard.
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 plugin372 lines of code in 16 files:
Language | Files | Blank lines | Comment lines | Lines of code |
---|---|---|---|---|
PHP | 12 | 199 | 560 | 330 |
CSS | 2 | 15 | 8 | 29 |
JavaScript | 2 | 7 | 55 | 13 |
PHP code Passed 2 tests
An overview of cyclomatic complexity and code structure
Great job! No cyclomatic complexity issues were detected in this plugin
Cyclomatic complexity | |
---|---|
Average complexity per logical line of code | 0.23 |
Average class complexity | 3.43 |
▷ Minimum class complexity | 1.00 |
▷ Maximum class complexity | 13.00 |
Average method complexity | 1.53 |
▷ Minimum method complexity | 1.00 |
▷ Maximum method complexity | 10.00 |
Code structure | ||
---|---|---|
Namespaces | 0 | |
Interfaces | 0 | |
Traits | 0 | |
Classes | 7 | |
▷ Abstract classes | 0 | 0.00% |
▷ Concrete classes | 7 | 100.00% |
▷ Final classes | 0 | 0.00% |
Methods | 32 | |
▷ Static methods | 2 | 6.25% |
▷ Public methods | 25 | 78.12% |
▷ Protected methods | 0 | 0.00% |
▷ Private methods | 7 | 21.88% |
Functions | 4 | |
▷ Named functions | 4 | 100.00% |
▷ Anonymous functions | 0 | 0.00% |
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
PNG files should be compressed to save space and minimize bandwidth usage
No PNG images were found in this plugin