bykovme/nswallet

View on GitHub
src/NSWallet/NSWallet.Shared/Localization/Translations.cs

Summary

Maintainability
A
2 hrs
Test Coverage

Method SetLanguage has 31 lines of code (exceeds 25 allowed). Consider refactoring.
Open

        public static void SetLanguage(string langCode)
        {
            if (string.IsNullOrEmpty(RunNameSpace))
            {
                throw new LocalizationException("Namespace is not set");
Severity: Minor
Found in src/NSWallet/NSWallet.Shared/Localization/Translations.cs - About 1 hr to fix

    Method SetCultureInfo has 27 lines of code (exceeds 25 allowed). Consider refactoring.
    Open

            static void SetCultureInfo(string langCode)
            {
                CultureInfo culture = null;
    
                try {
    Severity: Minor
    Found in src/NSWallet/NSWallet.Shared/Localization/Translations.cs - About 1 hr to fix

      There are no issues that match your filters.

      Category
      Status