Benchmarks
Plugin footprint 40% from 16 tests
Installer 0% from 1 test
🔺 Critical test (weight: 50) | It is important to correctly install your plugin, without throwing errors or notices
Please fix the following installer errors
- This plugin did not install gracefully
- > Notice in wp-content/plugins/aus-telegram-channel/aus-telegram-channel.php+200
Trying to access array offset on value of type bool
Server metrics [RAM: ▼1.96MB] [CPU: ▼52.82ms] Passed 4 tests
Analyzing server-side resources used by AUS Telegram Channel
Server-side resource usage in normal parameters
Page | Memory (MB) | CPU Time (ms) |
---|---|---|
Home / | 2.03 ▼1.44 | 5.29 ▼35.38 |
Dashboard /wp-admin | 2.05 ▼1.25 | 6.58 ▼42.71 |
Posts /wp-admin/edit.php | 2.05 ▼1.31 | 7.21 ▼41.16 |
Add New Post /wp-admin/post-new.php | 2.05 ▼3.84 | 6.78 ▼92.02 |
Media Library /wp-admin/upload.php | 2.05 ▼1.18 | 6.46 ▼32.39 |
AUS Telegram Bot /wp-admin/options-general.php?page=aus-telegram-bot_plugin_options | 2.05 | 5.98 |
Server storage [IO: ▲0.02MB] [DB: ▲0.00MB] Passed 3 tests
Analyzing filesystem and database footprints of this plugin
This plugin installed successfully
Filesystem: 3 new files
Database: no new tables, 6 new options
New WordPress options |
---|
theysaidso_admin_options |
can_compress_scripts |
widget_recent-comments |
db_upgraded |
widget_recent-posts |
widget_theysaidso_widget |
Browser metrics Passed 4 tests
An overview of browser requirements for AUS Telegram Channel
Minimal impact on browser resources
Page | Nodes | Memory (MB) | Script (ms) | Layout (ms) |
---|---|---|---|---|
Home / | 2,793 ▲32 | 14.21 ▼0.57 | 2.08 ▲0.23 | 44.54 ▲1.21 |
Dashboard /wp-admin | 2,202 ▲25 | 5.61 ▼0.04 | 93.55 ▲3.93 | 42.57 ▼1.47 |
Posts /wp-admin/edit.php | 2,104 ▲4 | 1.98 ▼0.01 | 35.21 ▼2.08 | 33.30 ▼4.39 |
Add New Post /wp-admin/post-new.php | 1,529 ▼3 | 23.34 ▲0.31 | 678.54 ▲10.76 | 55.48 ▼13.99 |
Media Library /wp-admin/upload.php | 1,398 ▼5 | 4.19 ▲0.01 | 99.22 ▼7.97 | 48.30 ▲0.38 |
AUS Telegram Bot /wp-admin/options-general.php?page=aus-telegram-bot_plugin_options | 1,165 | 2.29 | 30.88 | 51.90 |
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
Please fix the following items
- Uninstall procedure had uncaught errors
- > Notice in wp-content/plugins/aus-telegram-channel/aus-telegram-channel.php+200
Trying to access array offset on value of type bool
- Zombie WordPress options were found after uninstall: 6 options
- can_compress_scripts
- widget_theysaidso_widget
- widget_recent-comments
- theysaidso_admin_options
- widget_recent-posts
- db_upgraded
Smoke tests 50% from 4 tests
Server-side errors 0% from 1 test
🔹 Test weight: 20 | Just a short smoke test targeting errors on the server (in the Apache logs)
Almost there, just fix the following server-side errors
- > GET request to /wp-admin/options-general.php?page=aus-telegram-bot_plugin_options
- > Notice in wp-content/plugins/aus-telegram-channel/aus-telegram-channel.php+200
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
Almost there! Just fix the following items
- 1× GET requests to PHP files return non-empty strings:
- > /wp-content/plugins/aus-telegram-channel/aus-telegram-channel.php
User-side errors Passed 1 test
🔹 Test weight: 20 | This is just a short smoke test looking for browser issues
No browser issues were found
Optimizations
Plugin configuration Passed 29 tests
readme.txt Passed 16 tests
It's important to format your readme.txt file correctly as it is parsed for the public listing of your plugin
4 plugin tags: telegram, newsletter, channel, bot
aus-telegram-channel/aus-telegram-channel.php Passed 13 tests
This is the main PHP file of "AUS Telegram Channel" version 1.0.7, providing information about the plugin in the header fields and serving as the principal entry point to the plugin's functions
58 characters long description:
Sends Wordpress Posts to Telegram channel via Telegram Bot
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
Good job! No executable or dangerous file extensions detected588 lines of code in 2 files:
Language | Files | Blank lines | Comment lines | Lines of code |
---|---|---|---|---|
PHP | 2 | 102 | 54 | 588 |
PHP code Passed 2 tests
This is a short overview of cyclomatic complexity and code structure for this plugin
All good! No complexity issues found
Cyclomatic complexity | |
---|---|
Average complexity per logical line of code | 0.38 |
Average class complexity | 38.50 |
▷ Minimum class complexity | 20.00 |
▷ Maximum class complexity | 57.00 |
Average method complexity | 5.41 |
▷ Minimum method complexity | 1.00 |
▷ Maximum method complexity | 45.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 | 17 | |
▷ Static methods | 0 | 0.00% |
▷ Public methods | 15 | 88.24% |
▷ Protected methods | 0 | 0.00% |
▷ Private methods | 2 | 11.76% |
Functions | 0 | |
▷ Named functions | 0 | 0.00% |
▷ Anonymous functions | 0 | 0.00% |
Constants | 2 | |
▷ Global constants | 2 | 100.00% |
▷ Class constants | 0 | 0.00% |
▷ Public constants | 0 | 0.00% |
Plugin size Passed 2 tests
Image compression Passed 2 tests
All PNG images should be compressed to minimize bandwidth usage for end users
No PNG images were found in this plugin