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
↓ 4 callers
Function
ComputeChangedFiles
(cwd string, diffStart string, diffEnd string, logdir string)
internal/platform/git/git_changes.go:55
↓ 4 callers
Method
ConfDirPath
()
internal/platform/commoncontext/context.go:44
↓ 4 callers
Method
CoverageDir
()
internal/core/corescan/context.go:160
↓ 4 callers
Function
CreateTempDir
CreateTempDir creates a temporary directory with the given name prefix. Returns the path, a cleanup function, and any error.
internal/foundation/fs/fs.go:118
↓ 4 callers
Method
CustomPluginsPath
()
internal/platform/product/product_info.go:81
↓ 4 callers
Function
DeserializeLicenseData
(data []byte)
internal/cloud/license.go:102
↓ 4 callers
Function
DownloadFile
DownloadFile downloads a file from a given URL to a given filepath.
internal/platform/utils/utils.go:96
↓ 4 callers
Method
Env
()
internal/platform/qdenv/qdenv.go:95
↓ 4 callers
Function
Execute
Execute is a main CLI entrypoint: handles user interrupt, CLI start and everything else.
internal/cmd/root.go:64
↓ 4 callers
Function
FindLinterByProductCode
(productCode string)
internal/platform/product/product.go:370
↓ 4 callers
Method
ForceLocalChangesScript
()
internal/core/corescan/context.go:176
↓ 4 callers
Function
GetBitBucketRepoFullName
GetBitBucketRepoFullName returns the BitBucket repository slug in the form "owner/repo".
internal/platform/qdenv/qdenv.go:305
↓ 4 callers
Function
GetProblemsFoundMessage
GetProblemsFoundMessage returns a message about the number of problems found, used in CLI and BitBucket report.
internal/platform/msg/output.go:266
↓ 4 callers
Function
GetTmpResultsDir
(resultsDir string)
internal/platform/files.go:70
↓ 4 callers
Function
GetToolsMountPath
(cacheDir string)
internal/tooling/libs.go:81
↓ 4 callers
Method
GlobalConfigurationId
()
internal/core/corescan/context.go:147
↓ 4 callers
Function
GuessAnalyzerFromEnvAndCLI
( ide string, linter string, image string, withinDocker string, )
internal/platform/commoncontext/common.go:44
↓ 4 callers
Function
Init
Init runs miscellaneous process-wide utility code.
internal/platform/process/init.go:18
↓ 4 callers
Method
IsAllowedToSendFUS
()
internal/cloud/license.go:98
↓ 4 callers
Function
IsBitBucketPipe
IsBitBucketPipe returns true if the current environment is in a working BitBucket Pipe.
internal/platform/qdenv/qdenv.go:287
↓ 4 callers
Function
IsEap
(info *InfoJson)
internal/platform/product/product_info.go:393
↓ 4 callers
Function
IsGitLab
IsGitLab returns true if the current environment is GitLab CI.
internal/platform/qdenv/qdenv.go:277
↓ 4 callers
Function
IsProcess
IsProcess returns true if a process with cmd containing 'find' substring exists.
internal/platform/utils/utils.go:219
↓ 4 callers
Function
LaunchAndLog
LaunchAndLog launches a process and logs its output. The actual executable is args[0]; logLabel is only used for log file names.
internal/platform/utils/utils.go:76
↓ 4 callers
Method
NewCloudApiClient
(token string)
internal/cloud/endpoints.go:101
↓ 4 callers
Function
ProcessAuxiliaryTool
(toolName, moniker, mountPath string, bytes []byte)
internal/platform/embed.go:49
↓ 4 callers
Method
ProjectDirPathRelativeToRepositoryRoot
()
internal/core/corescan/context.go:408
↓ 4 callers
Method
PushAll
PushAll pushes all branches and tags to origin.
internal/platform/git/testutil.go:114
↓ 4 callers
Function
RemoteUrl
RemoteUrl returns the remote url of the git repository.
internal/platform/git/git.go:284
↓ 4 callers
Function
ReportId
(projectName string)
internal/platform/sarif.go:306
↓ 4 callers
Method
RequestProjectName
()
internal/cloud/cloud.go:31
↓ 4 callers
Function
RequireNightlyAuth
RequireNightlyAuth skips the test if running against nightly (unreleased) versions and the required QD_PRODUCT_INTERNAL_AUTH environment variable is n
internal/platform/product/testing.go:28
↓ 4 callers
Function
Root
Root returns absolute path of repo root
internal/platform/git/git.go:275
↓ 4 callers
Method
RunAnalysis
(c thirdpartyscan.Context)
internal/platform/third_party_linter.go:25
↓ 4 callers
Method
SaveReport
()
internal/core/corescan/context.go:168
↓ 4 callers
Method
ShowReport
()
internal/core/corescan/context.go:169
↓ 4 callers
Method
Submodule
Submodule returns a GitRepo for the submodule at the given path.
internal/platform/git/testutil.go:121
↓ 4 callers
Function
TestOnlyLoadLocalNotEffectiveQodanaYaml
TestOnlyLoadLocalNotEffectiveQodanaYaml test only! Gets Qodana YAML from the project. Does not process `imports` field and doesn't use global configur
internal/platform/qdyaml/yaml.go:377
↓ 4 callers
Function
WalkArchive
WalkArchive calls callback for each file entry in an archive specified by path. Format is guessed automatically from the extension.
internal/foundation/archive/archive.go:24
↓ 4 callers
Function
With
With acquires an exclusive POSIX file lock on lockPath, runs fn, then releases the lock. The lock file is created if it doesn't exist. This provides i
internal/foundation/flock/flock_unix.go:16
↓ 4 callers
Function
WriteFrame
WriteFrame writes a single frame to the wire: 1-byte type + 4-byte big-endian length + payload.
internal/testutil/mockexe/protocol.go:65
↓ 4 callers
Function
WriteReport
(path string, finalReport *sarif.Report)
internal/platform/sarif.go:129
↓ 4 callers
Function
allLintersFiltered
(linters []Linter, filter func(linter *Linter) bool)
internal/platform/product/product.go:330
↓ 4 callers
Function
arrayCopy
(arr []string)
internal/core/corescan/context.go:332
↓ 4 callers
Function
checkFileExists
(t *testing.T, filePath string, shouldExist bool)
internal/core/startup/prepare_test.go:306
↓ 4 callers
Function
check_templates
The .j2 snippets are appended verbatim to each Dockerfile but never flattened here; they are trailing layers, so any FROM (literal or variable) wo
scripts/validate_dockerfiles_base.py:113
↓ 4 callers
Function
copyAndSaveReport
(lastContext corescan.Context, c corescan.Context)
internal/core/incremental_analysis.go:330
↓ 4 callers
Function
createTempFileWithContent
(content string)
internal/platform/nuget/nuget_test.go:29
↓ 4 callers
Function
diffToInt
diffToInt converts a string to an integer preserving git default number logic
internal/platform/git/git_changes.go:204
↓ 4 callers
Function
extractArchive
(archivePath string, targetDir string, stripComponents int)
internal/core/startup/installers.go:232
↓ 4 callers
Function
getBranchName
(pwd string)
internal/platform/sarifVersioning.go:118
↓ 4 callers
Function
getDeclaredSubmodules
(cwd string, logdir string)
internal/platform/git/git.go:163
↓ 4 callers
Function
getIde
goland:noinspection GoBoolExpressions
internal/core/startup/installers.go:128
↓ 4 callers
Function
getIdeRunCommand
(c corescan.Context)
internal/core/ide.go:100
↓ 4 callers
Function
getSpaceRemoteUrl
getSpaceJobUrl returns the Space job URL.
internal/platform/qdenv/qdenv.go:259
↓ 4 callers
Function
getSubmodules
getSubmodules returns all submodules of a repository (non-recursive). Only submodules that are present in BOTH .gitmodules and git cache are reported.
internal/platform/git/git.go:195
↓ 4 callers
Function
getTokenFromKeychain
(refresh bool, id string)
internal/platform/tokenloader/token_loader.go:167
↓ 4 callers
Function
gitOutput
gitOutput runs the git command in the given directory and returns the output.
internal/platform/git/git_legacy.go:52
↓ 4 callers
Function
isAndroidProject
isAndroidProject checks if the given directory is an Android project by checking AndroidManifest https://developer.android.com/guide/topics/manifest/m
internal/platform/commoncontext/configurator.go:209
↓ 4 callers
Method
javaHome
()
internal/platform/product/product_info.go:105
↓ 4 callers
Function
normalize
(s string)
internal/platform/sarif_test.go:133
↓ 4 callers
Function
readIdeaDir
readIdeaDir reads .idea directory and tries to detect which languages are used in the project.
internal/platform/commoncontext/configurator.go:170
↓ 4 callers
Function
removeDuplicates
(results []sarif.Result)
internal/platform/sarif.go:101
↓ 4 callers
Function
resolvePath
resolvePath returns EvalSymlinks(p) when it succeeds, otherwise Abs(p). EvalSymlinks fails when the path doesn't exist; Abs is good enough there.
clang/config.go:47
↓ 4 callers
Function
runClangTidy
runClangTidy runs clang-tidy for a single file. configFile, when non-empty, is forwarded as --config-file=<path>. It is inserted before the extraClan
clang/clang.go:142
↓ 4 callers
Function
runQodana
(ctx context.Context, c corescan.Context)
internal/core/system.go:254
↓ 4 callers
Function
setupTestFile
(fileName string, content string)
internal/platform/qdyaml/yaml_test.go:28
↓ 4 callers
Function
skipIfCaseInsensitive
(t *testing.T)
internal/foundation/fs/canonical_test.go:62
↓ 4 callers
Function
substitute_from_directives
Recursively replace lines of the form: FROM identifier where 'identifier' is composed of letters and dashes, with the contents of
scripts/dockerfiles.py:171
↓ 4 callers
Function
unresolved_includes
Bare `FROM <name>` left by a failed include (name is neither a build stage nor a known base).
scripts/validate_dockerfiles_base.py:79
↓ 4 callers
Method
writeFrame
(typ byte, payload []byte)
internal/testutil/mockexe/protocol.go:85
↓ 3 callers
Method
AnalysisId
()
internal/platform/thirdpartyscan/context.go:197
↓ 3 callers
Method
AnalysisTimeoutMs
()
internal/core/corescan/context.go:197
↓ 3 callers
Method
ApplyFixes
()
internal/core/corescan/context.go:186
↓ 3 callers
Method
Baseline
()
internal/core/corescan/context.go:166
↓ 3 callers
Method
Baseline
()
internal/platform/thirdpartyscan/context.go:198
↓ 3 callers
Method
BaselineIncludeAbsent
()
internal/core/corescan/context.go:167
↓ 3 callers
Function
Branch
Branch returns the current branch of the git repository.
internal/platform/git/git.go:293
↓ 3 callers
Method
CdnetNoBuild
()
internal/core/corescan/context.go:194
↓ 3 callers
Method
Checkout
Checkout checks out the given ref.
internal/platform/git/testutil.go:97
↓ 3 callers
Function
CreateUser
CreateUser will make dynamic uid as a valid user `idea`, needed for gradle cache.
internal/core/startup/prepare.go:308
↓ 3 callers
Method
DetermineRunScenario
(hasStartHash bool)
internal/core/corescan/context.go:351
↓ 3 callers
Function
DisableColor
DisableColor disables colors in the output.
internal/platform/msg/output.go:64
↓ 3 callers
Method
DisabledPluginsFilePath
()
internal/platform/product/product_info.go:93
↓ 3 callers
Function
ExtractQodanaEnvironment
ExtractQodanaEnvironment extracts Qodana environment variables from the current environment.
internal/platform/qdenv/qdenv.go:142
↓ 3 callers
Method
FailThreshold
()
internal/core/corescan/context.go:172
↓ 3 callers
Method
FailThreshold
()
internal/platform/thirdpartyscan/context.go:200
↓ 3 callers
Function
FindLinterByImage
(image string)
internal/platform/product/product.go:354
↓ 3 callers
Function
FindLinterByName
(name string)
internal/platform/product/product.go:380
↓ 3 callers
Method
FixesStrategy
()
internal/core/corescan/context.go:188
↓ 3 callers
Method
FullHistory
()
internal/core/corescan/context.go:185
↓ 3 callers
Method
GenerateCodeClimateReport
()
internal/core/corescan/context.go:182
↓ 3 callers
Method
GetAnalysisTimeout
()
internal/core/corescan/context.go:392
↓ 3 callers
Method
GetLicenseData
(token string)
internal/cloud/license.go:223
↓ 3 callers
Method
GetShowReportPort
GetShowReportPort returns --show-report-port or --port or default as a fallback for backwards compatibility
internal/platform/cmd/scan_options.go:445
↓ 3 callers
Function
GetVersionDetails
it is needed for third party linters GetVersionDetails returns the version control details for the current repository.
internal/platform/sarifVersioning.go:36
↓ 3 callers
Function
InitWithCustomCommands
InitWithCustomCommands adds custom commands to the root command.
internal/cmd/root.go:144
↓ 3 callers
Method
InstallPluginsVmOptionsPath
()
internal/core/corescan/context.go:374
↓ 3 callers
Method
Is233orNewer
Is233orNewer returns true if the current Product is 233 or newer.
internal/platform/product/product_info.go:230
↓ 3 callers
Method
Is242orNewer
()
internal/platform/product/product_info.go:234
← previous
next →
201–300 of 1,503, ranked by callers