Benchmarks
Plugin footprint 65% from 16 tests
Installer Passed 1 test
🔺 Critical test (weight: 50) | It is important to correctly install your plugin, without throwing errors or notices
This plugin's installer ran successfully
Server metrics [RAM: ▲0.04MB] [CPU: ▲0.60ms] Passed 4 tests
A check of server-side resources used by Chat life for telegram
This plugin has minimal impact on server resources
Page | Memory (MB) | CPU Time (ms) |
---|---|---|
Home / | 3.50 ▲0.04 | 38.04 ▲3.99 |
Dashboard /wp-admin | 3.34 ▲0.04 | 47.78 ▲6.44 |
Posts /wp-admin/edit.php | 3.45 ▲0.10 | 45.28 ▼6.24 |
Add New Post /wp-admin/post-new.php | 5.92 ▲0.04 | 90.20 ▲3.59 |
Media Library /wp-admin/upload.php | 3.26 ▲0.04 | 37.78 ▲1.07 |
Chat-life for telegram /wp-admin/admin.php?page=Chat-life-for-telegram | 3.27 | 30.84 |
Chat List /wp-admin/admin.php?page=tcl-chatList | 3.25 | 32.39 |
Server storage [IO: ▲1.90MB] [DB: ▲0.00MB] Passed 3 tests
How much does this plugin use your filesystem and database?
This plugin installed successfully
Filesystem: 24 new files
Database: 1 new table, 6 new options
New tables |
---|
wp_tcl_chat |
New WordPress options |
---|
widget_recent-comments |
can_compress_scripts |
db_upgraded |
widget_recent-posts |
widget_theysaidso_widget |
theysaidso_admin_options |
Browser metrics Passed 4 tests
Checking browser requirements for Chat life for telegram
Normal browser usage
Page | Nodes | Memory (MB) | Script (ms) | Layout (ms) |
---|---|---|---|---|
Home / | 2,831 ▲60 | 14.47 ▼0.20 | 1.65 ▼0.11 | 43.33 ▲2.65 |
Dashboard /wp-admin | 2,234 ▲46 | 5.77 ▲0.76 | 99.67 ▼17.86 | 38.05 ▼6.99 |
Posts /wp-admin/edit.php | 2,117 ▲25 | 1.98 ▼0.06 | 35.90 ▼5.48 | 36.56 ▼2.46 |
Add New Post /wp-admin/post-new.php | 1,541 ▲22 | 17.45 ▼5.68 | 683.33 ▼5.63 | 53.63 ▼1.04 |
Media Library /wp-admin/upload.php | 1,416 ▲25 | 4.22 ▲0.01 | 107.60 ▲5.91 | 47.62 ▲2.07 |
Chat-life for telegram /wp-admin/admin.php?page=Chat-life-for-telegram | 1,089 | 2.03 | 26.63 | 29.33 |
Chat List /wp-admin/admin.php?page=tcl-chatList | 960 | 2.02 | 26.77 | 27.55 |
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
The following items require your attention
- The plugin did not uninstall successfully, leaving 1 table in the database
- wp_tcl_chat
- Zombie WordPress options detected upon uninstall: 6 options
- widget_recent-comments
- widget_theysaidso_widget
- theysaidso_admin_options
- widget_recent-posts
- can_compress_scripts
- db_upgraded
Smoke tests 50% from 4 tests
Server-side errors Passed 1 test
🔹 Test weight: 20 | This is a shallow check for server-side errors
Good news, no errors were detected
SRP 50% 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
- 10× PHP files trigger errors when accessed directly with GET requests:
- > PHP Notice
Undefined variable: list in wp-content/plugins/chat-life-telegram/admin/chat-list.php on line 15
- > PHP Fatal error
Uncaught Error: Call to undefined function wp_nonce_field() in wp-content/plugins/chat-life-telegram/admin/settings.php:12
- > PHP Fatal error
Uncaught Error: Class 'pechenki\\ChatLifeForTelegram\\src\\ChatCore' not found in wp-content/plugins/chat-life-telegram/src/ControllerTelegramCore.php:10
- > PHP Fatal error
Uncaught Error: Class 'pechenki\\ChatLifeForTelegram\\src\\ChatCore' not found in wp-content/plugins/chat-life-telegram/src/AdminController.php:10
- > PHP Fatal error
Uncaught Error: Class 'pechenki\\ChatLifeForTelegram\\src\\ChatCore' not found in wp-content/plugins/chat-life-telegram/src/ControllerForTelegram.php:9
- > PHP Fatal error
Uncaught Error: Class 'pechenki\\ChatLifeForTelegram\\src\\ChatCore' not found in wp-content/plugins/chat-life-telegram/src/Model.php:4
- > PHP Fatal error
Uncaught Error: Call to undefined function esc_attr() in wp-content/plugins/chat-life-telegram/frontend/Widget.php:116
- > PHP Warning
Invalid argument supplied for foreach() in wp-content/plugins/chat-life-telegram/admin/chat-list.php on line 15
- > PHP Fatal error
Uncaught Error: Call to undefined function plugin_dir_url() in wp-content/plugins/chat-life-telegram/admin/chat-list.php:53
- > PHP Fatal error
Uncaught Error: Class 'pechenki\\ChatLifeForTelegram\\src\\ChatCore' not found in wp-content/plugins/chat-life-telegram/init.php:16
- > PHP Notice
User-side errors 0% from 1 test
🔹 Test weight: 20 | This is just a short smoke test looking for browser issues
These are user-side errors you should fix
- > GET request to /wp-admin/admin.php?page=Chat-life-for-telegram
- > Javascript (severe) in unknown
/wp-content/plugins/chat-life-telegram/admin/assets/js/admin-tcl.js?ver=6.3.1 56:17 Uncaught TypeError: Cannot set properties of undefined (setting 'onclick')
Optimizations
Plugin configuration 93% from 29 tests
readme.txt 94% from 16 tests
Don't ignore readme.txt as it is the file that instructs WordPress.org on how to present your plugin to the world
Please fix the following attributes:
- Screenshots: No descriptions were found for these screenshots #1, #2, #3 in chat-life-telegram/assets to your readme.txt
chat-life-telegram/index.php 92% from 13 tests
"Chat life for telegram" version 0.1.2's primary PHP file adds more information about the plugin and serves as the entry point for WordPress
Please take the time to fix the following:
- Main file name: The principal plugin file should be the same as the plugin slug ("chat-life-telegram.php" instead of "index.php")
Code Analysis Passed 3 tests
File types Passed 1 test
🔸 Test weight: 35 | This is an overview of programming languages used in this plugin; dangerous file extensions are not allowed
There were no executable files found in this plugin16,108 lines of code in 21 files:
Language | Files | Blank lines | Comment lines | Lines of code |
---|---|---|---|---|
JavaScript | 4 | 193 | 1,924 | 14,044 |
CSS | 4 | 224 | 16 | 1,006 |
PHP | 11 | 235 | 310 | 995 |
SVG | 1 | 0 | 0 | 52 |
Markdown | 1 | 7 | 0 | 11 |
PHP code Passed 2 tests
Analyzing logical lines of code, cyclomatic complexity, and other code metrics
Everything seems fine, there were no complexity issues found
Cyclomatic complexity | |
---|---|
Average complexity per logical line of code | 0.24 |
Average class complexity | 10.33 |
▷ Minimum class complexity | 3.00 |
▷ Maximum class complexity | 16.00 |
Average method complexity | 1.98 |
▷ Minimum method complexity | 1.00 |
▷ Maximum method complexity | 6.00 |
Code structure | ||
---|---|---|
Namespaces | 2 | |
Interfaces | 0 | |
Traits | 0 | |
Classes | 6 | |
▷ Abstract classes | 0 | 0.00% |
▷ Concrete classes | 6 | 100.00% |
▷ Final classes | 0 | 0.00% |
Methods | 51 | |
▷ Static methods | 5 | 9.80% |
▷ Public methods | 42 | 82.35% |
▷ Protected methods | 4 | 7.84% |
▷ Private methods | 5 | 9.80% |
Functions | 7 | |
▷ Named functions | 1 | 14.29% |
▷ Anonymous functions | 6 | 85.71% |
Constants | 3 | |
▷ Global constants | 3 | 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
No PNG images were found in this plugin