ManageIQ/manageiq-ui-classic

View on GitHub
app/helpers/vm_helper.rb

Summary

Maintainability
A
1 hr
Test Coverage
F
51%

Method calculate_disk_name has 26 lines of code (exceeds 25 allowed). Consider refactoring.
Open

  def calculate_disk_name(disk)
    case disk.device_type
    when "cdrom-raw"
      "CD-ROM (IDE #{disk.location})"
    when "atapi-cdrom"
Severity: Minor
Found in app/helpers/vm_helper.rb - About 1 hr to fix

There are no issues that match your filters.

Category
Status