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.06MB] [CPU: ▼10.15ms] Passed 4 tests
A check of server-side resources used by tolktalkCX Contact Widget
This plugin has minimal impact on server resources
Page | Memory (MB) | CPU Time (ms) |
---|---|---|
Home / | 3.51 ▲0.05 | 37.78 ▼2.69 |
Dashboard /wp-admin | 3.38 ▲0.04 | 46.48 ▼15.45 |
Posts /wp-admin/edit.php | 3.49 ▲0.14 | 46.02 ▲3.44 |
Add New Post /wp-admin/post-new.php | 5.96 ▲0.07 | 81.42 ▼21.71 |
Media Library /wp-admin/upload.php | 3.30 ▲0.07 | 36.07 ▼0.75 |
tolktalkCX Contact Widget /wp-admin/options-general.php?page=tolktalk-widget-setting-admin | 3.28 | 30.18 |
Server storage [IO: ▲0.09MB] [DB: ▲0.00MB] Passed 3 tests
How much does this plugin use your filesystem and database?
There were no storage issued detected upon installing this plugin
Filesystem: 11 new files
Database: no new tables, 7 new options
New WordPress options |
---|
can_compress_scripts |
theysaidso_admin_options |
widget_theysaidso_widget |
widget_recent-posts |
widget_recent-comments |
widget_tolktalkcxwp_widget |
db_upgraded |
Browser metrics Passed 4 tests
Checking browser requirements for tolktalkCX Contact Widget
Normal browser usage
Page | Nodes | Memory (MB) | Script (ms) | Layout (ms) |
---|---|---|---|---|
Home / | 2,804 ▲58 | 13.57 ▼1.18 | 1.76 ▲0.17 | 45.19 ▼2.64 |
Dashboard /wp-admin | 2,207 ▲22 | 5.88 ▲0.04 | 104.48 ▼6.64 | 44.29 ▼1.05 |
Posts /wp-admin/edit.php | 2,093 ▲4 | 2.05 ▲0.03 | 36.33 ▼2.78 | 33.06 ▲2.28 |
Add New Post /wp-admin/post-new.php | 1,536 ▲17 | 23.23 ▲0.01 | 670.58 ▼20.29 | 62.87 ▲7.32 |
Media Library /wp-admin/upload.php | 1,392 ▲4 | 4.23 ▲0.03 | 109.33 ▲3.20 | 44.24 ▲0.76 |
tolktalkCX Contact Widget /wp-admin/options-general.php?page=tolktalk-widget-setting-admin | 827 | 2.03 | 25.14 | 56.39 |
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
Please fix the following items
- Zombie WordPress options were found after uninstall: 7 options
- widget_theysaidso_widget
- widget_tolktalkcxwp_widget
- theysaidso_admin_options
- can_compress_scripts
- widget_recent-comments
- db_upgraded
- widget_recent-posts
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
The smoke test was a success, however most plugin functionality was not tested
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
Everything seems fine, however this is by no means an exhaustive test
User-side errors Passed 1 test
🔹 Test weight: 20 | Just a short smoke test targeting errors on the browser (console and network errors and warnings)
Everything seems fine on the user side
Optimizations
Plugin configuration 76% from 29 tests
readme.txt 81% from 16 tests
Often overlooked, readme.txt is one of the most important files in your plugin
These attributes need your attention:
- Screenshots: Please describe screenshot #1 in tolktalkcx-contact-widget/assets to your readme.txt
- Donate link: Please fix this invalid url: ""
- Tags: Please reduce the number of tags, currently 11 tag instead of maximum 10
tolktalkcx-contact-widget/tolktalk-widget.php 69% from 13 tests
"tolktalkCX Contact Widget" version 1.0.1's primary PHP file adds more information about the plugin and serves as the entry point for WordPress
It is important to fix the following:
- Text Domain: The text domain follows the same naming rules as the plugin slug: lowercase characters and dashes
- Description: Please don't use more than 140 characters for the plugin description (currently 206 characters long)
- Main file name: Name the main plugin file the same as the plugin slug ("tolktalkcx-contact-widget.php" instead of "tolktalk-widget.php")
- Domain Path: The domain path folder does not exist ("/languages/")
Code Analysis Passed 3 tests
File types Passed 1 test
🔸 Test weight: 35 | Executable files are not allowed as they can serve as attack vectors
Good job! No executable or dangerous file extensions detected445 lines of code in 6 files:
Language | Files | Blank lines | Comment lines | Lines of code |
---|---|---|---|---|
PHP | 6 | 96 | 274 | 445 |
PHP code Passed 2 tests
A short review of cyclomatic complexity and code structure
No cyclomatic complexity issues were detected for this plugin
Cyclomatic complexity | |
---|---|
Average complexity per logical line of code | 0.43 |
Average class complexity | 9.33 |
▷ Minimum class complexity | 3.00 |
▷ Maximum class complexity | 14.00 |
Average method complexity | 2.14 |
▷ Minimum method complexity | 1.00 |
▷ Maximum method complexity | 7.00 |
Code structure | ||
---|---|---|
Namespaces | 0 | |
Interfaces | 0 | |
Traits | 0 | |
Classes | 3 | |
▷ Abstract classes | 0 | 0.00% |
▷ Concrete classes | 3 | 100.00% |
▷ Final classes | 0 | 0.00% |
Methods | 22 | |
▷ Static methods | 4 | 18.18% |
▷ Public methods | 21 | 95.45% |
▷ Protected methods | 0 | 0.00% |
▷ Private methods | 1 | 4.55% |
Functions | 1 | |
▷ Named functions | 1 | 100.00% |
▷ Anonymous functions | 0 | 0.00% |
Constants | 5 | |
▷ Global constants | 5 | 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
1 PNG file occupies 0.04MB with 0.03MB in potential savings
Potential savings
Compression of 1 random PNG file using pngquant | |||
---|---|---|---|
File | Size - original | Size - compressed | Savings |
includes/tolktalkcx.png | 43.76KB | 11.82KB | ▼ 72.99% |