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: ▲0.12MB] [CPU: ▼8.06ms] Passed 4 tests
Server-side resources used by Sitepact's Contact Form 7 Extension For Klaviyo
This plugin does not affect your website's performance
Page | Memory (MB) | CPU Time (ms) |
---|---|---|
Home / | 3.58 ▲0.12 | 36.04 ▼1.67 |
Dashboard /wp-admin | 3.42 ▲0.12 | 45.69 ▼6.79 |
Posts /wp-admin/edit.php | 3.54 ▲0.18 | 44.09 ▼5.88 |
Add New Post /wp-admin/post-new.php | 6.00 ▲0.12 | 81.90 ▼17.88 |
Media Library /wp-admin/upload.php | 3.35 ▲0.12 | 37.69 ▲5.65 |
Klaviyo Log /wp-admin/admin.php?page=klaviyo-contact-form-7-log | 3.32 | 33.56 |
Server storage [IO: ▲0.13MB] [DB: ▲0.00MB] Passed 3 tests
Filesystem and database footprint
No storage issues were detected
Filesystem: 11 new files
Database: 1 new table, 6 new options
New tables |
---|
wp__klcf_new_logs |
New WordPress options |
---|
widget_recent-comments |
theysaidso_admin_options |
db_upgraded |
widget_recent-posts |
widget_theysaidso_widget |
can_compress_scripts |
Browser metrics Passed 4 tests
Sitepact's Contact Form 7 Extension For Klaviyo: an overview of browser usage
Normal browser usage
Page | Nodes | Memory (MB) | Script (ms) | Layout (ms) |
---|---|---|---|---|
Home / | 2,789 ▲28 | 14.35 ▼0.02 | 1.73 ▲0.17 | 39.79 ▲1.24 |
Dashboard /wp-admin | 2,198 ▲17 | 5.64 ▼0.09 | 86.75 ▼15.08 | 38.78 ▼4.68 |
Posts /wp-admin/edit.php | 2,100 ▼0 | 1.97 ▼0.03 | 35.17 ▼0.80 | 34.09 ▼4.17 |
Add New Post /wp-admin/post-new.php | 1,526 ▼12 | 22.90 ▼0.00 | 662.68 ▼12.54 | 51.02 ▼2.40 |
Media Library /wp-admin/upload.php | 1,400 ▼3 | 4.23 ▲0.03 | 93.66 ▼5.62 | 43.73 ▼1.32 |
Klaviyo Log /wp-admin/admin.php?page=klaviyo-contact-form-7-log | 928 | 2.01 | 24.60 | 27.21 |
Uninstaller [IO: ▲0.00MB] [DB: ▲0.00MB] 50% from 4 tests
🔸 Tests weight: 35 | Checking the uninstaller removed all traces of the plugin
These items require your attention
- This plugin does not fully uninstall, leaving 1 table in the database
- wp__klcf_new_logs
- This plugin does not fully uninstall, leaving 6 options in the database
- widget_recent-posts
- widget_theysaidso_widget
- theysaidso_admin_options
- widget_recent-comments
- can_compress_scripts
- db_upgraded
Smoke tests 25% from 4 tests
Server-side errors Passed 1 test
🔹 Test weight: 20 | This is a shallow check for server-side errors
Even though everything seems fine, this is not an exhaustive test
SRP 0% 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 perform the action of outputting non-empty strings when accessed directly:
- > /wp-content/plugins/sitepact-klaviyo-contact-form-7/templates/intregation-form.php
- 18× GET requests to PHP files trigger server-side errors or Error 500 responses (only 10 are shown):
- > PHP Fatal error
Uncaught Error: Call to undefined function esc_attr_e() in wp-content/plugins/sitepact-klaviyo-contact-form-7/templates/list-log.php:9
- > PHP Notice
Undefined variable: pro_link in wp-content/plugins/sitepact-klaviyo-contact-form-7/templates/intregation-form.php on line 317
- > PHP Notice
Undefined variable: map_extra_fields in wp-content/plugins/sitepact-klaviyo-contact-form-7/templates/intregation-form.php on line 537
- > PHP Notice
Undefined variable: api_key in wp-content/plugins/sitepact-klaviyo-contact-form-7/templates/intregation-form.php on line 332
- > PHP Fatal error
Uncaught Error: Class 'WP_List_Table' not found in wp-content/plugins/sitepact-klaviyo-contact-form-7/includes/list_table.php:2
- > PHP Notice
Undefined variable: checked in wp-content/plugins/sitepact-klaviyo-contact-form-7/templates/intregation-form.php on line 323
- > PHP Notice
Undefined variable: post_id in wp-content/plugins/sitepact-klaviyo-contact-form-7/templates/intregation-form.php on line 314
- > PHP Notice
Trying to access array offset on value of type null in wp-content/plugins/sitepact-klaviyo-contact-form-7/templates/log_view.php on line 3
- > PHP Fatal error
Uncaught Error: Call to undefined function get_post() in wp-content/plugins/sitepact-klaviyo-contact-form-7/templates/log_view.php:4
- > PHP Warning
array_filter() expects parameter 1 to be array, null given in wp-content/plugins/sitepact-klaviyo-contact-form-7/templates/intregation-form.php on line 537
- > PHP Fatal error
User-side errors 0% from 1 test
🔹 Test weight: 20 | This is a shallow check for browser errors
Please take a look at the following user-side issues
- > GET request to /wp-admin/admin.php?page=klaviyo-contact-form-7-log
- > Network (severe)
wp-content/plugins/sitepact-klaviyo-contact-form-7/includes/assets/js/jquery.dataTables.min.js?ver=6.3.1 - Failed to load resource: the server responded with a status of 404 (Not Found)
Optimizations
Plugin configuration 96% from 29 tests
readme.txt Passed 16 tests
The readme.txt file is important because it is parsed by WordPress.org for the public listing of your plugin
6 plugin tags: newsletter, klaviyo, audiences, cf7, contact form 7...
sitepact-klaviyo-contact-form-7/KLCF_Klaviyo-Contact-Form-7.php 92% from 13 tests
The primary PHP file in "Sitepact's Contact Form 7 Extension For Klaviyo" version 1.0.5 is used by WordPress to initiate all plugin functionality
It is important to fix the following:
- Main file name: Name the main plugin file the same as the plugin slug ("sitepact-klaviyo-contact-form-7.php" instead of "KLCF_Klaviyo-Contact-Form-7.php")
Code Analysis Passed 3 tests
File types Passed 1 test
🔸 Test weight: 35 | Executable files are considered dangerous and should not be included with any WordPress plugin
No dangerous file extensions were detected3,277 lines of code in 10 files:
Language | Files | Blank lines | Comment lines | Lines of code |
---|---|---|---|---|
CSS | 2 | 1 | 0 | 2,041 |
PHP | 6 | 292 | 87 | 1,230 |
JavaScript | 1 | 1 | 4 | 5 |
SVG | 1 | 0 | 0 | 1 |
PHP code Passed 2 tests
This plugin's cyclomatic complexity and code structure detailed below
No complexity issues detected
Cyclomatic complexity | |
---|---|
Average complexity per logical line of code | 0.25 |
Average class complexity | 21.00 |
▷ Minimum class complexity | 4.00 |
▷ Maximum class complexity | 47.00 |
Average method complexity | 2.54 |
▷ Minimum method complexity | 1.00 |
▷ Maximum method complexity | 11.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 | 39 | |
▷ Static methods | 0 | 0.00% |
▷ Public methods | 37 | 94.87% |
▷ Protected methods | 0 | 0.00% |
▷ Private methods | 2 | 5.13% |
Functions | 0 | |
▷ Named functions | 0 | 0.00% |
▷ Anonymous functions | 0 | 0.00% |
Constants | 3 | |
▷ Global constants | 3 | 100.00% |
▷ Class constants | 0 | 0.00% |
▷ Public constants | 0 | 0.00% |
Plugin size Passed 2 tests
Image compression Passed 2 tests
PNG files should be compressed to save space and minimize bandwidth usage
No PNG images were found in this plugin