MCPcopy Create free account

hub / github.com/alibaba/open-code-review / functions

Functions7,390 in github.com/alibaba/open-code-review

FunctionTestLoadSession_LLMError
(t *testing.T)
internal/viewer/store_load_test.go:389
FunctionTestLoadSession_LLMErrorWithoutRequest
(t *testing.T)
internal/viewer/store_load_test.go:536
FunctionTestLoadSession_MalformedLines
(t *testing.T)
internal/viewer/store_load_test.go:366
FunctionTestLoadSession_MarkIDStableAndDistinct
(t *testing.T)
internal/viewer/store_load_test.go:756
FunctionTestLoadSession_MarkIDUnicodeFields
(t *testing.T)
internal/viewer/store_load_test.go:801
FunctionTestLoadSession_MissingFile
(t *testing.T)
internal/viewer/store_load_test.go:263
FunctionTestLoadSession_MultipleRequests
(t *testing.T)
internal/viewer/store_load_test.go:459
FunctionTestLoadSession_MultipleTaskTypes
(t *testing.T)
internal/viewer/store_load_test.go:652
FunctionTestLoadSession_ResponseWithoutRequest
(t *testing.T)
internal/viewer/store_load_test.go:512
FunctionTestLoadSession_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
FunctionTestLoadSession_TaskDoneStates
(t *testing.T)
internal/viewer/store_load_test.go:211
FunctionTestLoadSession_ToolCallWithOkFalse
(t *testing.T)
internal/viewer/store_load_test.go:420
FunctionTestLoadSession_ToolCallWithoutRequest
(t *testing.T)
internal/viewer/store_load_test.go:559
FunctionTestLoadSummaryIgnoresUnknownManifestVersion
(t *testing.T)
internal/session/list_test.go:218
FunctionTestLoadSummaryPrefersV1RunManifest
(t *testing.T)
internal/session/list_test.go:157
FunctionTestLoadSummary_FallsBackToSessionEndFilesReviewed
(t *testing.T)
internal/session/list_test.go:127
FunctionTestLoadSummary_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
FunctionTestLoadSummary_MissingFile
(t *testing.T)
internal/session/list_test.go:237
FunctionTestLoadTiktokenBpe_KnownURL
(t *testing.T)
internal/llm/embedded_loader_test.go:61
FunctionTestLoadTiktokenBpe_UnknownURL
(t *testing.T)
internal/llm/embedded_loader_test.go:72
FunctionTestLoadToolDefsFromTaskTemplates
(test *testing.T)
cmd/opencodereview/shared_llmruntime_test.go:390
FunctionTestLocalOnlySharesSlotsAndDisablesFetching
(test *testing.T)
internal/gitcmd/runner_test.go:46
FunctionTestLocalRepositoryRejectsRedirectsAndDisablesFilters
(t *testing.T)
internal/gitcmd/runner_test.go:79
FunctionTestLogExclusions_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
FunctionTestLogSelection_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
FunctionTestLogicalRequestIDCanonicalEncoding
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
FunctionTestLogicalRequestIDIsDeterministic
(t *testing.T)
internal/llm/retry_meta_test.go:51
FunctionTestLogicalRequestIDSeparatesFields
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
FunctionTestLogicalRequestIDVariesWithRunIDAndRequestNo
(t *testing.T)
internal/llm/retry_meta_test.go:87
FunctionTestLoginAcceptsMatchingStateDenial
(t *testing.T)
internal/chatgptauth/login_recovery_test.go:83
FunctionTestLoginCompletesWhileBrowserOpenerIsRunning
(t *testing.T)
internal/chatgptauth/login_recovery_test.go:51
FunctionTestLoginDrainsCallbackResponse
(t *testing.T)
internal/chatgptauth/login_recovery_test.go:152
FunctionTestLoginIgnoresUnrelatedCallbacks
(t *testing.T)
internal/chatgptauth/login_recovery_test.go:18
FunctionTestLogout
(t *testing.T)
internal/chatgptauth/auth_test.go:331
FunctionTestLogoutRevocationRetriesAndCancellation
(t *testing.T)
internal/chatgptauth/io_test.go:69
FunctionTestLogoutUnconfirmedRevocation
(t *testing.T)
internal/chatgptauth/lifecycle_test.go:326
FunctionTestLooksLikeFilePath_FileExtensions
(t *testing.T)
internal/config/rules/system_rules_test.go:1684
FunctionTestLooksLikeFilePath_InlineContent
── looksLikeFilePath tests ──
internal/config/rules/system_rules_test.go:1663
FunctionTestLooksLikeFilePath_MultiLine
(t *testing.T)
internal/config/rules/system_rules_test.go:1677
FunctionTestLooksLikeFilePath_PathWithoutExtension
(t *testing.T)
internal/config/rules/system_rules_test.go:1713
FunctionTestLooksLikeFilePath_WithSpaces
(t *testing.T)
internal/config/rules/system_rules_test.go:1699
FunctionTestLooksLikeObjC
(t *testing.T)
internal/config/rules/sniffer_test.go:272
FunctionTestLookupDiff
(t *testing.T)
internal/scan/coverage_test.go:89
FunctionTestLookupProvider_AnthropicDetails
(t *testing.T)
internal/llm/providers_test.go:179
FunctionTestLookupProvider_ChatGPTDetails
(t *testing.T)
internal/llm/providers_test.go:35
FunctionTestLookupProvider_DeepSeekFlash
(t *testing.T)
internal/llm/providers_test.go:239
FunctionTestLookupProvider_KnownProviders
(t *testing.T)
internal/llm/providers_test.go:12
FunctionTestLookupProvider_LiteLLMDetails
(t *testing.T)
internal/llm/providers_test.go:357
FunctionTestLookupProvider_MiniMaxDetails
(t *testing.T)
internal/llm/providers_test.go:48
FunctionTestLookupProvider_MistralDetails
(t *testing.T)
internal/llm/providers_test.go:402
FunctionTestLookupProvider_OllamaCloudDetails
(t *testing.T)
internal/llm/providers_test.go:311
FunctionTestLookupProvider_OpenAIDetails
(t *testing.T)
internal/llm/providers_test.go:195
FunctionTestLookupProvider_OpenAIResponsesDetails
(t *testing.T)
internal/llm/providers_test.go:249
FunctionTestLookupProvider_OpenRouterDetails
(t *testing.T)
internal/llm/providers_test.go:223
FunctionTestLookupProvider_PreservesModelOrder
(t *testing.T)
internal/llm/providers_test.go:145
FunctionTestLookupProvider_ReturnsCopyOfModels
(t *testing.T)
internal/llm/providers_test.go:135
FunctionTestLookupProvider_Unknown
(t *testing.T)
internal/llm/providers_test.go:102
FunctionTestLookupProvider_XAIDetails
(t *testing.T)
internal/llm/providers_test.go:437
FunctionTestLoopbackLogin
(t *testing.T)
internal/chatgptauth/lifecycle_test.go:24
FunctionTestLoopbackNoBrowserCancellation
(t *testing.T)
internal/chatgptauth/lifecycle_test.go:388
FunctionTestMain
(m *testing.M)
internal/reviewtask/testmain_test.go:11
FunctionTestMain
(m *testing.M)
internal/session/testmain_test.go:11
FunctionTestMain
(m *testing.M)
internal/mcp/stdio_test.go:29
FunctionTestMain
(m *testing.M)
internal/scan/testmain_test.go:11
FunctionTestMain
(m *testing.M)
internal/llmloop/testmain_test.go:11
FunctionTestMain
(m *testing.M)
internal/agent/testmain_test.go:11
FunctionTestMain
(m *testing.M)
cmd/opencodereview/testmain_test.go:13
FunctionTestMain
(m *testing.M)
acp/internal/contract/mock_contract_test.go:32
FunctionTestMain
(m *testing.M)
acp/internal/testutil/stub_main_test.go:12
FunctionTestMain
(m *testing.M)
acp/internal/orchestrator/stub_main_test.go:14
FunctionTestMain
(m *testing.M)
acp/internal/orchestrator/process/stub_main_test.go:14
FunctionTestMain
(m *testing.M)
acp/cmd/ocr-acp/stub_main_test.go:14
FunctionTestMainLoopStopStringAndReason
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
FunctionTestMainLoopStopUnknownValue
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
FunctionTestMakefileBuildMatchesURLPattern
(t *testing.T)
internal/release/asset_naming_test.go:136
FunctionTestManifestBuilderFrozenNoOp
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
FunctionTestManifestBuilderNilReceiver
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
FunctionTestManifestFlowAllFailedTimeoutAndPanic
(t *testing.T)
internal/agent/manifest_integration_test.go:370
FunctionTestManifestFlowBudgetAndSkipped
(t *testing.T)
internal/agent/manifest_integration_test.go:461
FunctionTestManifestFlowCancellationBeforeDispatchStartsNoSubtask
(t *testing.T)
internal/agent/manifest_integration_test.go:299
FunctionTestManifestFlowCancellationPersistsResumableSession
(t *testing.T)
internal/agent/manifest_integration_test.go:233
FunctionTestManifestFlowCompleteAndPartial
(t *testing.T)
internal/agent/manifest_integration_test.go:161
FunctionTestManifestFlowExcludedItemIDCollisionKeepsSelected
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
FunctionTestManifestFlowGroupBudgetStopIsPartialWhenSomeFilesHaveComments
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
FunctionTestManifestFlowMixedFailureIsIsolatedToPartial
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
FunctionTestManifestFlowResumeIgnoresCheckpointTheParentManifestDoesNotVouchFor
TestManifestFlowResumeIgnoresCheckpointTheParentManifestDoesNotVouchFor covers a checkpoint line whose fingerprint the parent's coverage never settled
internal/agent/manifest_integration_test.go:760
FunctionTestManifestFlowResumeOfFullyFailedParentRedispatchesEverything
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
FunctionTestManifestFlowResumeRecordsParentAndReusedItem
(t *testing.T)
internal/agent/manifest_integration_test.go:641
FunctionTestManifestFlowResumeWithProviderTransition
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
FunctionTestManifestFlowResumeWithReusedAndAllRerunsFailedIsPartial
(t *testing.T)
internal/agent/manifest_integration_test.go:826
FunctionTestManifestFlowReusedCommentsStayOutOfPrompts
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
FunctionTestManifestFlowRunInputFailureIsPersisted
(t *testing.T)
internal/agent/manifest_integration_test.go:330
FunctionTestManifestMessage
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
FunctionTestManifest_NilReceiver
TestManifest_NilReceiver covers the sh == nil branch of Manifest.
internal/session/list_more_test.go:56
FunctionTestManualE2ERetryReport
(t *testing.T)
cmd/opencodereview/manual_e2e_retry_test.go:134
FunctionTestMapResponsesResponse_FunctionCalls
(t *testing.T)
internal/llm/responses_client_test.go:416
FunctionTestMapResponsesResponse_RawOutputPreservesReasoningDelimiters
(t *testing.T)
internal/llm/responses_client_test.go:406
FunctionTestMapResponsesResponse_ReasoningAggregated
(t *testing.T)
internal/llm/responses_client_test.go:540
FunctionTestMapResponsesResponse_StatusFailedAndCancelled
(t *testing.T)
internal/llm/responses_client_test.go:478
FunctionTestMapResponsesResponse_StatusIncomplete
(t *testing.T)
internal/llm/responses_client_test.go:458
← previousnext →4,501–4,600 of 7,390, ranked by callers