id: 1 unit: applyMedia = function() file: OAuthWebSample/OAuthWebSample/Scripts/respond.js start line: 220 end line: 291 size: 55 LOC McCabe index: 27 number of parameters: 1 id: 2 unit: (function( win )() file: OAuthWebSample/OAuthWebSample/Scripts/respond.js start line: 48 end line: 340 size: 40 LOC McCabe index: 7 number of parameters: 1 id: 3 unit: public async Task RefreshToken() file: OAuthWebSample/OAuthWebSample/Controllers/OAuthController.cs start line: 159 end line: 203 size: 37 LOC McCabe index: 4 number of parameters: 1 id: 4 unit: public async Task Callback() file: OAuthWebSample/OAuthWebSample/Controllers/OAuthController.cs start line: 65 end line: 109 size: 36 LOC McCabe index: 4 number of parameters: 2 id: 5 unit: private static bool ValidateCallbackValues() file: OAuthWebSample/OAuthWebSample/Controllers/OAuthController.cs start line: 118 end line: 152 size: 33 LOC McCabe index: 5 number of parameters: 3 id: 6 unit: translate = function() file: OAuthWebSample/OAuthWebSample/Scripts/respond.js start line: 122 end line: 177 size: 33 LOC McCabe index: 17 number of parameters: 3 id: 7 unit: private static void ListProjects() file: ManagedClientConsoleAppSample/Program.cs start line: 88 end line: 119 size: 27 LOC McCabe index: 3 number of parameters: 1 id: 8 unit: ripCSS = function() file: OAuthWebSample/OAuthWebSample/Scripts/respond.js start line: 75 end line: 106 size: 27 LOC McCabe index: 11 number of parameters: 0 id: 9 unit: private static void ListProjects() file: DeviceProfileSample/Program.cs start line: 102 end line: 132 size: 26 LOC McCabe index: 3 number of parameters: 1 id: 10 unit: private static async Task SignInUserAndGetTokenUsingMSAL() file: DeviceProfileSample/Program.cs start line: 60 end line: 96 size: 22 LOC McCabe index: 2 number of parameters: 1 id: 11 unit: getEmValue = function() file: OAuthWebSample/OAuthWebSample/Scripts/respond.js start line: 184 end line: 214 size: 22 LOC McCabe index: 3 number of parameters: 0 id: 12 unit: private static async Task SignInUserAndGetTokenUsingMSAL() file: ManagedClientConsoleAppSample/Program.cs start line: 58 end line: 82 size: 21 LOC McCabe index: 2 number of parameters: 1 id: 13 unit: def pat_put() file: PersonalAccessTokenAPIAppSample/app.py start line: 0 end line: 0 size: 20 LOC McCabe index: 7 number of parameters: 0 id: 14 unit: public static void Main() file: NonInteractivePatGenerationSample/NonInteractivePatGenerationSample/Program.cs start line: 16 end line: 40 size: 19 LOC McCabe index: 1 number of parameters: 1 id: 15 unit: def pat_post() file: PersonalAccessTokenAPIAppSample/app.py start line: 0 end line: 0 size: 19 LOC McCabe index: 6 number of parameters: 0 id: 16 unit: static void Main() file: ClientLibraryConsoleAppSample/Program.cs start line: 19 end line: 41 size: 18 LOC McCabe index: 4 number of parameters: 1 id: 17 unit: static void Main() file: ClientLibraryPatAppSample/Program.cs start line: 20 end line: 42 size: 18 LOC McCabe index: 4 number of parameters: 1 id: 18 unit: function callApiWithToken() file: JavascriptWebAppSample/fetch.js start line: 5 end line: 26 size: 18 LOC McCabe index: 1 number of parameters: 3 id: 19 unit: public static void Main() file: DualSupportClientSample/Program.cs start line: 16 end line: 34 size: 17 LOC McCabe index: 3 number of parameters: 1 id: 20 unit: public static async Task Main() file: DeviceProfileSample/Program.cs start line: 34 end line: 52 size: 16 LOC McCabe index: 2 number of parameters: 1 id: 21 unit: public static async Task Main() file: ManagedClientConsoleAppSample/Program.cs start line: 33 end line: 51 size: 16 LOC McCabe index: 2 number of parameters: 1 id: 22 unit: def authorized() file: PersonalAccessTokenAPIAppSample/app.py start line: 0 end line: 0 size: 16 LOC McCabe index: 5 number of parameters: 0 id: 23 unit: def pat_delete() file: PersonalAccessTokenAPIAppSample/app.py start line: 0 end line: 0 size: 15 LOC McCabe index: 3 number of parameters: 0 id: 24 unit: public static void RegisterBundles() file: OAuthWebSample/OAuthWebSample/App_Start/BundleConfig.cs start line: 9 end line: 26 size: 13 LOC McCabe index: 1 number of parameters: 1 id: 25 unit: function getTokenRedirect() file: JavascriptWebAppSample/app.js start line: 98 end line: 115 size: 12 LOC McCabe index: 2 number of parameters: 1 id: 26 unit: private static String GetAuthorizationUrl() file: OAuthWebSample/OAuthWebSample/Controllers/OAuthController.cs start line: 43 end line: 57 size: 12 LOC McCabe index: 1 number of parameters: 1 id: 27 unit: function selectAccount() file: JavascriptWebAppSample/app.js start line: 18 end line: 36 size: 11 LOC McCabe index: 5 number of parameters: 0 id: 28 unit: def pat_get() file: PersonalAccessTokenAPIAppSample/app.py start line: 0 end line: 0 size: 11 LOC McCabe index: 2 number of parameters: 0 id: 29 unit: function welcomeUser() file: JavascriptWebAppSample/ui.js start line: 12 end line: 20 size: 9 LOC McCabe index: 1 number of parameters: 1 id: 30 unit: public static void RegisterRoutes() file: OAuthWebSample/OAuthWebSample/App_Start/RouteConfig.cs start line: 12 end line: 21 size: 9 LOC McCabe index: 1 number of parameters: 1 id: 31 unit: def pat_get_all() file: PersonalAccessTokenAPIAppSample/app.py start line: 0 end line: 0 size: 9 LOC McCabe index: 2 number of parameters: 0 id: 32 unit: function handleResponse() file: JavascriptWebAppSample/app.js start line: 38 end line: 71 size: 8 LOC McCabe index: 2 number of parameters: 1 id: 33 unit: function passTokenToApi() file: JavascriptWebAppSample/app.js start line: 118 end line: 125 size: 8 LOC McCabe index: 1 number of parameters: 0 id: 34 unit: def handle_input() file: PersonalAccessTokenAPIAppSample/app.py start line: 0 end line: 0 size: 8 LOC McCabe index: 3 number of parameters: 0 id: 35 unit: def _get_token_from_cache() file: PersonalAccessTokenAPIAppSample/app.py start line: 0 end line: 0 size: 8 LOC McCabe index: 2 number of parameters: 1 id: 36 unit: public ActionResult Index() file: OAuthWebSample/OAuthWebSample/Controllers/HomeController.cs start line: 11 end line: 18 size: 7 LOC McCabe index: 1 number of parameters: 0 id: 37 unit: protected void Application_Start() file: OAuthWebSample/OAuthWebSample/Global.asax.cs start line: 13 end line: 19 size: 7 LOC McCabe index: 1 number of parameters: 0 id: 38 unit: function signOut() file: JavascriptWebAppSample/app.js start line: 83 end line: 96 size: 6 LOC McCabe index: 1 number of parameters: 0 id: 39 unit: public ActionResult Authorize() file: OAuthWebSample/OAuthWebSample/Controllers/OAuthController.cs start line: 29 end line: 36 size: 6 LOC McCabe index: 1 number of parameters: 0 id: 40 unit: req.onreadystatechange = function() file: OAuthWebSample/OAuthWebSample/Scripts/respond.js start line: 299 end line: 304 size: 6 LOC McCabe index: 4 number of parameters: 0 id: 41 unit: public ActionResult About() file: OAuthWebSample/OAuthWebSample/Controllers/HomeController.cs start line: 20 end line: 25 size: 5 LOC McCabe index: 1 number of parameters: 0 id: 42 unit: public ActionResult Contact() file: OAuthWebSample/OAuthWebSample/Controllers/HomeController.cs start line: 27 end line: 32 size: 5 LOC McCabe index: 1 number of parameters: 0 id: 43 unit: makeRequests = function() file: OAuthWebSample/OAuthWebSample/Scripts/respond.js start line: 109 end line: 119 size: 5 LOC McCabe index: 2 number of parameters: 0 id: 44 unit: ajax() file: OAuthWebSample/OAuthWebSample/Scripts/respond.js start line: 113 end line: 117 size: 5 LOC McCabe index: 1 number of parameters: 2 id: 45 unit: ajax = function() file: OAuthWebSample/OAuthWebSample/Scripts/respond.js start line: 293 end line: 309 size: 5 LOC McCabe index: 3 number of parameters: 2 id: 46 unit: def logout() file: PersonalAccessTokenAPIAppSample/app.py start line: 0 end line: 0 size: 5 LOC McCabe index: 2 number of parameters: 0 id: 47 unit: def _load_cache() file: PersonalAccessTokenAPIAppSample/app.py start line: 0 end line: 0 size: 5 LOC McCabe index: 2 number of parameters: 0 id: 48 unit: def _build_msal_app() file: PersonalAccessTokenAPIAppSample/app.py start line: 0 end line: 0 size: 5 LOC McCabe index: 4 number of parameters: 2 id: 49 unit: def _build_auth_url() file: PersonalAccessTokenAPIAppSample/app.py start line: 0 end line: 0 size: 5 LOC McCabe index: 3 number of parameters: 3 id: 50 unit: public static void RegisterGlobalFilters() file: OAuthWebSample/OAuthWebSample/App_Start/FilterConfig.cs start line: 8 end line: 11 size: 4 LOC McCabe index: 1 number of parameters: 1 id: 51 unit: def index() file: PersonalAccessTokenAPIAppSample/app.py start line: 0 end line: 0 size: 4 LOC McCabe index: 2 number of parameters: 0 id: 52 unit: def login() file: PersonalAccessTokenAPIAppSample/app.py start line: 0 end line: 0 size: 4 LOC McCabe index: 1 number of parameters: 0 id: 53 unit: function signIn() file: JavascriptWebAppSample/app.js start line: 73 end line: 81 size: 3 LOC McCabe index: 1 number of parameters: 0 id: 54 unit: function logMessage() file: JavascriptWebAppSample/ui.js start line: 22 end line: 24 size: 3 LOC McCabe index: 1 number of parameters: 1 id: 55 unit: repUrls = function() file: OAuthWebSample/OAuthWebSample/Scripts/respond.js start line: 127 end line: 129 size: 3 LOC McCabe index: 1 number of parameters: 1 id: 56 unit: function callMedia() file: OAuthWebSample/OAuthWebSample/Scripts/respond.js start line: 331 end line: 333 size: 3 LOC McCabe index: 1 number of parameters: 0 id: 57 unit: def _save_cache() file: PersonalAccessTokenAPIAppSample/app.py start line: 0 end line: 0 size: 3 LOC McCabe index: 2 number of parameters: 1