Files
pruefwerk/compliance-graph/src/graph
Sharang ParnerkarandClaude Opus 5.5 6a2b56585e
CI / Check (push) Skipped
CI / Detect Changes (pull_request) Skipped
CI / Deploy Agent (pull_request) Skipped
CI / Deploy Dashboard (pull_request) Skipped
CI / Deploy Docs (pull_request) Skipped
CI / Deploy MCP (pull_request) Skipped
CI / Agent integration (pull_request) Successful in 4m38s
CI / Check (pull_request) Successful in 18m45s
feat(graph): C and C# in the code graph (t82)
Customer code is mostly C firmware and C#/ASP.NET, which the graph didn't
parse, so their graphs were nearly empty.

- C: functions, structs, unions, enums (including typedef'd ones and those
  inside #if blocks), calls by name and #includes. main and interrupt
  handlers are entry points, in the avr-gcc ISR(), CodeVision, SDCC, IAR and
  GCC attribute spellings.
- C#: classes, structs, interfaces, records, enums, methods and
  constructors, base types (Implements for IName), calls and constructions.
  Entry points are Main and what a web framework calls: controller actions,
  [Http*]/[Route]/[WebMethod] methods, Razor page handlers, Web Forms
  pages and controls, IHttpHandler.ProcessRequest.
- Overloads and #ifdef/#else alternatives share one qualified name: they
  give one node (an entry point if any of them is), and the calls of every
  body count. Before, the graph kept the last and orphaned the others.
- tree-sitter-c 0.23.4; tree-sitter-c-sharp pinned to 0.23.1, as 0.23.5 is
  built for grammar ABI 15 and our tree-sitter 0.24 reads up to 14.
- Edge resolution goes through an index by last name segment instead of
  scanning every node per edge. When several nodes match it prefers the
  edge's own file (C static functions), then the first by name, so a
  rebuild links the same way. #include "uart.h" now links to the header.
- Community detection kept its totals up to date only by re-summing all
  nodes for every node (quadratic per pass), and ran twice per build. It
  now costs O(nodes + edges) per pass and runs once, in the build. The
  FreeRTOS kernel (6,500 nodes) builds in 1.2 s instead of 6.9 s.
- compliance-graph joins CI's clippy and test steps. Its tests never ran
  in CI before. The Rust parser's tests move below its last impl (clippy).

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
2026-11-07 04:12:17 +01:00
..
2026-03-06 21:54:15 +00:00