Showing 886 of 3,221 total issues
Method EntityGroupRead
has 27 lines of code (exceeds 25 allowed). Consider refactoring. Open
Open
public async Task<EntityGroup> EntityGroupRead(string entityGroupMuId, string sort, string nameFilter)
{
string methodName = "Core.EntityGroupRead";
if (string.IsNullOrEmpty(entityGroupMuId))
throw new ArgumentNullException(nameof(entityGroupMuId));
Method Core_Case_CaseReadFirstId
has 27 lines of code (exceeds 25 allowed). Consider refactoring. Open
Open
[Test]
public async Task Core_Case_CaseReadFirstId()
{
// Arrance
Method DoSetup
has 26 lines of code (exceeds 25 allowed). Consider refactoring. Open
Open
public override async Task DoSetup()
{
#region Setup SettingsTableContent
DbContextHelper dbContextHelper = new DbContextHelper(ConnectionString);
Method DoSetup
has 26 lines of code (exceeds 25 allowed). Consider refactoring. Open
Open
public override async Task DoSetup()
{
#region Setup SettingsTableContent
DbContextHelper dbContextHelper = new DbContextHelper(ConnectionString);
Method SQL_Worker_WorkerUpdate_UpdatesWorker
has 26 lines of code (exceeds 25 allowed). Consider refactoring. Open
Open
[Test]
public async Task SQL_Worker_WorkerUpdate_UpdatesWorker()
{
// Arrance
Method SQL_Worker_WorkerRead_ReadsWorker
has 26 lines of code (exceeds 25 allowed). Consider refactoring. Open
Open
[Test]
public async Task SQL_Worker_WorkerRead_ReadsWorker()
{
// Arrance
Method SQL_File_FileRead_doesFileRead
has 26 lines of code (exceeds 25 allowed). Consider refactoring. Open
Open
[Test]
public async Task SQL_File_FileRead_doesFileRead()
{
UploadedData ud = new UploadedData
{
Method DoSetup
has 26 lines of code (exceeds 25 allowed). Consider refactoring. Open
Open
public override async Task DoSetup()
{
#region Setup SettingsTableContent
DbContextHelper dbContextHelper = new DbContextHelper(ConnectionString);
Method DoSetup
has 26 lines of code (exceeds 25 allowed). Consider refactoring. Open
Open
public override async Task DoSetup()
{
#region Setup SettingsTableContent
_dbContextHelper = new DbContextHelper(ConnectionString);
Method DoSetup
has 26 lines of code (exceeds 25 allowed). Consider refactoring. Open
Open
public override async Task DoSetup()
{
#region Setup SettingsTableContent
DbContextHelper dbContextHelper = new DbContextHelper(ConnectionString);
Method DoSetup
has 26 lines of code (exceeds 25 allowed). Consider refactoring. Open
Open
public override async Task DoSetup()
{
#region Setup SettingsTableContent
DbContextHelper dbContextHelper = new DbContextHelper(ConnectionString);
Method DoSetup
has 26 lines of code (exceeds 25 allowed). Consider refactoring. Open
Open
public override async Task DoSetup()
{
#region Setup SettingsTableContent
DbContextHelper dbContextHelper = new DbContextHelper(ConnectionString);
Method Core_Folders_DeleteFolder_DoesMarkFolderAsRemoved
has 26 lines of code (exceeds 25 allowed). Consider refactoring. Open
Open
[Test]
public async Task Core_Folders_DeleteFolder_DoesMarkFolderAsRemoved()
{
// Arrange
Method Up
has 26 lines of code (exceeds 25 allowed). Consider refactoring. Open
Open
protected override void Up(MigrationBuilder migrationBuilder)
{
migrationBuilder.AddColumn<int>(
name: "MicrotingUid",
table: "QuestionTranslationVersions",
Method Up
has 26 lines of code (exceeds 25 allowed). Consider refactoring. Open
Open
protected override void Up(MigrationBuilder migrationBuilder)
{
migrationBuilder.DropPrimaryKey(
name: "PK_site_survey_configuraions",
table: "site_survey_configuraions");
Method Up
has 26 lines of code (exceeds 25 allowed). Consider refactoring. Open
Open
protected override void Up(MigrationBuilder migrationBuilder)
{
migrationBuilder.RenameColumn(
name: "SoftwareVersion",
table: "units",
Method Setup
has 26 lines of code (exceeds 25 allowed). Consider refactoring. Open
Open
[SetUp]
public async Task Setup()
{
Console.WriteLine($"Starting Setup {DateTime.Now.ToString(CultureInfo.CurrentCulture)}");
Method Down
has 26 lines of code (exceeds 25 allowed). Consider refactoring. Open
Open
protected override void Down(MigrationBuilder migrationBuilder)
{
migrationBuilder.DropPrimaryKey(
name: "PK_site_survey_configurations",
table: "site_survey_configurations");
Method Down
has 26 lines of code (exceeds 25 allowed). Consider refactoring. Open
Open
protected override void Down(MigrationBuilder migrationBuilder)
{
migrationBuilder.DropForeignKey(
name: "FK_cases_folders_FolderId",
table: "cases");
Method Up
has 26 lines of code (exceeds 25 allowed). Consider refactoring. Open
Open
protected override void Up(MigrationBuilder migrationBuilder)
{
migrationBuilder.AddColumn<string>(
name: "DefaultValue",
table: "FieldTranslationVersions",