id: 1 unit: private static void InitializeMaps() file: CustomSecuritySample2016/Authorization.cs start line: 517 end line: 740 size: 203 LOC McCabe index: 8 number of parameters: 0 id: 2 unit: private static void InitializeMaps() file: CustomSecuritySample/Authorization.cs start line: 470 end line: 654 size: 154 LOC McCabe index: 24 number of parameters: 0 id: 3 unit: public StringCollection GetPermissions() file: CustomSecuritySample2016/Authorization.cs start line: 382 end line: 479 size: 97 LOC McCabe index: 34 number of parameters: 4 id: 4 unit: public StringCollection GetPermissions() file: CustomSecuritySample/Authorization.cs start line: 383 end line: 439 size: 56 LOC McCabe index: 18 number of parameters: 4 id: 5 unit: async uploadFileAsync() file: APISamples/typescript/src/api.ts start line: 49 end line: 93 size: 43 LOC McCabe index: 13 number of parameters: 1 id: 6 unit: render() file: APISamples/typescript/src/home.tsx start line: 31 end line: 68 size: 37 LOC McCabe index: 2 number of parameters: 0 id: 7 unit: internal static bool VerifyPassword() file: CustomSecuritySample/AuthenticationUtilities.cs start line: 114 end line: 159 size: 37 LOC McCabe index: 2 number of parameters: 2 id: 8 unit: internal static bool VerifyPassword() file: CustomSecuritySample2016/AuthenticationUtilities.cs start line: 114 end line: 159 size: 37 LOC McCabe index: 2 number of parameters: 2 id: 9 unit: private void ServerBtnLogon_Click() file: CustomSecuritySample/Logon.aspx.cs start line: 102 end line: 142 size: 35 LOC McCabe index: 4 number of parameters: 2 id: 10 unit: private void ServerBtnLogon_Click() file: CustomSecuritySample2016/Logon.aspx.cs start line: 102 end line: 142 size: 35 LOC McCabe index: 4 number of parameters: 2 id: 11 unit: internal static void StoreAccountDetails() file: CustomSecuritySample/AuthenticationUtilities.cs start line: 74 end line: 109 size: 32 LOC McCabe index: 5 number of parameters: 3 id: 12 unit: internal static void StoreAccountDetails() file: CustomSecuritySample2016/AuthenticationUtilities.cs start line: 74 end line: 109 size: 32 LOC McCabe index: 5 number of parameters: 3 id: 13 unit: public static bool VerifyUser() file: CustomSecuritySample/AuthenticationExtension.cs start line: 146 end line: 178 size: 30 LOC McCabe index: 3 number of parameters: 1 id: 14 unit: public static bool VerifyUser() file: CustomSecuritySample2016/AuthenticationExtension.cs start line: 141 end line: 173 size: 30 LOC McCabe index: 3 number of parameters: 1 id: 15 unit: render() file: APISamples/typescript/src/navbar.tsx start line: 16 end line: 42 size: 27 LOC McCabe index: 2 number of parameters: 0 id: 16 unit: public bool CheckAccess() file: CustomSecuritySample/Authorization.cs start line: 215 end line: 241 size: 25 LOC McCabe index: 6 number of parameters: 4 id: 17 unit: public bool CheckAccess() file: CustomSecuritySample/Authorization.cs start line: 244 end line: 271 size: 25 LOC McCabe index: 6 number of parameters: 4 id: 18 unit: public bool CheckAccess() file: CustomSecuritySample/Authorization.cs start line: 289 end line: 316 size: 25 LOC McCabe index: 6 number of parameters: 4 id: 19 unit: public bool CheckAccess() file: CustomSecuritySample/Authorization.cs start line: 339 end line: 366 size: 25 LOC McCabe index: 6 number of parameters: 4 id: 20 unit: public bool CheckAccess() file: CustomSecuritySample2016/Authorization.cs start line: 214 end line: 240 size: 25 LOC McCabe index: 6 number of parameters: 4 id: 21 unit: public bool CheckAccess() file: CustomSecuritySample2016/Authorization.cs start line: 243 end line: 270 size: 25 LOC McCabe index: 6 number of parameters: 4 id: 22 unit: public bool CheckAccess() file: CustomSecuritySample2016/Authorization.cs start line: 288 end line: 315 size: 25 LOC McCabe index: 6 number of parameters: 4 id: 23 unit: public bool CheckAccess() file: CustomSecuritySample2016/Authorization.cs start line: 338 end line: 365 size: 25 LOC McCabe index: 6 number of parameters: 4 id: 24 unit: public bool CheckAccess() file: CustomSecuritySample/Authorization.cs start line: 75 end line: 110 size: 24 LOC McCabe index: 6 number of parameters: 4 id: 25 unit: public bool CheckAccess() file: CustomSecuritySample/Authorization.cs start line: 112 end line: 147 size: 24 LOC McCabe index: 6 number of parameters: 4 id: 26 unit: public bool CheckAccess() file: CustomSecuritySample/Authorization.cs start line: 162 end line: 197 size: 24 LOC McCabe index: 6 number of parameters: 4 id: 27 unit: private void BtnRegister_Click() file: CustomSecuritySample/Logon.aspx.cs start line: 75 end line: 99 size: 24 LOC McCabe index: 3 number of parameters: 2 id: 28 unit: public bool CheckAccess() file: CustomSecuritySample2016/Authorization.cs start line: 74 end line: 109 size: 24 LOC McCabe index: 6 number of parameters: 4 id: 29 unit: public bool CheckAccess() file: CustomSecuritySample2016/Authorization.cs start line: 111 end line: 146 size: 24 LOC McCabe index: 6 number of parameters: 4 id: 30 unit: public bool CheckAccess() file: CustomSecuritySample2016/Authorization.cs start line: 161 end line: 196 size: 24 LOC McCabe index: 6 number of parameters: 4 id: 31 unit: private void BtnRegister_Click() file: CustomSecuritySample2016/Logon.aspx.cs start line: 75 end line: 99 size: 24 LOC McCabe index: 3 number of parameters: 2 id: 32 unit: public void SetConfiguration() file: CustomSecuritySample/Authorization.cs start line: 678 end line: 702 size: 23 LOC McCabe index: 4 number of parameters: 1 id: 33 unit: public void SetConfiguration() file: CustomSecuritySample2016/Authorization.cs start line: 749 end line: 773 size: 23 LOC McCabe index: 4 number of parameters: 1 id: 34 unit: private getFileInfo() file: APISamples/typescript/src/api.ts start line: 95 end line: 113 size: 17 LOC McCabe index: 1 number of parameters: 1 id: 35 unit: public bool CheckAccess() file: CustomSecuritySample/Authorization.cs start line: 319 end line: 336 size: 16 LOC McCabe index: 4 number of parameters: 4 id: 36 unit: public bool CheckAccess() file: CustomSecuritySample2016/Authorization.cs start line: 318 end line: 335 size: 16 LOC McCabe index: 4 number of parameters: 4 id: 37 unit: public void GetUserInfo() file: CustomSecuritySample/AuthenticationExtension.cs start line: 93 end line: 114 size: 13 LOC McCabe index: 3 number of parameters: 2 id: 38 unit: public bool CheckAccess() file: CustomSecuritySample/Authorization.cs start line: 200 end line: 212 size: 13 LOC McCabe index: 3 number of parameters: 4 id: 39 unit: public bool CheckAccess() file: CustomSecuritySample/Authorization.cs start line: 274 end line: 286 size: 13 LOC McCabe index: 3 number of parameters: 4 id: 40 unit: private AceCollection DeserializeAcl() file: CustomSecuritySample/Authorization.cs start line: 443 end line: 455 size: 13 LOC McCabe index: 2 number of parameters: 1 id: 41 unit: public void GetUserInfo() file: CustomSecuritySample2016/AuthenticationExtension.cs start line: 88 end line: 109 size: 13 LOC McCabe index: 3 number of parameters: 2 id: 42 unit: public bool CheckAccess() file: CustomSecuritySample2016/Authorization.cs start line: 199 end line: 211 size: 13 LOC McCabe index: 3 number of parameters: 4 id: 43 unit: public bool CheckAccess() file: CustomSecuritySample2016/Authorization.cs start line: 273 end line: 285 size: 13 LOC McCabe index: 3 number of parameters: 4 id: 44 unit: private AceCollection DeserializeAcl() file: CustomSecuritySample2016/Authorization.cs start line: 483 end line: 495 size: 13 LOC McCabe index: 2 number of parameters: 1 id: 45 unit: private bool IsAdmin() file: CustomSecuritySample/Authorization.cs start line: 656 end line: 669 size: 12 LOC McCabe index: 3 number of parameters: 1 id: 46 unit: internal static string CreateSalt() file: CustomSecuritySample/AuthenticationUtilities.cs start line: 48 end line: 57 size: 10 LOC McCabe index: 1 number of parameters: 1 id: 47 unit: internal static string CreateSalt() file: CustomSecuritySample2016/AuthenticationUtilities.cs start line: 48 end line: 57 size: 10 LOC McCabe index: 1 number of parameters: 1 id: 48 unit: constructor() file: APISamples/typescript/src/api.ts start line: 7 end line: 15 size: 9 LOC McCabe index: 1 number of parameters: 1 id: 49 unit: public void GetUserInfo() file: CustomSecuritySample/AuthenticationExtension.cs start line: 117 end line: 127 size: 9 LOC McCabe index: 2 number of parameters: 3 id: 50 unit: internal static string CreatePasswordHash() file: CustomSecuritySample/AuthenticationUtilities.cs start line: 60 end line: 69 size: 9 LOC McCabe index: 1 number of parameters: 2 id: 51 unit: public void GetUserInfo() file: CustomSecuritySample2016/AuthenticationExtension.cs start line: 112 end line: 122 size: 9 LOC McCabe index: 2 number of parameters: 3 id: 52 unit: internal static string CreatePasswordHash() file: CustomSecuritySample2016/AuthenticationUtilities.cs start line: 60 end line: 69 size: 9 LOC McCabe index: 1 number of parameters: 2 id: 53 unit: public void SetConfiguration() file: CustomSecuritySample/AuthenticationExtension.cs start line: 45 end line: 52 size: 8 LOC McCabe index: 2 number of parameters: 1 id: 54 unit: internal static bool ValidateUserName() file: CustomSecuritySample/AuthenticationUtilities.cs start line: 166 end line: 173 size: 8 LOC McCabe index: 1 number of parameters: 1 id: 55 unit: internal static bool ValidateUserName() file: CustomSecuritySample2016/AuthenticationUtilities.cs start line: 166 end line: 173 size: 8 LOC McCabe index: 1 number of parameters: 1 id: 56 unit: async postCatalogItemAsync() file: APISamples/typescript/src/api.ts start line: 35 end line: 40 size: 6 LOC McCabe index: 1 number of parameters: 1 id: 57 unit: async meAsync() file: APISamples/typescript/src/api.ts start line: 42 end line: 47 size: 6 LOC McCabe index: 1 number of parameters: 0 id: 58 unit: private void InitializeComponent() file: CustomSecuritySample/Logon.aspx.cs start line: 65 end line: 71 size: 6 LOC McCabe index: 1 number of parameters: 0 id: 59 unit: private void InitializeComponent() file: CustomSecuritySample2016/Logon.aspx.cs start line: 65 end line: 71 size: 6 LOC McCabe index: 1 number of parameters: 0 id: 60 unit: async getFolderItemsAsync() file: APISamples/typescript/src/api.ts start line: 29 end line: 33 size: 5 LOC McCabe index: 1 number of parameters: 1 id: 61 unit: componentWillReceiveProps() file: APISamples/typescript/src/home.tsx start line: 25 end line: 29 size: 5 LOC McCabe index: 1 number of parameters: 1 id: 62 unit: override protected void OnInit() file: CustomSecuritySample/Logon.aspx.cs start line: 59 end line: 63 size: 5 LOC McCabe index: 1 number of parameters: 1 id: 63 unit: override protected void OnInit() file: CustomSecuritySample2016/Logon.aspx.cs start line: 59 end line: 63 size: 5 LOC McCabe index: 1 number of parameters: 1 id: 64 unit: constructor() file: APISamples/typescript/src/home.tsx start line: 15 end line: 18 size: 4 LOC McCabe index: 1 number of parameters: 0 id: 65 unit: componentDidMount() file: APISamples/typescript/src/home.tsx start line: 20 end line: 23 size: 4 LOC McCabe index: 1 number of parameters: 0 id: 66 unit: public bool LogonUser() file: CustomSecuritySample/AuthenticationExtension.cs start line: 76 end line: 79 size: 4 LOC McCabe index: 1 number of parameters: 3 id: 67 unit: public bool IsValidPrincipalName() file: CustomSecuritySample/AuthenticationExtension.cs start line: 139 end line: 142 size: 4 LOC McCabe index: 1 number of parameters: 1 id: 68 unit: static Authorization() file: CustomSecuritySample/Authorization.cs start line: 40 end line: 43 size: 4 LOC McCabe index: 1 number of parameters: 0 id: 69 unit: public bool LogonUser() file: CustomSecuritySample2016/AuthenticationExtension.cs start line: 71 end line: 74 size: 4 LOC McCabe index: 1 number of parameters: 3 id: 70 unit: public bool IsValidPrincipalName() file: CustomSecuritySample2016/AuthenticationExtension.cs start line: 134 end line: 137 size: 4 LOC McCabe index: 1 number of parameters: 1 id: 71 unit: static Authorization() file: CustomSecuritySample2016/Authorization.cs start line: 39 end line: 42 size: 4 LOC McCabe index: 1 number of parameters: 0 id: 72 unit: private void Page_Load() file: CustomSecuritySample/Logon.aspx.cs start line: 53 end line: 56 size: 3 LOC McCabe index: 1 number of parameters: 2 id: 73 unit: public void SetConfiguration() file: CustomSecuritySample2016/AuthenticationExtension.cs start line: 44 end line: 47 size: 3 LOC McCabe index: 1 number of parameters: 1 id: 74 unit: private void Page_Load() file: CustomSecuritySample2016/Logon.aspx.cs start line: 53 end line: 56 size: 3 LOC McCabe index: 1 number of parameters: 2