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: ▼7.25ms] Passed 4 tests
Analyzing server-side resources used by Contact Form 7 + Telegram
No issues were detected with server-side resource usage
Page | Memory (MB) | CPU Time (ms) |
---|---|---|
Home / | 3.49 ▲0.02 | 40.61 ▲2.66 |
Dashboard /wp-admin | 3.33 ▼0.02 | 45.55 ▼13.45 |
Posts /wp-admin/edit.php | 3.38 ▲0.02 | 50.48 ▲9.12 |
Add New Post /wp-admin/post-new.php | 5.91 ▲0.02 | 79.87 ▼18.62 |
Media Library /wp-admin/upload.php | 3.25 ▲0.02 | 34.22 ▲0.41 |
Server storage [IO: ▲0.03MB] [DB: ▲0.07MB] Passed 3 tests
How much does this plugin use your filesystem and database?
This plugin was installed successfully
Filesystem: 12 new files
Database: no new tables, 6 new options
New WordPress options |
---|
widget_recent-posts |
can_compress_scripts |
widget_theysaidso_widget |
theysaidso_admin_options |
widget_recent-comments |
db_upgraded |
Browser metrics Passed 4 tests
Contact Form 7 + Telegram: an overview of browser usage
There were no issues detected in relation to browser resource usage
Page | Nodes | Memory (MB) | Script (ms) | Layout (ms) |
---|---|---|---|---|
Home / | 2,789 ▲43 | 14.23 ▼0.12 | 1.51 ▼0.13 | 39.63 ▼5.46 |
Dashboard /wp-admin | 2,195 ▲18 | 5.54 ▲0.00 | 94.13 ▲9.44 | 36.45 ▲0.05 |
Posts /wp-admin/edit.php | 2,103 ▲6 | 1.98 ▼0.04 | 39.39 ▲0.18 | 35.31 ▼6.59 |
Add New Post /wp-admin/post-new.php | 1,526 ▼9 | 23.54 ▲5.39 | 665.93 ▲58.77 | 58.40 ▼14.06 |
Media Library /wp-admin/upload.php | 1,400 ▼0 | 4.17 ▼0.03 | 95.84 ▼3.66 | 40.47 ▲0.32 |
Uninstaller [IO: ▲0.00MB] [DB: ▲0.07MB] 75% from 4 tests
🔸 Tests weight: 35 | Checking the uninstaller removed all traces of the plugin
You still need to fix the following
- The uninstall procedure has failed, leaving 6 options in the database
- db_upgraded
- widget_recent-posts
- widget_theysaidso_widget
- theysaidso_admin_options
- can_compress_scripts
- widget_recent-comments
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 | It is important to ensure that your PHP files perform no action when accessed directly, respecting the single-responsibility principle
The following issues need your attention
- 2× PHP files trigger server errors when accessed directly:
- > PHP Fatal error
Uncaught Error: Call to undefined function plugin_basename() in wp-content/plugins/cf7-telegram/cf7-telegram.php:12
- > PHP Fatal error
Uncaught Error: Call to undefined function add_action() in wp-content/plugins/cf7-telegram/inc/wp5_functions/wp5_functions.php:3
- > PHP Fatal error
User-side errors Passed 1 test
🔹 Test weight: 20 | A shallow check that no browser errors were triggered
No browser errors were detected
Optimizations
Plugin configuration Passed 29 tests
readme.txt Passed 16 tests
The readme.txt file is undoubtedly the most important file in your plugin, preparing it for public listing on WordPress.org
3 plugin tags: contact form telegram, telegram, contact form 7
cf7-telegram/cf7-telegram.php Passed 13 tests
The primary PHP file in "Contact Form 7 + Telegram" version 0.8 is used by WordPress to initiate all plugin functionality
31 characters long description:
Sends messages to Telegram-chat
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 detected670 lines of code in 9 files:
Language | Files | Blank lines | Comment lines | Lines of code |
---|---|---|---|---|
PHP | 7 | 113 | 69 | 572 |
CSS | 1 | 9 | 0 | 71 |
JavaScript | 1 | 4 | 0 | 27 |
PHP code Passed 2 tests
This plugin's cyclomatic complexity and code structure detailed below
There were no cyclomatic complexity issued detected
Cyclomatic complexity | |
---|---|
Average complexity per logical line of code | 0.34 |
Average class complexity | 74.00 |
▷ Minimum class complexity | 74.00 |
▷ Maximum class complexity | 74.00 |
Average method complexity | 2.74 |
▷ Minimum method complexity | 1.00 |
▷ Maximum method complexity | 10.00 |
Code structure | ||
---|---|---|
Namespaces | 0 | |
Interfaces | 0 | |
Traits | 0 | |
Classes | 1 | |
▷ Abstract classes | 0 | 0.00% |
▷ Concrete classes | 1 | 100.00% |
▷ Final classes | 0 | 0.00% |
Methods | 42 | |
▷ Static methods | 1 | 2.38% |
▷ Public methods | 23 | 54.76% |
▷ Protected methods | 0 | 0.00% |
▷ Private methods | 19 | 45.24% |
Functions | 7 | |
▷ Named functions | 7 | 100.00% |
▷ Anonymous functions | 0 | 0.00% |
Constants | 4 | |
▷ Global constants | 4 | 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
There were not PNG files found in your plugin