Showing 226 of 488 total issues
Avoid deeply nested control flow statements. Open
Open
if (Password.Length >= GConsts.MASTER_PASSWORD_RESTRICTION || CheckPassword.Length >= GConsts.MASTER_PASSWORD_RESTRICTION) {
if (string.Compare(Password, CheckPassword) == 0) {
BL.CreateOnlyRootItem(Password);
BL.CreateSampleItems();
Settings.ChangePasswordUnicodeIOSBug = true;
Avoid deeply nested control flow statements. Open
Open
if (name.ToLower().Contains(loweredText)) {
itemList.Title = item.Title;
itemList.Add(new ItemModel {
Icon = innerItem.Icon,
Name = innerItem.Name,
Method AddSettingButton
has 6 arguments (exceeds 4 allowed). Consider refactoring. Open
Open
void AddSettingButton(StackLayout stack, string modelCommand, string menuName, string menuIcon, string chosenSelectionProperty = null, bool isPremium = false)
Avoid deeply nested control flow statements. Open
Open
if (e.Text != null) {
checkBackupPassword(e.Text, tempZip, pathTo);
}
Method AddMenu
has 6 arguments (exceeds 4 allowed). Consider refactoring. Open
Open
void AddMenu(StackLayout stack, string modelCommand, string menuName, string menuIcon, string automationId, bool newFeature = false)
Avoid deeply nested control flow statements. Open
Open
if (counter == 20) {
PDFDoc.FinishPage(page);
xPosMatrix = 20;
yPosMatrix = 10;
xPosText = 270;
Avoid deeply nested control flow statements. Open
Open
if (TR.Tr(field.FieldType) == field.FieldType) {
fieldType = field.Label;
} else {
fieldType = TR.Tr(field.FieldType);
}
Avoid deeply nested control flow statements. Open
Open
if (icon.Name.En != null)
name = icon.Name.En;
else if (icon.Name.Ru != null)
name = icon.Name.Ru;
Avoid deeply nested control flow statements. Open
Open
if (TR.Tr(field.FieldType) == field.FieldType) {
fieldType = field.Label;
} else {
fieldType = TR.Tr(field.FieldType);
}
Avoid deeply nested control flow statements. Open
Open
if(TR.Tr(field.FieldType) == field.FieldType) {
fieldType = field.Label;
} else {
fieldType = TR.Tr(field.FieldType);
}
Method LaunchMessageBox
has 5 arguments (exceeds 4 allowed). Consider refactoring. Open
Open
public static void LaunchMessageBox(string name, string message, string accept, string cancel, Action<Task<bool>> action = null)
Method AddLabelScreen
has 5 arguments (exceeds 4 allowed). Consider refactoring. Open
Open
public static NavigationPage AddLabelScreen(string labelName, string labelType, string fieldType = null, string actionType = null, Command command = null)
Method LaunchSheet
has 5 arguments (exceeds 4 allowed). Consider refactoring. Open
Open
public static void LaunchSheet(string name, string cancel, string destruction, string[] buttons, Action<Task<string>> action = null)
Method ShareFile
has 5 arguments (exceeds 4 allowed). Consider refactoring. Open
Open
public static void ShareFile(string filePath, string extraText, string mimeType, string popupText, Action action)
Method UpdateField
has 5 arguments (exceeds 4 allowed). Consider refactoring. Open
Open
public static void UpdateField(INavigation navigation, bool isEdit, NSWItem nswItem, string fieldID, string fieldValue)
Method TermsOfUse
has 5 arguments (exceeds 4 allowed). Consider refactoring. Open
Open
public static void TermsOfUse(INavigation navigation, string title, string htmlSource, Action<bool> action, bool buttons = true)
Method OpenEmail
has 5 arguments (exceeds 4 allowed). Consider refactoring. Open
Open
bool OpenEmail(string popupName, List<string> to, string subject, string body, string attachmentPath = null);
Method PrivacyPolicy
has 5 arguments (exceeds 4 allowed). Consider refactoring. Open
Open
public static void PrivacyPolicy(INavigation navigation, string title, string htmlSource, Action<bool> action, bool buttons = true)
Method ShareFile
has 5 arguments (exceeds 4 allowed). Consider refactoring. Open
Open
void ShareFile(string fileName, string extraText, string mimeType, string popupText, Action action);
Method OpenEmail
has 5 arguments (exceeds 4 allowed). Consider refactoring. Open
Open
public bool OpenEmail(string popupName, List<string> to, string subject, string body, string attachmentPath = null)