Benchmarks
Plugin footprint 83% from 16 tests
Installer Passed 1 test
🔺 Critical test (weight: 50) | The install procedure must perform silently
This plugin's installer ran successfully
Server metrics [RAM: ▲0.01MB] [CPU: ▼2.65ms] Passed 4 tests
An overview of server-side resources used by Link Contact Form 7 to opentaps CRM2
Normal server usage
Page | Memory (MB) | CPU Time (ms) |
---|---|---|
Home / | 3.48 ▲0.02 | 39.60 ▼6.42 |
Dashboard /wp-admin | 3.32 ▲0.02 | 50.95 ▼4.64 |
Posts /wp-admin/edit.php | 3.37 ▲0.01 | 50.07 ▲0.77 |
Add New Post /wp-admin/post-new.php | 5.90 ▲0.01 | 94.52 ▲2.37 |
Media Library /wp-admin/upload.php | 3.24 ▲0.01 | 37.60 ▼0.32 |
Post CF7 Data To CRM2 /wp-admin/options-general.php?page=post_to_crm | 3.24 | 29.16 |
Server storage [IO: ▲0.01MB] [DB: ▲0.00MB] Passed 3 tests
A short overview of filesystem and database impact
There were no storage issued detected upon installing this plugin
Filesystem: 3 new files
Database: no new tables, 6 new options
New WordPress options |
---|
theysaidso_admin_options |
widget_recent-posts |
can_compress_scripts |
widget_theysaidso_widget |
db_upgraded |
widget_recent-comments |
Browser metrics Passed 4 tests
This is an overview of browser requirements for Link Contact Form 7 to opentaps CRM2
This plugin has a minimal impact on browser resources
Page | Nodes | Memory (MB) | Script (ms) | Layout (ms) |
---|---|---|---|---|
Home / | 2,793 ▲32 | 14.30 ▼0.06 | 1.94 ▲0.18 | 44.36 ▼0.44 |
Dashboard /wp-admin | 2,199 ▲22 | 5.66 ▲0.04 | 83.67 ▼14.75 | 34.53 ▼8.31 |
Posts /wp-admin/edit.php | 2,104 ▲1 | 2.01 ▲0.02 | 37.11 ▲0.13 | 32.46 ▼2.85 |
Add New Post /wp-admin/post-new.php | 1,528 ▲2 | 20.98 ▼2.08 | 641.68 ▼88.46 | 49.38 ▼2.79 |
Media Library /wp-admin/upload.php | 1,398 ▼5 | 4.16 ▲0.02 | 98.64 ▼3.55 | 44.12 ▼1.79 |
Post CF7 Data To CRM2 /wp-admin/options-general.php?page=post_to_crm | 699 | 1.51 | 6.40 | 18.56 |
Uninstaller [IO: ▲0.00MB] [DB: ▲0.00MB] 75% from 4 tests
🔸 Tests weight: 35 | Checking the uninstaller removed all traces of the plugin
The following items require your attention
- This plugin did not uninstall successfully, leaving 6 options in the database
- db_upgraded
- widget_theysaidso_widget
- theysaidso_admin_options
- widget_recent-comments
- widget_recent-posts
- can_compress_scripts
Smoke tests 50% from 4 tests
Server-side errors 0% from 1 test
🔹 Test weight: 20 | This is a shallow check for server-side errors
Please fix the following server-side errors
- > GET request to /wp-admin/options-general.php?page=post_to_crm
- > Error in wp-admin/includes/template.php+1801
Uncaught ArgumentCountError: Too few arguments to function do_settings_fields(), 1 passed in wp-content/plugins/post-contact-form-7-data-to-crm2/templates/settings.php on line 22 and exactly 2 expected in wp-admin/includes/template.php:1801
Stack trace:
#0 wp-content/plugins/post-contact-form-7-data-to-crm2/templates/settings.php(22): do_settings_fields()
#1 wp-content/plugins/post-contact-form-7-data-to-crm2/post-cf7-to-crm2.php(85): include('/var/www/wordpr...')
#2 wp-includes/class-wp-hook.php(310): Post_To_CRM->plugin_settings_page()
#3 wp-includes/class-wp-hook.php(334): WP_Hook->apply_filters()
#4 wp-includes/plugin.php(517): WP_Hook->do_action()
#5 wp-admin/admin.php(259): do_action()
#6 wp-admin/options-general.php(10): require_once('/var/www/wordpr...')
#7 {main}
thrown
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 take a closer look at the following
- 2× PHP files trigger server errors when accessed directly:
- > PHP Fatal error
Uncaught Error: Call to undefined function register_activation_hook() in wp-content/plugins/post-contact-form-7-data-to-crm2/post-cf7-to-crm2.php:173
- > PHP Fatal error
Uncaught Error: Call to undefined function settings_fields() in wp-content/plugins/post-contact-form-7-data-to-crm2/templates/settings.php:21
- > PHP Fatal error
User-side errors Passed 1 test
🔹 Test weight: 20 | This is a smoke test targeting browser errors/issues
Everything seems fine, but this is not an exhaustive test
Optimizations
Plugin configuration 93% from 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
5 plugin tags: crm2, crm, opentaps, contact, form
post-contact-form-7-data-to-crm2/post-cf7-to-crm2.php 85% from 13 tests
The principal PHP file in "Link Contact Form 7 to opentaps CRM2" v. 1.0 is loaded by WordPress automatically on each request
Please make the necessary changes and fix the following:
- Main file name: Please rename the main PHP file in this plugin to the plugin slug ("post-contact-form-7-data-to-crm2.php" instead of "post-cf7-to-crm2.php")
- Description: The description should be shorter than 140 characters (currently 172 characters long)
Code Analysis Passed 3 tests
File types Passed 1 test
🔸 Test weight: 35 | A short glimpse at programming languages used with this plugin and a check that no dangerous files are present
There were no executable files found in this plugin152 lines of code in 2 files:
Language | Files | Blank lines | Comment lines | Lines of code |
---|---|---|---|---|
PHP | 2 | 48 | 41 | 152 |
PHP code Passed 2 tests
Cyclomatic complexity and code structure are the fingerprint of this plugin
All good! No complexity issues found
Cyclomatic complexity | |
---|---|
Average complexity per logical line of code | 0.24 |
Average class complexity | 10.00 |
▷ Minimum class complexity | 10.00 |
▷ Maximum class complexity | 10.00 |
Average method complexity | 2.12 |
▷ Minimum method complexity | 1.00 |
▷ Maximum method complexity | 9.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 | 8 | |
▷ Static methods | 2 | 25.00% |
▷ Public methods | 8 | 100.00% |
▷ Protected methods | 0 | 0.00% |
▷ Private methods | 0 | 0.00% |
Functions | 1 | |
▷ Named functions | 1 | 100.00% |
▷ Anonymous functions | 0 | 0.00% |
Constants | 0 | |
▷ Global constants | 0 | 0.00% |
▷ Class constants | 0 | 0.00% |
▷ Public constants | 0 | 0.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
There are no PNG files in this plugin