Skip to content

PR #26

PR #26 #32

Triggered via dynamic April 15, 2026 18:17
Status Success
Total duration 1m 25s
Artifacts

codeql

on: dynamic
Matrix: analyze
Fit to window
Zoom out
Zoom in

Annotations

145 warnings and 54 notices
Analyze (actions)
Starting April 2026, the CodeQL Action will skip computing file coverage information on pull requests to improve analysis performance. File coverage information will still be computed on non-PR analyses. To opt out of this change, switch to an advanced setup workflow and set the `CODEQL_ACTION_FILE_COVERAGE_ON_PRS` environment variable to `true`.
Analyze (javascript-typescript)
Starting April 2026, the CodeQL Action will skip computing file coverage information on pull requests to improve analysis performance. File coverage information will still be computed on non-PR analyses. To opt out of this change, switch to an advanced setup workflow and set the `CODEQL_ACTION_FILE_COVERAGE_ON_PRS` environment variable to `true`.
Import can be shortened: src/utils/player/index.ts#L25
Import can be shortened
Import can be shortened: src/platform/music/netease.ts#L9
Import can be shortened
Import can be shortened: src/services/loggerService.ts#L3
Import can be shortened
Import can be shortened: electron/main/index.ts#L32
Import can be shortened
Import can be shortened: src/composables/useLikedSongs.ts#L6
Import can be shortened
Import can be shortened: src/utils/player/core/playerCore.ts#L1
Import can be shortened
Import can be shortened: src/platform/core/electron.ts#L2
Import can be shortened
Import can be shortened: src/store/playerStore.ts#L32
Import can be shortened
Import can be shortened: src/store/searchStore.ts#L5
Import can be shortened
Import can be shortened: src/utils/player/index.ts#L7
Import can be shortened
Import can be shortened: src/utils/player/index.ts#L28
Import can be shortened
Import can be shortened: src/composables/useHomeShell.ts#L4
Import can be shortened
Import can be shortened: src/utils/http/transportFactory.ts#L9
Import can be shortened
Import can be shortened: src/store/player/audioEvents.ts#L3
Import can be shortened
Import can be shortened: src/types/sandbox.d.ts#L7
Import can be shortened
Import can be shortened: src/utils/http/requestCache.ts#L2
Import can be shortened
Import can be shortened: src/utils/http/index.ts#L31
Import can be shortened
Import can be shortened: src/services/commandService.ts#L2
Import can be shortened
Import can be shortened: src/utils/player/index.ts#L8
Import can be shortened
Import can be shortened: src/utils/player/index.ts#L30
Import can be shortened
Import can be shortened: src/store/searchStore.ts#L11
Import can be shortened
Import can be shortened: src/composables/useCommandContext.ts#L3
Import can be shortened
Import can be shortened: src/composables/useLikedSongs.ts#L4
Import can be shortened
Import can be shortened: electron/main/index.ts#L46
Import can be shortened
Import can be shortened: src/platform/music/qq.ts#L8
Import can be shortened
Import can be shortened: src/store/searchStore.ts#L4
Import can be shortened
Import can be shortened: src/utils/storage/appStorage.ts#L11
Import can be shortened
Import can be shortened: electron/ipc/utils/gatewayCache.ts#L5
Import can be shortened
Import can be shortened: src/base/common/event/event.ts#L6
Import can be shortened
Import can be shortened: src/components/Playlist.vue#L5
Import can be shortened
Import can be shortened: src/composables/useHomeShell.ts#L3
Import can be shortened
Import can be shortened: src/store/player/lyricSync.ts#L3
Import can be shortened
Import can be shortened: src/services/errorService.ts#L11
Import can be shortened
Import can be shortened: src/composables/useCommandContext.ts#L4
Import can be shortened
Import can be shortened: src/services/platformService.ts#L2
Import can be shortened
Import can be shortened: src/store/searchStore.ts#L8
Import can be shortened
Import can be shortened: src/utils/logger.ts#L2
Import can be shortened
Import can be shortened: src/store/playerStore.ts#L33
Import can be shortened
Import can be shortened: src/store/searchStore.ts#L6
Import can be shortened
Import can be shortened: src/composables/useHomeShell.ts#L5
Import can be shortened
Import can be shortened: src/components/ErrorToast.vue#L21
Import can be shortened
Import can be shortened: src/services/musicService.ts#L8
Import can be shortened
Import can be shortened: src/composables/useSearch.ts#L8
Import can be shortened
Import can be shortened: src/components/UserAvatar.vue#L7
Import can be shortened
Import can be shortened: src/services/loggerService.ts#L1
Import can be shortened
Import can be shortened: src/store/searchStore.ts#L7
Import can be shortened
Import can be shortened: src/composables/useCommandContext.ts#L5
Import can be shortened
Import can be shortened: src/utils/http/requestConfig.ts#L1
Import can be shortened
Import can be shortened: src/utils/player/index.ts#L26
Import can be shortened
Import can be shortened: src/utils/player/index.ts#L9
Import can be shortened
Import can be shortened: src/services/loggerService.ts#L2
Import can be shortened
Import can be shortened: src/App.vue#L6
Import can be shortened
Import can be shortened: src/services/musicService.ts#L1
Import can be shortened
Import can be shortened: src/components/LyricFloat.vue#L5
Import can be shortened
Import can be shortened: src/components/ErrorToast.vue#L22
Import can be shortened
Import can be shortened: src/utils/player/index.ts#L27
Import can be shortened
Import can be shortened: src/services/platformService.ts#L1
Import can be shortened
Import can be shortened: src/utils/logger.ts#L1
Import can be shortened
Import can be shortened: src/platform/common/types.ts#L1
Import can be shortened
Import can be shortened: src/components/QQLoginModal.vue#L5
Import can be shortened
Import can be shortened: src/platform/core/adapter.ts#L1
Import can be shortened
Import can be shortened: src/services/commandService.ts#L3
Import can be shortened
Import can be shortened: src/utils/player/index.ts#L29
Import can be shortened
Import can be shortened: electron/DesktopLyricManager.ts#L3
Import can be shortened
Import can be shortened: src/platform/music/index.ts#L3
Import can be shortened
Import can be shortened: src/services/apiService.ts#L1
Import can be shortened
Import can be shortened: src/components/Playlist.vue#L6
Import can be shortened
Exception used for local control-flow: src/components/QQLoginModal.vue#L174
'throw' of exception caught locally
Exception used for local control-flow: src/store/player/playbackActions.ts#L313
'throw' of exception caught locally
Exception used for local control-flow: src/store/player/playbackActions.ts#L309
'throw' of exception caught locally
Exception used for local control-flow: src/store/searchStore.ts#L160
'throw' of exception caught locally
Exception used for local control-flow: src/store/player/playbackActions.ts#L359
'throw' of exception caught locally
Exception used for local control-flow: src/components/LoginModal.vue#L74
'throw' of exception caught locally
Exception used for local control-flow: src/store/player/playbackActions.ts#L350
'throw' of exception caught locally
Exception used for local control-flow: src/components/LoginModal.vue#L85
'throw' of exception caught locally
Exception used for local control-flow: src/components/QQLoginModal.vue#L235
'throw' of exception caught locally
Exception used for local control-flow: src/store/searchStore.ts#L201
'throw' of exception caught locally
Exception used for local control-flow: electron/ipc/IpcService.ts#L186
'throw' of exception caught locally
Exception used for local control-flow: src/store/player/playbackActions.ts#L340
'throw' of exception caught locally
Exception used for local control-flow: src/services/apiService.ts#L90
'throw' of exception caught locally
Exception used for local control-flow: src/services/apiService.ts#L104
'throw' of exception caught locally
Exception used for local control-flow: src/api/song.ts#L78
'throw' of exception caught locally
Exception used for local control-flow: src/store/player/playbackActions.ts#L317
'throw' of exception caught locally
Mismatched JSDoc and function signature: src/store/player/lyricSync.ts#L51
Parameter store is not described in JSDoc
Mismatched JSDoc and function signature: electron/ipc/handlers/player.handler.ts#L246
Parameter serviceManager is not described in JSDoc
Mismatched JSDoc and function signature: src/store/player/lyricSync.ts#L92
Parameter store is not described in JSDoc
Mismatched query and update of collection: electron/sandbox/services/configProxy.ts#L38
Contents of collection `changeListeners` are updated, but never queried
Unused local symbol: electron/ipc/types.ts#L490
Unused type alias _AssertSendChannelMapKeys
Unused local symbol: electron/ipc/types.ts#L494
Unused type alias _AssertReceiveChannelMapKeys
Unused local symbol: electron/ipc/types.ts#L491
Unused type alias _AssertInvokeChannelMapKeys
Unused local symbol: electron/ipc/middleware/performance.ts#L22
Unused constant _METRICS_RETENTION_TIME
Unused local symbol: src/utils/player/core/playbackController.ts#L6
Unused field progressTimer
Unused local symbol: src/utils/player/core/playbackController.ts#L7
Unused field _lastProgressUpdate
Pointless statement or boolean expression: src/services/registry.ts#L51
Can be simplified to typeof instance === 'object'
Redundant character escape: src/components/LyricFloat.vue#L50
Redundant character escape `\]` in RegExp
Redundant character escape: src/utils/player/core/lyric.ts#L118
Redundant character escape `\]` in RegExp
Redundant character escape: src/utils/player/core/lyric.ts#L120
Redundant character escape `\]` in RegExp
Unsound type guard check: src/store/playerStore.ts#L876
'typeof' check is always false: 'volume' always has type 'number'
Unsound type guard check: src/utils/error/normalize.ts#L37
Redundant 'typeof' check: 'message' always has type 'string'
Unsound type guard check: src/store/searchStore.ts#L164
Redundant 'typeof' check: 'total' always has type 'number'
Unsound type guard check: src/utils/player/core/lyric.ts#L112
'typeof' check is always false: 'text' always has type 'string'
Unsound type guard check: src/store/playerStore.ts#L887
'typeof' check is always false: 'playMode' always has type 'number'
Unsound type guard check: electron/ipc/utils/gatewayCache.ts#L233
Redundant 'typeof' check: 'message' always has type 'string'
Unsound type guard check: src/store/searchStore.ts#L204
Redundant 'typeof' check: 'total' always has type 'number'
Unsound type guard check: src/components/QQLoginModal.vue#L140
Redundant 'typeof' check: 'value' always has type 'string'
Unsound type guard check: src/utils/player/helpers/timeFormatter.ts#L23
'typeof' check is always false: 'timeStr' always has type 'string'
Unsound type guard check: src/utils/http/electronIpcRequest.ts#L49
Redundant 'typeof' check: 'message' always has type 'string'
Unsound type guard check: src/composables/useNeteaseLoginProfile.ts#L19
'typeof' check is always false: 'cookie' always has type 'string'
Unsound type guard check: api/[...netease].ts#L103
Redundant 'typeof' check: 'segment' always has type 'string'
Unsound type guard check: src/components/LyricFloat.vue#L210
'typeof' check is always false: 'locked' always has type 'boolean'
Unsound type guard check: electron/utils/paths.ts#L18
Redundant 'typeof' check: 'resourcesPath' always has type 'string'
Unsound type guard check: src/components/user/FavoriteAlbumsView.vue#L39
Redundant 'typeof' check: 'artistName' always has type 'string'
Redundant local variable: electron/utils/paths.ts#L33
Local variable scriptPath is redundant
Redundant local variable: src/utils/player/core/playerCore.ts#L273
Local variable cancelPendingPlay is redundant
Redundant local variable: src/api/song.ts#L84
Local variable fallbackRes is redundant
Redundant local variable: src/composables/useLikedSongs.ts#L127
Local variable sessionId is redundant
Missing await for an async function call: src/platform/index.ts#L140
Missing await for an async function call
Missing await for an async function call: src/composables/useUserDataQuery.ts#L64
Missing await for an async function call
Missing await for an async function call: src/platform/core/electron.ts#L59
Missing await for an async function call
Missing await for an async function call: src/composables/useUserDataQuery.ts#L57
Missing await for an async function call
Missing await for an async function call: src/composables/useUserDataQuery.ts#L71
Missing await for an async function call
Missing await for an async function call: src/platform/core/electron.ts#L63
Missing await for an async function call
Redundant 'await' expression: electron/ipc/handlers/service.handler.ts#L114
Redundant 'await' for a non-promise type
Redundant 'await' expression: config/vite.analyze.web.js#L10
Redundant 'return await'
Deprecated symbol used: electron/main/tray.ts#L13
Deprecated symbol used, consult docs for better alternative
Deprecated symbol used: src/components/user/UserProfileHeader.vue#L62
Deprecated symbol used, consult docs for better alternative
Deprecated symbol used: src/utils/monitoring/sentryRenderer.ts#L69
Deprecated symbol used, consult docs for better alternative
Deprecated symbol used: src/components/user/UserProfileHeader.vue#L73
Deprecated symbol used, consult docs for better alternative
Deprecated symbol used: electron/main/tray.ts#L36
Deprecated symbol used, consult docs for better alternative
Abstract class constructor can be made protected: src/platform/music/interface.ts#L41
Abstract class constructor can be made protected
Field can be readonly: src/utils/player/core/lyric.ts#L167
Field can be readonly
Redundant type arguments: src/services/registry.ts#L30
Explicit type argument unknown can be removed
Redundant type arguments: src/services/registry.ts#L164
Explicit type argument unknown can be removed
Redundant type arguments: src/services/index.ts#L225
Explicit type argument unknown can be removed
Redundant type arguments: electron/sandbox/legacyElectronApi.ts#L75
Explicit type argument unknown can be removed
Redundant type arguments: src/services/registry.ts#L105
Explicit type argument unknown can be removed
Redundant type arguments: src/services/types.ts#L29
Explicit type argument unknown can be removed
Redundant type arguments: src/services/injector.ts#L145
Explicit type argument unknown can be removed
Redundant type arguments: src/services/types.ts#L121
Explicit type argument unknown can be removed
Redundant type arguments: src/services/registry.ts#L296
Explicit type argument unknown can be removed
Redundant type arguments: src/services/injector.ts#L36
Explicit type argument unknown can be removed
Redundant type arguments: src/services/types.ts#L157
Explicit type argument unknown can be removed
Redundant type arguments: api/qq/[...qq].ts#L8
Explicit type argument IncomingMessage can be removed
Redundant type arguments: src/services/index.ts#L156
Explicit type argument unknown can be removed
Redundant type arguments: src/services/registry.ts#L32
Explicit type argument unknown can be removed
Redundant type arguments: src/services/registry.ts#L287
Explicit type argument unknown can be removed
Redundant type arguments: src/services/registry.ts#L29
Explicit type argument unknown can be removed
Redundant type arguments: src/services/registry.ts#L118
Explicit type argument unknown can be removed
Redundant type arguments: src/services/injector.ts#L11
Explicit type argument unknown can be removed
Redundant type arguments: src/services/registry.ts#L28
Explicit type argument unknown can be removed
Redundant type arguments: src/services/registry.ts#L31
Explicit type argument unknown can be removed
Redundant type arguments: src/services/types.ts#L63
Explicit type argument unknown can be removed
Redundant type arguments: src/services/registry.ts#L90
Explicit type argument unknown can be removed
Redundant type arguments: src/services/registry.ts#L109
Explicit type argument unknown can be removed
Redundant type arguments: src/services/types.ts#L138
Explicit type argument unknown can be removed
Redundant type arguments: api/[...netease].ts#L14
Explicit type argument IncomingMessage can be removed
Redundant type arguments: src/services/registry.ts#L319
Explicit type argument unknown can be removed
Redundant type arguments: src/services/registry.ts#L98
Explicit type argument unknown can be removed