theforeman/foreman

View on GitHub
webpack/assets/javascripts/foreman_compute_resource.js

Summary

Maintainability
A
1 hr
Test Coverage

Function testConnection has 41 lines of code (exceeds 25 allowed). Consider refactoring.
Open

export function testConnection(item) {
  let crId = $('form').data('id');

  if (crId === undefined || crId === null) {
    crId = '';
Severity: Minor
Found in webpack/assets/javascripts/foreman_compute_resource.js - About 1 hr to fix

    There are no issues that match your filters.

    Category
    Status