Benchmarks
Plugin footprint 83% from 16 tests
Installer Passed 1 test
🔺 Critical test (weight: 50) | All plugins must install correctly, without throwing any errors, warnings, or notices
The plugin installed successfully, without throwing any errors or notices
Server metrics [RAM: ▲0.04MB] [CPU: ▼1.40ms] Passed 4 tests
Server-side resources used by Sell via Telegram for WooCommerce
This plugin has minimal impact on server resources
Page | Memory (MB) | CPU Time (ms) |
---|---|---|
Home / | 3.51 ▲0.04 | 38.15 ▼0.69 |
Dashboard /wp-admin | 3.35 ▲0.04 | 46.29 ▼5.40 |
Posts /wp-admin/edit.php | 3.40 ▲0.04 | 46.78 ▼1.32 |
Add New Post /wp-admin/post-new.php | 5.93 ▲0.04 | 93.07 ▲5.19 |
Media Library /wp-admin/upload.php | 3.27 ▲0.04 | 34.53 ▲1.83 |
Server storage [IO: ▲0.07MB] [DB: ▲0.00MB] Passed 3 tests
A short overview of filesystem and database impact
The plugin installed successfully
Filesystem: 8 new files
Database: no new tables, 6 new options
New WordPress options |
---|
theysaidso_admin_options |
db_upgraded |
widget_recent-comments |
widget_recent-posts |
can_compress_scripts |
widget_theysaidso_widget |
Browser metrics Passed 4 tests
A check of browser resources used by Sell via Telegram for WooCommerce
There were no issues detected in relation to browser resource usage
Page | Nodes | Memory (MB) | Script (ms) | Layout (ms) |
---|---|---|---|---|
Home / | 2,800 ▲54 | 13.23 ▼1.04 | 1.67 ▼0.09 | 40.98 ▼3.87 |
Dashboard /wp-admin | 2,203 ▲18 | 5.83 ▼0.02 | 97.93 ▼1.99 | 37.72 ▼4.13 |
Posts /wp-admin/edit.php | 2,089 ▼0 | 2.03 ▲0.04 | 32.98 ▼5.18 | 35.09 ▼1.46 |
Add New Post /wp-admin/post-new.php | 1,514 ▼30 | 17.69 ▼0.15 | 587.76 ▼28.00 | 49.98 ▼5.01 |
Media Library /wp-admin/upload.php | 1,391 ▲3 | 4.22 ▼0.03 | 94.68 ▼15.12 | 42.02 ▼0.47 |
Uninstaller [IO: ▲0.00MB] [DB: ▲0.00MB] 75% from 4 tests
🔸 Tests weight: 35 | It is important to correctly uninstall your plugin, without leaving any traces
The following items require your attention
- Zombie WordPress options were found after uninstall: 6 options
- theysaidso_admin_options
- db_upgraded
- widget_recent-comments
- can_compress_scripts
- widget_theysaidso_widget
- widget_recent-posts
Smoke tests 75% from 4 tests
Server-side errors Passed 1 test
🔹 Test weight: 20 | Just a short smoke test targeting errors on the server (in the Apache logs)
Everything seems fine, however this is by no means an exhaustive test
SRP 50% from 2 tests
🔹 Tests weight: 20 | The single-responsibility principle: PHP files have to remain inert when accessed directly, throwing no errors and performing no actions
Please fix the following
- 3× PHP files trigger errors when accessed directly with GET requests:
- > PHP Fatal error
Uncaught Error: Class 'WC_Telegram_API' not found in wp-content/plugins/wc-telegram/includes/class-wc-telegram-user.php:2
- > PHP Fatal error
Uncaught Error: Class 'WC_Telegram_User' not found in wp-content/plugins/wc-telegram/includes/class-wc-telegram-bot.php:2
- > PHP Fatal error
Uncaught Error: Call to undefined function plugin_dir_url() in wp-content/plugins/wc-telegram/wc-telegram.php:22
- > PHP Fatal error
User-side errors Passed 1 test
🔹 Test weight: 20 | This is a shallow check for browser errors
Everything seems fine, but this is not an exhaustive test
Optimizations
Plugin configuration 97% from 29 tests
readme.txt 94% from 16 tests
Perhaps the most important file in your plugin readme.txt gets parsed in order to generate the public listing of your plugin
Attributes that require attention:
- Contributors: Contributors not specified
wc-telegram/wc-telegram.php Passed 13 tests
This is the main PHP file of "Sell via Telegram for WooCommerce" version 1.9, providing information about the plugin in the header fields and serving as the principal entry point to the plugin's functions
47 characters long description:
The plugin helps you sell anything via Telegram
Code Analysis Passed 3 tests
File types Passed 1 test
🔸 Test weight: 35 | A short check of programming languages and file extensions; no executable files are allowed
No dangerous file extensions were detected2,026 lines of code in 6 files:
Language | Files | Blank lines | Comment lines | Lines of code |
---|---|---|---|---|
PHP | 6 | 56 | 71 | 2,026 |
PHP code Passed 2 tests
Cyclomatic complexity and code structure are the fingerprint of this plugin
Everything seems fine, there were no complexity issues found
Cyclomatic complexity | |
---|---|
Average complexity per logical line of code | 0.50 |
Average class complexity | 65.50 |
▷ Minimum class complexity | 10.00 |
▷ Maximum class complexity | 204.00 |
Average method complexity | 6.61 |
▷ Minimum method complexity | 1.00 |
▷ Maximum method complexity | 38.00 |
Code structure | ||
---|---|---|
Namespaces | 0 | |
Interfaces | 0 | |
Traits | 0 | |
Classes | 6 | |
▷ Abstract classes | 0 | 0.00% |
▷ Concrete classes | 6 | 100.00% |
▷ Final classes | 0 | 0.00% |
Methods | 69 | |
▷ Static methods | 1 | 1.45% |
▷ Public methods | 56 | 81.16% |
▷ Protected methods | 1 | 1.45% |
▷ Private methods | 12 | 17.39% |
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
Often times overlooked, PNG files can occupy unnecessary space in your plugin
PNG images were not found in this plugin