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
TestLoadSession_LLMError
(t *testing.T)
internal/viewer/store_load_test.go:389
Function
TestLoadSession_LLMErrorWithoutRequest
(t *testing.T)
internal/viewer/store_load_test.go:536
Function
TestLoadSession_MalformedLines
(t *testing.T)
internal/viewer/store_load_test.go:366
Function
TestLoadSession_MarkIDStableAndDistinct
(t *testing.T)
internal/viewer/store_load_test.go:756
Function
TestLoadSession_MarkIDUnicodeFields
(t *testing.T)
internal/viewer/store_load_test.go:801
Function
TestLoadSession_MissingFile
(t *testing.T)
internal/viewer/store_load_test.go:263
Function
TestLoadSession_MultipleRequests
(t *testing.T)
internal/viewer/store_load_test.go:459
Function
TestLoadSession_MultipleTaskTypes
(t *testing.T)
internal/viewer/store_load_test.go:652
Function
TestLoadSession_ResponseWithoutRequest
(t *testing.T)
internal/viewer/store_load_test.go:512
Function
TestLoadSession_ReviewComments
TestLoadSession_ReviewComments covers the review_item_done / review_item_reused comment-parsing block: every ReviewComment field, the per-comment path
internal/viewer/store_load_test.go:696
Function
TestLoadSession_TaskDoneStates
(t *testing.T)
internal/viewer/store_load_test.go:211
Function
TestLoadSession_ToolCallWithOkFalse
(t *testing.T)
internal/viewer/store_load_test.go:420
Function
TestLoadSession_ToolCallWithoutRequest
(t *testing.T)
internal/viewer/store_load_test.go:559
Function
TestLoadSummaryIgnoresUnknownManifestVersion
(t *testing.T)
internal/session/list_test.go:218
Function
TestLoadSummaryPrefersV1RunManifest
(t *testing.T)
internal/session/list_test.go:157
Function
TestLoadSummary_FallsBackToSessionEndFilesReviewed
(t *testing.T)
internal/session/list_test.go:127
Function
TestLoadSummary_HomeUnset
TestLoadSummary_HomeUnset covers the SessionFilePath error branch in LoadSummary (and, by extension, LoadDetail) when the home dir cannot resolve.
internal/session/list_more_test.go:42
Function
TestLoadSummary_MissingFile
(t *testing.T)
internal/session/list_test.go:237
Function
TestLoadTiktokenBpe_KnownURL
(t *testing.T)
internal/llm/embedded_loader_test.go:61
Function
TestLoadTiktokenBpe_UnknownURL
(t *testing.T)
internal/llm/embedded_loader_test.go:72
Function
TestLoadToolDefsFromTaskTemplates
(test *testing.T)
cmd/opencodereview/shared_llmruntime_test.go:390
Function
TestLocalOnlySharesSlotsAndDisablesFetching
(test *testing.T)
internal/gitcmd/runner_test.go:46
Function
TestLocalRepositoryRejectsRedirectsAndDisablesFilters
(t *testing.T)
internal/gitcmd/runner_test.go:79
Function
TestLogExclusions_SecretPath
logExclusions switches on the exclusion reason with a `continue` default, so a reason with no case arm is dropped from the log and the filtered count
internal/agent/agent_test.go:354
Function
TestLogSelection_SecretPath
Without its own branch a credential path is reported as "filtered by path/extension rules", which misstates why it was skipped.
internal/scan/coverage_test.go:143
Function
TestLogicalRequestIDCanonicalEncoding
The encoding is sha256 over version, run_id, provider, model, file_path, task_type and decimal request_no, each followed by a NUL — the trailing field
internal/llm/retry_meta_test.go:121
Function
TestLogicalRequestIDIsDeterministic
(t *testing.T)
internal/llm/retry_meta_test.go:51
Function
TestLogicalRequestIDSeparatesFields
TestLogicalRequestIDSeparatesFields is the reason the encoding is canonical: a plain concatenation would give these metas the same digest.
internal/llm/retry_meta_test.go:63
Function
TestLogicalRequestIDVariesWithRunIDAndRequestNo
(t *testing.T)
internal/llm/retry_meta_test.go:87
Function
TestLoginAcceptsMatchingStateDenial
(t *testing.T)
internal/chatgptauth/login_recovery_test.go:83
Function
TestLoginCompletesWhileBrowserOpenerIsRunning
(t *testing.T)
internal/chatgptauth/login_recovery_test.go:51
Function
TestLoginDrainsCallbackResponse
(t *testing.T)
internal/chatgptauth/login_recovery_test.go:152
Function
TestLoginIgnoresUnrelatedCallbacks
(t *testing.T)
internal/chatgptauth/login_recovery_test.go:18
Function
TestLogout
(t *testing.T)
internal/chatgptauth/auth_test.go:331
Function
TestLogoutRevocationRetriesAndCancellation
(t *testing.T)
internal/chatgptauth/io_test.go:69
Function
TestLogoutUnconfirmedRevocation
(t *testing.T)
internal/chatgptauth/lifecycle_test.go:326
Function
TestLooksLikeFilePath_FileExtensions
(t *testing.T)
internal/config/rules/system_rules_test.go:1684
Function
TestLooksLikeFilePath_InlineContent
── looksLikeFilePath tests ──
internal/config/rules/system_rules_test.go:1663
Function
TestLooksLikeFilePath_MultiLine
(t *testing.T)
internal/config/rules/system_rules_test.go:1677
Function
TestLooksLikeFilePath_PathWithoutExtension
(t *testing.T)
internal/config/rules/system_rules_test.go:1713
Function
TestLooksLikeFilePath_WithSpaces
(t *testing.T)
internal/config/rules/system_rules_test.go:1699
Function
TestLooksLikeObjC
(t *testing.T)
internal/config/rules/sniffer_test.go:272
Function
TestLookupDiff
(t *testing.T)
internal/scan/coverage_test.go:89
Function
TestLookupProvider_AnthropicDetails
(t *testing.T)
internal/llm/providers_test.go:179
Function
TestLookupProvider_ChatGPTDetails
(t *testing.T)
internal/llm/providers_test.go:35
Function
TestLookupProvider_DeepSeekFlash
(t *testing.T)
internal/llm/providers_test.go:239
Function
TestLookupProvider_KnownProviders
(t *testing.T)
internal/llm/providers_test.go:12
Function
TestLookupProvider_LiteLLMDetails
(t *testing.T)
internal/llm/providers_test.go:357
Function
TestLookupProvider_MiniMaxDetails
(t *testing.T)
internal/llm/providers_test.go:48
Function
TestLookupProvider_MistralDetails
(t *testing.T)
internal/llm/providers_test.go:402
Function
TestLookupProvider_OllamaCloudDetails
(t *testing.T)
internal/llm/providers_test.go:311
Function
TestLookupProvider_OpenAIDetails
(t *testing.T)
internal/llm/providers_test.go:195
Function
TestLookupProvider_OpenAIResponsesDetails
(t *testing.T)
internal/llm/providers_test.go:249
Function
TestLookupProvider_OpenRouterDetails
(t *testing.T)
internal/llm/providers_test.go:223
Function
TestLookupProvider_PreservesModelOrder
(t *testing.T)
internal/llm/providers_test.go:145
Function
TestLookupProvider_ReturnsCopyOfModels
(t *testing.T)
internal/llm/providers_test.go:135
Function
TestLookupProvider_Unknown
(t *testing.T)
internal/llm/providers_test.go:102
Function
TestLookupProvider_XAIDetails
(t *testing.T)
internal/llm/providers_test.go:437
Function
TestLoopbackLogin
(t *testing.T)
internal/chatgptauth/lifecycle_test.go:24
Function
TestLoopbackNoBrowserCancellation
(t *testing.T)
internal/chatgptauth/lifecycle_test.go:388
Function
TestMain
(m *testing.M)
internal/reviewtask/testmain_test.go:11
Function
TestMain
(m *testing.M)
internal/session/testmain_test.go:11
Function
TestMain
(m *testing.M)
internal/mcp/stdio_test.go:29
Function
TestMain
(m *testing.M)
internal/scan/testmain_test.go:11
Function
TestMain
(m *testing.M)
internal/llmloop/testmain_test.go:11
Function
TestMain
(m *testing.M)
internal/agent/testmain_test.go:11
Function
TestMain
(m *testing.M)
cmd/opencodereview/testmain_test.go:13
Function
TestMain
(m *testing.M)
acp/internal/contract/mock_contract_test.go:32
Function
TestMain
(m *testing.M)
acp/internal/testutil/stub_main_test.go:12
Function
TestMain
(m *testing.M)
acp/internal/orchestrator/stub_main_test.go:14
Function
TestMain
(m *testing.M)
acp/internal/orchestrator/process/stub_main_test.go:14
Function
TestMain
(m *testing.M)
acp/cmd/ocr-acp/stub_main_test.go:14
Function
TestMainLoopStopStringAndReason
MainLoopStop must be self-describing in both registers: String() for logs and telemetry, Reason() for the manifest reason and scan warning that are th
internal/llmloop/stop_test.go:12
Function
TestMainLoopStopUnknownValue
A value outside the enum must name itself in both registers rather than borrow the StopNone catch-all. This also guards the enum's growth: adding a co
internal/llmloop/stop_test.go:51
Function
TestMakefileBuildMatchesURLPattern
(t *testing.T)
internal/release/asset_naming_test.go:136
Function
TestManifestBuilderFrozenNoOp
TestManifestBuilderFrozenNoOp covers the frozen-branch no-ops of the void setters and the errFrozen paths of the mutating methods after Finalize has f
internal/session/manifest_guards_test.go:60
Function
TestManifestBuilderNilReceiver
TestManifestBuilderNilReceiver covers the `if b == nil` guard on every exported ManifestBuilder method: a nil builder must never panic, the mutating e
internal/session/manifest_guards_test.go:17
Function
TestManifestFlowAllFailedTimeoutAndPanic
(t *testing.T)
internal/agent/manifest_integration_test.go:370
Function
TestManifestFlowBudgetAndSkipped
(t *testing.T)
internal/agent/manifest_integration_test.go:461
Function
TestManifestFlowCancellationBeforeDispatchStartsNoSubtask
(t *testing.T)
internal/agent/manifest_integration_test.go:299
Function
TestManifestFlowCancellationPersistsResumableSession
(t *testing.T)
internal/agent/manifest_integration_test.go:233
Function
TestManifestFlowCompleteAndPartial
(t *testing.T)
internal/agent/manifest_integration_test.go:161
Function
TestManifestFlowExcludedItemIDCollisionKeepsSelected
Two paths that differ only in separator normalize to one item_id. When selection excludes one and selects the other, the excluded record must give way
internal/agent/manifest_integration_test.go:205
Function
TestManifestFlowGroupBudgetStopIsPartialWhenSomeFilesHaveComments
A group that never calls task_done before exhausting its round budget must classify coverage per file, not per group: a.go already has a comment from
internal/agent/manifest_integration_test.go:566
Function
TestManifestFlowMixedFailureIsIsolatedToPartial
A single item failing by timeout, panic, or budget must stay isolated: the run is partial (not failed), the sibling still completes, and run_failure i
internal/agent/manifest_integration_test.go:405
Function
TestManifestFlowResumeIgnoresCheckpointTheParentManifestDoesNotVouchFor
TestManifestFlowResumeIgnoresCheckpointTheParentManifestDoesNotVouchFor covers a checkpoint line whose fingerprint the parent's coverage never settled
internal/agent/manifest_integration_test.go:760
Function
TestManifestFlowResumeOfFullyFailedParentRedispatchesEverything
TestManifestFlowResumeOfFullyFailedParentRedispatchesEverything pins the case resume exists for. The parent's every item failed, so replay left no che
internal/agent/manifest_integration_test.go:791
Function
TestManifestFlowResumeRecordsParentAndReusedItem
(t *testing.T)
internal/agent/manifest_integration_test.go:641
Function
TestManifestFlowResumeWithProviderTransition
TestManifestFlowResumeWithProviderTransition verifies that a resumed run records the *current* provider/model in execution (not the parent's) while st
internal/agent/manifest_integration_test.go:862
Function
TestManifestFlowResumeWithReusedAndAllRerunsFailedIsPartial
(t *testing.T)
internal/agent/manifest_integration_test.go:826
Function
TestManifestFlowReusedCommentsStayOutOfPrompts
TestManifestFlowReusedCommentsStayOutOfPrompts pins the isolation half of reuse: a reused finding is merged into the output and nothing else. Feeding
internal/agent/manifest_integration_test.go:699
Function
TestManifestFlowRunInputFailureIsPersisted
(t *testing.T)
internal/agent/manifest_integration_test.go:330
Function
TestManifestMessage
TestManifestMessage covers every terminal-state branch of manifestMessage, including the waived-count variant of a complete run and the failed run wit
cmd/opencodereview/output_manifest_test.go:50
Function
TestManifest_NilReceiver
TestManifest_NilReceiver covers the sh == nil branch of Manifest.
internal/session/list_more_test.go:56
Function
TestManualE2ERetryReport
(t *testing.T)
cmd/opencodereview/manual_e2e_retry_test.go:134
Function
TestMapResponsesResponse_FunctionCalls
(t *testing.T)
internal/llm/responses_client_test.go:416
Function
TestMapResponsesResponse_RawOutputPreservesReasoningDelimiters
(t *testing.T)
internal/llm/responses_client_test.go:406
Function
TestMapResponsesResponse_ReasoningAggregated
(t *testing.T)
internal/llm/responses_client_test.go:540
Function
TestMapResponsesResponse_StatusFailedAndCancelled
(t *testing.T)
internal/llm/responses_client_test.go:478
Function
TestMapResponsesResponse_StatusIncomplete
(t *testing.T)
internal/llm/responses_client_test.go:458
← previous
next →
4,501–4,600 of 7,390, ranked by callers