.github/workflows/ci.yml → mattermost/actions-workflows/.github/workflows/plugin-dist-pr.ymlmattermost-plugin-jira
mattermost-plugin-jira
| Primary Language | JavaScript/TypeScript |
|---|---|
| Primary Framework | React (Vite) |
| Detected Frameworks | React (Vite); React; Express / Node API; TypeScript; Go Service; Docker Compose; Container |
| Deployable Types | Frontend |
| Technology Stack | JavaScript/TypeScript, Docker, CI/CD |
| Default Branch | master |
| Documentation Priority | P2 |
| Last Repository Scan | 11/15/2026, 5:17:51 AM |
| Source Repository | Open on GitHub |
mattermost/mattermost-plugin-jira — Workflow Hierarchy Overview
Pipeline Anti-Patterns Detected
Cross-Workflow Triggers & Reusable Calls
.github/workflows/ci.yml → mattermost/actions-workflows/.github/workflows/plugin-ci.ymlmattermost/mattermost-plugin-jira — Module Architecture Tree
Arc42 Architecture & Dependency Report
Repository Architecture Analysis: mattermost/mattermost-plugin-jira
Metadata
- SHA:
c0cd5548ca04a7288b99c7fca7eb76a5ce269657 - Primary Ecosystem: JavaScript/TypeScript
Quality Metrics
- ast_engine: tree-sitter
- avg_cognitive_complexity: 2.14
- avg_cyclomatic_complexity: 2.81
- component_count: 11
- dead_code_count: 1
- dead_code_symbols: 1 entry(ies)
- duplication_pct: 75.41
- file_complexities: 25 entry(ies)
- files_analyzed: 136
- fitness_passed: False
- fitness_violation_count: 3
- framework: React (Vite)
- import_edges: 100 entry(ies)
- loc: 16192
- max_cognitive_complexity: 51
- max_cyclomatic_complexity: 36
- sloc: 13045
- test_file_count: 77
Architecture: mattermost/mattermost-plugin-jira
Context
- Repository:
mattermost/mattermost-plugin-jira - SHA:
c0cd5548ca04a7288b99c7fca7eb76a5ce269657 - Ecosystem: JavaScript/TypeScript
- Framework: React (Vite)
Building Block View
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
mattermost_plugin_jira_e2e["mattermost-plugin-jira-e2e : MODULE"]:::atlasJob
webapp["webapp : MODULE"]:::atlasJob
AttachCommentToIssueModal["AttachCommentToIssueModal : UI_COMPONENT"]:::atlasJob
EmptyChannelSubscriptionFilter["EmptyChannelSubscriptionFilter : UI_COMPONENT"]:::atlasJob
ConnectModal["ConnectModal : UI_COMPONENT"]:::atlasJob
CreateIssueModal["CreateIssueModal : UI_COMPONENT"]:::atlasJob
DisconnectModal["DisconnectModal : UI_COMPONENT"]:::atlasJob
SVGIcons["SVGIcons : UI_COMPONENT"]:::atlasJob
AttachCommentToIssuePostMenuAction["AttachCommentToIssuePostMenuAction : UI_COMPONENT"]:::atlasJob
CreateIssuePostMenuAction["CreateIssuePostMenuAction : UI_COMPONENT"]:::atlasJob
FIELD_KEY_STATUS["FIELD_KEY_STATUS : UI_COMPONENT"]:::atlasJob
repo_root(["mattermost/mattermost-plugin-jira"]):::atlasRoot
repo_root --> AttachCommentToIssueModal
repo_root --> AttachCommentToIssuePostMenuAction
repo_root --> ConnectModal
repo_root --> CreateIssueModal
repo_root --> CreateIssuePostMenuAction
repo_root --> DisconnectModal
repo_root --> EmptyChannelSubscriptionFilter
repo_root --> FIELD_KEY_STATUS
repo_root --> SVGIcons
repo_root --> mattermost_plugin_jira_e2e
repo_root --> webapp
Component Details
- mattermost-plugin-jira-e2e (
e2e/playwright/package.json): MODULE - webapp (
webapp/package.json): MODULE - AttachCommentToIssueModal (
webapp/src/components/modals/attach_comment_modal/attach_comment_modal.tsx): UI_COMPONENT - EmptyChannelSubscriptionFilter (
webapp/src/components/modals/channel_subscriptions/channel_subscription_filter.tsx): UI_COMPONENT - ConnectModal (
webapp/src/components/modals/connect_modal/connect_modal.tsx): UI_COMPONENT - CreateIssueModal (
webapp/src/components/modals/create_issue/create_issue_modal.tsx): UI_COMPONENT - DisconnectModal (
webapp/src/components/modals/disconnect_modal/disconnect_modal.tsx): UI_COMPONENT - SVGIcons (
webapp/src/components/plugin_constants/icons.tsx): UI_COMPONENT - AttachCommentToIssuePostMenuAction (
webapp/src/components/post_menu_actions/attach_comment_to_issue/attach_comment_to_issue.tsx): UI_COMPONENT - CreateIssuePostMenuAction (
webapp/src/components/post_menu_actions/create_issue/create_issue.tsx): UI_COMPONENT - FIELD_KEY_STATUS (
webapp/src/utils/jira_issue_metadata.tsx): UI_COMPONENT
6-Dimension Repository Scorecard
- Overall Grade:
D(67.85/100) - Technical Debt Score: 32.15
- Estimated Remediation Effort: 39.87h
| Dimension | Grade | Score | Weight | Details |
|---|---|---|---|---|
| Code Quality | F | 48.00 | 0.20 | avg_cc=2.81, max_cc=36, duplication=75.41%, dead_code=1 |
| Dependency Health | A | 100.00 | 0.15 | dependencies=1332, outdated=0, vulnerable=0, has_lockfile=True |
| Maintainability | F | 37.00 | 0.15 | avg_cognitive=2.14, max_cognitive=51, fitness_violations=3, oversized_files=4 |
| Pipeline Health | A | 96.00 | 0.15 | workflows=3, operational_antipatterns=3, parallel_branches=True |
| Security | D | 64.00 | 0.20 | vulnerabilities=0, secrets=0, pipeline_security_findings=3 |
| Test Coverage | C | 70.00 | 0.15 | coverage=unavailable, ci_test_job=False, test_files_detected=True |
Architecture Fitness & Workspace Boundaries
- [MEDIUM]
ATRUSS-ARCH-005(COMPLEXITY_THRESHOLD): Repository duplication_pct (75.41) exceeds policy threshold (15.0). - [MEDIUM]
ATRUSS-ARCH-005(COMPLEXITY_THRESHOLD): Repository max_cognitive_complexity (51.0) exceeds policy threshold (25.0). - [MEDIUM]
ATRUSS-ARCH-005(COMPLEXITY_THRESHOLD): Repository max_cyclomatic_complexity (36.0) exceeds policy threshold (20.0).
Supply Chain Dependencies, Vulnerabilities & Secrets
- Dependencies Parsed: 1332 | Vulnerabilities: 0 | Secrets: 0
Inventory Sample
github.com/andygrunwald/go-jira1.16.0(golang,go.mod)github.com/blang/semver/v44.0.0(golang,go.mod)github.com/dghubble/oauth10.5.0(golang,go.mod)github.com/gorilla/mux1.8.1(golang,go.mod)github.com/hashicorp/go-multierror1.1.1(golang,go.mod)github.com/jarcoal/httpmock1.0.8(golang,go.mod)github.com/mattermost-community/mattermost-plugin-autolink1.4.1-0.20241105205450-79c240cde7d6(golang,go.mod)github.com/mattermost/mattermost/server/public0.3.0(golang,go.mod)github.com/pkg/errors0.9.1(golang,go.mod)github.com/rudderlabs/analytics-go3.3.3+incompatible(golang,go.mod)github.com/stretchr/testify1.11.1(golang,go.mod)github.com/trivago/tgo1.0.7(golang,go.mod)golang.org/x/oauth20.36.0(golang,go.mod)golang.org/x/text0.41.0(golang,go.mod)gopkg.in/yaml.v33.0.1(golang,go.mod)@babel/cli7.28.3(npm,webapp/package-lock.json)@babel/cli7.28.3(npm,webapp/package.json)@babel/core7.26.0(npm,webapp/package-lock.json)@babel/core7.26.0(npm,webapp/package.json)@babel/eslint-parser7.25.9(npm,webapp/package-lock.json)@babel/eslint-parser7.25.9(npm,webapp/package.json)@babel/plugin-syntax-dynamic-import7.8.3(npm,webapp/package-lock.json)@babel/plugin-syntax-dynamic-import7.8.3(npm,webapp/package.json)@babel/plugin-transform-class-properties7.25.9(npm,webapp/package-lock.json)@babel/plugin-transform-class-properties7.25.9(npm,webapp/package.json)@babel/plugin-transform-object-rest-spread7.25.9(npm,webapp/package-lock.json)@babel/plugin-transform-object-rest-spread7.25.9(npm,webapp/package.json)@babel/preset-env7.26.0(npm,webapp/package-lock.json)@babel/preset-env7.26.0(npm,webapp/package.json)@babel/preset-react7.26.3(npm,webapp/package-lock.json)- … (+1302 more dependencies)
Section 7: Code-to-Cloud Deployment Traceability
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__cursor[".cursor"]:::atlasCategory
mod_bbefcdf5_b501_4ac4_b2db_1db7e245e439["bbefcdf5-b501-4ac4-b2db-1db7e245e439"]:::atlasCategory
mod_e2e_playwright["e2e/playwright"]:::atlasCategory
end
subgraph build_artifacts["Build Artifacts / Containers"]
art__cursor_Dockerfile[".cursor/Dockerfile"]:::atlasWorkflow
art_docker_compose_yml["docker-compose.yml"]:::atlasWorkflow
art_e2e_playwright_docker_compose_yml["e2e/playwright/docker-compose.yml"]:::atlasWorkflow
end
subgraph ci_jobs["CI/CD Jobs"]
job_e2e_yml_contract_drift["e2e.yml#contract-drift"]:::atlasJob
job_e2e_yml_playwright["e2e.yml#playwright"]:::atlasJob
job_e2e_yml_real_cloud_parity["e2e.yml#real-cloud-parity"]:::atlasJob
job_e2e_yml_real_jira["e2e.yml#real-jira"]:::atlasJob
job_e2e_yml_visual["e2e.yml#visual"]:::atlasJob
end
mod__cursor -->|PACKAGED_BY| art__cursor_Dockerfile
mod_bbefcdf5_b501_4ac4_b2db_1db7e245e439 -->|PACKAGED_BY| art_docker_compose_yml
mod_e2e_playwright -->|BUILT_BY| job_e2e_yml_contract_drift
mod_e2e_playwright -->|BUILT_BY| job_e2e_yml_playwright
mod_e2e_playwright -->|BUILT_BY| job_e2e_yml_real_cloud_parity
mod_e2e_playwright -->|BUILT_BY| job_e2e_yml_real_jira
mod_e2e_playwright -->|BUILT_BY| job_e2e_yml_visual
mod_e2e_playwright -->|PACKAGED_BY| art__cursor_Dockerfile
mod_e2e_playwright -->|PACKAGED_BY| art_e2e_playwright_docker_compose_yml
art_e2e_playwright_docker_compose_yml -->|BUILT_BY| job_e2e_yml_contract_drift
art_e2e_playwright_docker_compose_yml -->|BUILT_BY| job_e2e_yml_playwright
art_e2e_playwright_docker_compose_yml -->|BUILT_BY| job_e2e_yml_real_cloud_parity
art_e2e_playwright_docker_compose_yml -->|BUILT_BY| job_e2e_yml_real_jira
art_e2e_playwright_docker_compose_yml -->|BUILT_BY| job_e2e_yml_visual
.cursor(code_module) —[PACKAGED_BY]—>.cursor/Dockerfile(container)bbefcdf5-b501-4ac4-b2db-1db7e245e439(code_module) —[PACKAGED_BY]—>docker-compose.yml(container)e2e/playwright(code_module) —[BUILT_BY]—>e2e.yml#contract-drift(ci_job)e2e/playwright(code_module) —[BUILT_BY]—>e2e.yml#playwright(ci_job)e2e/playwright(code_module) —[BUILT_BY]—>e2e.yml#real-cloud-parity(ci_job)e2e/playwright(code_module) —[BUILT_BY]—>e2e.yml#real-jira(ci_job)e2e/playwright(code_module) —[BUILT_BY]—>e2e.yml#visual(ci_job)e2e/playwright(code_module) —[PACKAGED_BY]—>.cursor/Dockerfile(container)e2e/playwright(code_module) —[PACKAGED_BY]—>e2e/playwright/docker-compose.yml(container)e2e/playwright/docker-compose.yml(container) —[BUILT_BY]—>e2e.yml#contract-drift(ci_job)e2e/playwright/docker-compose.yml(container) —[BUILT_BY]—>e2e.yml#playwright(ci_job)e2e/playwright/docker-compose.yml(container) —[BUILT_BY]—>e2e.yml#real-cloud-parity(ci_job)e2e/playwright/docker-compose.yml(container) —[BUILT_BY]—>e2e.yml#real-jira(ci_job)e2e/playwright/docker-compose.yml(container) —[BUILT_BY]—>e2e.yml#visual(ci_job)
CI/CD Pipeline Topology
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(["mattermost/mattermost-plugin-jira"]):::atlasRoot
subgraph ci_0["ci"]
direction TB
0_plugin_ci["plugin-ci"]:::atlasJob
0_dist["dist"]:::atlasJob
end
pipeline_root --> 0_plugin_ci
subgraph CodeQL_1["CodeQL"]
direction TB
1_analyze["analyze"]:::atlasJob
end
pipeline_root --> 1_analyze
subgraph e2e_2["e2e"]
direction TB
2_playwright["playwright"]:::atlasJob
2_visual["visual"]:::atlasJob
2_contract_drift["contract-drift"]:::atlasJob
2_real_cloud_parity["real-cloud-parity"]:::atlasJob
2_real_jira["real-jira"]:::atlasJob
wf_entry_2(["Trigger: e2e"]):::atlasWorkflow
wf_entry_2 --> 2_playwright
wf_entry_2 --> 2_visual
wf_entry_2 --> 2_contract_drift
wf_entry_2 --> 2_real_cloud_parity
wf_entry_2 --> 2_real_jira
end
pipeline_root --> wf_entry_26-Dimension Scorecard Breakdown
Code Quality
Weight 20%avg_cc=2.81, max_cc=36, duplication=75.41%, dead_code=1
Security
Weight 20%vulnerabilities=0, secrets=0, pipeline_security_findings=3
Maintainability
Weight 15%avg_cognitive=2.14, max_cognitive=51, fitness_violations=3, oversized_files=4
Test Coverage
Weight 15%coverage=unavailable, ci_test_job=False, test_files_detected=True
Dependency Health
Weight 15%dependencies=1332, outdated=0, vulnerable=0, has_lockfile=True
Pipeline Health
Weight 15%workflows=3, operational_antipatterns=3, parallel_branches=True
Module Complexity & Quality Heatmap
Unreferenced / Dead Code Symbols Preview (1)
getStylewebapp/src/components/modals/channel_subscriptions/edit_channel_subscription.tsx:702Architectural Fitness Rules
ATRUSS-ARCH-005COMPLEXITY_THRESHOLDwebapp/src/utils/jira_issue_metadata.tsx:1Repository duplication_pct (75.41) exceeds policy threshold (15.0).
ATRUSS-ARCH-005COMPLEXITY_THRESHOLDwebapp/src/utils/jira_issue_metadata.tsx:1Repository max_cognitive_complexity (51.0) exceeds policy threshold (25.0).
ATRUSS-ARCH-005COMPLEXITY_THRESHOLDwebapp/src/utils/jira_issue_metadata.tsx:1Repository max_cyclomatic_complexity (36.0) exceeds policy threshold (20.0).
Supply-Chain Dependencies & OSV Vulnerabilities
No known OSV vulnerabilities detected across 1332 parsed dependencies.
Redacted Secret Findings
No hardcoded secret patterns detected.
Code-to-Cloud & Workspace Packages
Workspace Packages
Single-package repository or no monorepo workspace manifests.