Showing 886 of 3,221 total issues
Method Core_eFormSimpleTextSingleLineFormCreateInDB_ReturnseFormId
has 77 lines of code (exceeds 25 allowed). Consider refactoring. Open
Open
[Test] // Text
public async Task Core_eFormSimpleTextSingleLineFormCreateInDB_ReturnseFormId()
{
string xmlstring = @"
<?xml version='1.0' encoding='UTF-8'?>
Method Core_eFormSimpleTextMultiLineFormCreateInDB_ReturnseFormId
has 77 lines of code (exceeds 25 allowed). Consider refactoring. Open
Open
[Test] // Comment
public async Task Core_eFormSimpleTextMultiLineFormCreateInDB_ReturnseFormId()
{
string xmlstring = @"
<?xml version='1.0' encoding='UTF-8'?>
Method CreateDataElement
has 77 lines of code (exceeds 25 allowed). Consider refactoring. Open
Open
private async Task CreateDataElement(int parentId, DataElement dataElement, Language language)
{
string methodName = "SqlController.CreateDataElement";
try
{
Method Options_Update_DoesUpdate
has 77 lines of code (exceeds 25 allowed). Consider refactoring. Open
Open
[Test]
public async Task Options_Update_DoesUpdate()
{
Random rnd = new Random();
Method Questions_Create_DoesCreate
has 77 lines of code (exceeds 25 allowed). Consider refactoring. Open
Open
[Test]
public async Task Questions_Create_DoesCreate()
{
//Arrange
Method Taggins_Create_DoesCreate
has 76 lines of code (exceeds 25 allowed). Consider refactoring. Open
Open
[Test]
public async Task Taggins_Create_DoesCreate()
{
Random rnd = new Random();
Method CheckListSites_Create_DoesCreate
has 75 lines of code (exceeds 25 allowed). Consider refactoring. Open
Open
[Test]
public async Task CheckListSites_Create_DoesCreate()
{
//Arrange
Method EntityItems_Update_DoesUpdate
has 75 lines of code (exceeds 25 allowed). Consider refactoring. Open
Open
[Test]
public async Task EntityItems_Update_DoesUpdate()
{
//Arrange
Method CreateGroupElement
has 75 lines of code (exceeds 25 allowed). Consider refactoring. Open
Open
private async Task CreateGroupElement(int parentId, GroupElement groupElement, Language language)
{
string methodName = "SqlController.CreateGroupElement";
try
{
Method DeleteCase
has 75 lines of code (exceeds 25 allowed). Consider refactoring. Open
Open
private async Task DeleteCase(EformDeleteFromServer message)
{
int microtingUId = message.MicrotringUUID;
string methodName = "EformDeleteFromServerHandler";
Method SQL_Setting_SetingCreate_CreatesSetting
has 74 lines of code (exceeds 25 allowed). Consider refactoring. Open
Open
[Test]
public async Task SQL_Setting_SetingCreate_CreatesSetting()
{
// Arrance
Method Core_eForm_SimpleDateFormCreateInDB_ReturnseFormId
has 74 lines of code (exceeds 25 allowed). Consider refactoring. Open
Open
[Test]
public async Task Core_eForm_SimpleDateFormCreateInDB_ReturnseFormId()
{
// Arrange
string xmlstring = @"
Method SQL_Worker_WorkerGetAll_ReturnsAllWorkers
has 74 lines of code (exceeds 25 allowed). Consider refactoring. Open
Open
[Test]
public async Task SQL_Worker_WorkerGetAll_ReturnsAllWorkers()
{
// Arrance
Method Core_eForm_SimplePictureAndSignatureFormFromXML_ReturnseMainElement
has 74 lines of code (exceeds 25 allowed). Consider refactoring. Open
Open
[Test]
public async Task Core_eForm_SimplePictureAndSignatureFormFromXML_ReturnseMainElement()
{
// Arrange
string xmlstring = @"
Method question_Update_DoesUpdate_AllTrue
has 74 lines of code (exceeds 25 allowed). Consider refactoring. Open
Open
[Test]
public async Task question_Update_DoesUpdate_AllTrue()
{
// Arrange
string name = Guid.NewGuid().ToString();
Method question_Update_DoesUpdate_ImageTrue_QSFalse
has 74 lines of code (exceeds 25 allowed). Consider refactoring. Open
Open
[Test]
public async Task question_Update_DoesUpdate_ImageTrue_QSFalse()
{
// Arrange
string name = Guid.NewGuid().ToString();
Method question_Update_DoesUpdate_PrioritisedValidDisplayTrue_QSFalse
has 74 lines of code (exceeds 25 allowed). Consider refactoring. Open
Open
[Test]
public async Task question_Update_DoesUpdate_PrioritisedValidDisplayTrue_QSFalse()
{
// Arrange
string name = Guid.NewGuid().ToString();
Method question_Update_DoesUpdate_PrioritisedBackButtonEnabledTrue_QSFalse
has 74 lines of code (exceeds 25 allowed). Consider refactoring. Open
Open
[Test]
public async Task question_Update_DoesUpdate_PrioritisedBackButtonEnabledTrue_QSFalse()
{
// Arrange
string name = Guid.NewGuid().ToString();
Method question_Update_DoesUpdate_ValidDisplayBackButtonEnabledTrue
has 74 lines of code (exceeds 25 allowed). Consider refactoring. Open
Open
[Test]
public async Task question_Update_DoesUpdate_ValidDisplayBackButtonEnabledTrue()
{
// Arrange
string name = Guid.NewGuid().ToString();
Method question_Update_DoesUpdate_PrioritisedBackButtonEnabledTrue
has 74 lines of code (exceeds 25 allowed). Consider refactoring. Open
Open
[Test]
public async Task question_Update_DoesUpdate_PrioritisedBackButtonEnabledTrue()
{
// Arrange
string name = Guid.NewGuid().ToString();