1 view
Tracer-Cloud/opensre
The open-source agent for CI/CD reliability.
Python★ 14,496+399 that day#8 on trending
C66.3/100
Duplication73
3.8% in python, bash, powershell, javascript, makefile, dockerDead code67
4.4%Complexity60
37.4% The score is jscpd's own --health model: markup, data and text left out, tests kept. The numbers below are the trending scan's.
2.2%duplicated code · 6,875 of 311,795 lines
536clones in code
1,991code files of 3,661 scanned
3.78%duplicated over all files · 2,035 clones
Most complex files
- tests/cli/wizard/test_flow.py453 cx
- integrations/github/mcp.py362 cx
- integrations/_catalog_impl.py338 cx
- integrations/slack/web_client.py303 cx
- core/agent_harness/turns/action_driver.py299 cx
- surfaces/shared/terminal/components/input_form.py286 cx
- install.sh285 cx
- gateway/core/prompt_intake/jobs.py248 cx
- integrations/github/tools/actions.py248 cx
- tests/core/runtime/llm/test_llm_client.py248 cx
Dead code 4.38% unused · 308 findings
- integrations/github/tools/actions.pyunused-file
- integrations/github/tools/security_fix/context.pyunused-file
- integrations/hosted_gateway/tools/gateway_prompt.pyunused-file
- surfaces/cli/ask/service.pyunused-file
- integrations/github/tools/ci_repair_run/tool.pyunused-file
- surfaces/cli/commands/sentry_digest.pyunused-file
- surfaces/cli/commands/cron.pyunused-file
- tools/interactive_shell/actions/propose_scheduled_delivery.pyunused-file
- docs/public/radar-chart.jsunused-file
- integrations/github/tools/ci_health_scan/scan.pyunused-file
The code number leaves out tests, fixtures, docs, examples, data files, styles, translations and vendored code.
Largest clones in the code
- 14 lines in 10 placespython109 tokensintegrations/kubernetes/tools/kubernetes_describe_pod_tool/tool.py:58–71integrations/kubernetes/tools/kubernetes_get_events_tool/tool.py:60–73integrations/kubernetes/tools/kubernetes_get_resource_tool/tool.py:71–84integrations/kubernetes/tools/kubernetes_list_configmaps_tool/tool.py:51–64integrations/kubernetes/tools/kubernetes_list_daemonsets_tool/tool.py:51–64and 5 more
58 "status": "Pod status including phase, conditions, and per-container states", 59} 60 61def is_available(self, sources: dict[str, Any]) -> bool: 62 return _shared.is_available(sources) 63 64def extract_params(self, sources: dict[str, Any]) -> dict[str, Any]: 65 k8s = sources["kubernetes"] 66 return { 67 "kubeconfig": k8s.get("kubeconfig", ""),First 10 of 14 lines.
- 31 lines in 3 placespython334 tokenscore/tool_framework/tool_decorator.py:27–57core/tool_framework/tool_decorator.py:66–96core/tool_framework/tool_decorator.py:105–135
27description: str | None = None, 28compact_description: str | None = None, 29display_name: str | None = None, 30input_schema: dict[str, Any] | None = None, 31input_model: type[BaseModel] | None = None, 32source: EvidenceSource | None = None, 33source_id: str | None = None, 34evidence_type: EvidenceType | None = None, 35side_effect_level: SideEffectLevel | None = None, 36surfaces: tuple[ToolSurface, ...] | None = None,First 10 of 31 lines.
- 17 lines in 10 placespython61 tokensintegrations/kubernetes/tools/kubernetes_describe_pod_tool/tool.py:1–17integrations/kubernetes/tools/kubernetes_get_events_tool/tool.py:1–17integrations/kubernetes/tools/kubernetes_get_pod_logs_tool/tool.py:1–17integrations/kubernetes/tools/kubernetes_list_configmaps_tool/tool.py:1–17integrations/kubernetes/tools/kubernetes_list_daemonsets_tool/tool.py:1–17and 5 more
1"""Fetch full spec, status, and container states for a single Kubernetes pod.""" 2 3from __future__ import annotations 4 5from typing import Any 6 7import integrations.kubernetes.tools._shared as _shared 8from core.domain.types.tools import ToolSurface 9from core.tool import BaseTool, SideEffectLevel 10from core.tool_framework.utils import tool_unavailableFirst 10 of 17 lines.
7 more
- 20 lines in 5 placespython130 tokensintegrations/kubernetes/tools/kubernetes_list_configmaps_tool/tool.py:60–79integrations/kubernetes/tools/kubernetes_list_daemonsets_tool/tool.py:60–79integrations/kubernetes/tools/kubernetes_list_deployments_tool/tool.py:59–78integrations/kubernetes/tools/kubernetes_list_ingresses_tool/tool.py:61–80integrations/kubernetes/tools/kubernetes_list_statefulsets_tool/tool.py:59–78
- 9 lines in 9 placespython61 tokens
- 9 lines in 8 placespython63 tokens
- 16 lines in 3 placespython201 tokens
- 16 lines in 8 placespython57 tokensintegrations/kubernetes/tools/kubernetes_get_events_tool/tool.py:90–105integrations/kubernetes/tools/kubernetes_list_configmaps_tool/tool.py:79–94integrations/kubernetes/tools/kubernetes_list_daemonsets_tool/tool.py:79–94integrations/kubernetes/tools/kubernetes_list_deployments_tool/tool.py:78–93integrations/kubernetes/tools/kubernetes_list_ingresses_tool/tool.py:80–95and 3 more
- 18 lines in 7 placespython63 tokens
- 34 lines in 2 placespython352 tokens
Largest clones over all files, tests and data included
- 34 lines in 2 placesmarkupdocs and examples1,396 tokens
13</metadata> 14<g> 15 <path class="st0" d="M33.9,26.1c0,1.5,0.2,2.7,0.4,3.6c0.3,0.9,0.7,1.8,1.3,2.9c0.2,0.3,0.3,0.6,0.3,0.9c0,0.4-0.2,0.8-0.8,1.2 16 l-2.5,1.7c-0.4,0.2-0.7,0.4-1,0.4c-0.4,0-0.8-0.2-1.2-0.6c-0.6-0.6-1-1.2-1.4-1.9c-0.4-0.7-0.8-1.4-1.2-2.4 17 c-3.1,3.7-7,5.5-11.8,5.5c-3.4,0-6-1-8-2.9s-3-4.5-3-7.7c0-3.4,1.2-6.2,3.6-8.2s5.7-3.1,9.8-3.1c1.4,0,2.8,0.1,4.2,0.3 18 c1.5,0.2,3,0.5,4.6,0.9v-2.9c0-3-0.6-5.2-1.9-6.4c-1.3-1.2-3.4-1.8-6.5-1.8c-1.4,0-2.8,0.2-4.3,0.5c-1.5,0.4-2.9,0.8-4.3,1.4 19 C9.6,7.7,9.1,7.9,8.8,8C8.5,8,8.3,8.1,8.2,8.1c-0.6,0-0.8-0.4-0.8-1.2v-2c0-0.6,0.1-1.1,0.3-1.4s0.6-0.6,1.1-0.8 20 c1.4-0.7,3.1-1.3,5-1.8c2-0.5,4-0.8,6.2-0.8c4.8,0,8.2,1.1,10.5,3.2c2.2,2.2,3.3,5.4,3.3,9.9L33.9,26.1L33.9,26.1z M17.7,32.2 21 c1.3,0,2.7-0.2,4.1-0.7c1.4-0.5,2.7-1.4,3.8-2.6c0.6-0.8,1.1-1.6,1.4-2.6c0.2-1,0.4-2.1,0.4-3.5v-1.7c-1.2-0.3-2.4-0.5-3.7-0.7 22 c-1.3-0.2-2.5-0.2-3.8-0.2c-2.7,0-4.6,0.5-6,1.6c-1.3,1.1-2,2.6-2,4.6c0,1.9,0.5,3.3,1.5,4.2C14.4,31.8,15.8,32.2,17.7,32.2zFirst 10 of 34 lines.
- 14 lines in 10 placespython109 tokensintegrations/kubernetes/tools/kubernetes_describe_pod_tool/tool.py:58–71integrations/kubernetes/tools/kubernetes_get_events_tool/tool.py:60–73integrations/kubernetes/tools/kubernetes_get_resource_tool/tool.py:71–84integrations/kubernetes/tools/kubernetes_list_configmaps_tool/tool.py:51–64integrations/kubernetes/tools/kubernetes_list_daemonsets_tool/tool.py:51–64and 5 more
58 "status": "Pod status including phase, conditions, and per-container states", 59} 60 61def is_available(self, sources: dict[str, Any]) -> bool: 62 return _shared.is_available(sources) 63 64def extract_params(self, sources: dict[str, Any]) -> dict[str, Any]: 65 k8s = sources["kubernetes"] 66 return { 67 "kubeconfig": k8s.get("kubeconfig", ""),First 10 of 14 lines.
- 31 lines in 3 placespython334 tokenscore/tool_framework/tool_decorator.py:27–57core/tool_framework/tool_decorator.py:66–96core/tool_framework/tool_decorator.py:105–135
27description: str | None = None, 28compact_description: str | None = None, 29display_name: str | None = None, 30input_schema: dict[str, Any] | None = None, 31input_model: type[BaseModel] | None = None, 32source: EvidenceSource | None = None, 33source_id: str | None = None, 34evidence_type: EvidenceType | None = None, 35side_effect_level: SideEffectLevel | None = None, 36surfaces: tuple[ToolSurface, ...] | None = None,First 10 of 31 lines.
- 8 lines in 10 placespythontests62 tokens
- 17 lines in 10 placespython61 tokensintegrations/kubernetes/tools/kubernetes_describe_pod_tool/tool.py:1–17integrations/kubernetes/tools/kubernetes_get_events_tool/tool.py:1–17integrations/kubernetes/tools/kubernetes_get_pod_logs_tool/tool.py:1–17integrations/kubernetes/tools/kubernetes_list_configmaps_tool/tool.py:1–17integrations/kubernetes/tools/kubernetes_list_daemonsets_tool/tool.py:1–17and 5 more
By format, code only
| Format | Files | Lines | Clones | Duplicated lines | Duplication |
|---|---|---|---|---|---|
| python | 1,986 | 308,477 | 533 | 6,849 | 2.22% |
| powershell | 1 | 1,356 | 2 | 19 | 1.4% |
| bash | 3 | 1,889 | 1 | 7 | 0.37% |
| javascript | 1 | 73 | 0 | 0 | 0% |
By format, all files
| Format | Files | Lines | Clones | Duplicated lines | Duplication |
|---|---|---|---|---|---|
| python | 3,456 | 634,191 | 1,983 | 24,300 | 3.83% |
| yaml | 43 | 3,340 | 20 | 309 | 9.25% |
| json | 16 | 6,035 | 15 | 272 | 4.51% |
| css | 2 | 2,108 | 6 | 50 | 2.37% |
| markup | 21 | 1,476 | 5 | 82 | 5.56% |
| markdown | 87 | 9,540 | 3 | 21 | 0.22% |
| powershell | 2 | 1,359 | 2 | 19 | 1.4% |
| bash | 10 | 1,982 | 1 | 7 | 0.35% |
| javascript | 3 | 847 | 0 | 0 | 0% |
| toml | 2 | 334 | 0 | 0 | 0% |
Trending appearances
| Day | Rank | Stars | Files | Lines | Clones | All files | Code | Health | Commit |
|---|---|---|---|---|---|---|---|---|---|
| Nov 23, 2026 | #8 | 14,496 (+399) | 3,661 | 662,128 | 2,035 | 3.78% | 2.2% | C 66.3 | 75f248f |
| Nov 22, 2026 | #8 | 14,066 (+450) | 3,659 | 661,534 | 2,034 | 3.79% | 2.21% | C 66.3 | 34743ae |
| Nov 21, 2026 | #8 | 13,686 (+466) | 3,647 | 659,308 | 2,031 | 3.79% | 2.21% | C 66.2 | 29d9ba6 |
| Nov 20, 2026 | #8 | 13,218 (+38) | 3,647 | 659,308 | 2,031 | 3.79% | 2.21% | C 66.2 | 29d9ba6 |
Want this for your own project? Install jscpd and run jscpd ., or measure it the way the baselines were measured.