MCPcopy Create free account

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

Functions3,737 in github.com/alibaba/open-code-review

FunctionFailedView
({ onRetry, error }: Props)
extensions/vscode/src/webview/views/FailedView.tsx:7
FunctionFeaturesPage
()
pages/src/pages/FeaturesPage.tsx:14
FunctionFeaturesRoutePage
()
pages/src/pages/FeaturesRoutePage.tsx:9
FunctionFeaturesSection
()
pages/src/components/FeaturesSection.tsx:15
FunctionFileList
({ files, loading, onOpenFile }: Props)
extensions/vscode/src/webview/components/FileList.tsx:13
MethodFilesReviewed
FilesReviewed returns the number of dispatchable files included in this review.
internal/agent/agent.go:380
MethodFilesReviewed
()
cmd/opencodereview/emit_run_result_test.go:41
FunctionFooter
()
pages/src/components/Footer.tsx:18
FunctionFormItem
({ label, span = 1, optional, hint, children, }: { label: string; span?: 1 | 2; optional?: boolean;
extensions/vscode/src/webview/views/ConfigView.tsx:304
FunctionFormSection
({ wide, children }: { wide?: boolean; children: ComponentChildren })
extensions/vscode/src/webview/views/ConfigView.tsx:299
FunctionHarness
({ LazyPage })
pages/src/hooks/useTransitionedLocation.test.tsx:39
FunctionHeroSection
()
pages/src/components/HeroSection.tsx:126
FunctionHighlightsSection
()
pages/src/components/HighlightsSection.tsx:68
FunctionHomePage
()
pages/src/hooks/useTransitionedLocation.test.tsx:27
FunctionIdleView
({ gitState, modeFiles, filesLoading, configured, onModeChange, onRequestModeFiles, onOpenFile, onStart, onOpe
extensions/vscode/src/webview/views/IdleView.tsx:25
MethodInit
()
cmd/opencodereview/provider_tui.go:379
FunctionLandingPage
({ children })
pages/src/components/LandingPage.tsx:11
FunctionLanguageProvider
({ children })
pages/src/i18n/context.tsx:43
FunctionLogViewer
({ logs }: Props)
extensions/vscode/src/webview/components/LogViewer.tsx:10
FunctionMarkdownRenderer
({ content })
pages/src/components/MarkdownRenderer.tsx:67
FunctionNavbar
()
pages/src/components/Navbar.tsx:35
FunctionOcrIcon
({ className })
pages/src/components/icons/OcrIcon.tsx:6
FunctionOcrVersionMeta
({ envCheck, cliStatus }: { envCheck: EnvCheckResult | null; cliStatus: CliStatus })
extensions/vscode/src/webview/views/ConfigView.tsx:173
FunctionOfficialForm
({ wide, config, connTest, onBack, onTest, onSave }: FormProps)
extensions/vscode/src/webview/views/ConfigView.tsx:326
FunctionOpenAIIcon
({ className })
pages/src/components/icons/OpenAIIcon.tsx:6
FunctionPasswordInput
({ value, placeholder, className, onInput }: Props)
extensions/vscode/src/webview/components/PasswordInput.tsx:34
MethodProjectSummary
ProjectSummary returns the markdown project-level summary. Always empty for the diff-review path; defined so *Agent satisfies the cmd/opencodereview.R
internal/agent/agent.go:408
MethodProjectSummary
()
cmd/opencodereview/emit_run_result_test.go:48
FunctionProviderStep
({ wide, config, tab, setTab, customView, setCustomView, customSelection, setCustomSelection, connTest, on
extensions/vscode/src/webview/views/ConfigView.tsx:226
FunctionQuickStartPage
()
pages/src/pages/QuickStartPage.tsx:9
FunctionQuickStartSection
()
pages/src/components/QuickStartSection.tsx:70
MethodRead
(p []byte)
internal/viewer/store_load_test.go:22
MethodResolve
(_ string)
internal/delegate/rulegroup_test.go:17
MethodResolve
(path string)
internal/delegate/rulegroup_test.go:24
MethodResolve
Resolve checks each layer in priority order; first match wins. User rules replace the system rule by default; rules with merge_system_rule keep the ma
internal/config/rules/system_rules.go:388
MethodResolveDetail
(path string)
internal/delegate/rulegroup_test.go:28
MethodResolveDetail
ResolveDetail returns the matched rule along with its source layer and pattern. When a user rule sets merge_system_rule, Rule contains the merged syst
internal/config/rules/system_rules.go:451
MethodResumeInfo
()
cmd/opencodereview/emit_run_result_test.go:50
MethodRoundTrip
(req *http.Request)
internal/mcp/client.go:132
FunctionRouteErrorFallback
({ reset })
pages/src/App.tsx:25
MethodRunManifest
()
cmd/opencodereview/emit_run_result_test.go:53
FunctionRunningView
({ logs, onCancel }: Props)
extensions/vscode/src/webview/views/RunningView.tsx:10
FunctionScrollToTop
({ pathname })
pages/src/App.tsx:18
FunctionSearchTrigger
({ placeholder, onClick, style }: SearchTriggerProps)
pages/src/components/SearchTrigger.tsx:15
FunctionSelect
({ value, options, placeholder, onChange }: Props)
extensions/vscode/src/webview/components/Select.tsx:19
MethodSessionID
()
cmd/opencodereview/emit_run_result_test.go:51
FunctionTestActiveModelForProvider
(t *testing.T)
cmd/opencodereview/config_cmd_test.go:1167
FunctionTestActiveModelForProvider_FallsBackToCfgModel
(t *testing.T)
cmd/opencodereview/provider_tui_test.go:1309
FunctionTestActiveModelForProvider_PrefersEntryModel
(t *testing.T)
cmd/opencodereview/provider_tui_test.go:1300
FunctionTestAddNextMessage_NoStartThenCancelSameCall
(t *testing.T)
internal/llmloop/runner_test.go:604
FunctionTestAddToolResult
(t *testing.T)
internal/session/history_test.go:197
FunctionTestAdjustModelIdxAfterDelete
(t *testing.T)
cmd/opencodereview/provider_tui_rollback_test.go:194
FunctionTestAgentFilesReviewedCountsDispatchableDiffs
(t *testing.T)
internal/agent/coverage_test.go:74
FunctionTestAgentGettersNil
TestAgentGettersNil covers the defensive early returns in the accessor methods when the agent (or its session) was never fully constructed, so callers
internal/agent/agent_test.go:621
FunctionTestAgentGettersNilSafe
TestAgentGettersNilSafe covers the nil-safe guard paths of the small ResultProvider getters, which the happy-path budget/manifest tests do not exercis
internal/agent/getters_test.go:11
FunctionTestAgent_Getters
(t *testing.T)
internal/scan/coverage_test.go:48
FunctionTestAgent_Getters
(t *testing.T)
internal/agent/coverage_test.go:21
FunctionTestAgent_RecordWarning
(t *testing.T)
internal/agent/coverage_test.go:90
FunctionTestAgent_TokenAccumulation
(t *testing.T)
internal/agent/agent_test.go:947
FunctionTestAnthropicClient_DefaultsToAuthorizationHeader
(t *testing.T)
internal/llm/client_test.go:384
FunctionTestAnthropicClient_ExtraBodyStreamDropped
TestAnthropicClient_ExtraBodyStreamDropped verifies that an extra_body.stream=true is NOT forwarded to the Messages API. Forwarding it makes the API a
internal/llm/client_test.go:1201
FunctionTestAnthropicClient_ExtraHeadersSent
(t *testing.T)
internal/llm/client_test.go:426
FunctionTestAnthropicClient_NoExtraHeadersWhenEmpty
(t *testing.T)
internal/llm/client_test.go:1157
FunctionTestAnthropicClient_RetryCodesTriggersRetry
(t *testing.T)
internal/llm/client_test.go:1505
FunctionTestAnthropicClient_UsesConfiguredAuthorizationHeader
(t *testing.T)
internal/llm/client_test.go:338
FunctionTestAnthropicClient_UsesConfiguredXAPIKeyHeader
(t *testing.T)
internal/llm/client_test.go:292
FunctionTestAnyToAttr
(t *testing.T)
internal/telemetry/span_test.go:19
FunctionTestApiKeyStepCanConfirm_CustomEmpty
(t *testing.T)
cmd/opencodereview/provider_tui_funcs_test.go:1868
FunctionTestApiKeyStepCanConfirm_MaskedSavedKey
(t *testing.T)
cmd/opencodereview/provider_tui_funcs_test.go:1889
FunctionTestApiKeyStepCanConfirm_OfficialEmptyWithEnv
(t *testing.T)
cmd/opencodereview/provider_tui_funcs_test.go:1849
FunctionTestApiKeyStepCanConfirm_OfficialEmptyWithoutEnv
(t *testing.T)
cmd/opencodereview/provider_tui_funcs_test.go:1827
FunctionTestAppendTaskRecord
(t *testing.T)
internal/session/history_test.go:72
FunctionTestAppendTaskRecord_DefensiveCopy
(t *testing.T)
internal/session/history_test.go:99
FunctionTestApplyCLIExcludes_AppendsPatterns
(t *testing.T)
cmd/opencodereview/shared_test.go:53
FunctionTestApplyCLIExcludes_Empty
(t *testing.T)
cmd/opencodereview/shared_test.go:45
FunctionTestApplyCLIExcludes_NilFileFilter
(t *testing.T)
cmd/opencodereview/shared_test.go:61
FunctionTestApplyCreateCustomProvider
TestApplyCreateCustomProvider covers the create-custom-provider handler: nil config guard, empty config path guard, empty name, duplicate name, succes
cmd/opencodereview/provider_tui_persist_test.go:177
FunctionTestApplyCustomProviderConfigNormalizesAuthHeader
(t *testing.T)
cmd/opencodereview/provider_tui_test.go:2729
FunctionTestApplyCustomProviderConfigPreservesModelOrder
(t *testing.T)
cmd/opencodereview/provider_tui_test.go:2661
FunctionTestApplyCustomProviderConfig_EmptyKeyClearsSavedAPIKey
(t *testing.T)
cmd/opencodereview/provider_cmd_test.go:246
FunctionTestApplyCustomProviderConfig_MissingModel
(t *testing.T)
cmd/opencodereview/provider_cmd_test.go:197
FunctionTestApplyCustomProviderConfig_MissingProvider
(t *testing.T)
cmd/opencodereview/provider_cmd_test.go:190
FunctionTestApplyDedupGroups_AcceptsMarkdownFences
(t *testing.T)
internal/scan/dedup_test.go:84
FunctionTestApplyDedupGroups_KeepCanonicalContentWhenNoMergedContent
(t *testing.T)
internal/scan/dedup_test.go:48
FunctionTestApplyDedupGroups_MergeAndKeep
(t *testing.T)
internal/scan/dedup_test.go:17
FunctionTestApplyDedupGroups_RejectsBadShapes
(t *testing.T)
internal/scan/dedup_test.go:64
FunctionTestApplyEditCustomProviderSave_ClearsAPIKeyWhenEditedEmpty
(t *testing.T)
cmd/opencodereview/provider_tui_test.go:810
FunctionTestApplyEditCustomProviderSave_Guards
TestApplyEditCustomProviderSave_Guards covers the two early-return guards: a nil config and an empty config path.
cmd/opencodereview/provider_tui_editsave_test.go:14
FunctionTestApplyEditCustomProviderSave_PreservesAPIKeyWhenMasked
(t *testing.T)
cmd/opencodereview/provider_tui_test.go:848
FunctionTestApplyEditCustomProviderSave_RenameReassignsActiveProvider
TestApplyEditCustomProviderSave_RenameReassignsActiveProvider covers the name-change branch where the edited provider is also the active provider: the
cmd/opencodereview/provider_tui_editsave_test.go:40
FunctionTestApplyEditCustomProviderSave_SaveFailureRestoresBackup
TestApplyEditCustomProviderSave_SaveFailureRestoresBackup covers the save-failure path where the reload also fails (config path is a directory, so bot
cmd/opencodereview/provider_tui_editsave_test.go:78
FunctionTestApplyLanguage
(t *testing.T)
internal/config/template/template_test.go:148
FunctionTestApplyLanguage
(t *testing.T)
internal/config/testconnection/testconnection_test.go:59
FunctionTestApplyLanguage_DefaultEnglish
(t *testing.T)
internal/config/template/template_test.go:167
FunctionTestApplyLanguage_EmptyLang
(t *testing.T)
internal/config/testconnection/testconnection_test.go:82
FunctionTestApplyLanguage_ScanTemplate
(t *testing.T)
internal/config/template/template_test.go:27
FunctionTestApplyLanguage_ScanTemplate_AllOptionalTasks
(t *testing.T)
internal/config/template/template_test.go:274
FunctionTestApplyLanguage_ScanTemplate_NilOptionalTasks
(t *testing.T)
internal/config/template/template_test.go:307
FunctionTestApplyLanguage_SkipsNonSystemMessages
(t *testing.T)
internal/config/template/template_test.go:322
FunctionTestApplyManualConfigNormalizesAuthHeader
(t *testing.T)
cmd/opencodereview/provider_tui_test.go:2704
← previousnext →1,601–1,700 of 3,737, ranked by callers