10% integration-between-groovehq-and-cf7

Code Review | Integration between GrooveHQ and CF7

WordPress plugin Integration between GrooveHQ and CF7 scored10%from 54 tests.

About plugin

  • Plugin page: integration-betwe...
  • Plugin version: 1.0.2
  • PHP version: 7.4.16
  • WordPress compatibility: 4.3-4.3.1
  • WordPress version: 6.3.1
  • First release: Sep 25, 2015
  • Latest release: Sep 25, 2015
  • Number of updates: 10
  • Update frequency: every 0.1 days
  • Top authors: niteoweb (100%)

Code review

54 tests

User reviews

1 review

Install metrics

10+ active /880 total downloads

Benchmarks

Plugin footprint 40% from 16 tests

Installer 0% from 1 test

🔺 Critical test (weight: 50) | Verifying that this plugin installs correctly without errors
It is recommended to fix the following installer errors
  • The plugin cannot be installed
    • > Warning in wp-content/plugins/integration-between-groovehq-and-cf7/index.php+331
    array_key_exists() expects parameter 2 to be array, bool given

Server metrics [RAM: ▼1.96MB] [CPU: ▼59.32ms] Passed 4 tests

An overview of server-side resources used by Integration between GrooveHQ and CF7
This plugin does not affect your website's performance
PageMemory (MB)CPU Time (ms)
Home /2.03 ▼1.445.17 ▼41.66
Dashboard /wp-admin2.05 ▼1.265.99 ▼51.11
Posts /wp-admin/edit.php2.05 ▼1.316.54 ▼46.40
Add New Post /wp-admin/post-new.php2.05 ▼3.847.23 ▼98.12
Media Library /wp-admin/upload.php2.05 ▼1.185.45 ▼31.50
CF7 GrooveHQ /wp-admin/options-general.php?page=cf7ghq2.055.75

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

How much does this plugin use your filesystem and database?
This plugin was installed successfully
Filesystem: 2 new files
Database: no new tables, 6 new options
New WordPress options
can_compress_scripts
widget_recent-posts
widget_recent-comments
theysaidso_admin_options
db_upgraded
widget_theysaidso_widget

Browser metrics Passed 4 tests

Integration between GrooveHQ and CF7: an overview of browser usage
Minimal impact on browser resources
PageNodesMemory (MB)Script (ms)Layout (ms)
Home /2,819 ▲5813.36 ▼1.291.75 ▲0.0144.36 ▼2.45
Dashboard /wp-admin2,222 ▲194.84 ▼0.04114.24 ▼1.0842.24 ▼2.05
Posts /wp-admin/edit.php2,101 ▼22.01 ▼0.0335.80 ▼4.6334.34 ▼3.95
Add New Post /wp-admin/post-new.php1,548 ▲223.35 ▲0.12658.90 ▼6.6358.11 ▲6.07
Media Library /wp-admin/upload.php1,404 ▲44.25 ▼0.0295.02 ▼21.1643.45 ▼4.42
CF7 GrooveHQ /wp-admin/options-general.php?page=cf7ghq8502.0122.0427.52

Uninstaller [IO: ▲0.00MB] [DB: ▲0.00MB] 50% from 4 tests

🔸 Tests weight: 35 | All plugins must uninstall correctly, removing their source code and extra database tables they might have created
These items require your attention
  • Uninstall procedure validation failed for this plugin
    • > Warning in wp-content/plugins/integration-between-groovehq-and-cf7/index.php+331
    array_key_exists() expects parameter 2 to be array, bool given
  • This plugin does not fully uninstall, leaving 6 options in the database
    • db_upgraded
    • widget_theysaidso_widget
    • theysaidso_admin_options
    • widget_recent-posts
    • widget_recent-comments
    • can_compress_scripts

Smoke tests 75% from 4 tests

Server-side errors 0% from 1 test

🔹 Test weight: 20 | A smoke test targeting server-side errors
These errors were triggered by the plugin
  • 5 occurences, only the last one shown
    • > GET request to /wp-admin/options-general.php?page=cf7ghq
    • > Warning in wp-content/plugins/integration-between-groovehq-and-cf7/index.php+331
    array_key_exists() expects parameter 2 to be array, bool given

SRP Passed 2 tests

🔹 Tests weight: 20 | The single-responsibility principle: PHP files have to remain inert when accessed directly, throwing no errors and performing no actions
Everything seems fine, however this is by no means an exhaustive test

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 96% from 29 tests

readme.txt Passed 16 tests

Perhaps the most important file in your plugin readme.txt gets parsed in order to generate the public listing of your plugin
6 plugin tags: contact, groove, integration, form, contact form 7...

integration-between-groovehq-and-cf7/index.php 92% from 13 tests

The main PHP file in "Integration between GrooveHQ and CF7" ver. 1.0.2 adds more information about the plugin and also serves as the entry point for this plugin
You should first fix the following items:
  • Main file name: The principal plugin file should be the same as the plugin slug ("integration-between-groovehq-and-cf7.php" instead of "index.php")

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
No dangerous file extensions were detected316 lines of code in 1 file:
LanguageFilesBlank linesComment linesLines of code
PHP14956316

PHP code Passed 2 tests

A brief analysis of cyclomatic complexity and code structure for this plugin
Although this was not an exhaustive test, there were no cyclomatic complexity issues detected
Cyclomatic complexity
Average complexity per logical line of code0.32
Average class complexity30.00
▷ Minimum class complexity30.00
▷ Maximum class complexity30.00
Average method complexity2.61
▷ Minimum method complexity1.00
▷ Maximum method complexity10.00
Code structure
Namespaces1
Interfaces0
Traits0
Classes1
▷ Abstract classes00.00%
▷ Concrete classes1100.00%
▷ Final classes00.00%
Methods18
▷ Static methods00.00%
▷ Public methods1583.33%
▷ Protected methods00.00%
▷ Private methods316.67%
Functions0
▷ Named functions00.00%
▷ Anonymous functions00.00%
Constants0
▷ Global constants00.00%
▷ Class constants00.00%
▷ Public constants00.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