Code Quality
Weight 20%avg_cc=3.15, max_cc=47, duplication=61.67%, dead_code=2
| Primary Language | JavaScript/TypeScript |
|---|---|
| Primary Framework | React (Vite) |
| Detected Frameworks | React (Vite); React; TypeScript |
| Deployable Types | Frontend |
| Technology Stack | JavaScript/TypeScript, CI/CD |
| Default Branch | master |
| Documentation Priority | P2 |
| Last Repository Scan | 11/15/2026, 5:13:49 AM |
| Source Repository | Open on GitHub |
6fe731e4088e0dcf3cc33e9681baa4f088c30805argoproj/argo-ui6fe731e4088e0dcf3cc33e9681baa4f088c30805graph TD;
classDef atlasRoot fill:#004882,stroke:#a3c9ff,stroke-width:2px,color:#d3e4ff
classDef atlasCategory fill:#212428,stroke:#E87A48,stroke-width:1.5px,color:#dfe3eb
classDef atlasWorkflow fill:#1b2026,stroke:#a3c9ff,stroke-width:1.5px,color:#dfe3eb
classDef atlasJob fill:#171c22,stroke:#8d9199,stroke-width:1px,color:#dfe3eb
classDef atlasTarget fill:#005227,stroke:#8bd99b,stroke-width:1.5px,color:#a7f6b6
classDef atlasAlert fill:#93000a,stroke:#ffb4ab,stroke-width:1.5px,color:#ffdad6
classDef atlasMore fill:#252a31,stroke:#8d9199,stroke-dasharray:4 4,color:#c3c6cf
repo_root(["argoproj/argo-ui (102 components)"]):::atlasRoot
subgraph sg_dir_0_v2["v2 (48)"]
direction TB
dir_0_v2["v2 (48)"]:::atlasCategory
sub_0_0_components["components (42)"]:::atlasWorkflow
dir_0_v2 --> sub_0_0_components
sub_0_1_shared["shared (6)"]:::atlasWorkflow
dir_0_v2 --> sub_0_1_shared
end
repo_root --> dir_0_v2
dir_1_stories["stories (28)"]:::atlasCategory
repo_root --> dir_1_stories
subgraph sg_dir_2_src["src (25)"]
direction TB
dir_2_src["src (25)"]:::atlasCategory
sub_2_0_components["components (24)"]:::atlasWorkflow
dir_2_src --> sub_2_0_components
sub_2_1__module_root_["(module root) (1)"]:::atlasWorkflow
dir_2_src --> sub_2_1__module_root_
end
repo_root --> dir_2_src
dir_3__root_["(root) (1)"]:::atlasCategory
repo_root --> dir_3__root_
dir_1_stories -.->|"63 deps"| sub_2_0_components
dir_1_stories -.->|"22 deps"| sub_0_0_components
sub_2_0_components -.->|"11 deps"| sub_0_0_components
sub_0_0_components -.->|"10 deps"| sub_2_0_components
sub_0_0_components -.->|"9 deps"| sub_2_1__module_root_
sub_0_0_components -.->|"6 deps"| sub_0_1_shared
sub_2_0_components -.->|"1 dep"| sub_2_1__module_root_
Showing top 60 representative components out of 102 across 4 module group(s):
Module v2 (48 components — UI_COMPONENT: 48)
Module stories (28 components — UI_COMPONENT: 28)
Module src (25 components — UI_COMPONENT: 25)
Module (root) (1 components — MODULE: 1)
AutocompleteField (src/components/autocomplete/autocomplete-field.tsx): UI_COMPONENT (deps: Autocomplete, Checkbox, Form, FormField, NestedForm, RenderAutocomplete (+2 more))
Confirmation (stories/popup.stories.tsx): UI_COMPONENT (deps: Checkbox, Form, FormField, FormSelect, NestedForm, Text (+1 more))
ConfirmationWithCustomFormInside (stories/popup.stories.tsx): UI_COMPONENT (deps: Checkbox, Form, FormField, FormSelect, NestedForm, Text (+1 more))
Default (stories/forms.stories.tsx): UI_COMPONENT (deps: Checkbox, Form, FormField, FormSelect, NestedForm, Text (+1 more))
Prompt (stories/popup.stories.tsx): UI_COMPONENT (deps: Checkbox, Form, FormField, FormSelect, NestedForm, Text (+1 more))
PromptWithCustomSubmit (stories/popup.stories.tsx): UI_COMPONENT (deps: Checkbox, Form, FormField, FormSelect, NestedForm, Text (+1 more))
PromptWithGreenClockIconAndCustomSubmit (stories/popup.stories.tsx): UI_COMPONENT (deps: Checkbox, Form, FormField, FormSelect, NestedForm, Text (+1 more))
PromptWithJustHeadersAndParagraphs (stories/popup.stories.tsx): UI_COMPONENT (deps: Checkbox, Form, FormField, FormSelect, NestedForm, Text (+1 more))
PromptWithOnlyParagraphsAdditionalTopPaddingIsOptionalForTheFirstParagraph (stories/popup.stories.tsx): UI_COMPONENT (deps: Checkbox, Form, FormField, FormSelect, NestedForm, Text (+1 more))
PromptWithReactCheckboxThatIsCheckedByDefaultUsernameDefaultSetToAdmin (stories/popup.stories.tsx): UI_COMPONENT (deps: Checkbox, Form, FormField, FormSelect, NestedForm, Text (+1 more))
PromptWithRedTitleAndIconWithCustomSubmit (stories/popup.stories.tsx): UI_COMPONENT (deps: Checkbox, Form, FormField, FormSelect, NestedForm, Text (+1 more))
PromptWithYellowTitleAndIconThreeFieldsAndCustomSubmitVerticalCenterLayoutOfIcon (stories/popup.stories.tsx): UI_COMPONENT (deps: Checkbox, Form, FormField, FormSelect, NestedForm, Text (+1 more))
FormSelect (src/components/form-field/form-field.tsx): UI_COMPONENT (deps: Checkbox, Form, FormField, NestedForm, Text, TextArea)
FormField (src/components/form-field/form-field.tsx): UI_COMPONENT (deps: Checkbox, Form, NestedForm, Text, TextArea)
Primary (v2/components/theme-div/theme-div.stories.tsx): UI_COMPONENT (deps: ActionButton, AppContextReact, Flexy, Text, ThemeDiv)
InfoItem (v2/components/info-item/info-item.tsx): UI_COMPONENT (deps: AppContextReact, Text, ThemeDiv, Tooltip)
InfoItemRow (v2/components/info-item/info-item.tsx): UI_COMPONENT (deps: AppContextReact, Text, ThemeDiv, Tooltip)
Primary (v2/components/input/input.stories.tsx): UI_COMPONENT (deps: AppContextReact, FormResetFactory, Input, Text)
ThemeToggle (v2/components/theme-toggle/theme-toggle.tsx): UI_COMPONENT (deps: ActionButton, THEME_KEY, ThemeContext, ThemeProvider)
Ticker (v2/components/ticker/ticker.tsx): UI_COMPONENT (deps: AppContextReact, Flexy, Text, ThemeDiv)
ActionButton (v2/components/action-button/action-button.tsx): UI_COMPONENT (deps: EffectDiv, ThemeDiv, Tooltip)
Autocomplete (v2/components/autocomplete/autocomplete.tsx): UI_COMPONENT (deps: FormResetFactory, Input, ThemeDiv)
BackgroundColor (stories/page.stories.tsx): UI_COMPONENT (deps: Layout, Page, PageContext)
CompactNavBar (stories/page.stories.tsx): UI_COMPONENT (deps: Layout, Page, PageContext)
CustomTopBarTitle (stories/page.stories.tsx): UI_COMPONENT (deps: Layout, Page, PageContext)
Default (stories/page.stories.tsx): UI_COMPONENT (deps: Layout, Page, PageContext)
Default (v2/components/box/box.stories.tsx): UI_COMPONENT (deps: Box, BoxTitle, Checkbox)
DynamicToolbar (stories/page.stories.tsx): UI_COMPONENT (deps: Layout, Page, PageContext)
Primary (v2/components/action-button/action-button.stories.tsx): UI_COMPONENT (deps: ActionButton, AppContextReact, Text)
Primary (v2/components/effect-div/effect-div.stories.tsx): UI_COMPONENT (deps: AppContextReact, EffectDiv, Text)
Primary (v2/components/header/header.stories.tsx): UI_COMPONENT (deps: Brand, Header, Logo)
Primary (v2/components/tooltip/tooltip.stories.tsx): UI_COMPONENT (deps: AppContextReact, Text, Tooltip)
RenderAutocomplete (v2/components/autocomplete/autocomplete.tsx): UI_COMPONENT (deps: FormResetFactory, Input, ThemeDiv)
Secondary (v2/components/header/header.stories.tsx): UI_COMPONENT (deps: Brand, Header, Logo)
ThemeDiv (v2/components/theme-div/theme-div.tsx): UI_COMPONENT (deps: THEME_KEY, ThemeContext, ThemeProvider)
TopBar (src/components/top-bar/top-bar.tsx): UI_COMPONENT (deps: AnchoredDropdown, Checkbox, SplitButton)
Default (stories/autocomplete.stories.tsx): UI_COMPONENT (deps: Autocomplete, RenderAutocomplete)
Menu (v2/components/menu/menu.tsx): UI_COMPONENT (deps: ActionButton, ThemeDiv)
NavBar (src/components/nav-bar/nav-bar.tsx): UI_COMPONENT (deps: AppContextReact, Tooltip)
Primary (v2/components/autocomplete/autocomplete.stories.tsx): UI_COMPONENT (deps: Autocomplete, RenderAutocomplete)
Primary (v2/components/info-item/info-item-row.stories.tsx): UI_COMPONENT (deps: InfoItem, InfoItemRow)
Primary (v2/components/info-item/info-item.stories.tsx): UI_COMPONENT (deps: InfoItem, InfoItemRow)
Primary (v2/components/menu/menu.stories.tsx): UI_COMPONENT (deps: ActionButton, Menu)
Primary (v2/components/text/text.stories.tsx): UI_COMPONENT (deps: AppContextReact, Text)
WithDescription (stories/autocomplete.stories.tsx): UI_COMPONENT (deps: Autocomplete, RenderAutocomplete)
Alert (v2/components/alert/alert.tsx): UI_COMPONENT (deps: ThemeDiv)
Box (v2/components/box/box.tsx): UI_COMPONENT (deps: ThemeDiv)
BoxTitle (v2/components/box/box.tsx): UI_COMPONENT (deps: ThemeDiv)
CenteredRow (v2/components/row/row.tsx): UI_COMPONENT (deps: ThemeDiv)
Default (stories/dropdown.stories.tsx): UI_COMPONENT (deps: AnchoredDropdown)
EffectDiv (v2/components/effect-div/effect-div.tsx): UI_COMPONENT (deps: ThemeDiv)
Filler (v2/components/filler/filler.tsx): UI_COMPONENT (deps: ThemeDiv)
FormResetFactory (v2/components/input/input.tsx): UI_COMPONENT (deps: ThemeDiv)
HelpIcon (src/components/help-icon/help-icon.tsx): UI_COMPONENT (deps: Tooltip)
Input (v2/components/input/input.tsx): UI_COMPONENT (deps: ThemeDiv)
Layout (src/components/layout/layout.tsx): UI_COMPONENT (deps: NavBar)
LoadingBar (v2/components/wait-for/wait-for.tsx): UI_COMPONENT (deps: ThemeDiv)
Menu (stories/dropdown.stories.tsx): UI_COMPONENT (deps: AnchoredDropdown)
MenuWrapper (stories/dropdown.stories.tsx): UI_COMPONENT (deps: AnchoredDropdown)
Page (src/components/page/page.tsx): UI_COMPONENT (deps: TopBar)
F (55.63/100)| Dimension | Grade | Score | Weight | Details |
|---|---|---|---|---|
| Code Quality | F | 45.40 | 0.20 | avg_cc=3.15, max_cc=47, duplication=61.67%, dead_code=2 |
| Dependency Health | A | 100.00 | 0.15 | dependencies=1204, outdated=0, vulnerable=0, has_lockfile=True |
| Maintainability | F | 57.00 | 0.15 | avg_cognitive=3.58, max_cognitive=100, fitness_violations=3, oversized_files=0 |
| Pipeline Health | F | 30.00 | 0.15 | workflows=6, operational_antipatterns=10, parallel_branches=False |
| Security | F | 40.00 | 0.20 | vulnerabilities=0, secrets=0, pipeline_security_findings=5 |
| Test Coverage | C | 70.00 | 0.15 | coverage=unavailable, ci_test_job=True, test_files_detected=True |
ATRUSS-ARCH-005 (COMPLEXITY_THRESHOLD): Repository duplication_pct (61.67) exceeds policy threshold (15.0).ATRUSS-ARCH-005 (COMPLEXITY_THRESHOLD): Repository max_cognitive_complexity (100.0) exceeds policy threshold (25.0).ATRUSS-ARCH-005 (COMPLEXITY_THRESHOLD): Repository max_cyclomatic_complexity (47.0) exceeds policy threshold (20.0).@babel/core 7.21.3 (npm, package.json)@babel/core 7.29.0 (npm, pnpm-lock.yaml)@fortawesome/fontawesome-free 6.2.1 (npm, package.json)@fortawesome/fontawesome-free 6.7.2 (npm, pnpm-lock.yaml)@storybook/addon-actions 8.6.17 (npm, package.json)@storybook/addon-actions 8.6.17 (npm, pnpm-lock.yaml)@storybook/addon-controls 8.6.17 (npm, package.json)@storybook/addon-controls 8.6.17 (npm, pnpm-lock.yaml)@storybook/addon-essentials 8.6.17 (npm, package.json)@storybook/addon-essentials 8.6.17 (npm, pnpm-lock.yaml)@storybook/addon-links 8.6.17 (npm, package.json)@storybook/addon-links 8.6.17 (npm, pnpm-lock.yaml)@storybook/addon-webpack5-compiler-swc 1.0.6 (npm, package.json)@storybook/addon-webpack5-compiler-swc 1.0.6 (npm, pnpm-lock.yaml)@storybook/react-webpack5 8.6.17 (npm, package.json)@storybook/react-webpack5 8.6.17 (npm, pnpm-lock.yaml)@storybook/test 8.6.17 (npm, package.json)@storybook/test 8.6.17 (npm, pnpm-lock.yaml)@testing-library/dom 10.4.0 (npm, pnpm-lock.yaml)@testing-library/dom 10.4.1 (npm, package.json)@testing-library/dom 10.4.1 (npm, pnpm-lock.yaml)@testing-library/jest-dom 6.5.0 (npm, pnpm-lock.yaml)@testing-library/jest-dom 6.9.1 (npm, package.json)@testing-library/jest-dom 6.9.1 (npm, pnpm-lock.yaml)@testing-library/react 16.3.2 (npm, package.json)@testing-library/react 16.3.2 (npm, pnpm-lock.yaml)@testing-library/user-event 14.5.2 (npm, pnpm-lock.yaml)@testing-library/user-event 14.6.1 (npm, package.json)@testing-library/user-event 14.6.1 (npm, pnpm-lock.yaml)@types/deep-equal 1.0.1 (npm, package.json)flowchart LR
classDef atlasCategory fill:#212428,stroke:#E87A48,stroke-width:1.5px,color:#dfe3eb
classDef atlasWorkflow fill:#1b2026,stroke:#a3c9ff,stroke-width:1.5px,color:#dfe3eb
classDef atlasJob fill:#171c22,stroke:#8d9199,stroke-width:1px,color:#dfe3eb
classDef atlasTarget fill:#005227,stroke:#8bd99b,stroke-width:1.5px,color:#a7f6b6
subgraph code_modules["Code Modules"]
mod_afbfeb62_6f64_4a27_b147_102a07ee7d2c["afbfeb62-6f64-4a27-b147-102a07ee7d2c"]:::atlasCategory
end
subgraph ci_jobs["CI/CD Jobs"]
job_build_docs_yml_build_docs["build-docs.yml#build-docs"]:::atlasJob
job_build_v1_yml_build["build-v1.yml#build"]:::atlasJob
job_dependabot_reviewer_yml_review["dependabot-reviewer.yml#review"]:::atlasJob
job_npm_publish_v1_yml_publish["npm-publish-v1.yml#publish"]:::atlasJob
job_npm_publish_yml_publish["npm-publish.yml#publish"]:::atlasJob
job_stale_yml_stale["stale.yml#stale"]:::atlasJob
end
mod_afbfeb62_6f64_4a27_b147_102a07ee7d2c -->|BUILT_BY| job_build_docs_yml_build_docs
mod_afbfeb62_6f64_4a27_b147_102a07ee7d2c -->|BUILT_BY| job_build_v1_yml_build
mod_afbfeb62_6f64_4a27_b147_102a07ee7d2c -->|BUILT_BY| job_dependabot_reviewer_yml_review
mod_afbfeb62_6f64_4a27_b147_102a07ee7d2c -->|BUILT_BY| job_stale_yml_stale
mod_afbfeb62_6f64_4a27_b147_102a07ee7d2c -->|DEPLOYED_BY| job_npm_publish_v1_yml_publish
mod_afbfeb62_6f64_4a27_b147_102a07ee7d2c -->|DEPLOYED_BY| job_npm_publish_yml_publish
afbfeb62-6f64-4a27-b147-102a07ee7d2c (code_module) —[BUILT_BY]—> build-docs.yml#build-docs (ci_job)afbfeb62-6f64-4a27-b147-102a07ee7d2c (code_module) —[BUILT_BY]—> build-v1.yml#build (ci_job)afbfeb62-6f64-4a27-b147-102a07ee7d2c (code_module) —[BUILT_BY]—> dependabot-reviewer.yml#review (ci_job)afbfeb62-6f64-4a27-b147-102a07ee7d2c (code_module) —[BUILT_BY]—> stale.yml#stale (ci_job)afbfeb62-6f64-4a27-b147-102a07ee7d2c (code_module) —[DEPLOYED_BY]—> npm-publish-v1.yml#publish (ci_job)afbfeb62-6f64-4a27-b147-102a07ee7d2c (code_module) —[DEPLOYED_BY]—> npm-publish.yml#publish (ci_job)graph TD;
classDef atlasRoot fill:#004882,stroke:#a3c9ff,stroke-width:2px,color:#d3e4ff
classDef atlasCategory fill:#212428,stroke:#E87A48,stroke-width:1.5px,color:#dfe3eb
classDef atlasWorkflow fill:#1b2026,stroke:#a3c9ff,stroke-width:1.5px,color:#dfe3eb
classDef atlasJob fill:#171c22,stroke:#8d9199,stroke-width:1px,color:#dfe3eb
classDef atlasTarget fill:#005227,stroke:#8bd99b,stroke-width:1.5px,color:#a7f6b6
classDef atlasAlert fill:#93000a,stroke:#ffb4ab,stroke-width:1.5px,color:#ffdad6
classDef atlasMore fill:#252a31,stroke:#8d9199,stroke-dasharray:4 4,color:#c3c6cf
pipeline_root(["argoproj/argo-ui (6 workflows)"]):::atlasRoot
subgraph sg_grp_0_CI___Verification["CI & Verification (2 workflows · 2 jobs)"]
direction TB
subgraph sg_wf_0_Build_Storybook_Docs_v2["Build Storybook Docs v2 (1 jobs)"]
direction TB
wf_0_Build_Storybook_Docs_v2(["Trigger: Build Storybook Docs v2"]):::atlasWorkflow
job_0_build_docs["build-docs"]:::atlasJob
wf_0_Build_Storybook_Docs_v2 --> job_0_build_docs
end
pipeline_root --> wf_0_Build_Storybook_Docs_v2
subgraph sg_wf_1_Build_v1["Build v1 (1 jobs)"]
direction TB
wf_1_Build_v1(["Trigger: Build v1"]):::atlasWorkflow
job_1_build["build"]:::atlasJob
wf_1_Build_v1 --> job_1_build
end
pipeline_root --> wf_1_Build_v1
end
subgraph sg_grp_1_Release___Deploy["Release & Deploy (2 workflows · 2 jobs)"]
direction TB
subgraph sg_wf_3_Release_NPM_package_v1["Release NPM package v1 (1 jobs)"]
direction TB
wf_3_Release_NPM_package_v1(["Trigger: Release NPM package v1"]):::atlasWorkflow
job_3_publish["publish"]:::atlasJob
wf_3_Release_NPM_package_v1 --> job_3_publish
end
pipeline_root --> wf_3_Release_NPM_package_v1
subgraph sg_wf_4_Release_NPM_package_v2["Release NPM package v2 (1 jobs)"]
direction TB
wf_4_Release_NPM_package_v2(["Trigger: Release NPM package v2"]):::atlasWorkflow
job_4_publish["publish"]:::atlasJob
wf_4_Release_NPM_package_v2 --> job_4_publish
end
pipeline_root --> wf_4_Release_NPM_package_v2
end
subgraph sg_grp_2_Security___Governance["Security & Governance (2 workflows · 2 jobs)"]
direction TB
subgraph sg_wf_2_Approve_and_enable_auto_merge_for_dependabot["Approve and enable auto-merge for dependabot (1 jobs)"]
direction TB
wf_2_Approve_and_enable_auto_merge_for_dependabot(["Trigger: Approve and enable auto-merge for dependabot"]):::atlasWorkflow
job_2_review["review"]:::atlasJob
wf_2_Approve_and_enable_auto_merge_for_dependabot --> job_2_review
end
pipeline_root --> wf_2_Approve_and_enable_auto_merge_for_dependabot
subgraph sg_wf_5_Mark_stale_issues_and_pull_requests["Mark stale issues and pull requests (1 jobs)"]
direction TB
wf_5_Mark_stale_issues_and_pull_requests(["Trigger: Mark stale issues and pull requests"]):::atlasWorkflow
job_5_stale["stale"]:::atlasJob
wf_5_Mark_stale_issues_and_pull_requests --> job_5_stale
end
pipeline_root --> wf_5_Mark_stale_issues_and_pull_requests
endavg_cc=3.15, max_cc=47, duplication=61.67%, dead_code=2
vulnerabilities=0, secrets=0, pipeline_security_findings=5
avg_cognitive=3.58, max_cognitive=100, fitness_violations=3, oversized_files=0
coverage=unavailable, ci_test_job=True, test_files_detected=True
dependencies=1204, outdated=0, vulnerable=0, has_lockfile=True
workflows=6, operational_antipatterns=10, parallel_branches=False
constructorstories/table.stories.tsx:10renderstories/table.stories.tsx:15ATRUSS-ARCH-005COMPLEXITY_THRESHOLDv2/components/autocomplete/autocomplete.tsx:1Repository duplication_pct (61.67) exceeds policy threshold (15.0).
ATRUSS-ARCH-005COMPLEXITY_THRESHOLDv2/components/autocomplete/autocomplete.tsx:1Repository max_cognitive_complexity (100.0) exceeds policy threshold (25.0).
ATRUSS-ARCH-005COMPLEXITY_THRESHOLDv2/components/autocomplete/autocomplete.tsx:1Repository max_cyclomatic_complexity (47.0) exceeds policy threshold (20.0).
No known OSV vulnerabilities detected across 1204 parsed dependencies.
No hardcoded secret patterns detected.
Single-package repository or no monorepo workspace manifests.