Data · dataset · 2014
An Experimental Investigation on the Innate Relationship between Quality and Refactoring
Listed in DataCite
Previous studies have investigated the reasons behind refactoring operations performed by developers, and proposed methods and tools to recommend refactorings based on quality metric profiles, or on the presence of poor design and implementation choices, i.e., code smells.
Description
Nevertheless, the existing literature lacks of observations about the relations between metrics/code smells and refactoring operations performed by de- velopers.
In other words, the characteristics of code components pushing developers to refactor them are still unknown. This paper aims at bridging this gap by analyzing which code characteristics trigger the developers refactoring attentions. Specifically, we mined the evolution history of three Java open source projects to investigate whether developers refactoring activities occur on code components for which cer- tain indicators—such as quality metrics or the presence of smells as detected by tools—suggest there might be need for refactoring operations.
Read the rest (2 more)
Results indicate that, more often than not, quality metrics do not show a clear relationship with refactoring. In other words, refactoring operations performed by developers are generally focused on code components for which quality metrics do not suggest there might be need for refactoring operations. Finally, 42% of refactoring operations are performed on code entities affected by code smells.
However, only 7% of the performed operations actually remove the code smells from the affected class.
Links
Where it is published
- Repository landing page figshare.com/articles/dataset/An_Experimental_Investigation_on_the_Innate_R… ↗
landing page · from DataCite
- DOI doi.org/10.6084/m9.figshare.1207916 ↗
DOI / persistent id · from DataCite
Documentation and papers
Catalogue records · 2
- DataCite API api.datacite.org/dois/10.6084/m9.figshare.1207916 ↗
metadata API · from DataCite
- DataCite Commons commons.datacite.org/doi.org/10.6084/m9.figshare.1207916 ↗
catalogue entry · from DataCite
Topics
- Stated by source
- Computer and information sciences
Provenance · 1 source records, 9 field assertions
| Source | Key | Last seen | Raw |
|---|---|---|---|
| DataCite | 10.6084/m9.figshare.1207916 | 14 d ago | JSON v1 |
| Field | Assertion | Extractor | Evidence |
|---|---|---|---|
| access_level | source · DataCite | connector:datacite@1.0.0 | /data/attributes/rightsList |
| byte_size | source · DataCite | connector:datacite@1.0.0 | |
| concepts[field].fos:computer-and-information-sciences | source · DataCite | connector:datacite@1.0.0 | |
| created_date | source · DataCite | connector:datacite@1.0.0 | |
| description | source · DataCite | connector:datacite@1.0.0 | /data/attributes/descriptions |
| license | source · DataCite | connector:datacite@1.0.0 | /data/attributes/rightsList |
| publication_date | source · DataCite | connector:datacite@1.0.0 | /data/attributes/dates |
| title | source · DataCite | connector:datacite@1.0.0 | /data/attributes/titles/0/title |
| updated_date | source · DataCite | connector:datacite@1.0.0 |