Showing 886 of 3,221 total issues
Method SQL_Check_CheckListValueStatusRead_ReturnsCheckListValuesStatus
has 101 lines of code (exceeds 25 allowed). Consider refactoring. Open
Open
[Test]
public async Task SQL_Check_CheckListValueStatusRead_ReturnsCheckListValuesStatus()
{
// Arrance
Method ClearDb
has 101 lines of code (exceeds 25 allowed). Consider refactoring. Open
Open
private async Task ClearDb()
{
Console.WriteLine($"{DateTime.Now} : ClearDb...");
List<string> modelNames = new List<string>
{
Method Core_Case_CaseLookupMUId_Returns_ReturnCase
has 100 lines of code (exceeds 25 allowed). Consider refactoring. Open
Open
[Test]
public async Task Core_Case_CaseLookupMUId_Returns_ReturnCase()
{
// Arrance
#region Arrance
File AnswersUTest.cs
has 333 lines of code (exceeds 250 allowed). Consider refactoring. Open
Open
using System;
using System.Collections.Generic;
using System.Linq;
using System.Threading.Tasks;
using Microsoft.EntityFrameworkCore;
Method Questions_Delete_DoesSetWorkflowStateToRemoved
has 98 lines of code (exceeds 25 allowed). Consider refactoring. Open
Open
[Test]
public async Task Questions_Delete_DoesSetWorkflowStateToRemoved()
{
//Arrange
Method CaseDelete
has 97 lines of code (exceeds 25 allowed). Consider refactoring. Open
Open
public async Task<bool> CaseDelete(int microtingUId)
{
string methodName = "Core.CaseDelete";
Log.LogVariable(methodName, nameof(microtingUId), microtingUId);
Method SQL_Check_ChecksRead_ReturnsListOfFieldValues
has 95 lines of code (exceeds 25 allowed). Consider refactoring. Open
Open
[Test]
public async Task SQL_Check_ChecksRead_ReturnsListOfFieldValues()
{
// Arrance
Method options_Update_DoesUpdate
has 95 lines of code (exceeds 25 allowed). Consider refactoring. Open
Open
[Test]
public async Task options_Update_DoesUpdate()
{
// Arrange
#region QuestionSet
Method GetElement
has 95 lines of code (exceeds 25 allowed). Consider refactoring. Open
Open
private async Task<Element> GetElement(int elementId, Language language, bool includeDummyFields)
{
string methodName = "SqlController.GetElement";
try
{
File QuestionsUTest.cs
has 324 lines of code (exceeds 250 allowed). Consider refactoring. Open
Open
using System;
using System.Collections.Generic;
using System.Linq;
using System.Threading.Tasks;
using Microsoft.EntityFrameworkCore;
Method ClearDb
has 94 lines of code (exceeds 25 allowed). Consider refactoring. Open
Open
private async Task ClearDb()
{
List<string> modelNames = new List<string>
{
"CaseVersions",
Method ClearDb
has 94 lines of code (exceeds 25 allowed). Consider refactoring. Open
Open
private async Task ClearDb()
{
List<string> modelNames = new List<string>
{
"CaseVersions",
Method ClearDb
has 94 lines of code (exceeds 25 allowed). Consider refactoring. Open
Open
private async Task ClearDb()
{
List<string> modelNames = new List<string>
{
"CaseVersions",
Method ClearDb
has 94 lines of code (exceeds 25 allowed). Consider refactoring. Open
Open
private async Task ClearDb()
{
List<string> modelNames = new List<string>
{
"CaseVersions",
Method ClearDb
has 94 lines of code (exceeds 25 allowed). Consider refactoring. Open
Open
private async Task ClearDb()
{
List<string> modelNames = new List<string>
{
"CaseVersions",
Method ClearDb
has 94 lines of code (exceeds 25 allowed). Consider refactoring. Open
Open
private async Task ClearDb()
{
List<string> modelNames = new List<string>
{
"CaseVersions",
Method ClearDb
has 94 lines of code (exceeds 25 allowed). Consider refactoring. Open
Open
private async Task ClearDb()
{
List<string> modelNames = new List<string>
{
"CaseVersions",
Method ClearDb
has 94 lines of code (exceeds 25 allowed). Consider refactoring. Open
Open
private async Task ClearDb()
{
List<string> modelNames = new List<string>
{
"CaseVersions",
Method Core_Case_CaseIdLookUp_returnsId
has 93 lines of code (exceeds 25 allowed). Consider refactoring. Open
Open
[Test]
public async Task Core_Case_CaseIdLookUp_returnsId()
{
// Arrange
Method Answers_Create_DoesCreate
has 93 lines of code (exceeds 25 allowed). Consider refactoring. Open
Open
[Test]
public async Task Answers_Create_DoesCreate()
{
//Arrange
Random rnd = new Random();