MCPcopy Create free account

hub / github.com/JetBrains/qodana-cli / functions

Functions1,503 in github.com/JetBrains/qodana-cli

↓ 1 callersFunctionlogProjectOpen
(ch chan FuserEvent, linterInfo thirdpartyscan.LinterInfo, projectIdHash string)
internal/platform/statistics.go:125
↓ 1 callersFunctionlog_request_entry
Log request/response as JSON line for programmatic access.
test_linter/testdata/mock_server.py:39
↓ 1 callersFunctionmain
()
scripts/validate-dockerfiles-urls.py:71
↓ 1 callersFunctionmain
Main entry point: parse arguments, load variants, load templates, and generate Dockerfiles.
scripts/dockerfiles.py:300
↓ 1 callersFunctionmain
()
scripts/validate_dockerfiles_base.py:145
↓ 1 callersFunctionmain
Start the HTTPS mock server.
test_linter/testdata/mock_server.py:348
↓ 1 callersFunctionmakeFakeProductInfo
(ideDir string, productCode string)
internal/platform/commoncontext/analyzer_cli_options_test.go:192
↓ 1 callersFunctionmergeReports
(ch <-chan *sarif.Report)
internal/platform/sarif.go:271
↓ 1 callersFunctionmergeSarifReports
(c thirdpartyscan.Context)
clang/sarif.go:8
↓ 1 callersFunctionnewSendCommand
newShowCommand returns a new instance of the show command.
internal/cmd/send.go:32
↓ 1 callersFunctionnormalizeRepositoryRoot
normalizeRepositoryRoot checks if projectDir is inside or equal to repositoryRoot and returns the repositoryRoot path as it appears in projectDir (to
internal/platform/commoncontext/compute.go:174
↓ 1 callersFunctionnormalizeScriptForTesting
(script string)
internal/core/system_test.go:430
↓ 1 callersFunctionnugetWithPrivateFeed
(nugetSourceName string, nugetUrl string, nugetUser string, nugetPassword string)
internal/platform/nuget/nuget.go:128
↓ 1 callersFunctionparseChecksumLine
parseChecksumLine parses a "<hex> <filename>" line and returns the hex portion.
internal/tooling/scripts/build-qodana-jbr.go:535
↓ 1 callersFunctionparseDiff
parseDiff parses the git diff output and extracts changes
internal/platform/git/git_changes.go:102
↓ 1 callersFunctionparseEnv
parseEnv converts ["KEY=VALUE", ...] to map[string]string.
internal/testutil/mockexe/server.go:143
↓ 1 callersFunctionparsePomXml
()
internal/tooling/scripts/download-libs.go:121
↓ 1 callersFunctionparseScanOptionsForTest
(t *testing.T, args ...string)
internal/platform/cmd/scan_options_test.go:26
↓ 1 callersFunctionparse_args
Parse command-line arguments and return the Qodana version. Returns: str: The Qodana major version (e.g., "2026.1").
scripts/dockerfiles.py:98
↓ 1 callersFunctionparse_json_body
Try to parse body as JSON, return None if not valid JSON.
test_linter/testdata/mock_server.py:55
↓ 1 callersFunctionpatchReport
(c thirdpartyscan.Context)
cdnet/run.go:95
↓ 1 callersFunctionprepareArtifactPaths
( newCodeContext corescan.Context, originalScopeFile string, )
internal/core/incremental_analysis.go:304
↓ 1 callersFunctionprepareContainerSpecificDirectories
(prod product.Product, cacheDir string, confDir string)
internal/core/startup/prepare.go:170
↓ 1 callersFunctionprepareLocalIdeSettingsAndGetQodanaCloudUploadToken
( commonCtx commoncontext.Context, ideDir string, )
internal/core/startup/prepare.go:116
↓ 1 callersFunctionprepareQodanaTokenForNative
(token string)
internal/core/startup/prepare.go:149
↓ 1 callersFunctionprojectRoot
projectRoot walks up from the current working directory to find go.mod.
internal/testutil/dockertest/dockertest.go:118
↓ 1 callersFunctionpullImage
pullImage pulls docker image.
internal/core/container.go:239
↓ 1 callersFunctionpythonAgreeingDqEscapeCases
(C) Python agrees with POSIX on these — ordinary cases.
internal/foundation/shlex/split_test.go:97
↓ 1 callersFunctionpythonDivergentCases
(B) Python-is-wrong per POSIX: strict POSIX consumes the backslash before $, `, and <LF> inside "...". Python preserves it. We follow POSIX.
internal/foundation/shlex/split_test.go:88
↓ 1 callersFunctionpythonPosixCases
(A) Python posix_data port — excluding comment-mode cases and three cases where Python diverges from POSIX (moved to sub-table (B)).
internal/foundation/shlex/split_test.go:23
↓ 1 callersFunctionreadFile
readFile reads the file at the given path and returns its content.
internal/platform/commoncontext/configurator.go:144
↓ 1 callersFunctionreadOpenInIde
(resultsDir, fileName string)
internal/cloud/report.go:46
↓ 1 callersFunctionreaddirnames
readdirnames returns an iterator over all entry names in an open directory, reading in batches of 256 per syscall.
internal/foundation/fs/find_entry_readdir.go:56
↓ 1 callersFunctionreceiveStdin
receiveStdin is the sole goroutine that calls ReadFrame on conn. The handler reads from the io.Pipe, not from conn directly.
internal/testutil/mockexe/server.go:102
↓ 1 callersMethodrequestApiEndpoints
()
internal/cloud/versions.go:103
↓ 1 callersFunctionrequestLicenseDataAttempt
(endpoint string, token string)
internal/cloud/license.go:137
↓ 1 callersFunctionresolveComposePath
resolveComposePath resolves the compose file path relative to the caller's source file directory (the test file that called ReexecInDocker).
internal/testutil/dockertest/dockertest.go:92
↓ 1 callersFunctionresolveTargetPlatform
Platform helpers ============================================================================
internal/tooling/scripts/build-qodana-jbr.go:163
↓ 1 callersFunctionroundTripCorpus
roundTripCorpus — hand-curated slices for the round-trip invariant.
internal/foundation/shlex/join_test.go:114
↓ 1 callersFunctionrun
()
internal/testutil/mockexe/src/callback-client/main.go:29
↓ 1 callersFunctionrunClangTidyUnderProgress
runClangTidyUnderProgress runs clang-tidy for each file in filesAndCompilers and shows a progress bar. configFile, when non-empty, is passed to clang-
clang/clang.go:27
↓ 1 callersFunctionrunContainer
runContainer runs the container.
internal/core/container.go:533
↓ 1 callersFunctionrunJdeps
(jdepsBin, jarPath string)
internal/tooling/scripts/build-qodana-jbr.go:465
↓ 1 callersFunctionrunJdepsOnAllJars
jdeps =======================================================================================
internal/tooling/scripts/build-qodana-jbr.go:434
↓ 1 callersFunctionrunLocalChanges
(ctx context.Context, c corescan.Context, startHash string)
internal/core/system.go:175
↓ 1 callersFunctionrunQodanaContainer
runQodanaContainer runs the analysis in a Docker container from a Qodana image.
internal/core/container.go:77
↓ 1 callersFunctionrunQodanaScan
runQodanaScan executes a qodana command with timeout and returns the output
test_linter/3rd_party_linter_jbr_integration_test.go:271
↓ 1 callersFunctionrunWithFullHistory
(ctx context.Context, c corescan.Context, startHash string)
internal/core/system.go:202
↓ 1 callersFunctionselectLatestCompatibleRelease
(prod *Product, reqType string)
internal/core/startup/releases.go:150
↓ 1 callersFunctionsendBitBucketReport
sendBitBucketReport sends annotations to BitBucket Code Insights
internal/platform/ext_bitbucket.go:71
↓ 1 callersFunctionsendFuserEvents
( ch chan FuserEvent, events *[]FuserEvent, c thirdpartyscan.Context, deviceId string, )
internal/platform/statistics.go:53
↓ 1 callersFunctionsendReportToQodanaServer
(c thirdpartyscan.Context)
internal/platform/run.go:232
↓ 1 callersFunctionserveCallback
(conn net.Conn, t testing.TB, handler func(ctx *CallContext) int)
internal/testutil/mockexe/server.go:33
↓ 1 callersFunctionsetInstallPluginsVmoptions
(c corescan.Context)
internal/core/properties.go:219
↓ 1 callersFunctionsetupToken
(projectDir string, repositoryRoot, id string, logdir string)
internal/platform/tokenloader/token_loader.go:125
↓ 1 callersFunctionsetupWorkspace
setupWorkspace copies qodana binary to container (test results already copied by init container)
test_linter/3rd_party_linter_jbr_integration_test.go:242
↓ 1 callersFunctionstartDockerCompose
(t *testing.T)
test_linter/3rd_party_linter_jbr_integration_test.go:104
↓ 1 callersFunctionstopDockerCompose
(t *testing.T)
test_linter/3rd_party_linter_jbr_integration_test.go:116
↓ 1 callersFunctiontestJdkTableXmlSync
(t *testing.T, tc struct { name string baseScriptName string })
internal/core/startup/prepare_test.go:280
↓ 1 callersFunctiontestNoOverwriteJdkTableXml
(t *testing.T, tc struct { name string baseScriptName string })
internal/core/startup/prepare_test.go:260
↓ 1 callersFunctionunpackZip
unpackZip unpacks zip archive to the destination path
internal/platform/embed.go:81
↓ 1 callersFunctionunsetGitHubVariables
()
internal/core/corescan/env_test.go:47
↓ 1 callersFunctionunsetTeamcityVariables
()
internal/core/corescan/env_test.go:29
↓ 1 callersFunctionupdateSubmodules
updateSubmodules performs a recursive submodule update to the ref specified in git cache.
internal/platform/git/git.go:131
↓ 1 callersFunctionutf8Cases
(S) UTF-8 pass-through.
internal/foundation/shlex/split_test.go:194
↓ 1 callersFunctionvalidate_urls_parallel
(urls: List[str])
scripts/validate-dockerfiles-urls.py:58
↓ 1 callersFunctionverifyBaselineCliLogs
(t *testing.T, scanOutput string)
test_linter/3rd_party_linter_jbr_integration_test.go:293
↓ 1 callersFunctionverifyDirectoriesContentEqual
(t *testing.T, expectedDir string, actualDir string)
internal/platform/effectiveconfig/config_test.go:220
↓ 1 callersFunctionverifyEffectiveQodanaYamlIdeAndLinterMatchLocal
( effectiveQodanaYamlData Files, localQodanaYamlPathFromRoot string, )
internal/platform/effectiveconfig/config.go:219
↓ 1 callersFunctionverifyIntellijReportConverter
(t *testing.T, containerID string)
test_linter/3rd_party_linter_jbr_integration_test.go:397
↓ 1 callersFunctionverifyPublisherCliCalls
(t *testing.T, reqMap map[string]*MockRequest)
test_linter/3rd_party_linter_jbr_integration_test.go:308
↓ 1 callersFunctionverifyQodanaFuserCalls
(t *testing.T, reqMap map[string]*MockRequest)
test_linter/3rd_party_linter_jbr_integration_test.go:359
↓ 1 callersFunctionverifySha256
(checksumFile string, checkSumUrl string, filePath string)
internal/core/startup/installers.go:327
↓ 1 callersFunctionverifyUsedFailThresholdFromGlobalConfiguration
(t *testing.T, scanOutput string)
test_linter/3rd_party_linter_jbr_integration_test.go:301
↓ 1 callersFunctionwaitForMockServer
(t *testing.T, containerID string)
test_linter/3rd_party_linter_jbr_integration_test.go:154
↓ 1 callersFunctionweaklyCanonicalImpl
(path string, depth int)
internal/foundation/fs/canonical_windows.go:56
↓ 1 callersFunctionwindowsPathCases
(D) Windows path matrix from the ticket.
internal/foundation/shlex/split_test.go:106
↓ 1 callersMethodwithAddedProperties
(propertiesToAdd ...string)
internal/core/corescan/context_changes.go:161
↓ 1 callersMethodwithEap
()
internal/platform/product/analyzers.go:83
↓ 1 callersFunctionworker
( c thirdpartyscan.Context, filesAndCompilers []FileWithHeaders, checks string, configFile string, extraC
clang/clang.go:63
↓ 1 callersFunctionwriteChangesFile
writeChangesFile creates a temp file containing the changes between diffStart and diffEnd
internal/core/incremental_analysis.go:342
↓ 1 callersFunctionwriteFile
(path string, content string)
internal/tooling/scripts/build-qodana-jbr.go:560
↓ 1 callersFunctionwriteProperties
writeProperties writes the given key=value `props` to file `f` (sets the environment variable)
internal/core/properties.go:207
↓ 1 callersFunctionwriteQodanaLinterToYamlFileWithWarning
WriteQodanaLinterToYamlFile adds the linter to the qodana.yaml file, also adds warning about sensetive information
internal/cmd/init.go:130
↓ 1 callersFunctionwriteShortSarifReport
TODO: think about removing short sarif generation from ultimate
internal/platform/run.go:303
↓ 1 callersFunctionwrite_dockerfile
Write the final Dockerfile content to the appropriate output directory. Args: variant (str): The variant name. dockerfile_co
scripts/dockerfiles.py:281
MethodAddSubmodule
AddSubmodule adds a submodule from the given remote URL at the given path. The submodule name will be the same as the path.
internal/platform/git/testutil.go:127
FunctionCanonical
Canonical returns the canonical form of path: absolute, with all symlinks resolved, dot/dotdot segments eliminated, redundant separators removed, and
internal/foundation/fs/canonical_windows.go:17
FunctionDir
Dir returns the parent directory of path without calling filepath.Clean. Unlike filepath.Dir, this does not lexically resolve "." or ".." components.
internal/foundation/fs/relativity.go:116
MethodEnv
()
internal/platform/qdenv/qdenv_test.go:14
MethodEnv
()
internal/platform/qdenv/qdenv.go:101
MethodEnv
()
internal/platform/cmd/scan_options.go:90
FunctionFuzzSplitJoinRoundTrip
(Q) Round-trip fuzz via unit-separator encoding — covers variable-arity.
internal/foundation/shlex/join_test.go:259
FunctionFuzzSplitNeverPanics
(K) Never-panic fuzz.
internal/foundation/shlex/split_test.go:280
MethodGetAnalyzer
()
internal/platform/tokenloader/token_loader_test.go:29
MethodGetAnalyzer
()
internal/platform/commoncontext/context.go:65
MethodGetId
()
internal/platform/tokenloader/token_loader_test.go:25
MethodGetId
()
internal/platform/commoncontext/context.go:64
FunctionGetLines
GetLines splits a string into lines. A "line" is defined as a sequence of characters followed by either: - A newline character `\n` - The end of the s
internal/foundation/str/str.go:64
MethodGetLogDir
()
internal/platform/tokenloader/token_loader_test.go:41
← previousnext →801–900 of 1,503, ranked by callers