id: 1 unit: function SpotifySearch() file: example_next/src/app/page.tsx start line: 29 end line: 65 size: 34 LOC McCabe index: 3 number of parameters: 1 id: 2 unit: public async makeRequest() file: src/SpotifyApi.ts start line: 77 end line: 114 size: 33 LOC McCabe index: 7 number of parameters: 4 id: 3 unit: private async getTokenFromApi() file: src/auth/ClientCredentialsStrategy.ts start line: 47 end line: 76 size: 25 LOC McCabe index: 3 number of parameters: 0 id: 4 unit: export function useSpotify() file: example_react/src/hooks/useSpotify.ts start line: 4 end line: 34 size: 24 LOC McCabe index: 6 number of parameters: 4 id: 5 unit: public async addCustomPlaylistCoverImage() file: src/endpoints/PlaylistsEndpoints.ts start line: 59 end line: 83 size: 23 LOC McCabe index: 6 number of parameters: 2 id: 6 unit: private async redirectOrVerifyToken() file: src/auth/ImplicitGrantStrategy.ts start line: 45 end line: 72 size: 23 LOC McCabe index: 3 number of parameters: 0 id: 7 unit: public async get() file: src/caching/GenericCache.ts start line: 43 end line: 71 size: 22 LOC McCabe index: 11 number of parameters: 1 id: 8 unit: public constructor() file: src/SpotifyApi.ts start line: 52 end line: 75 size: 21 LOC McCabe index: 1 number of parameters: 2 id: 9 unit: public async getOrCreate() file: src/caching/GenericCache.ts start line: 17 end line: 41 size: 21 LOC McCabe index: 5 number of parameters: 2 id: 10 unit: protected async exchangeCodeForToken() file: src/auth/AuthorizationCodeWithPKCEStrategy.ts start line: 109 end line: 131 size: 19 LOC McCabe index: 3 number of parameters: 2 id: 11 unit: public async getAccessToken() file: example_next/src/lib/spotify-sdk/ClientInstance.ts start line: 22 end line: 42 size: 18 LOC McCabe index: 3 number of parameters: 0 id: 12 unit: public albums() file: src/endpoints/ArtistsEndpoints.ts start line: 27 end line: 43 size: 17 LOC McCabe index: 1 number of parameters: 5 id: 13 unit: private static async refreshToken() file: src/auth/AccessTokenHelpers.ts start line: 22 end line: 42 size: 17 LOC McCabe index: 2 number of parameters: 2 id: 14 unit: private initializeSdk() file: src/SpotifyApi.ts start line: 116 end line: 133 size: 16 LOC McCabe index: 2 number of parameters: 1 id: 15 unit: public static async performUserAuthorization() file: src/SpotifyApi.ts start line: 212 end line: 236 size: 16 LOC McCabe index: 4 number of parameters: 4 id: 16 unit: public async validateResponse() file: src/responsevalidation/DefaultResponseValidator.ts start line: 4 end line: 21 size: 16 LOC McCabe index: 5 number of parameters: 1 id: 17 unit: public async getOrCreateAccessToken() file: src/auth/ClientCredentialsStrategy.ts start line: 22 end line: 36 size: 14 LOC McCabe index: 1 number of parameters: 0 id: 18 unit: public static async generateCodeChallenge() file: src/auth/AccessTokenHelpers.ts start line: 54 end line: 69 size: 13 LOC McCabe index: 2 number of parameters: 1 id: 19 unit: export default defineConfig() file: vite.config.ts start line: 3 end line: 15 size: 13 LOC McCabe index: 1 number of parameters: 10 id: 20 unit: public getRecentlyPlayedTracks() file: src/endpoints/PlayerEndpoints.ts start line: 25 end line: 38 size: 12 LOC McCabe index: 4 number of parameters: 2 id: 21 unit: public async getOrCreateAccessToken() file: src/auth/ImplicitGrantStrategy.ts start line: 22 end line: 34 size: 12 LOC McCabe index: 1 number of parameters: 0 id: 22 unit: public async getOrCreateAccessToken() file: src/auth/AuthorizationCodeWithPKCEStrategy.ts start line: 27 end line: 39 size: 12 LOC McCabe index: 1 number of parameters: 0 id: 23 unit: public get() file: src/endpoints/TracksEndpoints.ts start line: 6 end line: 18 size: 11 LOC McCabe index: 2 number of parameters: 2 id: 24 unit: public get() file: src/endpoints/EpisodesEndpoints.ts start line: 6 end line: 17 size: 11 LOC McCabe index: 2 number of parameters: 2 id: 25 unit: private async autoRenewRenewableItems() file: src/caching/GenericCache.ts start line: 100 end line: 111 size: 11 LOC McCabe index: 4 number of parameters: 0 id: 26 unit: private async redirectOrVerifyToken() file: src/auth/AuthorizationCodeWithPKCEStrategy.ts start line: 50 end line: 62 size: 11 LOC McCabe index: 2 number of parameters: 0 id: 27 unit: protected async generateRedirectUrlForUser() file: src/auth/AuthorizationCodeWithPKCEStrategy.ts start line: 95 end line: 107 size: 11 LOC McCabe index: 1 number of parameters: 2 id: 28 unit: public static get all() file: src/Scopes.ts start line: 100 end line: 109 size: 10 LOC McCabe index: 1 number of parameters: 0 id: 29 unit: public get() file: src/endpoints/TracksEndpoints.ts start line: 7 end line: 18 size: 10 LOC McCabe index: 2 number of parameters: 2 id: 30 unit: public audioFeatures() file: src/endpoints/TracksEndpoints.ts start line: 20 end line: 29 size: 10 LOC McCabe index: 2 number of parameters: 1 id: 31 unit: public get() file: src/endpoints/EpisodesEndpoints.ts start line: 7 end line: 17 size: 10 LOC McCabe index: 2 number of parameters: 2 id: 32 unit: public get() file: src/endpoints/ShowsEndpoints.ts start line: 7 end line: 18 size: 10 LOC McCabe index: 2 number of parameters: 2 id: 33 unit: public async get() file: src/endpoints/AlbumsEndpoints.ts start line: 8 end line: 19 size: 10 LOC McCabe index: 2 number of parameters: 2 id: 34 unit: private async tryUpdateItem() file: src/caching/GenericCache.ts start line: 113 end line: 122 size: 10 LOC McCabe index: 3 number of parameters: 3 id: 35 unit: function App() file: example_react/src/App.tsx start line: 6 end line: 17 size: 10 LOC McCabe index: 2 number of parameters: 0 id: 36 unit: export default function Home() file: example_next/src/app/page.tsx start line: 8 end line: 18 size: 10 LOC McCabe index: 3 number of parameters: 0 id: 37 unit: public async get() file: src/endpoints/ChaptersEndpoints.ts start line: 10 end line: 20 size: 9 LOC McCabe index: 2 number of parameters: 2 id: 38 unit: public async get() file: src/endpoints/TracksEndpoints.ts start line: 8 end line: 18 size: 9 LOC McCabe index: 2 number of parameters: 2 id: 39 unit: public audioFeatures() file: src/endpoints/TracksEndpoints.ts start line: 21 end line: 29 size: 9 LOC McCabe index: 2 number of parameters: 1 id: 40 unit: public async get() file: src/endpoints/ArtistsEndpoints.ts start line: 16 end line: 25 size: 9 LOC McCabe index: 2 number of parameters: 1 id: 41 unit: public async get() file: src/endpoints/EpisodesEndpoints.ts start line: 8 end line: 17 size: 9 LOC McCabe index: 2 number of parameters: 2 id: 42 unit: public async get() file: src/endpoints/ShowsEndpoints.ts start line: 8 end line: 18 size: 9 LOC McCabe index: 2 number of parameters: 2 id: 43 unit: public async get() file: src/endpoints/AudiobooksEndpoints.ts start line: 7 end line: 16 size: 9 LOC McCabe index: 2 number of parameters: 2 id: 44 unit: protected paramsFor() file: src/endpoints/EndpointsBase.ts start line: 23 end line: 31 size: 9 LOC McCabe index: 7 number of parameters: 1 id: 45 unit: constructor() file: src/endpoints/CurrentUserEndpoints.ts start line: 13 end line: 22 size: 9 LOC McCabe index: 1 number of parameters: 1 id: 46 unit: private itemDueToExpire() file: src/caching/GenericCache.ts start line: 88 end line: 98 size: 9 LOC McCabe index: 3 number of parameters: 1 id: 47 unit: public removeAccessToken() file: src/auth/ProvidedAccessTokenStrategy.ts start line: 51 end line: 59 size: 9 LOC McCabe index: 1 number of parameters: 0 id: 48 unit: private async verifyAndExchangeCode() file: src/auth/AuthorizationCodeWithPKCEStrategy.ts start line: 75 end line: 85 size: 9 LOC McCabe index: 2 number of parameters: 1 id: 49 unit: public async audioFeatures() file: src/endpoints/TracksEndpoints.ts start line: 22 end line: 29 size: 8 LOC McCabe index: 2 number of parameters: 1 id: 50 unit: public async deserialize() file: src/serialization/DefaultResponseDeserializer.ts start line: 4 end line: 13 size: 8 LOC McCabe index: 2 number of parameters: 1 id: 51 unit: private static tryLoadNodeWebCrypto() file: src/auth/Crypto.ts start line: 10 end line: 19 size: 8 LOC McCabe index: 2 number of parameters: 0 id: 52 unit: public static generateCodeVerifier() file: src/auth/AccessTokenHelpers.ts start line: 44 end line: 52 size: 8 LOC McCabe index: 2 number of parameters: 1 id: 53 unit: private async redirectToSpotify() file: src/auth/AuthorizationCodeWithPKCEStrategy.ts start line: 64 end line: 73 size: 8 LOC McCabe index: 1 number of parameters: 0 id: 54 unit: export default defineConfig() file: example_react/vite.config.ts start line: 5 end line: 12 size: 8 LOC McCabe index: 1 number of parameters: 1 id: 55 unit: public async authenticate() file: src/SpotifyApi.ts start line: 144 end line: 151 size: 7 LOC McCabe index: 2 number of parameters: 0 id: 56 unit: await fetch() file: src/SpotifyApi.ts start line: 220 end line: 226 size: 7 LOC McCabe index: 1 number of parameters: 4 id: 57 unit: public static get playlistModify() file: src/Scopes.ts start line: 17 end line: 23 size: 7 LOC McCabe index: 1 number of parameters: 0 id: 58 unit: public static get userPlaybackRead() file: src/Scopes.ts start line: 84 end line: 90 size: 7 LOC McCabe index: 1 number of parameters: 0 id: 59 unit: public static get userPlaybackModify() file: src/Scopes.ts start line: 92 end line: 98 size: 7 LOC McCabe index: 1 number of parameters: 0 id: 60 unit: public movePlaylistItems() file: src/endpoints/PlaylistsEndpoints.ts start line: 26 end line: 32 size: 7 LOC McCabe index: 1 number of parameters: 4 id: 61 unit: public async getOrCreateAccessToken() file: src/auth/ProvidedAccessTokenStrategy.ts start line: 38 end line: 45 size: 7 LOC McCabe index: 3 number of parameters: 0 id: 62 unit: public static get playlist() file: src/Scopes.ts start line: 3 end line: 8 size: 6 LOC McCabe index: 1 number of parameters: 0 id: 63 unit: public static get playlistRead() file: src/Scopes.ts start line: 10 end line: 15 size: 6 LOC McCabe index: 1 number of parameters: 0 id: 64 unit: public static get userDetails() file: src/Scopes.ts start line: 25 end line: 30 size: 6 LOC McCabe index: 1 number of parameters: 0 id: 65 unit: public static get userLibrary() file: src/Scopes.ts start line: 32 end line: 37 size: 6 LOC McCabe index: 1 number of parameters: 0 id: 66 unit: public static get userRecents() file: src/Scopes.ts start line: 51 end line: 56 size: 6 LOC McCabe index: 1 number of parameters: 0 id: 67 unit: public static get userFollow() file: src/Scopes.ts start line: 58 end line: 63 size: 6 LOC McCabe index: 1 number of parameters: 0 id: 68 unit: public static get userPlayback() file: src/Scopes.ts start line: 77 end line: 82 size: 6 LOC McCabe index: 1 number of parameters: 0 id: 69 unit: public topTracks() file: src/endpoints/ArtistsEndpoints.ts start line: 45 end line: 53 size: 6 LOC McCabe index: 1 number of parameters: 2 id: 70 unit: public getPlaylist() file: src/endpoints/PlaylistsEndpoints.ts start line: 6 end line: 12 size: 6 LOC McCabe index: 1 number of parameters: 4 id: 71 unit: public getPlaylistItems() file: src/endpoints/PlaylistsEndpoints.ts start line: 14 end line: 20 size: 6 LOC McCabe index: 1 number of parameters: 6 id: 72 unit: public async transferPlayback() file: src/endpoints/PlayerEndpoints.ts start line: 44 end line: 49 size: 6 LOC McCabe index: 2 number of parameters: 2 id: 73 unit: public static toCachable() file: src/auth/AccessTokenHelpers.ts start line: 10 end line: 16 size: 6 LOC McCabe index: 3 number of parameters: 1 id: 74 unit: private removeCodeFromUrl() file: src/auth/AuthorizationCodeWithPKCEStrategy.ts start line: 87 end line: 93 size: 6 LOC McCabe index: 2 number of parameters: 0 id: 75 unit: public switchAuthenticationStrategy() file: src/SpotifyApi.ts start line: 135 end line: 139 size: 5 LOC McCabe index: 1 number of parameters: 1 id: 76 unit: public static get userLibraryRead() file: src/Scopes.ts start line: 39 end line: 43 size: 5 LOC McCabe index: 1 number of parameters: 0 id: 77 unit: public static get userLibraryModify() file: src/Scopes.ts start line: 45 end line: 49 size: 5 LOC McCabe index: 1 number of parameters: 0 id: 78 unit: public static get userFollowRead() file: src/Scopes.ts start line: 65 end line: 69 size: 5 LOC McCabe index: 1 number of parameters: 0 id: 79 unit: public static get userFollowModify() file: src/Scopes.ts start line: 71 end line: 75 size: 5 LOC McCabe index: 1 number of parameters: 0 id: 80 unit: public set() file: src/caching/GenericCache.ts start line: 73 end line: 77 size: 5 LOC McCabe index: 1 number of parameters: 3 id: 81 unit: public static withUserAuthorization() file: src/SpotifyApi.ts start line: 167 end line: 170 size: 4 LOC McCabe index: 1 number of parameters: 4 id: 82 unit: public static withClientCredentials() file: src/SpotifyApi.ts start line: 172 end line: 175 size: 4 LOC McCabe index: 1 number of parameters: 4 id: 83 unit: public static withImplicitGrant() file: src/SpotifyApi.ts start line: 177 end line: 180 size: 4 LOC McCabe index: 1 number of parameters: 4 id: 84 unit: public static withAccessToken() file: src/SpotifyApi.ts start line: 186 end line: 189 size: 4 LOC McCabe index: 1 number of parameters: 3 id: 85 unit: public getUsersPlaylists() file: src/endpoints/PlaylistsEndpoints.ts start line: 46 end line: 49 size: 4 LOC McCabe index: 1 number of parameters: 3 id: 86 unit: public episodes() file: src/endpoints/ShowsEndpoints.ts start line: 20 end line: 23 size: 4 LOC McCabe index: 1 number of parameters: 4 id: 87 unit: public getAudiobookChapters() file: src/endpoints/AudiobooksEndpoints.ts start line: 18 end line: 21 size: 4 LOC McCabe index: 1 number of parameters: 4 id: 88 unit: public getPlaybackState() file: src/endpoints/PlayerEndpoints.ts start line: 11 end line: 14 size: 4 LOC McCabe index: 1 number of parameters: 2 id: 89 unit: public getCurrentlyPlayingTrack() file: src/endpoints/PlayerEndpoints.ts start line: 20 end line: 23 size: 4 LOC McCabe index: 1 number of parameters: 2 id: 90 unit: public async startResumePlayback() file: src/endpoints/PlayerEndpoints.ts start line: 51 end line: 54 size: 4 LOC McCabe index: 1 number of parameters: 5 id: 91 unit: public async pausePlayback() file: src/endpoints/PlayerEndpoints.ts start line: 56 end line: 59 size: 4 LOC McCabe index: 1 number of parameters: 1 id: 92 unit: public async skipToNext() file: src/endpoints/PlayerEndpoints.ts start line: 61 end line: 64 size: 4 LOC McCabe index: 1 number of parameters: 1 id: 93 unit: public async skipToPrevious() file: src/endpoints/PlayerEndpoints.ts start line: 66 end line: 69 size: 4 LOC McCabe index: 1 number of parameters: 1 id: 94 unit: public async seekToPosition() file: src/endpoints/PlayerEndpoints.ts start line: 71 end line: 74 size: 4 LOC McCabe index: 1 number of parameters: 2 id: 95 unit: public async setRepeatMode() file: src/endpoints/PlayerEndpoints.ts start line: 76 end line: 79 size: 4 LOC McCabe index: 1 number of parameters: 2 id: 96 unit: public async setPlaybackVolume() file: src/endpoints/PlayerEndpoints.ts start line: 81 end line: 84 size: 4 LOC McCabe index: 1 number of parameters: 2 id: 97 unit: public async togglePlaybackShuffle() file: src/endpoints/PlayerEndpoints.ts start line: 86 end line: 89 size: 4 LOC McCabe index: 1 number of parameters: 2 id: 98 unit: public async addItemToPlaybackQueue() file: src/endpoints/PlayerEndpoints.ts start line: 91 end line: 94 size: 4 LOC McCabe index: 1 number of parameters: 2 id: 99 unit: public async execute() file: src/endpoints/SearchEndpoints.ts start line: 9 end line: 12 size: 4 LOC McCabe index: 1 number of parameters: 6 id: 100 unit: public getCategories() file: src/endpoints/BrowseEndpoints.ts start line: 6 end line: 10 size: 4 LOC McCabe index: 1 number of parameters: 4 id: 101 unit: public getCategory() file: src/endpoints/BrowseEndpoints.ts start line: 12 end line: 16 size: 4 LOC McCabe index: 1 number of parameters: 3 id: 102 unit: public getNewReleases() file: src/endpoints/BrowseEndpoints.ts start line: 18 end line: 21 size: 4 LOC McCabe index: 1 number of parameters: 3 id: 103 unit: public getFeaturedPlaylists() file: src/endpoints/BrowseEndpoints.ts start line: 23 end line: 26 size: 4 LOC McCabe index: 1 number of parameters: 5 id: 104 unit: public getPlaylistsForCategory() file: src/endpoints/BrowseEndpoints.ts start line: 28 end line: 31 size: 4 LOC McCabe index: 1 number of parameters: 4 id: 105 unit: public get() file: src/endpoints/RecommendationsEndpoints.ts start line: 5 end line: 8 size: 4 LOC McCabe index: 1 number of parameters: 1 id: 106 unit: public tracks() file: src/endpoints/AlbumsEndpoints.ts start line: 21 end line: 24 size: 4 LOC McCabe index: 1 number of parameters: 4 id: 107 unit: public topItems() file: src/endpoints/CurrentUserEndpoints.ts start line: 28 end line: 31 size: 4 LOC McCabe index: 1 number of parameters: 4 id: 108 unit: public followedArtists() file: src/endpoints/CurrentUserEndpoints.ts start line: 33 end line: 36 size: 4 LOC McCabe index: 1 number of parameters: 2 id: 109 unit: public async followArtistsOrUsers() file: src/endpoints/CurrentUserEndpoints.ts start line: 38 end line: 41 size: 4 LOC McCabe index: 1 number of parameters: 2 id: 110 unit: public async unfollowArtistsOrUsers() file: src/endpoints/CurrentUserEndpoints.ts start line: 43 end line: 46 size: 4 LOC McCabe index: 1 number of parameters: 2 id: 111 unit: public followsArtistsOrUsers() file: src/endpoints/CurrentUserEndpoints.ts start line: 48 end line: 51 size: 4 LOC McCabe index: 1 number of parameters: 2 id: 112 unit: public savedAlbums() file: src/endpoints/CurrentUserEndpoints.ts start line: 56 end line: 59 size: 4 LOC McCabe index: 1 number of parameters: 3 id: 113 unit: public hasSavedAlbums() file: src/endpoints/CurrentUserEndpoints.ts start line: 69 end line: 72 size: 4 LOC McCabe index: 1 number of parameters: 1 id: 114 unit: public savedAudiobooks() file: src/endpoints/CurrentUserEndpoints.ts start line: 76 end line: 79 size: 4 LOC McCabe index: 1 number of parameters: 2 id: 115 unit: public hasSavedAudiobooks() file: src/endpoints/CurrentUserEndpoints.ts start line: 89 end line: 92 size: 4 LOC McCabe index: 1 number of parameters: 1 id: 116 unit: public savedEpisodes() file: src/endpoints/CurrentUserEndpoints.ts start line: 96 end line: 99 size: 4 LOC McCabe index: 1 number of parameters: 3 id: 117 unit: public hasSavedEpisodes() file: src/endpoints/CurrentUserEndpoints.ts start line: 109 end line: 112 size: 4 LOC McCabe index: 1 number of parameters: 1 id: 118 unit: public playlists() file: src/endpoints/CurrentUserEndpoints.ts start line: 116 end line: 119 size: 4 LOC McCabe index: 1 number of parameters: 2 id: 119 unit: public isFollowing() file: src/endpoints/CurrentUserEndpoints.ts start line: 129 end line: 132 size: 4 LOC McCabe index: 1 number of parameters: 2 id: 120 unit: public savedShows() file: src/endpoints/CurrentUserEndpoints.ts start line: 136 end line: 139 size: 4 LOC McCabe index: 1 number of parameters: 2 id: 121 unit: public saveShows() file: src/endpoints/CurrentUserEndpoints.ts start line: 141 end line: 144 size: 4 LOC McCabe index: 1 number of parameters: 1 id: 122 unit: public removeSavedShows() file: src/endpoints/CurrentUserEndpoints.ts start line: 146 end line: 149 size: 4 LOC McCabe index: 1 number of parameters: 2 id: 123 unit: public hasSavedShow() file: src/endpoints/CurrentUserEndpoints.ts start line: 151 end line: 154 size: 4 LOC McCabe index: 1 number of parameters: 1 id: 124 unit: public savedTracks() file: src/endpoints/CurrentUserEndpoints.ts start line: 158 end line: 161 size: 4 LOC McCabe index: 1 number of parameters: 3 id: 125 unit: public hasSavedTracks() file: src/endpoints/CurrentUserEndpoints.ts start line: 170 end line: 173 size: 4 LOC McCabe index: 1 number of parameters: 1 id: 126 unit: public async handleErrors() file: src/errorhandling/ConsoleLoggingErrorHandler.ts start line: 4 end line: 7 size: 4 LOC McCabe index: 1 number of parameters: 1 id: 127 unit: public setCacheItem() file: src/caching/GenericCache.ts start line: 79 end line: 82 size: 4 LOC McCabe index: 1 number of parameters: 2 id: 128 unit: public async getAccessToken() file: src/auth/ImplicitGrantStrategy.ts start line: 36 end line: 39 size: 4 LOC McCabe index: 1 number of parameters: 0 id: 129 unit: public async getAccessToken() file: src/auth/ClientCredentialsStrategy.ts start line: 38 end line: 41 size: 4 LOC McCabe index: 1 number of parameters: 0 id: 130 unit: public static async refreshCachedAccessToken() file: src/auth/AccessTokenHelpers.ts start line: 5 end line: 8 size: 4 LOC McCabe index: 1 number of parameters: 2 id: 131 unit: public async getAccessToken() file: src/auth/AuthorizationCodeWithPKCEStrategy.ts start line: 41 end line: 44 size: 4 LOC McCabe index: 1 number of parameters: 0 id: 132 unit: function withNextAuthStrategy() file: example_next/src/lib/spotify-sdk/ClientInstance.ts start line: 53 end line: 56 size: 4 LOC McCabe index: 1 number of parameters: 1 id: 133 unit: public async getAccessToken() file: src/SpotifyApi.ts start line: 156 end line: 158 size: 3 LOC McCabe index: 1 number of parameters: 0 id: 134 unit: public logOut() file: src/SpotifyApi.ts start line: 163 end line: 165 size: 3 LOC McCabe index: 1 number of parameters: 0 id: 135 unit: public async redirect() file: src/redirection/DocumentLocationRedirectionStrategy.ts start line: 4 end line: 6 size: 3 LOC McCabe index: 1 number of parameters: 1 id: 136 unit: public audioAnalysis() file: src/endpoints/TracksEndpoints.ts start line: 31 end line: 33 size: 3 LOC McCabe index: 1 number of parameters: 1 id: 137 unit: public relatedArtists() file: src/endpoints/ArtistsEndpoints.ts start line: 55 end line: 57 size: 3 LOC McCabe index: 1 number of parameters: 1 id: 138 unit: public async changePlaylistDetails() file: src/endpoints/PlaylistsEndpoints.ts start line: 22 end line: 24 size: 3 LOC McCabe index: 1 number of parameters: 2 id: 139 unit: public updatePlaylistItems() file: src/endpoints/PlaylistsEndpoints.ts start line: 34 end line: 36 size: 3 LOC McCabe index: 1 number of parameters: 2 id: 140 unit: public async addItemsToPlaylist() file: src/endpoints/PlaylistsEndpoints.ts start line: 38 end line: 40 size: 3 LOC McCabe index: 1 number of parameters: 3 id: 141 unit: public async removeItemsFromPlaylist() file: src/endpoints/PlaylistsEndpoints.ts start line: 42 end line: 44 size: 3 LOC McCabe index: 1 number of parameters: 2 id: 142 unit: public createPlaylist() file: src/endpoints/PlaylistsEndpoints.ts start line: 51 end line: 53 size: 3 LOC McCabe index: 1 number of parameters: 2 id: 143 unit: public getPlaylistCoverImage() file: src/endpoints/PlaylistsEndpoints.ts start line: 55 end line: 57 size: 3 LOC McCabe index: 1 number of parameters: 1 id: 144 unit: public async addCustomPlaylistCoverImageFromBase64String() file: src/endpoints/PlaylistsEndpoints.ts start line: 85 end line: 87 size: 3 LOC McCabe index: 1 number of parameters: 2 id: 145 unit: public getAvailableMarkets() file: src/endpoints/MarketsEndpoints.ts start line: 5 end line: 7 size: 3 LOC McCabe index: 1 number of parameters: 0 id: 146 unit: protected async getRequest() file: src/endpoints/EndpointsBase.ts start line: 7 end line: 9 size: 3 LOC McCabe index: 1 number of parameters: 1 id: 147 unit: protected async postRequest() file: src/endpoints/EndpointsBase.ts start line: 11 end line: 13 size: 3 LOC McCabe index: 1 number of parameters: 3 id: 148 unit: protected async putRequest() file: src/endpoints/EndpointsBase.ts start line: 15 end line: 17 size: 3 LOC McCabe index: 1 number of parameters: 3 id: 149 unit: protected async deleteRequest() file: src/endpoints/EndpointsBase.ts start line: 19 end line: 21 size: 3 LOC McCabe index: 1 number of parameters: 2 id: 150 unit: public getAvailableDevices() file: src/endpoints/PlayerEndpoints.ts start line: 16 end line: 18 size: 3 LOC McCabe index: 1 number of parameters: 0 id: 151 unit: public getUsersQueue() file: src/endpoints/PlayerEndpoints.ts start line: 40 end line: 42 size: 3 LOC McCabe index: 1 number of parameters: 0 id: 152 unit: public profile() file: src/endpoints/UsersEndpoints.ts start line: 6 end line: 8 size: 3 LOC McCabe index: 1 number of parameters: 1 id: 153 unit: public genreSeeds() file: src/endpoints/RecommendationsEndpoints.ts start line: 10 end line: 12 size: 3 LOC McCabe index: 1 number of parameters: 0 id: 154 unit: public profile() file: src/endpoints/CurrentUserEndpoints.ts start line: 24 end line: 26 size: 3 LOC McCabe index: 1 number of parameters: 0 id: 155 unit: public async saveAlbums() file: src/endpoints/CurrentUserEndpoints.ts start line: 61 end line: 63 size: 3 LOC McCabe index: 1 number of parameters: 1 id: 156 unit: public async removeSavedAlbums() file: src/endpoints/CurrentUserEndpoints.ts start line: 65 end line: 67 size: 3 LOC McCabe index: 1 number of parameters: 1 id: 157 unit: public async saveAudiobooks() file: src/endpoints/CurrentUserEndpoints.ts start line: 81 end line: 83 size: 3 LOC McCabe index: 1 number of parameters: 1 id: 158 unit: public async removeSavedAudiobooks() file: src/endpoints/CurrentUserEndpoints.ts start line: 85 end line: 87 size: 3 LOC McCabe index: 1 number of parameters: 1 id: 159 unit: public async saveEpisodes() file: src/endpoints/CurrentUserEndpoints.ts start line: 101 end line: 103 size: 3 LOC McCabe index: 1 number of parameters: 1 id: 160 unit: public async removeSavedEpisodes() file: src/endpoints/CurrentUserEndpoints.ts start line: 105 end line: 107 size: 3 LOC McCabe index: 1 number of parameters: 1 id: 161 unit: public async follow() file: src/endpoints/CurrentUserEndpoints.ts start line: 121 end line: 123 size: 3 LOC McCabe index: 1 number of parameters: 1 id: 162 unit: public async unfollow() file: src/endpoints/CurrentUserEndpoints.ts start line: 125 end line: 127 size: 3 LOC McCabe index: 1 number of parameters: 1 id: 163 unit: public async saveTracks() file: src/endpoints/CurrentUserEndpoints.ts start line: 162 end line: 164 size: 3 LOC McCabe index: 1 number of parameters: 1 id: 164 unit: public async removeSavedTracks() file: src/endpoints/CurrentUserEndpoints.ts start line: 166 end line: 168 size: 3 LOC McCabe index: 1 number of parameters: 1 id: 165 unit: public async handleErrors() file: src/errorhandling/NoOpErrorHandler.ts start line: 4 end line: 6 size: 3 LOC McCabe index: 1 number of parameters: 1 id: 166 unit: constructor() file: src/caching/LocalStorageCachingStrategy.ts start line: 5 end line: 7 size: 3 LOC McCabe index: 1 number of parameters: 0 id: 167 unit: public get() file: src/caching/LocalStorageCachingStrategy.ts start line: 11 end line: 13 size: 3 LOC McCabe index: 1 number of parameters: 1 id: 168 unit: public set() file: src/caching/LocalStorageCachingStrategy.ts start line: 15 end line: 17 size: 3 LOC McCabe index: 1 number of parameters: 2 id: 169 unit: public remove() file: src/caching/LocalStorageCachingStrategy.ts start line: 19 end line: 21 size: 3 LOC McCabe index: 1 number of parameters: 1 id: 170 unit: public remove() file: src/caching/GenericCache.ts start line: 84 end line: 86 size: 3 LOC McCabe index: 1 number of parameters: 1 id: 171 unit: constructor() file: src/caching/InMemoryCachingStrategy.ts start line: 5 end line: 7 size: 3 LOC McCabe index: 1 number of parameters: 0 id: 172 unit: public get() file: src/caching/InMemoryCachingStrategy.ts start line: 13 end line: 15 size: 3 LOC McCabe index: 1 number of parameters: 1 id: 173 unit: public set() file: src/caching/InMemoryCachingStrategy.ts start line: 17 end line: 19 size: 3 LOC McCabe index: 1 number of parameters: 2 id: 174 unit: public remove() file: src/caching/InMemoryCachingStrategy.ts start line: 21 end line: 23 size: 3 LOC McCabe index: 1 number of parameters: 1 id: 175 unit: public setConfiguration() file: src/auth/ImplicitGrantStrategy.ts start line: 18 end line: 20 size: 3 LOC McCabe index: 1 number of parameters: 1 id: 176 unit: public removeAccessToken() file: src/auth/ImplicitGrantStrategy.ts start line: 41 end line: 43 size: 3 LOC McCabe index: 1 number of parameters: 0 id: 177 unit: public static get current() file: src/auth/Crypto.ts start line: 2 end line: 4 size: 3 LOC McCabe index: 2 number of parameters: 0 id: 178 unit: private static get hasSubtleCrypto() file: src/auth/Crypto.ts start line: 6 end line: 8 size: 3 LOC McCabe index: 3 number of parameters: 0 id: 179 unit: public async getAccessToken() file: src/auth/ProvidedAccessTokenStrategy.ts start line: 47 end line: 49 size: 3 LOC McCabe index: 1 number of parameters: 0 id: 180 unit: export function isEmptyAccessToken() file: src/auth/IAuthStrategy.ts start line: 4 end line: 6 size: 3 LOC McCabe index: 1 number of parameters: 1 id: 181 unit: public setConfiguration() file: src/auth/ClientCredentialsStrategy.ts start line: 18 end line: 20 size: 3 LOC McCabe index: 1 number of parameters: 1 id: 182 unit: public removeAccessToken() file: src/auth/ClientCredentialsStrategy.ts start line: 43 end line: 45 size: 3 LOC McCabe index: 1 number of parameters: 0 id: 183 unit: public static calculateExpiry() file: src/auth/AccessTokenHelpers.ts start line: 18 end line: 20 size: 3 LOC McCabe index: 1 number of parameters: 1 id: 184 unit: public setConfiguration() file: src/auth/AuthorizationCodeWithPKCEStrategy.ts start line: 23 end line: 25 size: 3 LOC McCabe index: 1 number of parameters: 1 id: 185 unit: public removeAccessToken() file: src/auth/AuthorizationCodeWithPKCEStrategy.ts start line: 46 end line: 48 size: 3 LOC McCabe index: 1 number of parameters: 0 id: 186 unit: public getOrCreateAccessToken() file: example_next/src/lib/spotify-sdk/ClientInstance.ts start line: 18 end line: 20 size: 3 LOC McCabe index: 1 number of parameters: 0 id: 187 unit: public removeAccessToken() file: example_next/src/lib/spotify-sdk/ClientInstance.ts start line: 44 end line: 46 size: 3 LOC McCabe index: 1 number of parameters: 0 id: 188 unit: public setConfiguration() file: example_next/src/lib/spotify-sdk/ClientInstance.ts start line: 48 end line: 50 size: 3 LOC McCabe index: 1 number of parameters: 1 id: 189 unit: public async onReturnFromRedirect() file: src/redirection/DocumentLocationRedirectionStrategy.ts start line: 8 end line: 9 size: 2 LOC McCabe index: 1 number of parameters: 0 id: 190 unit: constructor() file: src/endpoints/EndpointsBase.ts start line: 4 end line: 5 size: 2 LOC McCabe index: 1 number of parameters: 1 id: 191 unit: public setConfiguration() file: src/auth/ProvidedAccessTokenStrategy.ts start line: 35 end line: 36 size: 2 LOC McCabe index: 1 number of parameters: 1