getarcaneapp/arcane
Modern Docker Management, Designed for Everyone
Go★ 8,873+46 that day#5 on trending
E31.4/100
Duplication57
7% in go, svelte, typescript, sql, bash, docker, javascriptDead code3
40.6%Complexity45
57.1% 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.74%duplicated code · 10,046 of 366,032 lines
1,042clones in code
2,982code files of 3,447 scanned
6.22%duplicated over all files · 2,995 clones
Most complex files
- backend/internal/project/service.go874 cx
- backend/internal/project/service_test.go575 cx
- backend/internal/updater/service.go538 cx
- backend/internal/system/children/backup/service.go497 cx
- backend/internal/container/service.go425 cx
- backend/internal/imageupdate/service.go399 cx
- backend/internal/system/children/upgrade/service.go371 cx
- backend/internal/volume/children/backup/service.go359 cx
- backend/internal/passkey/service.go333 cx
- frontend/src/routes/(app)/projects/[projectId]/+page.svelte329 cx
Dead code 40.6% unused · 668 findings
- frontend/src/lib/components/code-editor/editor.svelteunused-file
- frontend/src/lib/components/workspace-file-tree-panel.svelteunused-file
- frontend/src/lib/components/arcane-table/arcane-table.svelteunused-file
- frontend/src/lib/components/sheets/create-pod-sheet.svelteunused-file
- frontend/src/lib/stores/activity.store.svelte.tsunused-file
- frontend/src/lib/components/dialogs/gitops-sync-form.svelteunused-file
- frontend/src/lib/components/action-buttons.svelteunused-file
- frontend/src/lib/components/network-diagram/network-diagram.svelteunused-file
- frontend/src/lib/types/ui/notification.tsunused-file
- frontend/src/lib/components/dialogs/update-all-dialog.svelteunused-file
The code number leaves out tests, fixtures, docs, examples, data files, styles, translations and vendored code, and 3 generated files: backend/proto/tunnel/v1/tunnel_grpc.pb.go, backend/proto/tunnel/v1/tunnel.pb.go, backend/resources/scalar/standalone.js.
Largest clones in the code
- 8 lines in 87 placesgo51 tokenscli/pkg/activities/cmd.go:127–134cli/pkg/admin/apikeys/cmd.go:89–96cli/pkg/admin/apikeys/cmd.go:152–159cli/pkg/admin/apikeys/cmd.go:176–183cli/pkg/admin/apikeys/cmd.go:234–241and 82 more
127Short: "Get background activity details", 128Args: cobra.ExactArgs(1), 129SilenceUsage: true, 130RunE: func(cmd *cobra.Command, args []string) error { 131 c, err := cmdutil.ClientFromCommand(cmd) 132 if err != nil { 133 return err 134 } - 9 lines in 32 placesgo68 tokenscli/pkg/backups/cmd.go:283–291cli/pkg/backups/s3.go:84–92cli/pkg/backups/s3.go:191–199cli/pkg/backups/s3.go:254–262cli/pkg/containers/actions.go:31–38and 27 more
283Args: cobra.ExactArgs(1), 284SilenceUsage: true, 285RunE: func(cmd *cobra.Command, args []string) error { 286 c, err := cmdutil.ClientFromCommand(cmd) 287 if err != nil { 288 return err 289 } 290 291 resolved, _, err := s3DestinationRef.Resolve(cmd.Context(), c, opts.s3Destination, cmdutil.AllowPrompt(cmd))84Args: cobra.ExactArgs(1), 85SilenceUsage: true, 86RunE: func(cmd *cobra.Command, args []string) error { 87 c, err := cmdutil.ClientFromCommand(cmd) 88 if err != nil { 89 return err 90 } 91 92 resolved, _, err := s3DestinationRef.Resolve(cmd.Context(), c, args[0], cmdutil.AllowPrompt(cmd)) - 10 lines in 29 placesgo51 tokenscli/pkg/admin/apikeys/cmd.go:44–53cli/pkg/admin/events/cmd.go:115–124cli/pkg/admin/federatedcredentials/cmd.go:43–52cli/pkg/admin/oidcmappings/cmd.go:37–45cli/pkg/admin/oidcmappings/cmd.go:80–88and 24 more
44Short: "List API keys", 45SilenceUsage: true, 46Args: cobra.NoArgs, 47RunE: func(cmd *cobra.Command, args []string) error { 48 c, err := cmdutil.ClientFromCommand(cmd) 49 if err != nil { 50 return err 51 } 52 53 return cmdutil.RunList(cmd, c, cmdutil.ListSpec[types.ApiKey]{115Short: "Show global event counts by severity", 116SilenceUsage: true, 117Args: cobra.NoArgs, 118RunE: func(cmd *cobra.Command, args []string) error { 119 c, err := cmdutil.ClientFromCommand(cmd) 120 if err != nil { 121 return err 122 } 123 124 return cmdutil.Run(cmd, c, cmdutil.Spec[types.EventSeverityCounts]{
7 more
- 9 lines in 22 placesgo59 tokens
- 9 lines in 19 placesgo61 tokens
- 10 lines in 15 placesgo74 tokens
- 8 lines in 18 placesgo52 tokens
- 11 lines in 12 placesgo77 tokens
- 8 lines in 12 placesgo55 tokens
- 8 lines in 9 placesgo72 tokens
Largest clones over all files, tests and data included
- 141 lines in 10 placesjsondata files557 tokensfrontend/messages/cs.json:4533–4673frontend/messages/da.json:4533–4673frontend/messages/el.json:4533–4673frontend/messages/en.json:4533–4673frontend/messages/fr.json:4533–4673and 5 more
4533"environment": "Životní prostředí", 4534"podman_features_unavailable": "Podman features are unavailable", 4535"podman_libpod_unreachable_description": "Arcane reached the engine's Docker-compatible API but not Podman's libpod API, so a socket proxy in front of Podman m… 4536"additional_project_directories": "Additional Project Directories", 4537"additional_project_directories_description": "Disabled directories are kept but not scanned for projects.", 4538"add_directory": "Add Directory", 4539"directory_not_found_in_container": "Not found in this container. Check the volume mount.", 4540"duplicate_directory": "This directory is already listed", 4541"project_directory": "Project Directory", 4542"hsts_label": "HTTP Strict Transport Security",First 10 of 141 lines.
- 8 lines in 87 placesgo51 tokenscli/pkg/activities/cmd.go:127–134cli/pkg/admin/apikeys/cmd.go:89–96cli/pkg/admin/apikeys/cmd.go:152–159cli/pkg/admin/apikeys/cmd.go:176–183cli/pkg/admin/apikeys/cmd.go:234–241and 82 more
127Short: "Get background activity details", 128Args: cobra.ExactArgs(1), 129SilenceUsage: true, 130RunE: func(cmd *cobra.Command, args []string) error { 131 c, err := cmdutil.ClientFromCommand(cmd) 132 if err != nil { 133 return err 134 } - 24 lines in 28 placesgotests152 tokensbackend/internal/project/service_test.go:1648–1671backend/internal/project/service_test.go:2225–2248backend/internal/project/service_test.go:2579–2602backend/internal/project/service_test.go:2635–2658backend/internal/project/service_test.go:2692–2715and 23 more
1648db := setupProjectTestDB(t) 1649ctx := t.Context() 1650 1651projectsDir := t.TempDir() 1652t.Setenv("ARCANE_PROJECTS_DIRECTORY", projectsDir) 1653 1654settingsService, err := newSettingsServiceForTest(t, ctx, db) 1655require.NoError(t, err) 1656 1657eventService := event.NewEventService(db, &config.Config{}, nil)First 10 of 24 lines.
- 145 lines in 7 placesjsondata files573 tokens
- 21 lines in 13 placesgotests213 tokens
By format, code only
| Format | Files | Lines | Clones | Duplicated lines | Duplication |
|---|---|---|---|---|---|
| go | 672 | 185,377 | 869 | 8,418 | 4.54% |
| typescript | 988 | 82,328 | 110 | 990 | 1.2% |
| html | 640 | 41,376 | 63 | 638 | 1.54% |
| svelte | 666 | 55,205 | 0 | 0 | 0% |
| bash | 3 | 948 | 0 | 0 | 0% |
| css | 12 | 755 | 0 | 0 | 0% |
| javascript | 1 | 43 | 0 | 0 | 0% |
By format, all files
| Format | Files | Lines | Clones | Duplicated lines | Duplication |
|---|---|---|---|---|---|
| go | 992 | 289,130 | 2,438 | 26,085 | 9.02% |
| json | 49 | 109,253 | 240 | 8,476 | 7.76% |
| typescript | 1,028 | 99,577 | 198 | 1,918 | 1.93% |
| html | 640 | 41,376 | 63 | 638 | 1.54% |
| yaml | 31 | 3,526 | 50 | 775 | 21.98% |
| css | 13 | 1,753 | 5 | 45 | 2.57% |
| go-module | 3 | 502 | 1 | 8 | 1.59% |
| svelte | 666 | 55,205 | 0 | 0 | 0% |
| markdown | 9 | 5,730 | 0 | 0 | 0% |
| sql | 2 | 2,427 | 0 | 0 | 0% |
Trending appearances
| Day | Rank | Stars | Files | Lines | Clones | All files | Code | Health | Commit |
|---|---|---|---|---|---|---|---|---|---|
| Nov 17, 2026 | #5 | 8,873 (+46) | 3,447 | 610,000 | 2,995 | 6.22% | 2.74% | E 31.4 | 79c61a2 |
Want this for your own project? Install jscpd and run jscpd ., or measure it the way the baselines were measured.