id: 1 unit: async function redirectToSpotifyAuthorize() file: authorization/authorization_code_pkce/public/app.js start line: 65 end line: 93 size: 24 LOC McCabe index: 1 number of parameters: 0 id: 2 unit: function renderTemplate() file: authorization/authorization_code_pkce/public/app.js start line: 158 end line: 187 size: 24 LOC McCabe index: 6 number of parameters: 3 id: 3 unit: async function getToken() file: authorization/authorization_code_pkce/public/app.js start line: 96 end line: 114 size: 17 LOC McCabe index: 1 number of parameters: 1 id: 4 unit: export async function getAccessToken() file: get_user_profile/src/authCodeWithPkce.ts start line: 18 end line: 36 size: 16 LOC McCabe index: 1 number of parameters: 2 id: 5 unit: async function refreshToken() file: authorization/authorization_code_pkce/public/app.js start line: 116 end line: 130 size: 14 LOC McCabe index: 1 number of parameters: 0 id: 6 unit: export async function redirectToAuthCodeFlow() file: get_user_profile/src/authCodeWithPkce.ts start line: 1 end line: 16 size: 13 LOC McCabe index: 1 number of parameters: 1 id: 7 unit: async function getToken() file: authorization/client_credentials/app.js start line: 13 end line: 26 size: 13 LOC McCabe index: 1 number of parameters: 0 id: 8 unit: function populateUI() file: get_user_profile/src/script.ts start line: 25 end line: 35 size: 11 LOC McCabe index: 1 number of parameters: 1 id: 9 unit: save: function() file: authorization/authorization_code_pkce/public/app.js start line: 24 end line: 33 size: 9 LOC McCabe index: 1 number of parameters: 1 id: 10 unit: function generateCodeVerifier() file: get_user_profile/src/authCodeWithPkce.ts start line: 38 end line: 46 size: 8 LOC McCabe index: 2 number of parameters: 1 id: 11 unit: async function generateCodeChallenge() file: get_user_profile/src/authCodeWithPkce.ts start line: 48 end line: 55 size: 8 LOC McCabe index: 1 number of parameters: 1 id: 12 unit: async function getTrackInfo() file: authorization/client_credentials/app.js start line: 28 end line: 35 size: 7 LOC McCabe index: 1 number of parameters: 1 id: 13 unit: async function getUserData() file: authorization/authorization_code_pkce/public/app.js start line: 132 end line: 139 size: 7 LOC McCabe index: 1 number of parameters: 0 id: 14 unit: async function fetchProfile() file: get_user_profile/src/script.ts start line: 17 end line: 23 size: 6 LOC McCabe index: 1 number of parameters: 1 id: 15 unit: async function refreshTokenClick() file: authorization/authorization_code_pkce/public/app.js start line: 151 end line: 155 size: 5 LOC McCabe index: 1 number of parameters: 0 id: 16 unit: async function logoutClick() file: authorization/authorization_code_pkce/public/app.js start line: 146 end line: 149 size: 4 LOC McCabe index: 1 number of parameters: 0 id: 17 unit: async function loginWithSpotifyClick() file: authorization/authorization_code_pkce/public/app.js start line: 142 end line: 144 size: 3 LOC McCabe index: 1 number of parameters: 0