Benchmarks
Plugin footprint 83% from 16 tests
Installer Passed 1 test
🔺 Critical test (weight: 50) | Checking the installer triggered no errors
Installer ran successfully
Server metrics [RAM: ▲0.21MB] [CPU: ▲5.66ms] Passed 4 tests
A check of server-side resources used by TelSender - Сontact form 7, Events, Wpforms and wooccommerce to telegram bot
This plugin does not affect your website's performance
Page | Memory (MB) | CPU Time (ms) |
---|---|---|
Home / | 3.69 ▲0.22 | 44.59 ▲4.99 |
Dashboard /wp-admin | 3.51 ▲0.21 | 48.28 ▲4.63 |
Posts /wp-admin/edit.php | 3.63 ▲0.27 | 51.95 ▲3.18 |
Add New Post /wp-admin/post-new.php | 6.09 ▲0.20 | 100.08 ▲13.95 |
Media Library /wp-admin/upload.php | 3.44 ▲0.20 | 44.19 ▲9.84 |
TelSender 🇺🇦 /wp-admin/admin.php?page=telsender | 3.63 | 51.47 |
Help 🆘 /wp-admin/admin.php?page=telsender-help | 3.41 | 39.84 |
Events /wp-admin/admin.php?page=telsender-event | 3.42 | 36.80 |
Server storage [IO: ▲0.47MB] [DB: ▲0.00MB] Passed 3 tests
Analyzing filesystem and database footprints of this plugin
The plugin installed successfully
Filesystem: 39 new files
Database: no new tables, 6 new options
New WordPress options |
---|
widget_recent-posts |
theysaidso_admin_options |
can_compress_scripts |
widget_recent-comments |
db_upgraded |
widget_theysaidso_widget |
Browser metrics Passed 4 tests
TelSender - Сontact form 7, Events, Wpforms and wooccommerce to telegram bot: an overview of browser usage
Minimal impact on browser resources
Page | Nodes | Memory (MB) | Script (ms) | Layout (ms) |
---|---|---|---|---|
Home / | 2,819 ▲58 | 14.45 ▼0.05 | 1.72 ▼0.23 | 44.31 ▼0.93 |
Dashboard /wp-admin | 2,228 ▲48 | 5.60 ▼0.03 | 80.45 ▼2.30 | 78.49 ▲37.55 |
Posts /wp-admin/edit.php | 2,133 ▲33 | 1.96 ▼0.00 | 39.10 ▲4.63 | 39.86 ▲2.67 |
Add New Post /wp-admin/post-new.php | 1,584 ▲56 | 18.24 ▼4.96 | 696.30 ▲54.54 | 53.03 ▼1.70 |
Media Library /wp-admin/upload.php | 1,433 ▲36 | 4.16 ▼0.08 | 92.70 ▼17.78 | 84.44 ▲37.51 |
TelSender 🇺🇦 /wp-admin/admin.php?page=telsender | 1,228 | 4.06 | 90.38 | 63.46 |
Help 🆘 /wp-admin/admin.php?page=telsender-help | 1,673 | 1.89 | 26.02 | 89.32 |
Events /wp-admin/admin.php?page=telsender-event | 1,121 | 2.05 | 30.91 | 35.69 |
Uninstaller [IO: ▲0.00MB] [DB: ▲0.00MB] 75% from 4 tests
🔸 Tests weight: 35 | Verifying that this plugin uninstalls completely without leaving any traces
You still need to fix the following
- This plugin did not uninstall successfully, leaving 6 options in the database
- widget_theysaidso_widget
- db_upgraded
- theysaidso_admin_options
- widget_recent-posts
- widget_recent-comments
- can_compress_scripts
Smoke tests 25% from 4 tests
Server-side errors Passed 1 test
🔹 Test weight: 20 | This is a shallow check for server-side errors
The smoke test was a success, however most plugin functionality was not tested
SRP 0% from 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
Please fix the following items
- 2× GET requests to PHP files return non-empty strings:
- > /wp-content/plugins/telsender/template/list-shortcode-html.php
- > /wp-content/plugins/telsender/template/help.php
- 6× PHP files trigger errors when accessed directly with GET requests:
- > PHP Fatal error
Uncaught Error: Class 'log' not found in wp-content/plugins/telsender/template/log.php:9
- > PHP Fatal error
Uncaught Error: Call to undefined function _e() in wp-content/plugins/telsender/template/woocommerce.php:2
- > PHP Fatal error
Uncaught Error: Call to undefined function wp_nonce_field() in wp-content/plugins/telsender/assets/template/settings.php:22
- > PHP Fatal error
Uncaught Error: Call to undefined function _e() in wp-content/plugins/telsender/template/contact-form.php:2
- > PHP Fatal error
Uncaught Error: Call to undefined function _e() in wp-content/plugins/telsender/template/wp-forms.php:3
- > PHP Fatal error
Uncaught Error: Using $this when not in object context in wp-content/plugins/telsender/template/help-page.php:10
- > PHP Fatal error
User-side errors 0% from 1 test
🔹 Test weight: 20 | This is a smoke test targeting browser errors/issues
Please take a look at the following user-side issues
- > GET request to /wp-admin/admin.php?page=telsender-help
- > Javascript (severe) in unknown
/wp-content/plugins/telsender/js/ajax.js?ver=6.3.1 87:22 Uncaught TypeError: Cannot read properties of null (reading 'outerHTML')
Optimizations
Plugin configuration 93% from 29 tests
readme.txt 94% from 16 tests
Often overlooked, readme.txt is one of the most important files in your plugin
Please fix the following attributes:
- Screenshots: No descriptions were found for these screenshots #1, #2, #3, #4 in telsender/assets to your readme.txt
telsender/index.php 92% from 13 tests
Analyzing the main PHP file in "TelSender - Сontact form 7, Events, Wpforms and wooccommerce to telegram bot" version 1.14.8
You should first fix the following items:
- Main file name: Even though not officially enforced, the main plugin file should be the same as the plugin slug ("telsender.php" instead of "index.php")
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 detected3,225 lines of code in 31 files:
Language | Files | Blank lines | Comment lines | Lines of code |
---|---|---|---|---|
PHP | 17 | 450 | 336 | 1,398 |
CSS | 7 | 174 | 46 | 1,313 |
PO File | 3 | 98 | 97 | 265 |
JavaScript | 3 | 44 | 11 | 146 |
Markdown | 1 | 43 | 0 | 103 |
PHP code Passed 2 tests
This is a short overview of cyclomatic complexity and code structure for this plugin
There were no cyclomatic complexity issued detected
Cyclomatic complexity | |
---|---|
Average complexity per logical line of code | 0.34 |
Average class complexity | 23.50 |
▷ Minimum class complexity | 3.00 |
▷ Maximum class complexity | 69.00 |
Average method complexity | 3.00 |
▷ Minimum method complexity | 1.00 |
▷ Maximum method complexity | 16.00 |
Code structure | ||
---|---|---|
Namespaces | 1 | |
Interfaces | 0 | |
Traits | 0 | |
Classes | 6 | |
▷ Abstract classes | 0 | 0.00% |
▷ Concrete classes | 6 | 100.00% |
▷ Final classes | 0 | 0.00% |
Methods | 57 | |
▷ Static methods | 4 | 7.02% |
▷ Public methods | 44 | 77.19% |
▷ Protected methods | 5 | 8.77% |
▷ Private methods | 8 | 14.04% |
Functions | 10 | |
▷ Named functions | 1 | 10.00% |
▷ Anonymous functions | 9 | 90.00% |
Constants | 4 | |
▷ Global constants | 4 | 100.00% |
▷ Class constants | 0 | 0.00% |
▷ Public constants | 0 | 0.00% |
Plugin size Passed 2 tests
Image compression Passed 2 tests
It is recommended to compress PNG files in your plugin to minimize bandwidth usage
3 PNG files occupy 0.03MB with 0.01MB in potential savings
Potential savings
Compression of 3 random PNG files using pngquant | |||
---|---|---|---|
File | Size - original | Size - compressed | Savings |
telsebder.png | 28.64KB | 13.32KB | ▼ 53.48% |
assets/icon-plugin.png | 1.83KB | 0.91KB | ▼ 50.08% |
template/switch.png | 0.95KB | 1.02KB | 0.00% |