Benchmarks
Plugin footprint 83% from 16 tests
Installer Passed 1 test
🔺 Critical test (weight: 50) | Verifying that this plugin installs correctly without errors
Installer ran successfully
Server metrics [RAM: ▲0.04MB] [CPU: ▼1.53ms] Passed 4 tests
This is a short check of server-side resources used by Customize Tawk.to Widget
No issues were detected with server-side resource usage
Page | Memory (MB) | CPU Time (ms) |
---|---|---|
Home / | 3.51 ▲0.04 | 39.78 ▼3.31 |
Dashboard /wp-admin | 3.35 ▲0.04 | 46.81 ▼2.57 |
Posts /wp-admin/edit.php | 3.40 ▲0.04 | 47.61 ▼1.95 |
Add New Post /wp-admin/post-new.php | 5.93 ▲0.04 | 95.06 ▲3.46 |
Media Library /wp-admin/upload.php | 3.27 ▲0.04 | 37.39 ▲1.70 |
Server storage [IO: ▲1.34MB] [DB: ▲0.00MB] Passed 3 tests
Input-output and database impact of this plugin
There were no storage issued detected upon installing this plugin
Filesystem: 21 new files
Database: no new tables, 6 new options
New WordPress options |
---|
theysaidso_admin_options |
widget_theysaidso_widget |
db_upgraded |
widget_recent-comments |
widget_recent-posts |
can_compress_scripts |
Browser metrics Passed 4 tests
An overview of browser requirements for Customize Tawk.to Widget
Minimal impact on browser resources
Page | Nodes | Memory (MB) | Script (ms) | Layout (ms) |
---|---|---|---|---|
Home / | 2,824 ▲62 | 14.20 ▼0.50 | 1.92 ▲0.15 | 38.54 ▼4.06 |
Dashboard /wp-admin | 2,201 ▲21 | 5.58 ▼0.07 | 94.70 ▼1.10 | 43.37 ▲0.10 |
Posts /wp-admin/edit.php | 2,113 ▲10 | 2.02 ▲0.08 | 39.45 ▼1.52 | 37.96 ▲4.38 |
Add New Post /wp-admin/post-new.php | 1,535 ▼5 | 23.08 ▼2.14 | 680.94 ▲46.33 | 52.22 ▼23.04 |
Media Library /wp-admin/upload.php | 1,412 ▲9 | 4.17 ▼0.03 | 94.94 ▼3.41 | 42.94 ▼2.39 |
Uninstaller [IO: ▲0.00MB] [DB: ▲0.00MB] 75% from 4 tests
🔸 Tests weight: 35 | Verifying that this plugin uninstalls completely without leaving any traces
The following items require your attention
- This plugin does not fully uninstall, leaving 6 options in the database
- widget_recent-posts
- widget_recent-comments
- can_compress_scripts
- db_upgraded
- theysaidso_admin_options
- widget_theysaidso_widget
Smoke tests 75% from 4 tests
Server-side errors Passed 1 test
🔹 Test weight: 20 | A shallow check that no server-side errors were triggered
Everything seems fine, however 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
Almost there! Just fix the following items
- 5× PHP files output text when accessed directly:
- > /wp-content/plugins/customize-tawk-to-widget/templates/frontend/chat.php
- > /wp-content/plugins/customize-tawk-to-widget/inc/CustomiseNotification.php
- > /wp-content/plugins/customize-tawk-to-widget/templates/admin/index.php
- > /wp-content/plugins/customize-tawk-to-widget/inc/main.php
- > /wp-content/plugins/customize-tawk-to-widget/customize-tawk-to-widget.php
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
The readme.txt file describes your plugin functionality and requirements and it is parsed to prepare the your plugin's listing
These attributes need to be fixed:
- Screenshots: A description for screenshot #1 is missing in customize-tawk-to-widget/assets to your readme.txt
customize-tawk-to-widget/customize-tawk-to-widget.php Passed 13 tests
The entry point to "Customize Tawk.to Widget" version 1.3.4 is a PHP file that has certain tags in its header comment area
55 characters long description:
This plugin allows you to customize the Tawk.to widget.
Code Analysis Passed 3 tests
File types Passed 1 test
🔸 Test weight: 35 | This is an overview of file extensions present in this plugin and a short test that no dangerous files are bundled with this plugin
Everything looks great! No dangerous files found in this plugin3,592 lines of code in 18 files:
Language | Files | Blank lines | Comment lines | Lines of code |
---|---|---|---|---|
JavaScript | 5 | 103 | 182 | 1,689 |
CSS | 4 | 129 | 11 | 1,125 |
PHP | 5 | 40 | 113 | 391 |
Sass | 2 | 51 | 1 | 331 |
Markdown | 1 | 18 | 0 | 43 |
SVG | 1 | 0 | 0 | 13 |
PHP code Passed 2 tests
This is a very shot review of cyclomatic complexity and code structure
This plugin has no cyclomatic complexity issues
Cyclomatic complexity | |
---|---|
Average complexity per logical line of code | 0.27 |
Average class complexity | 8.50 |
▷ Minimum class complexity | 8.00 |
▷ Maximum class complexity | 9.00 |
Average method complexity | 2.07 |
▷ Minimum method complexity | 1.00 |
▷ Maximum method complexity | 4.00 |
Code structure | ||
---|---|---|
Namespaces | 0 | |
Interfaces | 0 | |
Traits | 0 | |
Classes | 2 | |
▷ Abstract classes | 0 | 0.00% |
▷ Concrete classes | 2 | 100.00% |
▷ Final classes | 0 | 0.00% |
Methods | 14 | |
▷ Static methods | 14 | 100.00% |
▷ Public methods | 14 | 100.00% |
▷ Protected methods | 0 | 0.00% |
▷ Private methods | 0 | 0.00% |
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 compressed PNG file occupies 0.01MB
Potential savings
Compression of 1 random PNG file using pngquant | |||
---|---|---|---|
File | Size - original | Size - compressed | Savings |
assets/img/attention.png | 15.18KB | 16.31KB | 0.00% |