A Version-Aware Metric for Measuring Innovation in Software Code Patterns

View at publisher Summarise with VIRAT
Authors: A.M. Rinas, B. M. G. S. T. S. K. Wickramasinghe
Cited by: 0
References: 12

Summary

No summary yet. VIRAT can read this paper and write a plain-language summary of its aim, methods, key findings and limitations.

Summarise with VIRAT Free to try with your Science Catalogs account.

Abstract

Software repositories evolve through continuous sequences of changes, ranging from minor edits to major refactorings and feature additions, yet distinguishing genuinely innovative modifications from routine updates remains challenging. This study introduces a version-aware novelty metric that quantifies code innovation by integrating structural dissimilarity with pattern rarity, formalizing the principle that each version's contribution is proportional to the magnitude of its changes. Structural divergence is measured using normalized edit distance against all previously observed patterns, while pattern rarity emphasizes uncommon code structures. The metric produces bounded, interpretable values reflecting both uniqueness and structural innovation. We define three version-aware measures: global novelty, capturing a function's distinctiveness relative to repository history; initial drift, quantifying cumulative deviation from the first implementation; and local change, representing immediate modifications between consecutive versions. Together, these measures form an evolution trace vector, enabling precise monitoring of incremental updates, major refactorings, and innovation peaks. The methodology is language-agnostic, computationally efficient, compatible with standard Git workflows, and demonstrates sensitivity to both substantial rewrites and fine-grained edits, providing actionable insights for automated innovation tracking, risk-aware code review, and AI-assisted development.

Fields of Study & Subjects

Software Engineering Research Software Engineering Techniques and Practices Open Source Software Innovations

Publication details

Journal / source
International Conference on Advanced Research in Computing (ICARC)
Pages
1–6
Publication date
18 February 2026
Language
EN