id: 1 unit: public ApiErrorItem? PerformPasswordChange() file: src/Unosquare.PassCore.PasswordProvider/PasswordChangeProvider.cs start line: 38 end line: 126 size: 61 LOC McCabe index: 12 number of parameters: 3 id: 2 unit: public ApiErrorItem? PerformPasswordChange() file: src/Zyborg.PassCore.PasswordProvider.LDAP/LdapPasswordChangeProvider.cs start line: 66 end line: 146 size: 59 LOC McCabe index: 10 number of parameters: 3 id: 3 unit: public async Task Post() file: src/Unosquare.PassCore.Web/Controllers/PasswordController.cs start line: 66 end line: 138 size: 56 LOC McCabe index: 12 number of parameters: 1 id: 4 unit: private void Init() file: src/Zyborg.PassCore.PasswordProvider.LDAP/LdapPasswordChangeProvider.cs start line: 244 end line: 302 size: 47 LOC McCabe index: 16 number of parameters: 0 id: 5 unit: public static bool IsPwnedPassword() file: src/PwnedPasswordsSearch/PwnedSearch.cs start line: 21 end line: 66 size: 36 LOC McCabe index: 6 number of parameters: 1 id: 6 unit: private string CleaningUsername() file: src/Zyborg.PassCore.PasswordProvider.LDAP/LdapPasswordChangeProvider.cs start line: 199 end line: 242 size: 31 LOC McCabe index: 6 number of parameters: 1 id: 7 unit: private ApiErrorItem? ValidateGroups() file: src/Unosquare.PassCore.PasswordProvider/PasswordChangeProvider.cs start line: 158 end line: 192 size: 30 LOC McCabe index: 6 number of parameters: 1 id: 8 unit: private LdapConnection BindToLdap() file: src/Zyborg.PassCore.PasswordProvider.LDAP/LdapPasswordChangeProvider.cs start line: 305 end line: 340 size: 29 LOC McCabe index: 6 number of parameters: 0 id: 9 unit: public static IWebHostBuilder CreateWebHostBuilder() file: src/Unosquare.PassCore.Web/Startup.cs start line: 54 end line: 86 size: 25 LOC McCabe index: 1 number of parameters: 1 id: 10 unit: private void SetIdType() file: src/Unosquare.PassCore.PasswordProvider/PasswordChangeProvider.cs start line: 247 end line: 271 size: 25 LOC McCabe index: 1 number of parameters: 0 id: 11 unit: private static ApiErrorItem ParseLdapException() file: src/Zyborg.PassCore.PasswordProvider.LDAP/LdapPasswordChangeProvider.cs start line: 170 end line: 197 size: 24 LOC McCabe index: 4 number of parameters: 1 id: 12 unit: public ApiErrorItem? PerformPasswordChange() file: src/Unosquare.PassCore.Web/Helpers/DebugPasswordChangeProvider.cs start line: 8 end line: 32 size: 22 LOC McCabe index: 3 number of parameters: 3 id: 13 unit: int MeasureNewPasswordDistance() file: src/Unosquare.PassCore.Common/IPasswordChangeProvider.cs start line: 29 end line: 63 size: 21 LOC McCabe index: 8 number of parameters: 2 id: 14 unit: public static ApiResult FromModelStateErrors() file: src/Unosquare.PassCore.Web/Models/ApiResult.cs start line: 62 end line: 85 size: 21 LOC McCabe index: 4 number of parameters: 1 id: 15 unit: private void SetLastPassword() file: src/Unosquare.PassCore.PasswordProvider/PasswordChangeProvider.cs start line: 194 end line: 216 size: 21 LOC McCabe index: 3 number of parameters: 1 id: 16 unit: private void ChangePassword() file: src/Unosquare.PassCore.PasswordProvider/PasswordChangeProvider.cs start line: 218 end line: 242 size: 20 LOC McCabe index: 3 number of parameters: 3 id: 17 unit: private int AcquireDomainPasswordLength() file: src/Unosquare.PassCore.PasswordProvider/PasswordChangeProvider.cs start line: 291 end line: 307 size: 17 LOC McCabe index: 2 number of parameters: 0 id: 18 unit: private PrincipalContext AcquirePrincipalContext() file: src/Unosquare.PassCore.PasswordProvider/PasswordChangeProvider.cs start line: 273 end line: 289 size: 15 LOC McCabe index: 2 number of parameters: 0 id: 19 unit: private async Task ValidateRecaptcha() file: src/Unosquare.PassCore.Web/Controllers/PasswordController.cs start line: 140 end line: 154 size: 14 LOC McCabe index: 5 number of parameters: 1 id: 20 unit: export async function fetchRequest() file: src/Unosquare.PassCore.Web/ClientApp/Utils/FetchRequest.ts start line: 1 end line: 17 size: 14 LOC McCabe index: 3 number of parameters: 3 id: 21 unit: private bool ValidateUserCredentials() file: src/Unosquare.PassCore.PasswordProvider/PasswordChangeProvider.cs start line: 128 end line: 145 size: 13 LOC McCabe index: 4 number of parameters: 3 id: 22 unit: public void Configure() file: src/Unosquare.PassCore.Web/Startup.cs start line: 94 end line: 108 size: 12 LOC McCabe index: 2 number of parameters: 2 id: 23 unit: private bool CustomServerCertValidation() file: src/Zyborg.PassCore.PasswordProvider.LDAP/LdapPasswordChangeProvider.cs start line: 352 end line: 362 size: 11 LOC McCabe index: 3 number of parameters: 4 id: 24 unit: private static void ChangePasswordDelAdd() file: src/Zyborg.PassCore.PasswordProvider.LDAP/LdapPasswordChangeProvider.cs start line: 157 end line: 168 size: 10 LOC McCabe index: 1 number of parameters: 4 id: 25 unit: public PasswordController() file: src/Unosquare.PassCore.Web/Controllers/PasswordController.cs start line: 31 end line: 39 size: 9 LOC McCabe index: 1 number of parameters: 3 id: 26 unit: export async function resolveAppSettings() file: src/Unosquare.PassCore.Web/ClientApp/Utils/AppSettings.ts start line: 1 end line: 13 size: 9 LOC McCabe index: 4 number of parameters: 0 id: 27 unit: public LdapPasswordChangeProvider() file: src/Zyborg.PassCore.PasswordProvider.LDAP/LdapPasswordChangeProvider.cs start line: 46 end line: 53 size: 8 LOC McCabe index: 1 number of parameters: 2 id: 28 unit: public PasswordChangeProvider() file: src/Unosquare.PassCore.PasswordProvider/PasswordChangeProvider.cs start line: 28 end line: 35 size: 8 LOC McCabe index: 1 number of parameters: 2 id: 29 unit: static Win32ErrorCode() file: src/Zyborg.PassCore.PasswordProvider.LDAP/Win32ErrorCode.cs start line: 56 end line: 62 size: 7 LOC McCabe index: 2 number of parameters: 0 id: 30 unit: public static Win32ErrorCode? ByCode() file: src/Zyborg.PassCore.PasswordProvider.LDAP/Win32ErrorCode.cs start line: 100 end line: 121 size: 7 LOC McCabe index: 4 number of parameters: 1 id: 31 unit: public string Generate() file: src/Unosquare.PassCore.Web/Helpers/PasswordGenerator.cs start line: 10 end line: 17 size: 7 LOC McCabe index: 1 number of parameters: 1 id: 32 unit: private void AddFieldRequiredValidationError() file: src/Unosquare.PassCore.Web/Models/ApiResult.cs start line: 91 end line: 97 size: 7 LOC McCabe index: 1 number of parameters: 1 id: 33 unit: private void AddFieldMismatchValidationError() file: src/Unosquare.PassCore.Web/Models/ApiResult.cs start line: 103 end line: 109 size: 7 LOC McCabe index: 1 number of parameters: 1 id: 34 unit: private void AddGenericFieldValidationError() file: src/Unosquare.PassCore.Web/Models/ApiResult.cs start line: 116 end line: 122 size: 7 LOC McCabe index: 1 number of parameters: 2 id: 35 unit: private string FixUsernameWithDomain() file: src/Unosquare.PassCore.PasswordProvider/PasswordChangeProvider.cs start line: 147 end line: 156 size: 7 LOC McCabe index: 5 number of parameters: 1 id: 36 unit: private static void ChangePasswordReplace() file: src/Zyborg.PassCore.PasswordProvider.LDAP/LdapPasswordChangeProvider.cs start line: 148 end line: 155 size: 6 LOC McCabe index: 1 number of parameters: 3 id: 37 unit: private Win32ErrorCode() file: src/Zyborg.PassCore.PasswordProvider.LDAP/Win32ErrorCode.cs start line: 64 end line: 69 size: 6 LOC McCabe index: 1 number of parameters: 3 id: 38 unit: constructor() file: src/Unosquare.PassCore.Web/ClientApp/Components/GoogleReCaptcha/GoogleReCaptcha.tsx start line: 47 end line: 52 size: 6 LOC McCabe index: 1 number of parameters: 1 id: 39 unit: public static ApiResult InvalidRequest() file: src/Unosquare.PassCore.Web/Models/ApiResult.cs start line: 37 end line: 43 size: 6 LOC McCabe index: 1 number of parameters: 0 id: 40 unit: public static ApiResult InvalidCaptcha() file: src/Unosquare.PassCore.Web/Models/ApiResult.cs start line: 49 end line: 55 size: 6 LOC McCabe index: 1 number of parameters: 0 id: 41 unit: public ApiErrorItem() file: src/Unosquare.PassCore.Common/ApiErrorItem.cs start line: 13 end line: 17 size: 5 LOC McCabe index: 1 number of parameters: 2 id: 42 unit: public IActionResult GetGeneratedPassword() file: src/Unosquare.PassCore.Web/Controllers/PasswordController.cs start line: 54 end line: 58 size: 5 LOC McCabe index: 1 number of parameters: 0 id: 43 unit: public componentDidUpdate() file: src/Unosquare.PassCore.Web/ClientApp/Components/GoogleReCaptcha/GoogleReCaptcha.tsx start line: 67 end line: 71 size: 5 LOC McCabe index: 3 number of parameters: 2 id: 44 unit: public ApiResult() file: src/Unosquare.PassCore.Web/Models/ApiResult.cs start line: 17 end line: 21 size: 5 LOC McCabe index: 1 number of parameters: 1 id: 45 unit: public ApiErrorException() file: src/Unosquare.PassCore.Common/ApiErrorException.cs start line: 16 end line: 25 size: 3 LOC McCabe index: 1 number of parameters: 2 id: 46 unit: public componentWillUnmount() file: src/Unosquare.PassCore.Web/ClientApp/Components/GoogleReCaptcha/GoogleReCaptcha.tsx start line: 59 end line: 61 size: 3 LOC McCabe index: 1 number of parameters: 0 id: 47 unit: public componentDidMount() file: src/Unosquare.PassCore.Web/ClientApp/Components/GoogleReCaptcha/GoogleReCaptcha.tsx start line: 63 end line: 65 size: 3 LOC McCabe index: 1 number of parameters: 0 id: 48 unit: public shouldComponentUpdate() file: src/Unosquare.PassCore.Web/ClientApp/Components/GoogleReCaptcha/GoogleReCaptcha.tsx start line: 83 end line: 85 size: 3 LOC McCabe index: 2 number of parameters: 2