vagustin674-ui/TraceLinter

0

stars

0

commits

C#

primary language

Aug 4, 2026

updated

README

TraceLinter Logo

TraceLinter πŸ›‘οΈβš‘

Static Code Analysis (Roslyn AST) + OpenTelemetry (OTLP) + AI-Powered Refactoring.

.NET 9 C# WPF License


πŸ“Œ Overview

TraceLinter bridges the gap between Static Code Analysis (Roslyn AST) and Runtime Telemetry (OpenTelemetry OTLP). Instead of warning about theoretical code smells, TraceLinter identifies performance bottlenecks that actually impact production based on real execution metrics (RPM, P95 Latency).

It enables automated code refactoring using Artificial Intelligence (supporting 100% local models via Ollama, as well as Google Gemini and OpenAI GPT-4o), automatically preserving safety via .bak backups.


✨ Key Features

  • πŸ” Roslyn AST Static Analysis: Scans C# codebases to detect loops, method signatures, complexity, and exact line locations.
  • πŸ“Š OpenTelemetry (OTLP) Ingestion: Processes OTLP JSON telemetry with Requests Per Minute (RPM) and P95 Latency metrics.
  • βš™οΈ Configurable Thresholds: Custom dynamic thresholds for Minimum Traffic (RPM) and Latency (ms) at runtime.
  • πŸ€– Multi-Provider AI Refactoring: Built-in integrations for Ollama (Local llama3), Gemini, and OpenAI.
  • πŸ› οΈ 1-Click Automated Refactor: Directly replaces inefficient code in original source files with automatic .bak backups.
  • 🌐 Bilingual UI & Exporters: Native English and Spanish UI support with 1-click export to HTML and Markdown reports.
  • πŸ§ͺ Unit Tested: Built with xUnit ensuring high stability for risk evaluation and analyzer modules.

πŸ—οΈ Solution Architecture

TraceLinter/
β”œβ”€β”€ TraceLinter.Core/                  # Core Models and Interfaces
β”œβ”€β”€ TraceLinter.Analysis.Roslyn/       # C# AST Parsing via Microsoft.CodeAnalysis.CSharp
β”œβ”€β”€ TraceLinter.Telemetry.OpenTelemetry/# OTLP JSON Telemetry Ingestor
β”œβ”€β”€ TraceLinter.Engine/                # Risk Evaluation Engine & LLM Integrations
β”œβ”€β”€ TraceLinter.Desktop/               # WPF Desktop User Interface (.NET 9)
└── TraceLinter.Tests/                 # xUnit Test Suite

πŸ“œ License and Terms of Use
This project is distributed under the PolyForm Noncommercial License 1.0.0.

βœ… Allowed Use: Free to use, study, modify, and run for personal, educational, academic, and research purposes.

❌ Commercial Use Prohibited: Commercial use of this code (or parts of it), integration into paid/corporate software, or commercial consulting services without a prior commercial license is strictly prohibited.

vagustin674-ui/TraceLinter

0

stars

0

commits

C#

primary language

Aug 4, 2026

updated

README

TraceLinter Logo

TraceLinter πŸ›‘οΈβš‘

Static Code Analysis (Roslyn AST) + OpenTelemetry (OTLP) + AI-Powered Refactoring.

.NET 9 C# WPF License


πŸ“Œ Overview

TraceLinter bridges the gap between Static Code Analysis (Roslyn AST) and Runtime Telemetry (OpenTelemetry OTLP). Instead of warning about theoretical code smells, TraceLinter identifies performance bottlenecks that actually impact production based on real execution metrics (RPM, P95 Latency).

It enables automated code refactoring using Artificial Intelligence (supporting 100% local models via Ollama, as well as Google Gemini and OpenAI GPT-4o), automatically preserving safety via .bak backups.


✨ Key Features

  • πŸ” Roslyn AST Static Analysis: Scans C# codebases to detect loops, method signatures, complexity, and exact line locations.
  • πŸ“Š OpenTelemetry (OTLP) Ingestion: Processes OTLP JSON telemetry with Requests Per Minute (RPM) and P95 Latency metrics.
  • βš™οΈ Configurable Thresholds: Custom dynamic thresholds for Minimum Traffic (RPM) and Latency (ms) at runtime.
  • πŸ€– Multi-Provider AI Refactoring: Built-in integrations for Ollama (Local llama3), Gemini, and OpenAI.
  • πŸ› οΈ 1-Click Automated Refactor: Directly replaces inefficient code in original source files with automatic .bak backups.
  • 🌐 Bilingual UI & Exporters: Native English and Spanish UI support with 1-click export to HTML and Markdown reports.
  • πŸ§ͺ Unit Tested: Built with xUnit ensuring high stability for risk evaluation and analyzer modules.

πŸ—οΈ Solution Architecture

TraceLinter/
β”œβ”€β”€ TraceLinter.Core/                  # Core Models and Interfaces
β”œβ”€β”€ TraceLinter.Analysis.Roslyn/       # C# AST Parsing via Microsoft.CodeAnalysis.CSharp
β”œβ”€β”€ TraceLinter.Telemetry.OpenTelemetry/# OTLP JSON Telemetry Ingestor
β”œβ”€β”€ TraceLinter.Engine/                # Risk Evaluation Engine & LLM Integrations
β”œβ”€β”€ TraceLinter.Desktop/               # WPF Desktop User Interface (.NET 9)
└── TraceLinter.Tests/                 # xUnit Test Suite

πŸ“œ License and Terms of Use
This project is distributed under the PolyForm Noncommercial License 1.0.0.

βœ… Allowed Use: Free to use, study, modify, and run for personal, educational, academic, and research purposes.

❌ Commercial Use Prohibited: Commercial use of this code (or parts of it), integration into paid/corporate software, or commercial consulting services without a prior commercial license is strictly prohibited.

Languages

C#

100.0%