pardeike/Harmony
Harmony is a .NET library for runtime code patching and modification, enabling developers to inject, replace, or modify existing methods and IL code at runtime. The system provides a comprehensive API for patching, reflection, and IL manipulation, supported by a modernized architecture that includes fast reflection helpers, serialization, and robust testing infrastructure.
56.2
Adequate · 5 August 2026
15k
lines of production code
C#
with JavaScript
1
bus factor · 78 authors in all
3
measurements over time
How it got here
2017 · Architecture overhaul and test expansion
The project underwent a significant structural reorganization, splitting the library into distinct Thin, Fat, and Reference assemblies while centralizing build configurations. Concurrently, extensive test coverage was added for the new helper classes and refactored reflection utilities, ensuring robustness across the updated codebase.
9 changes
2018–2019 · Harmony v2.0 architecture and API overhaul
The project underwent a major architectural restructuring to support version 2.0, introducing a shared project file and explicit internal visibility for better build organization. This period focused on refactoring the public and internal APIs to support new patching types and state management, accompanied by comprehensive unit tests for IL parsing, reverse patching, and transpiling.
6 changes
2020–2025 · Modernization and documentation overhaul
This period focused on modernizing the codebase by migrating patch serialization to System.Text.Json and forwarding Mono.Cecil types to improve compatibility with modern .NET versions. Concurrently, the project expanded its test coverage with new libraries and isolation techniques, while significantly restructuring and expanding the official documentation to guide users through patching workflows.
6 changes
Survey your own repository
pardeike/Harmony 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 the surveyor at a repository you know and see whether you agree with it.
About this page
- The description of this project is derived from its own commit history, not from its README.
- The score is its highest published measurement, taken on 5 August 2026 at a pinned commit. It is not a live figure and does not change until the project is measured again.
- Measured at commit 6cef5857f1 — the exact code this score is about.
- Scored under rubric rubric-2026.08.19. Score the same commit under that rubric and you get the same number.