unepwcmc/SAPI

View on GitHub
app/services/m_taxon_concept_filter_by_scientific_name_with_descendants.rb

Summary

Maintainability
A
1 hr
Test Coverage

Method relation has 31 lines of code (exceeds 25 allowed). Consider refactoring.
Open

  def relation
    types_of_match = ['SELF']
    types_of_match << 'SYNONYM' if @match_synonyms
    types_of_match << 'COMMON_NAME' if @match_common_names
    types_of_match << 'SUBSPECIES' if @match_subspecies

    There are no issues that match your filters.

    Category
    Status