EasyRecon/Hunt3r

View on GitHub
backend/app/models/scan.rb

Summary

Maintainability
A
1 hr
Test Coverage

Method cost has 27 lines of code (exceeds 25 allowed). Consider refactoring.
Open

  def cost
    last_update = if state == 'Finished' || state == 'Stopped'
                    updated_at.to_i
                  else
                    Time.now.to_i
Severity: Minor
Found in backend/app/models/scan.rb - About 1 hr to fix

    There are no issues that match your filters.

    Category
    Status