MCPcopy Create free account

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

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

FunctionTestWhyExcluded_AllBranches
(t *testing.T)
internal/scan/coverage_test.go:168
FunctionTestWhyExcluded_BinaryFile
(t *testing.T)
internal/agent/preview_test.go:13
FunctionTestWhyExcluded_DefaultPathFilter
(t *testing.T)
internal/agent/preview_test.go:162
FunctionTestWhyExcluded_ExtensionFilter
(t *testing.T)
internal/agent/preview_test.go:100
FunctionTestWhyExcluded_IncludeAndExcludeInteraction
TestWhyExcluded_IncludeAndExcludeInteraction verifies priority: user exclude patterns take precedence over include patterns.
internal/agent/preview_test.go:398
FunctionTestWhyExcluded_IncludeBypassesDefaultPath
TestWhyExcluded_IncludeBypassesDefaultPath verifies that a file matching an include pattern is reviewed even when it would normally be excluded by the
internal/agent/preview_test.go:358
FunctionTestWhyExcluded_PriorityOrder
(t *testing.T)
internal/agent/preview_test.go:444
FunctionTestWhyExcluded_SecretPath
Scan must apply the same secret precedence as the review side, so a credential path is classified identically whichever selection path reaches it.
internal/scan/coverage_test.go:248
FunctionTestWhyExcluded_SecretPath
Credential paths are excluded before either user rule is consulted, so neither an include nor an exclude can change the outcome or the reason.
internal/agent/preview_test.go:465
FunctionTestWhyExcluded_SecretRename
(t *testing.T)
internal/agent/preview_test.go:555
FunctionTestWhyExcluded_UserExcludePattern
(t *testing.T)
internal/agent/preview_test.go:55
FunctionTestWhyExcluded_UserIncludePattern
(t *testing.T)
internal/agent/preview_test.go:259
FunctionTestWindowSizeMsg
(t *testing.T)
cmd/opencodereview/provider_tui_funcs_test.go:564
FunctionTestWindowsCancellationWithoutConsole
(test *testing.T)
acp/internal/orchestrator/process_windows_test.go:39
FunctionTestWindowsJobObjectReapsGrandchild
(t *testing.T)
acp/internal/orchestrator/process_windows_test.go:63
FunctionTestWindowsPathWithSpacesAndNonASCII
(t *testing.T)
acp/internal/orchestrator/process_windows_test.go:96
FunctionTestWindowsRepeatedCancelDoesNotLeakJobs
(t *testing.T)
acp/internal/orchestrator/process_windows_test.go:113
FunctionTestWindows_OutputCancelledWithOrphanHoldingStderr
A stderr-only orphan must not keep the call alive either: stdout reaches EOF immediately, so only the owned stderr pipe can be the blocker.
internal/gitcmd/runner_pipe_windows_test.go:213
FunctionTestWindows_QueuedRequestProceedsAfterCancellation
A request already queued on a one-slot Runner must proceed once a cancelled call releases its slot. The first call is held open until the second one i
internal/gitcmd/runner_pipe_windows_test.go:241
FunctionTestWindows_RunSplitCancelledWithOrphanHoldingStdout
A cancelled RunSplit must return within the grace period, report the context cause, and not wait for a descendant that inherited only stdout.
internal/gitcmd/runner_pipe_windows_test.go:156
FunctionTestWindows_StreamCancelledWithOrphanHoldingStdout
The same bound and cause must hold for Stream, where the consumer blocks on the pipe before Wait is reached.
internal/gitcmd/runner_pipe_windows_test.go:183
FunctionTestWindows_SuccessWithLateDescendantOutput
A successful command whose descendant flushes late must still succeed with complete output, so the grace period never leaks into the success path.
internal/gitcmd/runner_pipe_windows_test.go:304
FunctionTestWireBusyDoesNotCancelRunningPrompt
(t *testing.T)
acp/internal/adapter/connection_test.go:128
FunctionTestWireCancelNotificationEndsPrompt
(t *testing.T)
acp/internal/adapter/connection_test.go:246
FunctionTestWireCommandsFollowSessionResponse
(t *testing.T)
acp/internal/adapter/discovery_test.go:51
FunctionTestWireDisconnectShutdownWaitsForTaskCleanup
(t *testing.T)
acp/internal/adapter/connection_test.go:167
FunctionTestWireInitializeAndUnsupportedMethods
(t *testing.T)
acp/internal/adapter/connection_test.go:222
FunctionTestWireRejectionPreservesVisibleGuidance
(t *testing.T)
acp/internal/adapter/connection_test.go:25
FunctionTestWireRejectsInvalidPromptSchema
(t *testing.T)
acp/internal/adapter/connection_test.go:209
FunctionTestWithProviderErrorBody_IsIdempotent
TestWithProviderErrorBody_IsIdempotent guards against the payload being appended twice. Enriching restores the body it read, so a second pass would ot
internal/llm/provider_error_test.go:201
FunctionTestWithProviderErrorBody_LeavesResponseBodyReadable
TestWithProviderErrorBody_LeavesResponseBodyReadable guards that enrichment does not starve later consumers of the response body.
internal/llm/provider_error_test.go:110
FunctionTestWithProviderErrorBody_ShortReadKeepsWhatArrived
TestWithProviderErrorBody_ShortReadKeepsWhatArrived documents the short-read path. The SDK buffers every non-2xx body before building the error, so th
internal/llm/provider_error_test.go:166
FunctionTestWithRequestMeta
(t *testing.T)
internal/llm/retry_meta_test.go:137
FunctionTestWithinBase
(t *testing.T)
internal/pathutil/path_test.go:12
FunctionTestWithinBase_AdditionalCases
(t *testing.T)
internal/pathutil/path_test.go:177
FunctionTestWithinBase_CaseInsensitiveVariant
(t *testing.T)
internal/pathutil/path_test.go:144
FunctionTestWithinBase_SameFileFallback
(t *testing.T)
internal/pathutil/path_test.go:119
FunctionTestWorkspaceAnalysisRejectedBeforeReview
(test *testing.T)
cmd/opencodereview/analysis_test.go:71
FunctionTestWorkspaceBaseRejectsInvalidInputs
(test *testing.T)
internal/diff/workspace_test.go:114
FunctionTestWorkspaceBaseRemainsFrozen
(test *testing.T)
internal/diff/workspace_test.go:87
FunctionTestWorkspaceClarificationOnlyPreservesCompatibleOptions
(t *testing.T)
acp/internal/intent/natural_test.go:310
FunctionTestWorkspaceCodeAccess
(test *testing.T)
internal/tool/code_access_test.go:221
FunctionTestWorkspaceDiffNoCommitsIncludesStagedFiles
(t *testing.T)
internal/diff/git_test.go:479
FunctionTestWorkspaceDiffPreservesCQuotedUntrackedPath
(t *testing.T)
internal/diff/git_cquoted_test.go:107
FunctionTestWorkspaceDiffPreservesNonASCIIUntrackedPath
(t *testing.T)
internal/diff/git_test.go:385
FunctionTestWorkspaceDiffSkipsOversizedUntrackedFile
(t *testing.T)
internal/diff/git_test.go:410
FunctionTestWorkspaceDiffSurvivesExternalDiffTool
TestWorkspaceDiffSurvivesExternalDiffTool guards against issue #82: when a user has configured an external diff tool (GIT_EXTERNAL_DIFF or diff.extern
internal/diff/git_test.go:456
FunctionTestWorkspaceDiffUsesLiveTree
(test *testing.T)
internal/diff/workspace_test.go:18
FunctionTestWorkspaceFIFORead
(t *testing.T)
internal/tool/filereader_fifo_linux_test.go:19
FunctionTestWorkspaceIncludesTrackedFileMatchingGitignore
TestWorkspaceIncludesTrackedFileMatchingGitignore checks that a tracked file whose path matches the root .gitignore is still reviewed. Git does not ap
internal/diff/git_test.go:243
FunctionTestWorkspacePreviewAndReviewDoNotUseIndex
(test *testing.T)
internal/agent/workspace_test.go:59
FunctionTestWorkspacePreviewAndReviewShareBaseline
(test *testing.T)
internal/agent/workspace_test.go:15
FunctionTestWorkspaceRegularSymlinkRead
(t *testing.T)
internal/tool/filereader_fifo_linux_test.go:70
FunctionTestWorkspaceResumeE2E_NormalizedInputBoundary
TestWorkspaceResumeE2E_NormalizedInputBoundary pins the documented contract: workspace resume identity is the selected, parsed/normalized diff, not a
cmd/opencodereview/workspace_resume_e2e_test.go:316
FunctionTestWorkspaceResumeE2E_RejectsInputChanges
(t *testing.T)
cmd/opencodereview/workspace_resume_e2e_test.go:259
FunctionTestWorkspaceResumeE2E_UnchangedInputReusesCompletedAndRetriesUnfinished
(t *testing.T)
cmd/opencodereview/workspace_resume_e2e_test.go:223
FunctionTestWorkspaceShallowHeadComparison
(test *testing.T)
internal/diff/workspace_test.go:144
FunctionTestWorkspaceToolDefinitions
(test *testing.T)
internal/config/toolsconfig/comparison_test.go:99
FunctionTestWorkspaceToolsReachModelAndManifest
(test *testing.T)
cmd/opencodereview/workspace_tools_test.go:21
FunctionTestWorkspaceTrackedFileChangedToSymlinkDoesNotReadExternalTarget
(t *testing.T)
internal/diff/git_test.go:655
FunctionTestWorkspaceUntrackedBinaryFileIsFlaggedNotReviewed
(t *testing.T)
internal/diff/git_test.go:552
FunctionTestWorkspaceUntrackedSymlinkDoesNotReadExternalTarget
(t *testing.T)
internal/diff/git_test.go:610
FunctionTestWrapByRunes
(t *testing.T)
cmd/opencodereview/output_helpers_test.go:66
FunctionTestWrapSingleRuneLine
(t *testing.T)
cmd/opencodereview/output_helpers_test.go:90
FunctionTestWriteOutError_NilAfterSuccessfulWrite
(t *testing.T)
cmd/opencodereview/output_file_test.go:585
FunctionTestWriteOutError_StdoutNil
(t *testing.T)
cmd/opencodereview/output_file_test.go:579
FunctionTestWriter_Default
(t *testing.T)
internal/stdout/stdout_test.go:13
FunctionTestZeroArgumentCommands_RejectUnexpectedArgs
(t *testing.T)
cmd/opencodereview/zero_args_test.go:13
FunctionTestZeroValueBuilderSafe
A zero-value builder (not via NewManifestBuilder) must not panic on use.
internal/session/manifest_test.go:820
FunctionThrower
({ msg })
pages/src/components/ErrorBoundary.test.tsx:8
FunctionToast
({ message, visible })
pages/src/components/QuickStartSection.tsx:16
MethodTool
()
internal/behaviortask/search_test.go:20
MethodTool
()
internal/reviewtask/loop_execute_test.go:27
MethodTool
()
internal/reviewtask/tool_availability_test.go:25
MethodTool
()
internal/reviewtask/loop_test.go:91
MethodTool
()
internal/reviewtask/loop_test.go:495
MethodTool
()
internal/reviewtask/tool_failure_streak_test.go:152
MethodTool
()
internal/agent/coverage_test.go:649
MethodTool
()
internal/tool/file_read.go:37
MethodTool
()
internal/tool/definitions_test.go:137
MethodTool
()
internal/tool/code_search.go:31
MethodTool
()
internal/tool/file_read_diff.go:63
MethodTool
()
internal/tool/file_find.go:31
MethodTool
()
internal/tool/stub.go:16
MethodTool
()
internal/tool/stub.go:32
MethodToolCalls
ToolCalls returns per-tool call counts accumulated during review.
internal/agent/agent.go:543
MethodToolCalls
()
cmd/opencodereview/emit_run_result_test.go:53
MethodToolFailures
ToolFailures returns failed registered-tool calls accumulated during review.
internal/agent/agent.go:546
MethodToolFailures
()
cmd/opencodereview/emit_run_result_test.go:54
MethodTotalCacheReadTokens
()
internal/scan/agent.go:229
MethodTotalCacheReadTokens
TotalCacheReadTokens returns the accumulated cache read tokens from all LLM calls.
internal/agent/agent.go:529
MethodTotalCacheReadTokens
()
cmd/opencodereview/emit_run_result_test.go:49
MethodTotalCacheWriteTokens
()
internal/scan/agent.go:230
MethodTotalCacheWriteTokens
TotalCacheWriteTokens returns the accumulated cache write tokens from all LLM calls.
internal/agent/agent.go:532
MethodTotalCacheWriteTokens
()
cmd/opencodereview/emit_run_result_test.go:50
MethodTotalInputTokens
()
internal/scan/agent.go:227
MethodTotalInputTokens
TotalInputTokens returns the accumulated input/prompt tokens from all LLM calls.
internal/agent/agent.go:523
MethodTotalInputTokens
()
cmd/opencodereview/emit_run_result_test.go:46
MethodTotalOutputTokens
()
internal/scan/agent.go:228
MethodTotalOutputTokens
TotalOutputTokens returns the accumulated completion tokens from all LLM calls.
internal/agent/agent.go:526
← previousnext →6,501–6,600 of 7,484, ranked by callers