Benchmarks
Plugin footprint 65% from 16 tests
Installer Passed 1 test
🔺 Critical test (weight: 50) | The install procedure must perform silently
The plugin installed successfully, without throwing any errors or notices
Server metrics [RAM: ▼1.14MB] [CPU: ▼38.67ms] Passed 4 tests
A check of server-side resources used by NG-Mail2Telegram
Normal server usage
Page | Memory (MB) | CPU Time (ms) |
---|---|---|
Home / | 2.82 ▼0.64 | 15.10 ▼21.50 |
Dashboard /wp-admin | 2.87 ▼0.43 | 19.50 ▼27.20 |
Posts /wp-admin/edit.php | 2.87 ▼0.48 | 16.11 ▼29.72 |
Add New Post /wp-admin/post-new.php | 2.87 ▼3.01 | 20.34 ▼76.25 |
Media Library /wp-admin/upload.php | 2.87 ▼0.36 | 16.45 ▼16.10 |
NG WP Mail to telegram /wp-admin/options-general.php?page=NG-Mail2Telegram | 2.87 | 15.89 |
Server storage [IO: ▲0.03MB] [DB: ▲0.00MB] Passed 3 tests
A short overview of filesystem and database impact
No storage issues were detected
Filesystem: 4 new files
Database: no new tables, 6 new options
New WordPress options |
---|
can_compress_scripts |
widget_recent-posts |
widget_theysaidso_widget |
db_upgraded |
theysaidso_admin_options |
widget_recent-comments |
Browser metrics Passed 4 tests
This is an overview of browser requirements for NG-Mail2Telegram
There were no issues detected in relation to browser resource usage
Page | Nodes | Memory (MB) | Script (ms) | Layout (ms) |
---|---|---|---|---|
Home / | 2,804 ▲58 | 13.28 ▼0.98 | 1.90 ▲0.16 | 43.36 ▲2.37 |
Dashboard /wp-admin | 2,213 ▲25 | 5.88 ▲0.06 | 100.56 ▼15.08 | 38.49 ▼3.72 |
Posts /wp-admin/edit.php | 2,093 ▲4 | 2.01 ▼0.01 | 36.34 ▼1.62 | 33.90 ▲4.32 |
Add New Post /wp-admin/post-new.php | 1,545 ▲24 | 18.49 ▼4.86 | 613.13 ▼64.43 | 50.67 ▲2.58 |
Media Library /wp-admin/upload.php | 1,395 ▲7 | 4.25 ▲0.04 | 99.66 ▲2.06 | 42.33 ▼4.22 |
NG WP Mail to telegram /wp-admin/options-general.php?page=NG-Mail2Telegram | 817 | 2.03 | 27.37 | 31.59 |
Uninstaller [IO: ▲0.00MB] [DB: ▲0.00MB] 50% from 4 tests
🔸 Tests weight: 35 | It is important to correctly uninstall your plugin, without leaving any traces
These items require your attention
- This plugin cannot be uninstalled
- > Notice in wp-content/plugins/ng-mail2telegram/ng-mail2telegram.php+175
Trying to access array offset on value of type bool
- Zombie WordPress options were found after uninstall: 6 options
- can_compress_scripts
- theysaidso_admin_options
- widget_theysaidso_widget
- db_upgraded
- widget_recent-posts
- widget_recent-comments
Smoke tests 50% from 4 tests
Server-side errors 0% from 1 test
🔹 Test weight: 20 | This is a shallow check for server-side errors
Please fix the following server-side errors
- > GET request to /wp-admin/options-general.php?page=NG-Mail2Telegram
- > Notice in wp-content/plugins/ng-mail2telegram/ng-mail2telegram.php+175
Trying to access array offset on value of type bool
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
- 1× PHP files output text when accessed directly:
- > /wp-content/plugins/ng-mail2telegram/ng-mail2telegram.php
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)
No browser issues were found
Optimizations
Plugin configuration 90% from 29 tests
readme.txt Passed 16 tests
Often overlooked, readme.txt is one of the most important files in your plugin
6 plugin tags: messengers, telegram, notifications, mail, wpmail...
ng-mail2telegram/ng-mail2telegram.php 77% from 13 tests
"NG-Mail2Telegram" version 1.4's main PHP file describes plugin functionality and also serves as the entry point to any WordPress functionality
Please make the necessary changes and fix the following:
- Text Domain: The text domain should only use lowercase characters and dashes
- Domain Path: The domain path should be prefixed with a forward slash character ("/languages")
- Domain Path: Note that the domain path follows the same naming rules as the domain name, using only dashes and lowercase characters ("languages")
Code Analysis Passed 3 tests
File types Passed 1 test
🔸 Test weight: 35 | Executable files are considered dangerous and should not be included with any WordPress plugin
There were no executable files found in this plugin602 lines of code in 2 files:
Language | Files | Blank lines | Comment lines | Lines of code |
---|---|---|---|---|
PHP | 1 | 66 | 317 | 601 |
HTML | 1 | 0 | 0 | 1 |
PHP code Passed 2 tests
Cyclomatic complexity and code structure are the fingerprint of this plugin
Although this was not an exhaustive test, there were no cyclomatic complexity issues detected
Cyclomatic complexity | |
---|---|
Average complexity per logical line of code | 0.21 |
Average class complexity | 42.00 |
▷ Minimum class complexity | 42.00 |
▷ Maximum class complexity | 42.00 |
Average method complexity | 2.21 |
▷ Minimum method complexity | 1.00 |
▷ Maximum method complexity | 5.00 |
Code structure | ||
---|---|---|
Namespaces | 0 | |
Interfaces | 0 | |
Traits | 0 | |
Classes | 1 | |
▷ Abstract classes | 0 | 0.00% |
▷ Concrete classes | 1 | 100.00% |
▷ Final classes | 0 | 0.00% |
Methods | 36 | |
▷ Static methods | 0 | 0.00% |
▷ Public methods | 22 | 61.11% |
▷ Protected methods | 0 | 0.00% |
▷ Private methods | 14 | 38.89% |
Functions | 2 | |
▷ Named functions | 0 | 0.00% |
▷ Anonymous functions | 2 | 100.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
There are no PNG files in this plugin