Code
Hub
Workspaces
Following
Trending
Connect
MCP
copy
Create free account
hub
/
github.com/JetBrains/qodana-cli
/ functions
Functions
1,503 in github.com/JetBrains/qodana-cli
⨍
Functions
1,503
◇
Types & classes
180
↳
Endpoints
13
↓ 2 callers
Method
cleanup
()
internal/foundation/fs/atomic.go:59
↓ 2 callers
Method
computeCdnetArgs
(c thirdpartyscan.Context)
cdnet/options.go:27
↓ 2 callers
Function
computeSequenceParams
(r *SequenceRunnerBase)
internal/core/incremental_analysis.go:283
↓ 2 callers
Function
containsDotNetFxProjects
(projectDir string)
internal/platform/commoncontext/native.go:79
↓ 2 callers
Function
containsUnityProjects
(projectDir string)
internal/platform/commoncontext/native.go:38
↓ 2 callers
Function
copyCoverageFromNewStage
(coverageDataPath string, resultsDir string)
internal/core/incremental_analysis.go:371
↓ 2 callers
Function
countContributors
(matches func(contributor) bool, contributors []contributor)
internal/core/contributors_test.go:66
↓ 2 callers
Function
createGitCommit
(t *testing.T, path string)
internal/core/startup/prepare_test.go:47
↓ 2 callers
Function
createIdeaFolderWithUncachedXml
(t *testing.T, testProjectDir string)
internal/core/startup/prepare_test.go:333
↓ 2 callers
Function
createTestTarGz
(t *testing.T, topDir string)
internal/foundation/archive/archive_test.go:121
↓ 2 callers
Method
doRequest
(request *QdCloudRequest)
internal/cloud/endpoints.go:154
↓ 2 callers
Function
downloadAndInstallIDE
( analyser product.Analyzer, baseDir string, spinner *pterm.SpinnerPrinter, )
internal/core/startup/installers.go:42
↓ 2 callers
Function
encodeAuthToBase64
encodeAuthToBase64 serializes the auth configuration as JSON base64 payload
internal/core/container.go:197
↓ 2 callers
Function
ensurePlatformSrc
Download + extract ==========================================================================
internal/tooling/scripts/build-qodana-jbr.go:245
↓ 2 callers
Function
equalArgs
equalArgs treats nil and empty slice as equivalent; see "Empty-input return value" in the package doc.
internal/foundation/shlex/join_test.go:103
↓ 2 callers
Function
execWithEnv
( cwd string, env []string, stdout io.Writer, stderr io.Writer, timeout time.Duration, timeoutExitCode i
internal/foundation/exec/exec.go:44
↓ 2 callers
Function
extractUtils
Mount a third-party linter.
internal/platform/embed.go:37
↓ 2 callers
Function
fetchUpstreamChecksum
Upstream checksum fetching ==================================================================
internal/tooling/scripts/build-qodana-jbr.go:201
↓ 2 callers
Function
findBinary
findBinary locates a JBR binary by name in srcDir using known JBR layout paths. Uses host OS convention (.exe on Windows) since the binary runs on the
internal/tooling/scripts/build-qodana-jbr.go:401
↓ 2 callers
Function
findEntryByReaddir
findEntryByReaddir looks up a directory entry by name, returning the actual on-disk name. It scans directory entries via Readdirnames, which requires
internal/foundation/fs/find_entry_readdir.go:19
↓ 2 callers
Function
findSarifFiles
(root string)
internal/platform/sarif.go:210
↓ 2 callers
Function
formatMessageForCI
formatMessageForCI formats the message for the CI environment.
internal/platform/msg/output.go:278
↓ 2 callers
Function
getAnalyzerFromProject
( qodanaCloudToken string, projectDir string, localNotEffectiveQodanaYamlPathInProject string, )
internal/platform/commoncontext/compute.go:208
↓ 2 callers
Function
getBinaryPath
(toolsPath string)
clang/run.go:127
↓ 2 callers
Function
getFailureThresholds
(c thirdpartyscan.Context)
internal/platform/thresholds.go:33
↓ 2 callers
Function
getHash
getHash returns a SHA256 hash of a given string.
internal/platform/commoncontext/compute.go:274
↓ 2 callers
Method
getId
getId() returns the author's email if it is not empty, otherwise it returns the username.
internal/core/contributors.go:54
↓ 2 callers
Function
getIdeExitCode
getIdeExitCode gets IDEA "exitCode" from SARIF.
internal/core/ide.go:41
↓ 2 callers
Function
getLatestVersion
getLatestVersion returns the latest published version of the CLI.
internal/core/system.go:71
↓ 2 callers
Function
getPluginIds
(plugins []qdyaml.Plugin)
internal/core/properties.go:232
↓ 2 callers
Function
getPublisherArgs
getPublisherArgs returns args for the publisher.
internal/platform/publisher.go:55
↓ 2 callers
Function
getRepositoryUri
(pwd string)
internal/platform/sarifVersioning.go:85
↓ 2 callers
Function
getScanStages
()
internal/core/system.go:317
↓ 2 callers
Function
getSystemShellArgv
getSystemShellArgv the arguments to invoke the system shell with the specified command.
internal/foundation/exec/exec.go:106
↓ 2 callers
Function
guessAnalyzerFromParams
( ide string, linterParam string, image string, withinDocker string, )
internal/platform/commoncontext/common.go:79
↓ 2 callers
Function
hasDist
Cache validation ============================================================================
internal/tooling/scripts/build-qodana-jbr.go:230
↓ 2 callers
Function
ideBin
(home string)
internal/platform/product/product_info.go:77
↓ 2 callers
Function
initGitRepo
(t *testing.T, path string)
internal/core/startup/prepare_test.go:33
↓ 2 callers
Function
installIdeWindowsExe
installIdeWindowsExe is used as a fallback, since it needs installation privileges and alters the registry
internal/core/startup/installers.go:219
↓ 2 callers
Method
isBot
isBot returns true if the author is a bot.
internal/core/contributors.go:62
↓ 2 callers
Function
isCommandRequested
isCommandRequested checks if any command is requested.
internal/cmd/root.go:43
↓ 2 callers
Function
isCompletionRequested
(args []string)
internal/cmd/root.go:38
↓ 2 callers
Function
isDirectory
(path string)
internal/platform/commoncontext/native.go:71
↓ 2 callers
Function
isDockerUnauthorizedError
(errMsg string)
internal/core/container.go:230
↓ 2 callers
Function
isHelpOrVersion
isHelpOrVersion checks if only help was requested.
internal/cmd/root.go:34
↓ 2 callers
Function
isInDirectory
isInDirectory checks if the target file is within the destination directory.
internal/platform/embed.go:208
↓ 2 callers
Function
isTestDirCaseSensitive
(t *testing.T)
internal/foundation/fs/canonical_test.go:43
↓ 2 callers
Function
isWhitespace
(c byte)
internal/foundation/shlex/split.go:134
↓ 2 callers
Function
jdkTableXml
(jdkPath string)
internal/core/startup/xml.go:25
↓ 2 callers
Function
joinTail
joinTail joins a resolved prefix, a current component, and any remaining queue components using the safe Join (no filepath.Clean).
internal/foundation/fs/canonical_unix.go:133
↓ 2 callers
Function
load_template
Load a Jinja2 template from the given path using the provided environment. Args: env (Environment): The Jinja2 environment to use.
scripts/dockerfiles.py:151
↓ 2 callers
Function
logToFile
(fileName string, logChannel chan string)
clang/clang.go:55
↓ 2 callers
Function
makeDistFlavourFile
(distPath string, productCode string)
internal/platform/commoncontext/analyzer_cli_options_test.go:182
↓ 2 callers
Function
newShowCommand
newShowCommand returns a new instance of the show command.
internal/cmd/show.go:28
↓ 2 callers
Function
newTestRepo
(t *testing.T)
internal/core/contributors_mailmap_test.go:78
↓ 2 callers
Function
newViewCommand
newViewCommand returns a new instance of the show command.
internal/cmd/view.go:31
↓ 2 callers
Function
noCache
noCache handles serving the static files with no cache headers.
internal/platform/commoncontext/common.go:454
↓ 2 callers
Function
openReport
openReport serves the report on the given port and opens the browser.
internal/platform/commoncontext/common.go:423
↓ 2 callers
Function
parseProjectName
(data []byte)
internal/cloud/cloud.go:44
↓ 2 callers
Function
parseRawURL
(rawUrl string)
internal/cloud/endpoints.go:88
↓ 2 callers
Function
pickCompiler
pickCompiler returns the compiler binary name for a compile_commands.json Command entry. If cmd.Command is present, it is parsed as a POSIX shell comm
clang/cmake.go:67
↓ 2 callers
Function
platformSrcDir
(cacheDir string, p platform)
internal/tooling/scripts/build-qodana-jbr.go:187
↓ 2 callers
Function
postAnalysis
postAnalysis post-analysis stage: wait for FUS stats to upload
internal/core/ide.go:260
↓ 2 callers
Function
prepareClangArgs
prepareClangArgs parses the user's --clang-args value with POSIX-shell rules and prepends "--" when the user did not include their own separator. By
clang/run.go:66
↓ 2 callers
Function
prepareCustomPlugins
(prod product.Product)
internal/core/startup/prepare.go:159
↓ 2 callers
Function
prepareDirectories
(cacheDir string, logDir string, confDir string)
internal/core/startup/prepare.go:218
↓ 2 callers
Function
printPath
printPath prints the path of the problem.
internal/platform/msg/output.go:231
↓ 2 callers
Function
printQodanaLogo
(logDir string, cacheDir string, linterInfo thirdpartyscan.LinterInfo)
internal/platform/run.go:262
↓ 2 callers
Function
processConfig
processConfig reads qodana.yaml includes/excludes, detects .clang-tidy / _clang-tidy config files in parent directories, and builds the --checks= argu
clang/config.go:129
↓ 2 callers
Function
recognizeDirLanguages
recognizeDirLanguages returns the languages detected in the given directory.
internal/platform/commoncontext/configurator.go:57
↓ 2 callers
Function
removePortSocket
removePortSocket removes .port from the system dir to resolve QD-7383.
internal/core/container.go:176
↓ 2 callers
Function
resolveImpl
resolveImpl implements realpath-like component-by-component resolution. When weak is true, non-existent components are appended as-is instead of causi
internal/foundation/fs/canonical_unix.go:70
↓ 2 callers
Function
runNativeScan
(t *testing.T, projectPath string)
internal/cmd/cmd_test.go:573
↓ 2 callers
Function
runRequest
( t *testing.T, cooldown int, failedAttempts int, response string, )
internal/cloud/endpoints_test.go:349
↓ 2 callers
Function
sampleArchive
(t *testing.T)
internal/core/startup/installers_test.go:223
↓ 2 callers
Function
sarifResultToCodeClimate
sarifResultToCodeClimate converts a SARIF result to a Code Climate issue.
internal/platform/ext_gitlab.go:96
↓ 2 callers
Function
saveCloudToken
saveCloudToken saves token to the system keyring
internal/platform/tokenloader/token_loader.go:106
↓ 2 callers
Function
selectAnalyzer
( path string, linters []product.Linter, interactive bool, selectFunc func([]string) string, )
internal/platform/commoncontext/common.go:287
↓ 2 callers
Function
selectSupportedVersion
(apiDescriptions []ApiVersionDescription)
internal/cloud/versions.go:89
↓ 2 callers
Function
setDefaultCommandIfNeeded
setDefaultCommandIfNeeded sets default scan command if no other command is requested.
internal/cmd/root.go:53
↓ 2 callers
Function
setupCommonTestEnvForConfigSync
(t *testing.T, tc struct { name string baseScriptName string })
internal/core/startup/prepare_test.go:344
↓ 2 callers
Function
shouldProceedToNextStage
(ctx corescan.Context)
internal/core/incremental_analysis.go:319
↓ 2 callers
Function
spin
spin creates spinner and runs the given function. Also, spin is a spider in Dutch.
internal/platform/msg/output.go:154
↓ 2 callers
Function
splitPath
splitPath splits a path by the OS separator. Empty strings from leading or repeated separators are preserved; the caller skips them.
internal/foundation/fs/canonical_unix.go:140
↓ 2 callers
Function
submoduleUpdate
GitSubmoduleUpdate updates submodules according to current revision
internal/platform/git/git.go:254
↓ 2 callers
Function
systemIndependentLinebreaks
(input string)
internal/platform/effectiveconfig/config_test.go:294
↓ 2 callers
Function
thresholdsToArgs
(thresholds map[string]string)
internal/platform/thresholds.go:67
↓ 2 callers
Function
toQodanaCode
(baseProduct string)
internal/platform/product/product_info.go:362
↓ 2 callers
Function
unpackWebUI
unpackWebUI unpacks WebUI for local report viewing
internal/platform/commoncontext/common.go:398
↓ 2 callers
Function
validateBranch
(branch string, env string)
internal/platform/qdenv/qdenv.go:205
↓ 2 callers
Function
validateJobUrl
(ciUrl string, qEnv string)
internal/platform/qdenv/qdenv.go:223
↓ 2 callers
Function
validateRemoteUrl
(remote string, qEnv string)
internal/platform/qdenv/qdenv.go:189
↓ 2 callers
Function
writeGlCodeQualityReport
writeGlCodeQualityReport saves GitLab CodeQuality issues to a file in JSON format
internal/platform/ext_gitlab.go:120
↓ 2 callers
Method
writeMailmap
(t *testing.T, content string)
internal/core/contributors_mailmap_test.go:106
↓ 1 callers
Method
BackoffToDefaultAnalysisBecauseOfMissingCommit
()
internal/core/corescan/context_changes.go:45
↓ 1 callers
Function
BranchLegacy
(cwd string)
internal/platform/git/git_legacy.go:27
↓ 1 callers
Function
BuildCallbackClient
BuildCallbackClient compiles the callback-client binary at destPath with addr baked in via -ldflags. An optional platform in "os/arch" format (e.g. "l
internal/testutil/mockexe/mockexe.go:71
↓ 1 callers
Method
CdnetConfiguration
()
internal/platform/thirdpartyscan/context.go:193
↓ 1 callers
Method
CdnetNoBuild
()
internal/platform/thirdpartyscan/context.go:196
↓ 1 callers
Method
CdnetPlatform
()
internal/platform/thirdpartyscan/context.go:194
← previous
next →
501–600 of 1,503, ranked by callers