Mining System Specific Rules from Change Patterns - Inria - Institut national de recherche en sciences et technologies du numérique Accéder directement au contenu
Communication Dans Un Congrès Année : 2013

Mining System Specific Rules from Change Patterns

Résumé

A significant percentage of warnings reported by tools to detect coding standard violations are false positives. Thus, there are some works dedicated to provide better rules by mining them from source code history, analyzing bug-fixes or changes between system releases. However, software evolves over time, and during development not only bugs are fixed, but also features are added, and code is refactored. In such cases, changes must be consistently applied in source code to avoid maintenance problems. In this paper, we propose to extract system specific rules by mining systematic changes over source code history, i.e., not just from bug-fixes or system releases, to ensure that changes are consistently applied over source code. We focus on structural changes done to support API modification or evolution with the goal of providing better rules to developers. Also, rules are mined from predefined rule patterns that ensure their quality. In order to assess the precision of such specific rules to detect real violations, we compare them with generic rules provided by tools to detect coding standard violations on four real world systems covering two programming languages. The results show that specific rules are more precise in identifying real violations in source code than generic ones, and thus can complement them.

Mots clés

Fichier principal
Vignette du fichier
wcre13main-idm39-p-19079-submitted.pdf (188.14 Ko) Télécharger le fichier
Origine : Fichiers produits par l'(les) auteur(s)

Dates et versions

hal-00854861 , version 1 (04-09-2013)

Identifiants

  • HAL Id : hal-00854861 , version 1

Citer

Andre Hora, Nicolas Anquetil, Stéphane Ducasse, Marco Tulio Valente. Mining System Specific Rules from Change Patterns. Working Conference on Reverse Engineering (WCRE'13), Oct 2013, Koblenz, Germany. ⟨hal-00854861⟩
177 Consultations
259 Téléchargements

Partager

Gmail Facebook X LinkedIn More