Benchmarks
Plugin footprint 83% from 16 tests
Installer Passed 1 test
🔺 Critical test (weight: 50) | Verifying that this plugin installs correctly without errors
Install script ran successfully
Server metrics [RAM: ▲0.02MB] [CPU: ▼2.21ms] Passed 4 tests
A check of server-side resources used by Salesmate Messenger
Normal server usage
Page | Memory (MB) | CPU Time (ms) |
---|---|---|
Home / | 3.48 ▲0.02 | 42.47 ▼0.11 |
Dashboard /wp-admin | 3.33 ▲0.03 | 47.28 ▼6.22 |
Posts /wp-admin/edit.php | 3.38 ▲0.02 | 45.02 ▼0.36 |
Add New Post /wp-admin/post-new.php | 5.93 ▲0.04 | 112.54 ▲28.74 |
Media Library /wp-admin/upload.php | 3.25 ▲0.02 | 31.48 ▼2.16 |
Server storage [IO: ▲0.05MB] [DB: ▲0.00MB] Passed 3 tests
Filesystem and database footprint
There were no storage issued detected upon installing this plugin
Filesystem: 20 new files
Database: no new tables, 6 new options
New WordPress options |
---|
widget_recent-posts |
widget_recent-comments |
theysaidso_admin_options |
can_compress_scripts |
db_upgraded |
widget_theysaidso_widget |
Browser metrics Passed 4 tests
Salesmate Messenger: 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,816 ▲81 | 13.16 ▼1.42 | 1.68 ▼0.45 | 42.86 ▼3.93 |
Dashboard /wp-admin | 2,222 ▲34 | 5.83 ▲0.95 | 99.01 ▼23.60 | 37.79 ▼7.30 |
Posts /wp-admin/edit.php | 2,105 ▲16 | 2.06 ▲0.07 | 33.78 ▼2.82 | 39.34 ▲2.22 |
Add New Post /wp-admin/post-new.php | 1,540 ▲16 | 18.37 ▼4.96 | 602.63 ▼44.47 | 57.99 ▲2.28 |
Media Library /wp-admin/upload.php | 1,398 ▲10 | 4.24 ▲0.07 | 95.63 ▲0.40 | 40.97 ▲0.61 |
Uninstaller [IO: ▲0.00MB] [DB: ▲0.00MB] 75% from 4 tests
🔸 Tests weight: 35 | Checking the uninstaller removed all traces of the plugin
You still need to fix the following
- Zombie WordPress options were found after uninstall: 6 options
- db_upgraded
- widget_theysaidso_widget
- widget_recent-posts
- theysaidso_admin_options
- can_compress_scripts
- widget_recent-comments
Smoke tests 75% from 4 tests
Server-side errors Passed 1 test
🔹 Test weight: 20 | A smoke test targeting server-side errors
Even though no errors were found, this is by no means an exhaustive test
SRP 50% 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
- 2× GET requests to PHP files return non-empty strings:
- > /wp-content/plugins/salesmate-messenger/admin/partials/salesmate-messenger-admin-display.php
- > /wp-content/plugins/salesmate-messenger/public/partials/salesmate-messenger-public-display.php
User-side errors Passed 1 test
🔹 Test weight: 20 | A shallow check that no browser errors were triggered
Everything seems fine, but this is not an exhaustive test
Optimizations
Plugin configuration Passed 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
3 plugin tags: salesmate, best crm, crm
salesmate-messenger/salesmate-messenger.php Passed 13 tests
The main PHP file in "Salesmate Messenger" ver. 1.1 adds more information about the plugin and also serves as the entry point for this plugin
48 characters long description:
Allows you to configure messenger in easy steps.
Code Analysis Passed 3 tests
File types Passed 1 test
🔸 Test weight: 35 | A short glimpse at programming languages used with this plugin and a check that no dangerous files are present
No dangerous file extensions were detected330 lines of code in 14 files:
Language | Files | Blank lines | Comment lines | Lines of code |
---|---|---|---|---|
PHP | 10 | 136 | 486 | 319 |
JavaScript | 2 | 4 | 54 | 6 |
CSS | 2 | 0 | 8 | 5 |
PHP code Passed 2 tests
This plugin's cyclomatic complexity and code structure detailed below
There were no cyclomatic complexity issued detected
Cyclomatic complexity | |
---|---|
Average complexity per logical line of code | 0.20 |
Average class complexity | 3.80 |
▷ Minimum class complexity | 1.00 |
▷ Maximum class complexity | 13.00 |
Average method complexity | 1.45 |
▷ Minimum method complexity | 1.00 |
▷ Maximum method complexity | 6.00 |
Code structure | ||
---|---|---|
Namespaces | 0 | |
Interfaces | 0 | |
Traits | 0 | |
Classes | 5 | |
▷ Abstract classes | 0 | 0.00% |
▷ Concrete classes | 5 | 100.00% |
▷ Final classes | 0 | 0.00% |
Methods | 31 | |
▷ Static methods | 0 | 0.00% |
▷ Public methods | 26 | 83.87% |
▷ Protected methods | 0 | 0.00% |
▷ Private methods | 5 | 16.13% |
Functions | 4 | |
▷ Named functions | 4 | 100.00% |
▷ Anonymous functions | 0 | 0.00% |
Constants | 1 | |
▷ Global constants | 1 | 100.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
There are no PNG files in this plugin