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.01MB] [CPU: ▼8.24ms] Passed 4 tests
This is a short check of server-side resources used by TelePress
No issues were detected with server-side resource usage
Page | Memory (MB) | CPU Time (ms) |
---|---|---|
Home / | 3.49 ▲0.02 | 33.53 ▼5.79 |
Dashboard /wp-admin | 3.32 ▲0.02 | 43.61 ▼3.27 |
Posts /wp-admin/edit.php | 3.37 ▲0.01 | 48.97 ▼9.33 |
Add New Post /wp-admin/post-new.php | 5.90 ▲0.01 | 90.40 ▼14.58 |
Media Library /wp-admin/upload.php | 3.24 ▲0.01 | 38.11 ▲5.37 |
Server storage [IO: ▲0.13MB] [DB: ▲0.00MB] Passed 3 tests
Input-output and database impact of this plugin
The plugin installed successfully
Filesystem: 12 new files
Database: no new tables, 7 new options
New WordPress options |
---|
can_compress_scripts |
theysaidso_admin_options |
widget_theysaidso_widget |
widget_recent-comments |
widget_recent-posts |
db_upgraded |
wptp_admin_email |
Browser metrics Passed 4 tests
Checking browser requirements for TelePress
There were no issues detected in relation to browser resource usage
Page | Nodes | Memory (MB) | Script (ms) | Layout (ms) |
---|---|---|---|---|
Home / | 2,837 ▲91 | 13.24 ▼1.23 | 1.70 ▼0.04 | 43.66 ▼4.05 |
Dashboard /wp-admin | 2,244 ▲53 | 5.83 ▲0.91 | 104.86 ▼2.07 | 48.26 ▲2.95 |
Posts /wp-admin/edit.php | 2,126 ▲34 | 2.01 ▼0.02 | 41.00 ▼3.09 | 38.35 ▼1.33 |
Add New Post /wp-admin/post-new.php | 1,552 ▲24 | 18.41 ▲0.05 | 606.38 ▼8.90 | 55.86 ▲0.11 |
Media Library /wp-admin/upload.php | 1,426 ▲41 | 4.23 ▲0.01 | 97.68 ▲2.50 | 45.00 ▲1.76 |
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
- Zombie WordPress options detected upon uninstall: 6 options
- widget_recent-posts
- db_upgraded
- widget_recent-comments
- theysaidso_admin_options
- can_compress_scripts
- widget_theysaidso_widget
Smoke tests 75% from 4 tests
Server-side errors Passed 1 test
🔹 Test weight: 20 | A smoke test targeting server-side errors
Even though no errors were found, this is by no means an exhaustive test
SRP 50% from 2 tests
🔹 Tests weight: 20 | The single-responsibility principle applies for WordPress plugins as well - please make sure your PHP files perform no actions when accessed directly
Please fix the following
- 1× PHP files output non-empty strings when accessed directly via GET requests:
- > /wp-content/plugins/telepress/inc/Telegram.php
User-side errors Passed 1 test
🔹 Test weight: 20 | This is a smoke test targeting browser errors/issues
No browser errors were detected
Optimizations
Plugin configuration 83% from 29 tests
readme.txt 81% from 16 tests
It's important to format your readme.txt file correctly as it is parsed for the public listing of your plugin
Attributes that require attention:
- Requires at least: Version format is invalid
- Donate link: Please fix this invalid url: ""
- Screenshots: Add images for these screenshots: #1 (داشبورد), #2 (مدیریت نظر در تلگرام)
telepress/index.php 85% from 13 tests
"TelePress" version 1.0's primary PHP file adds more information about the plugin and serves as the entry point for WordPress
You should first fix the following items:
- Requires at least: Periods and digits should be used for the required version number (ex. "7.0" instead of "4")
- Main file name: Please rename the main PHP file in this plugin to the plugin slug ("telepress.php" instead of "index.php")
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
Good job! No executable or dangerous file extensions detected1,096 lines of code in 11 files:
Language | Files | Blank lines | Comment lines | Lines of code |
---|---|---|---|---|
PHP | 11 | 272 | 2,380 | 1,096 |
PHP code Passed 2 tests
This plugin's cyclomatic complexity and code structure detailed below
There are no cyclomatic complexity problems detected for this plugin
Cyclomatic complexity | |
---|---|
Average complexity per logical line of code | 0.38 |
Average class complexity | 39.50 |
▷ Minimum class complexity | 18.00 |
▷ Maximum class complexity | 61.00 |
Average method complexity | 1.78 |
▷ Minimum method complexity | 1.00 |
▷ Maximum method complexity | 16.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 | 99 | |
▷ Static methods | 1 | 1.01% |
▷ Public methods | 96 | 96.97% |
▷ Protected methods | 0 | 0.00% |
▷ Private methods | 3 | 3.03% |
Functions | 16 | |
▷ Named functions | 12 | 75.00% |
▷ Anonymous functions | 4 | 25.00% |
Constants | 20 | |
▷ Global constants | 5 | 25.00% |
▷ Class constants | 15 | 75.00% |
▷ Public constants | 15 | 100.00% |
Plugin size Passed 2 tests
Image compression Passed 2 tests
It is recommended to compress PNG files in your plugin to minimize bandwidth usage
PNG images were not found in this plugin