Tracking code patterns over multiple software versions with Herodotos

Nicolas Jean-Michel Palix, Julia Lawall, Gilles Muller

12 Citationer (Scopus)

Abstract

An important element of understanding a software code base is to identify the repetitive patterns of code it contains and how these evolve over time. Some patterns are useful to the software, and may be modularized. Others are detrimental to the software, such as patterns that represent defects. In this case, it is useful to study the occurrences of such patterns, to identify properties such as when and why they are introduced, how long they persist, and the reasons why they are corrected.

To enable studying pattern occurrences over time, we propose a tool, Herodotos, that semi-automatically tracks pattern occurrences over multiple versions of a software project, independent of other changes in the source files. Guided by a user-provided configuration file, Herodotos builds various graphs showing the evolution of the pattern occurrences and computes some statistics. We have evaluated this approach on the history of a representative range of open source projects over the last three years. For each project, we track several kinds of defects that have been found by pattern matching. This tracking is done automatically in 99% of the occurrences. The results allow us to compare the evolution of the selected projects and defect kinds over time.

OriginalsprogEngelsk
TitelProceedings of the 9th International Conference on Aspect-Oriented Software Development
Antal sider12
ForlagAssociation for Computing Machinery
Publikationsdato2010
Sider169-180
ISBN (Elektronisk)978-1-60558-958-9
DOI
StatusUdgivet - 2010
Begivenhed9th International Conference on Aspect-Oriented Software Development - Rennes & Saint-Malo, Frankrig
Varighed: 15 mar. 201019 mar. 2010
Konferencens nummer: 9

Konference

Konference9th International Conference on Aspect-Oriented Software Development
Nummer9
Land/OmrådeFrankrig
ByRennes & Saint-Malo
Periode15/03/201019/03/2010

Fingeraftryk

Dyk ned i forskningsemnerne om 'Tracking code patterns over multiple software versions with Herodotos'. Sammen danner de et unikt fingeraftryk.

Citationsformater