79% cf7-kimera-crm

Code Review | Contact Form 7 - Kimera CRM Add-on

WordPress plugin Contact Form 7 - Kimera CRM Add-on scored79%from 54 tests.

About plugin

  • Plugin page: cf7-kimera-crm
  • Plugin version: 1.1.5
  • PHP version: 7.4.16
  • WordPress compatibility: 4.6-5.8
  • WordPress version: 6.3.1
  • First release: Jun 29, 2016
  • Latest release: Jan 18, 2022
  • Number of updates: 81
  • Update frequency: every 25.1 days
  • Top authors: kimera (100%)

Code review

54 tests

User reviews

1 review

Install metrics

10+ active /1,394 total downloads

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 gracefully, with no errors

Server metrics [RAM: ▲0.14MB] [CPU: ▼3.51ms] Passed 4 tests

An overview of server-side resources used by Contact Form 7 - Kimera CRM Add-on
Server-side resource usage in normal parameters
PageMemory (MB)CPU Time (ms)
Home /3.58 ▲0.1126.95 ▼13.05
Dashboard /wp-admin3.46 ▲0.1547.77 ▼2.73
Posts /wp-admin/edit.php3.57 ▲0.2147.98 ▲1.46
Add New Post /wp-admin/post-new.php6.04 ▲0.1593.19 ▲3.93
Media Library /wp-admin/upload.php3.38 ▲0.1537.46 ▲0.27

Server storage [IO: ▲0.11MB] [DB: ▲0.00MB] Passed 3 tests

How much does this plugin use your filesystem and database?
No storage issues were detected
Filesystem: 19 new files
Database: no new tables, 6 new options
New WordPress options
theysaidso_admin_options
widget_recent-comments
db_upgraded
widget_theysaidso_widget
widget_recent-posts
can_compress_scripts

Browser metrics Passed 4 tests

An overview of browser requirements for Contact Form 7 - Kimera CRM Add-on
This plugin renders optimally with no browser resource issues detected
PageNodesMemory (MB)Script (ms)Layout (ms)
Home /2,476 ▼27014.75 ▲0.130.50 ▼1.2218.68 ▼24.69
Dashboard /wp-admin2,214 ▲235.79 ▲0.8794.87 ▼10.8640.14 ▼2.97
Posts /wp-admin/edit.php2,099 ▲102.02 ▲0.0035.25 ▼2.2132.26 ▼1.52
Add New Post /wp-admin/post-new.php1,546 ▲1023.39 ▲0.31579.73 ▼113.8070.92 ▲22.38
Media Library /wp-admin/upload.php1,399 ▲84.29 ▲0.0493.63 ▼3.2742.29 ▲0.19

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
  • Zombie WordPress options were found after uninstall: 6 options
    • widget_theysaidso_widget
    • widget_recent-comments
    • theysaidso_admin_options
    • db_upgraded
    • can_compress_scripts
    • widget_recent-posts

Smoke tests 50% from 4 tests

Server-side errors Passed 1 test

🔹 Test weight: 20 | A shallow check that no server-side errors were triggered
Good news, no errors were detected

SRP 0% 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
Please take a closer look at the following
  • 1× GET requests to PHP files return non-empty strings:
    • > /wp-content/plugins/cf7-kimera-crm/ajax/ajax.php
  • 10× GET requests to PHP files have triggered server-side errors or warnings:
    • > PHP Fatal error
      Uncaught Error: Call to undefined function add_action() in wp-content/plugins/cf7-kimera-crm/modules/kpanel.php:3
    • > PHP Fatal error
      Uncaught Error: Call to undefined function add_action() in wp-content/plugins/cf7-kimera-crm/modules/kbutton.php:3
    • > PHP Fatal error
      Uncaught Error: Call to undefined function add_action() in wp-content/plugins/cf7-kimera-crm/modules/kdate.php:9
    • > PHP Fatal error
      Uncaught Error: Call to undefined function add_action() in wp-content/plugins/cf7-kimera-crm/modules/hidden.php:5
    • > PHP Fatal error
      Uncaught Error: Call to undefined function add_action() in wp-content/plugins/cf7-kimera-crm/modules/kselect.php:8
    • > PHP Fatal error
      Uncaught Error: Call to undefined function esc_html() in wp-content/plugins/cf7-kimera-crm/views/kimeracrm_panel.php:7
    • > PHP Fatal error
      Uncaught Error: Call to undefined function add_action() in wp-content/plugins/cf7-kimera-crm/modules/kfile.php:8
    • > PHP Fatal error
      Uncaught Error: Call to undefined function plugin_dir_url() in wp-content/plugins/cf7-kimera-crm/cf7-kimera-crm.php:20
    • > PHP Fatal error
      Uncaught Error: Call to undefined function add_action() in wp-content/plugins/cf7-kimera-crm/modules/kcheckbox.php:8
    • > PHP Fatal error
      Uncaught Error: Call to undefined function __() in wp-content/plugins/cf7-kimera-crm/views/kimeracrm_panel_help.php:33

User-side errors Passed 1 test

🔹 Test weight: 20 | This is just a short smoke test looking for browser issues
There were no browser issues found

Optimizations

Plugin configuration Passed 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
5 plugin tags: kimera, contact form 7, crm, kimeracrm, cf7

cf7-kimera-crm/cf7-kimera-crm.php Passed 13 tests

The primary PHP file in "Contact Form 7 - Kimera CRM Add-on" version 1.1.5 is used by WordPress to initiate all plugin functionality
47 characters long description:
Submit contact form 7 to an external Kimera CRM

Code Analysis Passed 3 tests

File types Passed 1 test

🔸 Test weight: 35 | An overview of files in this plugin; executable files are not allowed
Good job! No executable or dangerous file extensions detected1,943 lines of code in 17 files:
LanguageFilesBlank linesComment linesLines of code
PHP122651181,647
JavaScript33913187
PO File1414191
CSS14018

PHP code Passed 2 tests

An short overview of logical lines of code, cyclomatic complexity, and other code metrics
All good! No complexity issues found
Cyclomatic complexity
Average complexity per logical line of code0.23
Average class complexity10.25
▷ Minimum class complexity1.00
▷ Maximum class complexity27.00
Average method complexity3.07
▷ Minimum method complexity1.00
▷ Maximum method complexity14.00
Code structure
Namespaces0
Interfaces0
Traits0
Classes4
▷ Abstract classes00.00%
▷ Concrete classes4100.00%
▷ Final classes00.00%
Methods16
▷ Static methods850.00%
▷ Public methods16100.00%
▷ Protected methods00.00%
▷ Private methods00.00%
Functions53
▷ Named functions4177.36%
▷ Anonymous functions1222.64%
Constants5
▷ Global constants480.00%
▷ Class constants120.00%
▷ Public constants1100.00%

Plugin size Passed 2 tests

Image compression Passed 2 tests

All PNG images should be compressed to minimize bandwidth usage for end users
No PNG files were detected