concord-consortium/rigse

View on GitHub
rails/db/migrate/20090701153613_create_nces06_tables.rb

Summary

Maintainability
F
4 days
Test Coverage

Method up has 672 lines of code (exceeds 25 allowed). Consider refactoring.
Open

  def self.up
    create_table :portal_nces06_districts do |t|
      t.string  :LEAID,     :limit => 7       # NCES Local Education Agency ID.  The first two positions of this field are also the Federal Information Profesing Standards (FIPS) state code.
      t.string  :FIPST,     :limit => 2       # Federal Information Processing Standards (FIPS) state code.
      t.string  :STID,      :limit => 14      # StateĆ­s own ID for the education agency.
Severity: Major
Found in rails/db/migrate/20090701153613_create_nces06_tables.rb - About 3 days to fix

    File 20090701153613_create_nces06_tables.rb has 680 lines of code (exceeds 250 allowed). Consider refactoring.
    Open

    class CreateNces06Tables < ActiveRecord::Migration[5.1]
    
      def self.up
        create_table :portal_nces06_districts do |t|
          t.string  :LEAID,     :limit => 7       # NCES Local Education Agency ID.  The first two positions of this field are also the Federal Information Profesing Standards (FIPS) state code.
    Severity: Major
    Found in rails/db/migrate/20090701153613_create_nces06_tables.rb - About 1 day to fix

      There are no issues that match your filters.

      Category
      Status