unepwcmc/SAPI

View on GitHub
lib/modules/trade/appendix_report.rb

Summary

Maintainability
A
1 hr
Test Coverage

Method initialize has 29 lines of code (exceeds 25 allowed). Consider refactoring.
Open

  def initialize(shipments_rel)
    @query = shipments_rel.except(:select).select([
      'trade_shipments.id', :legacy_shipment_number, :year,
      'trade_shipments.taxon_concept_id', 'trade_shipments.appendix',
      'm.appendix AS auto_appendix'
Severity: Minor
Found in lib/modules/trade/appendix_report.rb - About 1 hr to fix

    There are no issues that match your filters.

    Category
    Status