microting/eform-sdk-dotnet

View on GitHub
eFormCore/Migrations/20190319130214_AddingMissingForeignKeys.cs

Summary

Maintainability
D
2 days
Test Coverage

Method Up has 211 lines of code (exceeds 25 allowed). Consider refactoring.
Open

        protected override void Up(MigrationBuilder migrationBuilder)
        {
            migrationBuilder.CreateIndex(
                name: "IX_survey_configuration_versions_surveyConfigurationId",
                table: "survey_configuration_versions",
Severity: Major
Found in eFormCore/Migrations/20190319130214_AddingMissingForeignKeys.cs - About 1 day to fix

    Method Down has 116 lines of code (exceeds 25 allowed). Consider refactoring.
    Open

            protected override void Down(MigrationBuilder migrationBuilder)
            {
                migrationBuilder.DropForeignKey(
                    name: "FK_answer_value_versions_answer_values_answerValueId",
                    table: "answer_value_versions");
    Severity: Major
    Found in eFormCore/Migrations/20190319130214_AddingMissingForeignKeys.cs - About 4 hrs to fix

      File 20190319130214_AddingMissingForeignKeys.cs has 354 lines of code (exceeds 250 allowed). Consider refactoring.
      Open

      using Microsoft.EntityFrameworkCore.Migrations;
      
      namespace Microting.eForm.Migrations
      {
          public partial class AddingMissingForeignKeys : Migration
      Severity: Minor
      Found in eFormCore/Migrations/20190319130214_AddingMissingForeignKeys.cs - About 4 hrs to fix

        There are no issues that match your filters.

        Category
        Status