Benchmarks
Plugin footprint 58% from 16 tests
Installer 0% from 1 test
🔺 Critical test (weight: 50) | Checking the installer triggered no errors
These installer errors require your attention
- This plugin did not install gracefully
- > User deprecated in wp-includes/functions.php+5747
Function add_option was called with an argument that is deprecated since version 2.3.0 with no alternative available.
Server metrics [RAM: ▲0.00MB] [CPU: ▼5.68ms] Passed 4 tests
Server-side resources used by Precision Contact Web Chat
No issues were detected with server-side resource usage
Page | Memory (MB) | CPU Time (ms) |
---|---|---|
Home / | 3.49 ▲0.03 | 36.96 ▼6.07 |
Dashboard /wp-admin | 3.32 ▼0.02 | 44.58 ▼17.42 |
Posts /wp-admin/edit.php | 3.38 ▲0.01 | 48.30 ▼0.97 |
Add New Post /wp-admin/post-new.php | 5.91 ▲0.02 | 90.77 ▲1.75 |
Media Library /wp-admin/upload.php | 3.25 ▲0.01 | 36.39 ▲3.54 |
Precision Contact Web Chat /wp-admin/options-general.php?page=web-chat-plugin | 3.19 | 31.44 |
Server storage [IO: ▲0.22MB] [DB: ▲0.00MB] Passed 3 tests
Input-output and database impact of this plugin
This plugin was installed successfully
Filesystem: 5 new files
Database: no new tables, 7 new options
New WordPress options |
---|
db_upgraded |
can_compress_scripts |
precision_contact_web_chat_key |
theysaidso_admin_options |
widget_recent-comments |
widget_recent-posts |
widget_theysaidso_widget |
Browser metrics Passed 4 tests
A check of browser resources used by Precision Contact Web Chat
Minimal impact on browser resources
Page | Nodes | Memory (MB) | Script (ms) | Layout (ms) |
---|---|---|---|---|
Home / | 2,924 ▲153 | 13.82 ▼0.56 | 8.98 ▲6.84 | 38.99 ▼3.88 |
Dashboard /wp-admin | 2,210 ▲22 | 5.04 ▲0.09 | 96.42 ▼11.29 | 37.84 ▼0.32 |
Posts /wp-admin/edit.php | 2,096 ▲7 | 2.02 ▼0.03 | 39.35 ▲4.61 | 35.28 ▲3.81 |
Add New Post /wp-admin/post-new.php | 1,536 ▲5 | 23.15 ▲5.04 | 619.68 ▲10.52 | 49.33 ▼4.96 |
Media Library /wp-admin/upload.php | 1,395 ▲7 | 4.22 ▼0.00 | 96.87 ▼0.95 | 42.07 ▼3.13 |
Precision Contact Web Chat /wp-admin/options-general.php?page=web-chat-plugin | 791 | 2.07 | 25.50 | 24.75 |
Uninstaller [IO: ▲0.00MB] [DB: ▲0.00MB] 75% 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 did not uninstall successfully, leaving 6 options in the database
- widget_recent-comments
- widget_recent-posts
- db_upgraded
- theysaidso_admin_options
- can_compress_scripts
- widget_theysaidso_widget
Smoke tests 50% from 4 tests
Server-side errors 0% from 1 test
🔹 Test weight: 20 | A shallow check that no server-side errors were triggered
Smoke test failed, please fix the following
- > GET request to /wp-admin/options-general.php?page=web-chat-plugin
- > User deprecated in wp-includes/functions.php+5463
Function screen_icon is deprecated since version 3.8.0 with no alternative available.
- > GET request to /wp-admin/options-general.php?page=web-chat-plugin
- > User deprecated in wp-includes/functions.php+5463
Function get_screen_icon is deprecated since version 3.8.0 with no alternative available.
SRP 50% from 2 tests
🔹 Tests weight: 20 | The single-responsibility principle: PHP files have to remain inert when accessed directly, throwing no errors and performing no actions
Please fix the following items
- 1× PHP files perform the task of outputting text when accessed with GET requests:
- > /wp-content/plugins/precision-contact-web-chat/precision_contact_web_chat.php
User-side errors Passed 1 test
🔹 Test weight: 20 | This is just a short smoke test looking for browser issues
There were no browser issues found
Optimizations
Plugin configuration 90% from 29 tests
readme.txt 94% from 16 tests
The readme.txt file uses markdown syntax to describe your plugin to the world
Attributes that need to be fixed:
- Screenshots: Add descriptions for screenshots #1, #2, #3, #4 in precision-contact-web-chat/assets to your readme.txt
precision-contact-web-chat/precision_contact_web_chat.php 85% from 13 tests
Analyzing the main PHP file in "Precision Contact Web Chat" version 1.0.0
You should first fix the following items:
- Main file name: Please rename the main PHP file in this plugin to the plugin slug ("precision-contact-web-chat.php" instead of "precision_contact_web_chat.php")
- Description: The description should be shorter than 140 characters (currently 284 characters long)
Code Analysis Passed 3 tests
File types Passed 1 test
🔸 Test weight: 35 | There should be no dangerous file extensions present in any WordPress plugin
No dangerous file extensions were detected86 lines of code in 3 files:
Language | Files | Blank lines | Comment lines | Lines of code |
---|---|---|---|---|
PHP | 1 | 11 | 20 | 84 |
CSS | 1 | 0 | 6 | 1 |
JavaScript | 1 | 0 | 6 | 1 |
PHP code Passed 2 tests
A short review of cyclomatic complexity and code structure
This plugin has no cyclomatic complexity problems
Cyclomatic complexity | |
---|---|
Average complexity per logical line of code | 0.14 |
Average class complexity | 0.00 |
▷ Minimum class complexity | 0.00 |
▷ Maximum class complexity | 0.00 |
Average method complexity | 0.00 |
▷ Minimum method complexity | 0.00 |
▷ Maximum method complexity | 0.00 |
Code structure | ||
---|---|---|
Namespaces | 0 | |
Interfaces | 0 | |
Traits | 0 | |
Classes | 0 | |
▷ Abstract classes | 0 | 0.00% |
▷ Concrete classes | 0 | 0.00% |
▷ Final classes | 0 | 0.00% |
Methods | 0 | |
▷ Static methods | 0 | 0.00% |
▷ Public methods | 0 | 0.00% |
▷ Protected methods | 0 | 0.00% |
▷ Private methods | 0 | 0.00% |
Functions | 6 | |
▷ Named functions | 6 | 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
Using a strong compression for your PNG files is a great way to speed-up your plugin
PNG images were not found in this plugin