CC CodeClone Desktop
.NET MAUI

CodeClone Desktop, coverage that answers "so what?"

Turns raw code-clone analysis into severity-scored insights, trend snapshots, and prioritized action items — so you know what to fix and why it matters.

Install

dotnet add package CodeClone.Domain

Parse

var result = AnalyzeResponseParser.Parse(json);

Score

Console.WriteLine($"Risk: {snapshot.RiskScore.Level}");

Why CodeClone?

Not just another duplication tool.

Answers "So What?"

Translates findings into human-readable risk scores, trend lines, and plain-English recommendations — not a wall of diagnostics.

Tracks Progress

Every analysis creates a git-tagged snapshot. Compare any two points in time to prove cleanup efforts are working.

Prioritizes Ruthlessly

The Insight Engine scores every hotspot by impact, surfaces top action items, and explains why each one matters.

Stays Local

No cloud, no telemetry. All snapshots stored in %LOCALAPPDATA%. Your code never leaves your machine.

AOT-Ready

CodeClone.Domain uses source-generated JSON serialization — works in ahead-of-time compiled apps and trimmed deployments.

NuGet Library

Use the domain models in your own tools. Parse, score, and analyze without the desktop UI.

Quick Start

Desktop app

# Download from Releases
# Launch CodeClone Desktop
# Click Open Repo → select folder
# Click Assess Risk → explore insights

NuGet library

dotnet add package CodeClone.Domain

using CodeClone.Domain;

var json = File.ReadAllText("output.json");
var result = AnalyzeResponseParser.Parse(json);

Console.WriteLine($"Risk: {result.Summary.TotalDiagnostics}");

Insight Dashboard

Feature
Description
Risk Score
0–100 weighted score from diagnostic volume, hotspot concentration, and coverage
Score Explainer
Drill into individual factors, weights, and contributions
Headline Insight
Plain-English summary answering "How healthy is this codebase?"
Dashboard Metrics
Duplication %, hotspot count, affected files and lines
Trend Tracking
Before/after comparison with score delta and change contributors

Domain Model

Key types in CodeClone.Domain.

Type
Purpose
AnalyzeResponse
Top-level result: status, repo root, summary, diagnostics
Diagnostic
Individual finding: code, severity, message, file location
Snapshot
Point-in-time capture: git metadata, risk score, hotspots
RiskScore
Weighted 0–100 score with contributing factors and risk level
Insight
Human-readable headline with "why it matters" explanation
ActionItem
Prioritized recommendation with impact score and fix guidance

Tech Stack

Layer
Technology
UI Framework
.NET MAUI (Windows target)
Runtime
.NET 9.0
MVVM
CommunityToolkit.Mvvm 8.4
UI Toolkit
CommunityToolkit.Maui 10.0
Serialization
System.Text.Json with source generation
Platform
Windows 10 (1809+)