mberlanda/cheidelacoriera

View on GitHub
app/schemas/reservation_schema.rb

Summary

Maintainability
A
0 mins
Test Coverage
A
100%

Method jsonschema has 55 lines of code (exceeds 25 allowed). Consider refactoring.
Wontfix

  def jsonschema(minimum: 1, maximum: 10, default: 1, stops: [])
    {
      title: 'Prenota la trasferta',
      description: schema_description(maximum),
      type: 'object',
Severity: Major
Found in app/schemas/reservation_schema.rb - About 2 hrs to fix

    Method ui_schema has 37 lines of code (exceeds 25 allowed). Consider refactoring.
    Wontfix

      def ui_schema
        {
          authenticity_token: { 'ui:widget': 'hidden' },
          event_id: { 'ui:widget': 'hidden' },
          user_id: { 'ui:widget': 'hidden' },
    Severity: Minor
    Found in app/schemas/reservation_schema.rb - About 1 hr to fix

      There are no issues that match your filters.

      Category
      Status