Proceedings of the 15th International Conference on Mining Software Repositories 2018
DOI: 10.1145/3196398.3196432
|View full text |Cite
|
Sign up to set email alerts
|

Prevalence of confusing code in software projects

Help me understand this report

Search citation statements

Order By: Relevance

Paper Sections

Select...
2
1
1
1

Citation Types

3
19
0
1

Year Published

2018
2018
2024
2024

Publication Types

Select...
6
3

Relationship

1
8

Authors

Journals

citations
Cited by 30 publications
(23 citation statements)
references
References 20 publications
3
19
0
1
Order By: Relevance
“…Thus we answer RQs 1, 3, and 4 affirmatively, except for models of parentheses removal. We speculate that this may be the result of less consistent style around the usage of parentheses, similar to what Gopstein et al (2017) and Gopstein, Zhou, Frankl, and Cappos (2018) found with bracket usage. We further discuss the influence of confusing code and style guidelines in Section 6.…”
Section: Parentheses Transformationssupporting
confidence: 82%
See 1 more Smart Citation
“…Thus we answer RQs 1, 3, and 4 affirmatively, except for models of parentheses removal. We speculate that this may be the result of less consistent style around the usage of parentheses, similar to what Gopstein et al (2017) and Gopstein, Zhou, Frankl, and Cappos (2018) found with bracket usage. We further discuss the influence of confusing code and style guidelines in Section 6.…”
Section: Parentheses Transformationssupporting
confidence: 82%
“…Moreover, as we mentioned, many of our transformations are not covered under explicit style guides and sometimes style guides can be conflicting. We were inspired to try the parentheses transforms based on the work of Gopstein et al (2017Gopstein et al ( , 2018 investigating code patterns that developers find confusing. They found that style guides advocating for minimal curly brace use -for example, when writing if statements with only 1 statement in the body, developers can choose to wrap the body in curly braces or not -sometimes conflicted with what developers found easiest to understand.…”
Section: Threats and Generalizabilitymentioning
confidence: 99%
“…Authors describe 19 atoms of confusion, on which this research is based on. To show the real-world relevance of these selected atoms of confusion, follow up research from Gopstein et al [16] shows that the 15 atoms that were proven to be confusing, occur in practice once per 23 lines. Their research is based on the analysis of 14 of the most popular and influential C and C++ software projects.…”
Section: Background and Related Workmentioning
confidence: 99%
“…Em [9], Gopstein et al apontaram 15 átomos que, quando presentes no código, causam confusão de forma significativa. Em um trabalho complementar, Gopstein et al [10] observou uma forte relação entre linhas de código contendo átomos de confusão e a ocorrência de bugs, mostrando que commits do tipo bug-fix removiam mais átomos quando comparados com outros tipos de commits. Da mesma forma, foi observado que essas linhas causavam mais confusão, pois costumavam ser mais comentadas que outras.…”
Section: áTomos De Confusãounclassified