Code
Hub
Workspaces
Following
Trending
Connect
MCP
copy
Create free account
hub
/
github.com/alibaba/open-code-review
/ functions
Functions
7,390 in github.com/alibaba/open-code-review
⨍
Functions
7,390
◇
Types & classes
806
Function
TestFormatPlanGuidance_FullJSON
(t *testing.T)
internal/scan/agent_test.go:57
Function
TestFormatPlanGuidance_SummaryOnly
(t *testing.T)
internal/scan/agent_test.go:89
Function
TestFormatResult
(t *testing.T)
acp/internal/adapter/presentation/report_test.go:190
Function
TestFormatResultVariants
(t *testing.T)
acp/internal/adapter/presentation/report_test.go:197
Function
TestFormatTime
(t *testing.T)
internal/viewer/server_test.go:123
Function
TestFormatTime_UTC
(t *testing.T)
internal/viewer/server_test.go:133
Function
TestFormatToolDefs
(t *testing.T)
internal/agent/agent_test.go:407
Function
TestFormattedFindingsKeepSafeNavigationAndText
(t *testing.T)
acp/internal/adapter/presentation/report_test.go:206
Function
TestFreezeAggregatesAndSorts
(t *testing.T)
internal/llm/retry_report_test.go:474
Function
TestFreezeErrorIdentifiesTheRequest
A construction error has to name the offending request: with --concurrency > 1 a run holds hundreds of logical requests, and the error reaches the use
internal/llm/retry_report_test.go:629
Function
TestFreezeErrorIsDeterministic
Freeze walks entries in logical_request_id order rather than map order, so a collector holding several broken entries always blames the same one. Unde
internal/llm/retry_report_test.go:652
Function
TestFreezeListsCancelledRequestWithoutErrorAttempt
A request cancelled after a single clean attempt has no error attempt and no retry, yet it counts in cancelled_requests. It must still be listed, or t
internal/llm/retry_report_test.go:521
Function
TestFreezeRefusesEntryWithNoAttempt
Not reachable through the API: RecordAttempt is the only thing that creates an entry and it always appends. The entry is built directly because this g
internal/llm/retry_report_test.go:696
Function
TestFreezeRejectsInvalidRunID
(t *testing.T)
internal/llm/retry_report_test.go:676
Function
TestFreezeRejectsOrderingViolations
(t *testing.T)
internal/llm/retry_report_test.go:568
Function
TestFreezeReturnsNothingWhenNoRetryHappened
(t *testing.T)
internal/llm/retry_report_test.go:459
Function
TestFreezeSucceededRequestWithExtraAttempt
The x-should-retry case: a retry with no error at all. "1 retry, 0 recovered, 0 failed" is the correct answer, not a counting bug.
internal/llm/retry_report_test.go:541
Function
TestFreezeSuppressesReportWhenValidationFails
The point is not the tampering — Freeze's own accounting cannot produce broken numbering. It is that validateReport is wired into Freeze rather than m
internal/llm/retry_report_test.go:714
Function
TestFrozenAfterFinalize
After Finalize the builder is frozen: further mutation returns an error and Finalize is idempotent.
internal/session/manifest_test.go:466
Function
TestFrozenRevisionDoesNotReadWorkspace
(test *testing.T)
internal/behaviortask/code_test.go:124
Function
TestGPT56ModelsUseResponsesProtocol
TestGPT56ModelsUseResponsesProtocol guards the fix for issue #559: GPT-5.6 models require the OpenAI Responses API (/v1/responses). A built-in provide
internal/llm/providers_test.go:289
Function
TestGenerate
(t *testing.T)
internal/llm/gen/main_test.go:103
Function
TestGenerateRequiresOutput
(t *testing.T)
internal/llm/gen/main_test.go:76
Function
TestGeneratedProvidersUpToDate
(t *testing.T)
internal/llm/gen/main_test.go:18
Function
TestGetCommitMessage
(t *testing.T)
cmd/opencodereview/git_test.go:65
Function
TestGetCommitMessage_IgnoresGitStderr
TestGetCommitMessage_IgnoresGitStderr covers ocr review --commit, which uses the commit message as review background. getCommitMessage used CombinedOu
cmd/opencodereview/git_test.go:88
Function
TestGetCommitMessage_InvalidCommit
(t *testing.T)
cmd/opencodereview/git_test.go:76
Function
TestGetDiffSetKeepsRootPackageSourceDir
(t *testing.T)
internal/diff/git_test.go:111
Function
TestGetDiffSetRetainsBuiltInDirectoryExclusionsForReporting
(t *testing.T)
internal/diff/git_test.go:73
Function
TestGetDiffSetWalksChangesetOrder
(t *testing.T)
internal/diff/git_test.go:140
Function
TestGetDiffSetWalksChangesetOrderAcrossGitignoreDrop
(t *testing.T)
internal/diff/git_test.go:184
Function
TestGetDiff_CancelledMidWriteReportsCancellation
TestGetDiff_CancelledMidWriteReportsCancellation covers the case that has no diagnosis to quote at all: a signalled process writes nothing to stderr,
internal/diff/git_error_test.go:203
Function
TestGetDiff_CommitFailureSurfacesGitMessage
TestGetDiff_CommitFailureSurfacesGitMessage is the regression test for #972: `git show` failing used to surface as a bare exit status, so neither the
internal/diff/git_error_test.go:236
Function
TestGetDiff_FailureQuotesStderrNotStdout
TestGetDiff_FailureQuotesStderrNotStdout pins the split that keeps repository content out of the error. Git writes the diff to stdout and its diagnos
internal/diff/git_error_test.go:179
Function
TestGetDiff_WorkspaceFailureSurfacesFallbackMessage
TestGetDiff_WorkspaceFailureSurfacesFallbackMessage pins which of the two commands in workspaceTrackedDiff gets to speak when both fail. Reaching the
internal/diff/git_error_test.go:105
Function
TestGetMeter
(t *testing.T)
internal/telemetry/metrics_test.go:60
Function
TestGetOrCreateFileSession
(t *testing.T)
internal/session/history_test.go:54
Function
TestGetTracer
(t *testing.T)
internal/telemetry/span_test.go:104
Function
TestGitFailure
(t *testing.T)
internal/diff/git_error_test.go:21
Function
TestGitGrep_CommitMode_Found
(t *testing.T)
internal/tool/code_search_test.go:245
Function
TestGitGrep_CommitMode_LiteralWithRegexMetaChars
(t *testing.T)
internal/tool/code_search_test.go:345
Function
TestGitGrep_CommitMode_NoMatch
(t *testing.T)
internal/tool/code_search_test.go:261
Function
TestGitGrep_CommitMode_WithBadPathspec
(t *testing.T)
internal/tool/code_search_test.go:319
Function
TestGitGrep_CommitMode_WithPathspec
(t *testing.T)
internal/tool/code_search_test.go:274
Function
TestGitGrep_InvalidRef_ReturnsError
(t *testing.T)
internal/tool/code_search_test.go:358
Function
TestGitGrep_LiteralWithRegexMetaChars
(t *testing.T)
internal/tool/code_search_test.go:333
Function
TestGitGrep_NonASCIIPath
(t *testing.T)
internal/tool/code_search_test.go:793
Function
TestGitGrep_NonGitDirectoryFallback
TestGitGrep_NonGitDirectoryFallback verifies code_search works in a plain (non-git) directory by retrying git grep in --no-index mode instead of faili
internal/tool/code_search_test.go:489
Function
TestGitGrep_NonGitDirectoryNoMatch
TestGitGrep_NonGitDirectoryNoMatch verifies the no-match path in a non-git dir returns the sentinel rather than an error.
internal/tool/code_search_test.go:522
Function
TestGitGrep_OptionLikeRefDoesNotLaunchPager
(t *testing.T)
internal/tool/code_search_test.go:296
Function
TestGitGrep_PerlRegexp_InvalidPattern_ReturnsError
(t *testing.T)
internal/tool/code_search_test.go:373
Function
TestGitGrep_RejectsOptionLikeRef
(t *testing.T)
internal/tool/code_search_test.go:53
Function
TestGitGrep_ResultLimit
(t *testing.T)
internal/tool/code_search_test.go:168
Function
TestGitGrep_Timeout
(t *testing.T)
internal/tool/code_search_test.go:743
Function
TestGitGrep_WithRunner
(t *testing.T)
internal/tool/code_search_test.go:700
Function
TestGitGrep_WithRunner_CommitMode
(t *testing.T)
internal/tool/code_search_test.go:728
Function
TestGitGrep_WithRunner_NoMatch
(t *testing.T)
internal/tool/code_search_test.go:714
Function
TestGitGrep_WorkspaceMode_Found
(t *testing.T)
internal/tool/code_search_test.go:144
Function
TestGitGrep_WorkspaceMode_NoMatch
(t *testing.T)
internal/tool/code_search_test.go:156
Function
TestGitGrep_WorkspaceMode_UntrackedFile
(t *testing.T)
internal/tool/code_search_test.go:466
Function
TestGitRepoRejectsEmptyRef
(t *testing.T)
acp/internal/intent/validate_extra_test.go:12
Function
TestGitRepoResolvesHead
(t *testing.T)
acp/internal/intent/validate_extra_test.go:18
Function
TestGitVersion_AtLeast
(t *testing.T)
internal/gitcmd/version_test.go:52
Function
TestGitcmdPipeHelper
TestGitcmdPipeHelper is the helper entry point. It does nothing unless the mode env var is set, so a normal test run ignores it.
internal/gitcmd/runner_pipe_windows_test.go:37
Function
TestGraceRoundRequestBudgetOverridesRoundLimit
(test *testing.T)
internal/llmloop/request_budget_test.go:70
Function
TestGroupBatches_BatchSizeCap
(t *testing.T)
internal/scan/batch_test.go:102
Function
TestGroupBatches_ByDirectory
(t *testing.T)
internal/scan/batch_test.go:73
Function
TestGroupBatches_ByLanguage
(t *testing.T)
internal/scan/batch_test.go:51
Function
TestGroupBatches_Empty
(t *testing.T)
internal/scan/batch_test.go:116
Function
TestGroupBatches_None
(t *testing.T)
internal/scan/batch_test.go:93
Function
TestGroupChurn
(t *testing.T)
internal/agent/grouping_test.go:717
Function
TestGroupDiffs_AtFileThresholdCallsLLM
(t *testing.T)
internal/agent/grouping_test.go:409
Function
TestGroupDiffs_BundleDisabledFallsToPerFile
(t *testing.T)
internal/agent/grouping_test.go:429
Function
TestGroupDiffs_BundleSplitByMaxFilesPerGroup
(t *testing.T)
internal/agent/grouping_test.go:488
Function
TestGroupDiffs_BundleTokenBudgetSplit
(t *testing.T)
internal/agent/grouping_test.go:354
Function
TestGroupDiffs_LLMError_Fallback
(t *testing.T)
internal/agent/grouping_test.go:257
Function
TestGroupDiffs_LLMSuccess
(t *testing.T)
internal/agent/grouping_test.go:271
Function
TestGroupDiffs_NoGroupingTask
(t *testing.T)
internal/agent/grouping_test.go:249
Function
TestGroupDiffs_SingleFile
(t *testing.T)
internal/agent/grouping_test.go:241
Function
TestGroupDiffs_SingleFileSkipsQuietly
(t *testing.T)
internal/agent/grouping_test.go:446
Function
TestGroupDiffs_SingleFileSkipsWithGroupingDisabled
(t *testing.T)
internal/agent/grouping_test.go:473
Function
TestGroupDiffs_SkipLogReportsActualShape
(t *testing.T)
internal/agent/grouping_test.go:379
Function
TestGroupDiffs_SmallHighChurnPerFile
(t *testing.T)
internal/agent/grouping_test.go:331
Function
TestGroupDiffs_SmallLowChurnBundles
(t *testing.T)
internal/agent/grouping_test.go:306
Function
TestGroupRules
(t *testing.T)
internal/delegate/rulegroup_test.go:35
Function
TestGroupingPlan
(t *testing.T)
internal/config/template/template_test.go:148
Function
TestGroupingStrategyString
(t *testing.T)
internal/config/template/template_test.go:184
Function
TestGroupingView
(t *testing.T)
internal/viewer/store_test.go:112
Function
TestHTTPClientWithHeaderTimeout
(t *testing.T)
internal/llm/retry_boundary_test.go:735
Function
TestHTTPFailureIncludesSafeProviderMessage
(t *testing.T)
acp/internal/intent/llm/diagnostics_test.go:240
Function
TestHTTPFailureRedactsEncodedQueryCredentials
(t *testing.T)
acp/internal/intent/llm/diagnostics_test.go:175
Function
TestHTTPFailureShape
(t *testing.T)
internal/chatgptauth/lifecycle_test.go:363
Function
TestHandleCompare
(t *testing.T)
internal/viewer/compare_test.go:210
Function
TestHandleCustomFormEnter_Steps
TestHandleCustomFormEnter_Steps drives handleCustomFormEnter through the create flow's every cpStep, covering both guard and advance branches.
cmd/opencodereview/provider_tui_customform_test.go:17
Function
TestHandleDown_CustomTab
(t *testing.T)
cmd/opencodereview/provider_tui_funcs_test.go:614
Function
TestHandleDown_CustomTab_Wraps
(t *testing.T)
cmd/opencodereview/provider_tui_funcs_test.go:631
Function
TestHandleDown_ModelStep
(t *testing.T)
cmd/opencodereview/provider_tui_funcs_test.go:647
Function
TestHandleDown_ModelStep_Wraps
(t *testing.T)
cmd/opencodereview/provider_tui_funcs_test.go:658
Function
TestHandleDown_OfficialTab
(t *testing.T)
cmd/opencodereview/provider_tui_funcs_test.go:589
Function
TestHandleDown_OfficialTab_Wraps
(t *testing.T)
cmd/opencodereview/provider_tui_funcs_test.go:601
← previous
next →
4,201–4,300 of 7,390, ranked by callers