YarnSpinnerTool/YarnSpinner
61.8
Adequate · 16 November 2026
44.8k
lines of production code
C#
primary language
1
measurement over time
What this system is
Behavioural changes
12 commits (0 fixes) modifying YarnSpinner.Compiler/Upgrader
A change to existing behaviour in YarnSpinner.Compiler/Upgrader — 12 commits, 3 files: “Add nullability checks, documentation, more specific exception messages, and other minor improvements to address compiler warnings”; “Remove V1 to V2 upgrader”; “Add tools for upgrading from V1 to V2 syntax”; and 9 more.
YarnSpinner.Compiler/Upgrader · medium confidence · unverified
12 commits (0 fixes) modifying YarnSpinner.Diagnostics
A change to existing behaviour in YarnSpinner.Diagnostics — 12 commits, 4 files: “Move diagnostic test case generation to test project itself, don't use code generation”; “Extract examples from diagnostic descriptors and produce tests from them”; “Use compiler properties to control whether the generator generates diagnostic descriptors or not”; and 9 more.
YarnSpinner.Diagnostics · medium confidence · unverified
13 commits (0 fixes) modifying YarnSpinner/Saliency
A change to existing behaviour in YarnSpinner/Saliency — 13 commits, 6 files: “Add nullability checks, documentation, more specific exception messages, and other minor improvements to address compiler warnings”; “Did the docstrings for the Yarn namespace”; “Make saliency strategies public”; and 10 more.
YarnSpinner/Saliency · medium confidence · unverified
13 commits (3 fixes) modifying YarnSpinner.SourceGenerator
A change to existing behaviour in YarnSpinner.SourceGenerator — 13 commits (3 fixs), 10 files: “added lots of docstrings”; “fixed a bug where enums in namespaces weren't called correctly by sourcegen”; “Fixed a bug in runtime action collection in the generator”; and 10 more.
YarnSpinner.SourceGenerator · medium confidence · unverified
19 commits (0 fixes) modifying YarnSpinner.Compiler/TypeSolver/Terms
A change to existing behaviour in YarnSpinner.Compiler/TypeSolver/Terms — 19 commits, 2 files: “Better type variable equality checking”; “Remove TypeFunction (from older code) Replaced it with FunctionType”; “Make the type checker produce its own diagnostics, and not just the error message for YS0050”; and 16 more.
YarnSpinner.Compiler/TypeSolver/Terms · medium confidence · unverified
22 commits (0 fixes) modifying YarnSpinner.Diagnostics/Definitions
A change to existing behaviour in YarnSpinner.Diagnostics/Definitions — 22 commits, 55 files: “Split diagnostics for 'not found' and 'wrong parameters' into two tests each, one for commands and one for functions”; “Extract examples from diagnostic descriptors and produce tests from them”; “Add pending change notes to diagnostics”; and 19 more.
YarnSpinner.Diagnostics/Definitions · medium confidence · unverified
22 commits (3 fixes) modifying YarnSpinner.Compiler/Grammars
A change to existing behaviour in YarnSpinner.Compiler/Grammars — 22 commits (3 fixs), 12 files: “Continued work on structured command parsing”; “Fix parser ambiguity between unary negation and binary negation while still allowing them to work in smart variables”; “Move grammars into their own folder”; and 19 more (refs \#421).
YarnSpinner.Compiler/Grammars · medium confidence · unverified
26 commits (0 fixes) modifying YarnSpinner.Compiler/TypeSolver
A change to existing behaviour in YarnSpinner.Compiler/TypeSolver — 26 commits, 2 files: “Add nullability checks, documentation, more specific exception messages, and other minor improvements to address compiler warnings”; “Make type constraints able to produce a failure message”; “Further work on function call checking”; and 23 more.
YarnSpinner.Compiler/TypeSolver · medium confidence · unverified
299 commits (19 fixes) modifying YarnSpinner
A change to existing behaviour in YarnSpinner — 299 commits (19 fixs), 13 files: “Tidy up documentation comments slightly”; “Add a null check in Dialogue.Stop \[fixes \#29\]”; “Update (C) to 2017)”; and 294 more (refs \#29, \#318, \#389, \#15, \#46, …).
YarnSpinner · medium confidence · unverified
31 commits (2 fixes) modifying YarnParser
A change to existing behaviour in YarnParser — 31 commits (2 fixs), 4 files: “Added more complex expressions. Added 'else-if'”; “Use a better method for looking ahead to determine the next piece of grammar”; “UNITY RUNNER. BOOM”; and 28 more.
YarnParser · medium confidence · unverified
32 commits (0 fixes) modifying YarnSpinner.Compiler/TypeSolver/Constraints
A change to existing behaviour in YarnSpinner.Compiler/TypeSolver/Constraints — 32 commits, 10 files: “Add nullability checks, documentation, more specific exception messages, and other minor improvements to address compiler warnings”; “Make type constraints able to produce a failure message”; “Further work on function call checking”; and 29 more.
YarnSpinner.Compiler/TypeSolver/Constraints · medium confidence · unverified
33 commits (0 fixes) modifying YarnSpinner/Types
A change to existing behaviour in YarnSpinner/Types — 33 commits, 11 files: “Integrate type-checking and code generation with the new type system better”; “Add nullability checks, documentation, more specific exception messages, and other minor improvements to address compiler warnings”; “Docs tidyup continues”; and 30 more.
YarnSpinner/Types · medium confidence · unverified
427 commits (29 fixes) modifying YarnSpinner.Compiler
A change to existing behaviour in YarnSpinner.Compiler — 427 commits (29 fixs), 29 files: “Further additions to debug output”; “Add 'any possible node' destination type”; “Tidy up documentation comments slightly”; and 415 more (refs \#220, \#168, \#326, \#343, \#215, …).
YarnSpinner.Compiler · medium confidence · unverified
531 commits (40 fixes) modifying (repo-wide)
A change to existing behaviour in (repo-wide) — 531 commits (40 fixs), 14 files: “Tweak readme image”; “Copyedit CHANGELOG.md”; “Update CHANGELOG for beta release \[skip ci\]”; and 433 more (refs \#318, \#389, \#4, \#168, \#184, …).
(repo-wide) · low confidence · unverified
54 commits (4 fixes) modifying YarnSpinner.Compiler/Visitors
A change to existing behaviour in YarnSpinner.Compiler/Visitors — 54 commits (4 fixs), 9 files: “fix regex”; “Fix parser ambiguity between unary negation and binary negation while still allowing them to work in smart variables”; “Add nullability checks, documentation, more specific exception messages, and other minor improvements to address compiler warnings”; and 51 more.
YarnSpinner.Compiler/Visitors · medium confidence · unverified
56 commits (8 fixes) modifying YarnSpinner/YarnSpinner.Markup
A change to existing behaviour in YarnSpinner/YarnSpinner.Markup — 56 commits (8 fixs), 6 files: “Add nullability checks, documentation, more specific exception messages, and other minor improvements to address compiler warnings”; “Made yarnspinner work in unity version less than 6000”; “added convenience constructor of ReplacementMarkerResult”; and 53 more.
YarnSpinner/YarnSpinner.Markup · medium confidence · unverified
6 commits (0 fixes) modifying YarnSpinner.Compiler/Analysis
A change to existing behaviour in YarnSpinner.Compiler/Analysis — 6 commits, 2 files: “Add nullability checks, documentation, more specific exception messages, and other minor improvements to address compiler warnings”; “Added more docs for the compiler namespace”; “Move BasicBlock and InstructionCollectionExtensions to their own files”; and 3 more.
YarnSpinner.Compiler/Analysis · medium confidence · unverified
7 commits (1 fix) modifying YarnSpinner.Shared/Parameters
A change to existing behaviour in YarnSpinner.Shared/Parameters — 7 commits (1 fix), 6 files: “added lots of docstrings”; “Further docstring fixes”; “Replace 'see' tags with 'paramref' where appropriate”; and 4 more.
YarnSpinner.Shared/Parameters · medium confidence · unverified
8 commits (0 fixes) modifying YarnSpinner.Shared
A change to existing behaviour in YarnSpinner.Shared — 8 commits, 1 file: “added lots of docstrings”; “moved the source code analyser and generator into the core repo”; “Added in support for configuring the source gen via a config file”; and 5 more.
YarnSpinner.Shared · medium confidence · unverified
9 commits (0 fixes) modifying YarnSpinner.Compiler/Builders
A change to existing behaviour in YarnSpinner.Compiler/Builders — 9 commits, 3 files: “Remove TypeFunction (from older code) Replaced it with FunctionType”; “Finish implementing 'reused ASTs produce same result' test”; “Mostly automated code cleanup”; and 6 more.
YarnSpinner.Compiler/Builders · medium confidence · unverified
9 commits (1 fix) modifying YarnSpinner.HostAnalysis
A change to existing behaviour in YarnSpinner.HostAnalysis — 9 commits (1 fix), 9 files: “added lots of docstrings”; “Fixed a bug in runtime action collection in the generator”; “Added more docs for the compiler namespace”; and 6 more.
YarnSpinner.HostAnalysis · medium confidence · unverified
9 commits (2 fixes) modifying YarnSpinner.Compiler/LineTaggers
A change to existing behaviour in YarnSpinner.Compiler/LineTaggers — 9 commits (2 fixs), 3 files: “Further docstring fixes”; “Added more docs for the compiler namespace”; “Move ILineTagGenerator to the Yarn.Compiler namespace”; and 6 more.
YarnSpinner.Compiler/LineTaggers · medium confidence · unverified
Test coverage
1 commit adding/updating tests in Tests/TestCases/Duplicates; 13 commits adding/updating tests in Tests; 2 commits adding/updating tests in Tests/Projects/Compilation; 22 commits adding/updating tests in Tests/TestCases/ParseFailures; 386 commits adding/updating tests in YarnSpinner.Tests; 5 commits adding/updating tests in Tests/Projects/Basic; 5 commits adding/updating tests in YarnSpinner.Tests/TestPlan; 8 commits adding/updating tests in Tests/Projects/Space; 95 commits adding/updating tests in Tests/TestCases.
Dependencies
86 commits updating dependencies (8 manifests)
A dependency / build maintenance change in (dependencies) — 86 commits (4 fixs), 8 files: “Embed debug symbols when in debug configuration”; “turns out didn't need the task extensions or net2.0”; “Added more complex expressions. Added 'else-if'”; and 80 more.
(dependencies) · medium confidence · unverified
Written by cca.canine.dev from the codebase's own history, inside the signed delivery this page is composed from.
How this codebase got here
Baseline
- First survey — no prior run to compare against. CAI 61.7.
Lenses
- Code Health 80.8
- Architecture 71.7
- Maturity 57.3
- Readiness 80.0
- Security 65.4
- Performance 60.0
Changes since last survey
- 300 commits — 266 feature/other, 34 fixes
By area
- (root) — 45 commits
- (repo) — 24 commits
- YarnSpinner.Compiler/Compiler.cs — 18 commits
- YarnSpinner.Compiler/DiagnosticDescriptor.cs — 17 commits
- Tests/TestCases — 15 commits
- YarnSpinner.Diagnostics/Definitions — 13 commits
- YarnSpinner.Compiler/Visitors — 11 commits
- YarnSpinner.Tests/ErrorHandlingTests.cs — 10 commits
- YarnSpinner.Compiler/TypeCheckerListener.cs — 9 commits
- YarnSpinner.Compiler/Project.cs — 8 commits
- YarnSpinner.Compiler/ErrorListener.cs — 6 commits
- YarnSpinner.Compiler/LineTaggers — 6 commits
- YarnSpinner.Compiler/YarnProject.schema.json — 6 commits
- YarnSpinner.Shared/Parameters — 6 commits
- YarnSpinner.Compiler/Grammars — 5 commits
- YarnSpinner.LanguageServer/src — 5 commits
- YarnSpinner.Tests/DialogueTests.cs — 5 commits
- YarnSpinner.Tests/MarkupTests.cs — 5 commits
- YarnSpinner/Dialogue.cs — 5 commits
- Tests/Projects — 4 commits
Notable commits
- fix: Clean builds before doing a unity sync We're copying the contents of the build directory, so if we were on a branch were build deps are different, we can end up with DLLs that we don't need or want getting copied into the Unity project. Fixed by ensuring that we do a clean before building.
- fix: Fix TestEnumsWithInvalidCasesGenerateDiagnostics
- fix: Fix a logic error in the type checker
- fix: Fix build error in sync-yarnspinner-dlls.sh
- fix: Fix case sensitivity issue in YarnSpinner.Diagnostics.csproj
- fix: Fix compile error in TypeCheckerListener
- fix: Fix failing test
- fix: Fix failing tests
- fix: Fix incorrect test
- fix: Fix parser ambiguity between unary negation and binary negation while still allowing them to work in smart variables
- fix: Fix quote-trimming bug introduced in last merge
- fix: Fix runtime error due to duplicate placeholder error codes
- fix: Fix test failure in TestInterruptedLinesNotTagged
- fix: Fixed a bug in runtime action collection in the generator.
- fix: Fixed a bug where unclosed markup properties will crash the compiler
- fix: Fixed a nullref crash in the compiler.
- fix: Fixed spaces in names breaking the descriptive tagger.
- fix: Further docstring fixes
- fix: Parse negative numbers as values, not as unary expressions containg a literal (fixes #421)
- fix: Temporarily skip TestLineCollisionTagging until perf fix for SyntaxValidationListener is in
- …and 280 more
Architecture
- 0 containers · 1 bounded contexts · 0 dependency edges (baseline)
Written by cca.canine.dev from the codebase's own history, inside the signed delivery this page is composed from.
Survey your own repository
YarnSpinnerTool/YarnSpinner was measured the same way every project in this corpus was: the same rubric, at a pinned commit, with the result published in full. Point a surveyor at a repository you know and see whether you agree with it.
About this page
- The score is its most recent published measurement, taken on 16 November 2026 at a pinned commit. It is not a live figure and does not change until the project is measured again.
- Measured at commit bd829a70be60fc2b41376ecedb6c2a2ceedbaf04 — the exact code this score is about.
- Scored under rubric-2026.11.4 — the same rubric and the same method as every other entry in this index.
- Measured by Canine Code Analyzer (cca.canine.dev) using cca measure-2026.11.84+preprod-d645ca9bbedd.