slovensko-digital/harvester.ecosystem

View on GitHub
app/jobs/metais/sync_project_job.rb

Summary

Maintainability
A
1 hr
Test Coverage

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

  def parse_project(p, json)
    p.nazov = get_projects_attribute(json, 'Gen_Profil_nazov')
    p.popis = get_projects_attribute(json, 'Gen_Profil_popis')
    p.datum_zacatia = get_projects_attribute(json, 'EA_Profil_Projekt_datum_zacatia')
    p.termin_ukoncenia = get_projects_attribute(json, 'EA_Profil_Projekt_termin_ukoncenia')
Severity: Minor
Found in app/jobs/metais/sync_project_job.rb - About 1 hr to fix

    There are no issues that match your filters.

    Category
    Status