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.18MB] [CPU: ▼292.44ms] Passed 4 tests
A check of server-side resources used by Link To Telegram
Server-side resource usage in normal parameters
Page | Memory (MB) | CPU Time (ms) |
---|---|---|
Home / | 2.93 ▲0.21 | 28.61 ▲9.32 |
Dashboard /wp-admin | 3.21 ▲0.16 | 33.73 ▼8.01 |
Posts /wp-admin/edit.php | 3.30 ▲0.20 | 37.96 ▼0.23 |
Add New Post /wp-admin/post-new.php | 5.80 ▲0.37 | 81.01 ▼1,147.68 |
Media Library /wp-admin/upload.php | 3.17 ▲0.16 | 25.18 ▼13.84 |
Modal Settings /wp-admin/admin.php?page=ltteleg-modal-settings | 3.17 | 29.85 |
About /wp-admin/admin.php?page=ltteleg-about-us | 3.09 | 28.23 |
General Settings /wp-admin/admin.php?page=ltteleg-general-settings | 3.09 | 27.96 |
Server storage [IO: ▲0.69MB] [DB: ▲0.00MB] Passed 3 tests
How much does this plugin use your filesystem and database?
The plugin installed successfully
Filesystem: 28 new files
Database: no new tables, 2 new options
New WordPress options |
---|
ltteleg_general |
ltteleg_modal |
Browser metrics Passed 4 tests
This is an overview of browser requirements for Link To Telegram
This plugin has a minimal impact on browser resources
Page | Nodes | Memory (MB) | Script (ms) | Layout (ms) |
---|---|---|---|---|
Home / | 3,824 ▲242 | 16.26 ▲0.74 | 12.12 ▲2.55 | 47.18 ▼1.35 |
Dashboard /wp-admin | 2,961 ▲111 | 5.95 ▲0.11 | 139.39 ▲7.24 | 129.86 ▲24.18 |
Posts /wp-admin/edit.php | 2,759 ▲56 | 2.70 ▲0.01 | 66.91 ▼1.72 | 86.77 ▼4.85 |
Add New Post /wp-admin/post-new.php | 1,878 ▲25 | 19.13 ▼0.14 | 363.63 ▼12.43 | 112.31 ▲4.64 |
Media Library /wp-admin/upload.php | 1,754 ▼21 | 5.03 ▲0.03 | 131.38 ▼24.00 | 124.74 ▲11.98 |
Modal Settings /wp-admin/admin.php?page=ltteleg-modal-settings | 1,410 | 4.32 | 87.49 | 91.23 |
About /wp-admin/admin.php?page=ltteleg-about-us | 1,038 | 2.09 | 52.83 | 62.68 |
General Settings /wp-admin/admin.php?page=ltteleg-general-settings | 1,160 | 2.10 | 52.80 | 81.23 |
Uninstaller [IO: ▲0.00MB] [DB: ▲0.00MB] 75% from 4 tests
🔸 Tests weight: 35 | Checking the uninstaller removed all traces of the plugin
You still need to fix the following
- This plugin did not uninstall successfully, leaving 2 options in the database
- ltteleg_modal
- ltteleg_general
Smoke tests 25% from 4 tests
Server-side errors Passed 1 test
🔹 Test weight: 20 | This is a short smoke test looking for server-side errors
Even though no errors were found, this is by no means an exhaustive test
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
The following issues need your attention
- 3× PHP files output non-empty strings when accessed directly via GET requests:
- > /wp-content/plugins/link-to-telegram/skins/modal-skin-3.php
- > /wp-content/plugins/link-to-telegram/skins/modal-skin-2.php
- > /wp-content/plugins/link-to-telegram/skins/modal-skin-1.php
- 19× PHP files trigger errors when accessed directly with GET requests (only 10 are shown):
- > PHP Notice
Undefined variable: close_text in wp-content/plugins/link-to-telegram/skins/modal-skin-1.php on line 8
- > PHP Notice
Undefined variable: close_text in wp-content/plugins/link-to-telegram/skins/modal-skin-3.php on line 9
- > PHP Notice
Undefined variable: button_text in wp-content/plugins/link-to-telegram/skins/modal-skin-2.php on line 6
- > PHP Notice
Undefined variable: description in wp-content/plugins/link-to-telegram/skins/modal-skin-2.php on line 5
- > PHP Notice
Undefined variable: button_text in wp-content/plugins/link-to-telegram/skins/modal-skin-1.php on line 6
- > PHP Notice
Undefined variable: link in wp-content/plugins/link-to-telegram/skins/modal-skin-3.php on line 10
- > PHP Notice
Undefined variable: title in wp-content/plugins/link-to-telegram/skins/modal-skin-1.php on line 4
- > PHP Notice
Undefined variable: button_text in wp-content/plugins/link-to-telegram/skins/modal-skin-3.php on line 10
- > PHP Notice
Undefined variable: title in wp-content/plugins/link-to-telegram/skins/modal-skin-3.php on line 5
- > PHP Notice
Undefined variable: description in wp-content/plugins/link-to-telegram/skins/modal-skin-3.php on line 6
- > PHP Notice
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=ltteleg-modal-settings
- > Javascript (severe) in unknown
/wp-content/plugins/link-to-telegram/assets/js/wp-color-picker-alpha.js?ver=5.8.1 23:16 Uncaught ReferenceError: wpColorPickerL10n is not defined
Optimizations
Plugin configuration 97% from 29 tests
readme.txt 94% from 16 tests
The readme.txt file uses markdown syntax to describe your plugin to the world
These attributes need to be fixed:
- Screenshots: Add images for these screenshots: #1 (General Settings), #2 (Modal Settings), #3 (Modal Sample - Skin 1), #4 (Modal Sample - Skin 2), #5 (Direct Sample), #6 (Modal Sample - Skin 3)
link-to-telegram/link-to-telegram.php Passed 13 tests
"Link To Telegram" version 1.0.6's main PHP file describes plugin functionality and also serves as the entry point to any WordPress functionality
31 characters long description:
Popup For Your Telegram Channel
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 detected1,932 lines of code in 11 files:
Language | Files | Blank lines | Comment lines | Lines of code |
---|---|---|---|---|
SVG | 1 | 0 | 0 | 855 |
PHP | 4 | 72 | 8 | 475 |
JavaScript | 3 | 70 | 150 | 336 |
CSS | 2 | 32 | 3 | 193 |
PO File | 1 | 37 | 46 | 73 |
PHP code Passed 2 tests
An short overview of logical lines of code, cyclomatic complexity, and other code metrics
No cyclomatic complexity issues were detected for this plugin
Cyclomatic complexity | |
---|---|
Average complexity per logical line of code | 0.22 |
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 | 33 | |
▷ Named functions | 33 | 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 1 test
Image compression Passed 1 test
Using a strong compression for your PNG files is a great way to speed-up your plugin
2 PNG files occupy 0.00MB with 0.00MB in potential savings
Potential savings
Compression of 2 random PNG files using pngquant | |||
---|---|---|---|
File | Size - original | Size - compressed | Savings |
assets/images/skins/2-bg.png | 0.10KB | 0.09KB | ▼ 4.04% |
assets/images/icon.png | 1.34KB | 0.54KB | ▼ 59.90% |