Benchmarks
Plugin footprint 65% from 16 tests
Installer Passed 1 test
🔺 Critical test (weight: 50) | The install procedure must perform silently
The plugin installed successfully, without throwing any errors or notices
Server metrics [RAM: ▲1.78MB] [CPU: ▼0.48ms] Passed 4 tests
A check of server-side resources used by Teligro
Server-side resource usage in normal parameters
Page | Memory (MB) | CPU Time (ms) |
---|---|---|
Home / | 5.27 ▲1.80 | 46.10 ▲3.91 |
Dashboard /wp-admin | 5.13 ▲1.78 | 54.90 ▼6.37 |
Posts /wp-admin/edit.php | 5.18 ▲1.82 | 57.74 ▲14.88 |
Add New Post /wp-admin/post-new.php | 7.67 ▲1.78 | 91.02 ▼13.77 |
Media Library /wp-admin/upload.php | 4.99 ▲1.76 | 50.13 ▲14.32 |
Helps /wp-admin/admin.php?page=teligro-helps | 4.96 | 40.57 |
Teligro /wp-admin/admin.php?page=teligro | 4.93 | 42.64 |
Debugs /wp-admin/admin.php?page=teligro-debugs | 4.96 | 118.42 |
Server storage [IO: ▲2.51MB] [DB: ▲0.00MB] Passed 3 tests
A short overview of filesystem and database impact
This plugin installed successfully
Filesystem: 59 new files
Database: 1 new table, 6 new options
New tables |
---|
wp_teligro_users |
New WordPress options |
---|
widget_theysaidso_widget |
theysaidso_admin_options |
widget_recent-posts |
db_upgraded |
widget_recent-comments |
can_compress_scripts |
Browser metrics Passed 4 tests
Checking browser requirements for Teligro
This plugin has a minimal impact on browser resources
Page | Nodes | Memory (MB) | Script (ms) | Layout (ms) |
---|---|---|---|---|
Home / | 2,899 ▲164 | 13.78 ▼0.52 | 1.62 ▼0.31 | 39.56 ▼4.00 |
Dashboard /wp-admin | 2,305 ▲117 | 5.03 ▼0.83 | 113.16 ▼6.06 | 43.70 ▼0.30 |
Posts /wp-admin/edit.php | 2,191 ▲102 | 2.17 ▲0.11 | 42.86 ▲0.55 | 36.17 ▼0.42 |
Add New Post /wp-admin/post-new.php | 1,554 ▲40 | 23.33 ▲5.61 | 681.42 ▲11.50 | 36.59 ▼22.10 |
Media Library /wp-admin/upload.php | 1,490 ▲99 | 4.35 ▲0.15 | 100.53 ▼5.02 | 41.77 ▼0.54 |
Helps /wp-admin/admin.php?page=teligro-helps | 1,032 | 1.93 | 28.80 | 30.09 |
Teligro /wp-admin/admin.php?page=teligro | 21,321 | 9.41 | 242.34 | 36.12 |
Debugs /wp-admin/admin.php?page=teligro-debugs | 978 | 2.21 | 27.32 | 27.80 |
Uninstaller [IO: ▲0.00MB] [DB: ▲0.00MB] 50% from 4 tests
🔸 Tests weight: 35 | Verifying that this plugin uninstalls completely without leaving any traces
These items require your attention
- The plugin did not uninstall successfully, leaving 1 table in the database
- wp_teligro_users
- Zombie WordPress options detected upon uninstall: 6 options
- db_upgraded
- widget_theysaidso_widget
- can_compress_scripts
- widget_recent-comments
- theysaidso_admin_options
- widget_recent-posts
Smoke tests 25% from 4 tests
Server-side errors 0% from 1 test
🔹 Test weight: 20 | A smoke test targeting server-side errors
These errors were triggered by the plugin
- > GET request to /wp-admin/admin.php?page=teligro
- > Notice in wp-content/plugins/teligro/modules/Channel.php+696
Trying to access array offset on value of type bool
- > GET request to /wp-admin/admin.php?page=teligro
- > Warning in wp-content/plugins/teligro/modules/Channel.php+696
Invalid argument supplied for foreach()
SRP 50% from 2 tests
🔹 Tests weight: 20 | SRP (Single-Responsibility Principle) - PHP files must act as libraries and never output text or perform any action when accessed directly in a browser
Please fix the following
- 6× GET requests to PHP files have triggered server-side errors or warnings:
- > PHP Fatal error
Uncaught Error: Class 'teligro\\Teligro' not found in wp-content/plugins/teligro/inc/WordPress.php:5
- > PHP Fatal error
Uncaught Error: Class 'teligro\\Teligro' not found in wp-content/plugins/teligro/modules/Debugs.php:5
- > PHP Fatal error
Uncaught Error: Class 'HM\\BackUpWordPress\\Service' not found in wp-content/plugins/teligro/plugins/BackUpWordPressService.php:14
- > PHP Fatal error
Uncaught Error: Class 'WP_Scripts' not found in wp-content/plugins/teligro/inc/FilterableScripts.php:9
- > PHP Fatal error
Uncaught Error: Class 'teligro\\Teligro' not found in wp-content/plugins/teligro/modules/Proxy.php:5
- > PHP Fatal error
Uncaught Error: Class 'teligro\\Teligro' not found in wp-content/plugins/teligro/inc/Helps.php:4
- > PHP Fatal error
User-side errors 0% from 1 test
🔹 Test weight: 20 | Just a short smoke test targeting errors on the browser (console and network errors and warnings)
These are user-side errors you should fix
- > GET request to /wp-admin/admin.php?page=teligro-debugs
- > Network (severe)
https://www.countryflags.io/-/flat/16.png - Failed to load resource: net::ERR_NAME_NOT_RESOLVED
Optimizations
Plugin configuration 93% from 29 tests
readme.txt Passed 16 tests
The readme.txt file uses markdown syntax to describe your plugin to the world
6 plugin tags: telegram, robot, bot, woocommerce, channel...
teligro/Teligro.php 85% from 13 tests
The entry point to "Teligro" version 1.0 is a PHP file that has certain tags in its header comment area
Please take the time to fix the following:
- Requires at least: Required version does not match the one declared in readme.txt ("5.0" instead of "3.0.0")
- Main file name: Name the main plugin file the same as the plugin slug ("teligro.php" instead of "Teligro.php")
Code Analysis 5% from 3 tests
File types 0% from 1 test
🔸 Test weight: 35 | This is a short overview of programming languages used in this plugin, detecting executable files
Please make sure to remedy the following
- Even if your plugin relies on executable files (for example a companion app), never distribute executable files with your plugin
- .bin - Binary Executable in Windows, macOS, Linux
- ☣ wp-content/plugins/teligro/modules/inc/IP2LOCATION-LITE-DB1.BIN
- .bin - Binary Executable in Windows, macOS, Linux
Language | Files | Blank lines | Comment lines | Lines of code |
---|---|---|---|---|
PHP | 44 | 1,549 | 2,038 | 10,039 |
JavaScript | 5 | 82 | 50 | 644 |
CSS | 4 | 98 | 4 | 441 |
SVG | 1 | 0 | 0 | 11 |
PHP code Passed 2 tests
A short review of cyclomatic complexity and code structure
Although this was not an exhaustive test, there were no cyclomatic complexity issues detected
Cyclomatic complexity | |
---|---|
Average complexity per logical line of code | 0.47 |
Average class complexity | 35.57 |
▷ Minimum class complexity | 1.00 |
▷ Maximum class complexity | 246.00 |
Average method complexity | 4.30 |
▷ Minimum method complexity | 1.00 |
▷ Maximum method complexity | 67.00 |
Code structure | ||
---|---|---|
Namespaces | 2 | |
Interfaces | 0 | |
Traits | 0 | |
Classes | 44 | |
▷ Abstract classes | 1 | 2.27% |
▷ Concrete classes | 43 | 97.73% |
▷ Final classes | 0 | 0.00% |
Methods | 451 | |
▷ Static methods | 85 | 18.85% |
▷ Public methods | 396 | 87.80% |
▷ Protected methods | 8 | 1.77% |
▷ Private methods | 47 | 10.42% |
Functions | 5 | |
▷ Named functions | 0 | 0.00% |
▷ Anonymous functions | 5 | 100.00% |
Constants | 65 | |
▷ Global constants | 17 | 26.15% |
▷ Class constants | 48 | 73.85% |
▷ Public constants | 48 | 100.00% |
Plugin size Passed 2 tests
Image compression Passed 2 tests
Often times overlooked, PNG files can occupy unnecessary space in your plugin
There were not PNG files found in your plugin