Benchmarks
Plugin footprint 83% from 16 tests
Installer Passed 1 test
🔺 Critical test (weight: 50) | Verifying that this plugin installs correctly without errors
The plugin installed successfully, without throwing any errors or notices
Server metrics [RAM: ▲0.11MB] [CPU: ▼4.35ms] Passed 4 tests
Analyzing server-side resources used by HTML Template for CF7
No issues were detected with server-side resource usage
Page | Memory (MB) | CPU Time (ms) |
---|---|---|
Home / | 3.57 ▲0.11 | 39.19 ▼9.18 |
Dashboard /wp-admin | 3.41 ▲0.11 | 46.77 ▼7.99 |
Posts /wp-admin/edit.php | 3.52 ▲0.17 | 51.27 ▲1.73 |
Add New Post /wp-admin/post-new.php | 6.01 ▲0.12 | 91.55 ▲3.01 |
Media Library /wp-admin/upload.php | 3.33 ▲0.10 | 34.29 ▼1.96 |
Server storage [IO: ▲8.44MB] [DB: ▲0.00MB] Passed 3 tests
Filesystem and database footprint
The plugin installed successfully
Filesystem: 431 new files
Database: no new tables, 6 new options
New WordPress options |
---|
theysaidso_admin_options |
can_compress_scripts |
db_upgraded |
widget_recent-posts |
widget_theysaidso_widget |
widget_recent-comments |
Browser metrics Passed 4 tests
A check of browser resources used by HTML Template for CF7
Minimal impact on browser resources
Page | Nodes | Memory (MB) | Script (ms) | Layout (ms) |
---|---|---|---|---|
Home / | 2,811 ▲65 | 13.44 ▼0.94 | 1.72 ▼0.31 | 43.44 ▲0.04 |
Dashboard /wp-admin | 2,214 ▲26 | 5.84 ▼0.04 | 103.95 ▼13.15 | 40.47 ▼6.49 |
Posts /wp-admin/edit.php | 2,103 ▲14 | 2.00 ▼0.01 | 39.07 ▲1.32 | 37.65 ▲4.60 |
Add New Post /wp-admin/post-new.php | 1,544 ▲11 | 23.69 ▲0.56 | 569.81 ▼79.36 | 53.10 ▼3.21 |
Media Library /wp-admin/upload.php | 1,393 ▲8 | 4.23 ▼0.02 | 97.01 ▼4.82 | 40.68 ▼3.53 |
Uninstaller [IO: ▲0.00MB] [DB: ▲0.00MB] 75% from 4 tests
🔸 Tests weight: 35 | Verifying that this plugin uninstalls completely without leaving any traces
Please fix the following items
- This plugin does not fully uninstall, leaving 6 options in the database
- theysaidso_admin_options
- can_compress_scripts
- widget_theysaidso_widget
- widget_recent-posts
- db_upgraded
- widget_recent-comments
Smoke tests 75% from 4 tests
Server-side errors Passed 1 test
🔹 Test weight: 20 | A shallow check that no server-side errors were triggered
Everything seems fine, however this is by no means an exhaustive test
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
The following issues need your attention
- 7× PHP files output non-empty strings when accessed directly via GET requests:
- > /wp-content/plugins/cf7-html-email-template-extension/modules/cf7/includes/view/html-template-panel-html.php
- > /wp-content/plugins/cf7-html-email-template-extension/cf7-html-email-template-extension.php
- > /wp-content/plugins/cf7-html-email-template-extension/modules/cf7/class-module-cf7.php
- > /wp-content/plugins/cf7-html-email-template-extension/includes/backward-compatibility.php
- > /wp-content/plugins/cf7-html-email-template-extension/modules/cf7/includes/view/html-misc-pub-section.php
- > /wp-content/plugins/cf7-html-email-template-extension/modules/dependence/class-module-dependence.php
- > /wp-content/plugins/cf7-html-email-template-extension/modules/dependence/includes/views/html-notice.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 Passed 29 tests
readme.txt Passed 16 tests
The readme.txt file is an important file in your plugin as it is parsed by WordPress.org to prepare the public listing of your plugin
6 plugin tags: contact form 7, html email, email template, cf7, contact form...
cf7-html-email-template-extension/cf7-html-email-template-extension.php Passed 13 tests
Analyzing the main PHP file in "HTML Template for CF7" version 2.1.1
56 characters long description:
Improve your Contact Form 7 emails with a HTML Template.
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
There were no executable files found in this plugin3,435 lines of code in 429 files:
Language | Files | Blank lines | Comment lines | Lines of code |
---|---|---|---|---|
JavaScript | 417 | 412 | 1 | 2,879 |
PHP | 8 | 153 | 352 | 482 |
HTML | 3 | 6 | 0 | 66 |
CSS | 1 | 1 | 0 | 8 |
PHP code Passed 2 tests
A brief analysis of cyclomatic complexity and code structure for this plugin
No cyclomatic complexity issues were detected for this plugin
Cyclomatic complexity | |
---|---|
Average complexity per logical line of code | 0.36 |
Average class complexity | 18.67 |
▷ Minimum class complexity | 6.00 |
▷ Maximum class complexity | 26.00 |
Average method complexity | 2.56 |
▷ Minimum method complexity | 1.00 |
▷ Maximum method complexity | 12.00 |
Code structure | ||
---|---|---|
Namespaces | 0 | |
Interfaces | 0 | |
Traits | 0 | |
Classes | 3 | |
▷ Abstract classes | 0 | 0.00% |
▷ Concrete classes | 3 | 100.00% |
▷ Final classes | 0 | 0.00% |
Methods | 34 | |
▷ Static methods | 1 | 2.94% |
▷ Public methods | 23 | 67.65% |
▷ Protected methods | 0 | 0.00% |
▷ Private methods | 11 | 32.35% |
Functions | 2 | |
▷ Named functions | 2 | 100.00% |
▷ Anonymous functions | 0 | 0.00% |
Constants | 7 | |
▷ Global constants | 6 | 85.71% |
▷ Class constants | 1 | 14.29% |
▷ Public constants | 1 | 100.00% |
Plugin size Passed 2 tests
Image compression Passed 2 tests
Using a strong compression for your PNG files is a great way to speed-up your plugin
PNG images were not found in this plugin