eagletmt/kaede

View on GitHub
lib/kaede/database.rb

Summary

Maintainability
A
1 hr
Test Coverage

Method prepare_tables has 28 lines of code (exceeds 25 allowed). Consider refactoring.
Open

    def prepare_tables
      @db.create_table?(:channels) do
        primary_key :id
        String :name, size: 255, null: false, unique: true
        Integer :for_recorder, null: false, unique: true
Severity: Minor
Found in lib/kaede/database.rb - About 1 hr to fix

    There are no issues that match your filters.

    Category
    Status