Standard

Investigating Type Declaration Mismatches in Python. / Pascarella, Luca; Ram, Achyudh; Nadeem, Azqa ; Bisesser, Dinesh; Knyazev, Norman; Bacchelli, Alberto.

2018 IEEE Workshop on Machine Learning Techniques for Software Quality Evaluation (MaLTeSQuE). Piscataway, NJ : IEEE, 2018. p. 43-48.

Research output: Scientific - peer-reviewConference contribution

Harvard

Pascarella, L, Ram, A, Nadeem, A, Bisesser, D, Knyazev, N & Bacchelli, A 2018, Investigating Type Declaration Mismatches in Python. in 2018 IEEE Workshop on Machine Learning Techniques for Software Quality Evaluation (MaLTeSQuE). IEEE, Piscataway, NJ, pp. 43-48, MaLTeSQuE 2018, Campobasso, Italy, 20/03/18. DOI: 10.1109/MALTESQUE.2018.8368458

APA

Pascarella, L., Ram, A., Nadeem, A., Bisesser, D., Knyazev, N., & Bacchelli, A. (2018). Investigating Type Declaration Mismatches in Python. In 2018 IEEE Workshop on Machine Learning Techniques for Software Quality Evaluation (MaLTeSQuE) (pp. 43-48). Piscataway, NJ: IEEE. DOI: 10.1109/MALTESQUE.2018.8368458

Vancouver

Pascarella L, Ram A, Nadeem A, Bisesser D, Knyazev N, Bacchelli A. Investigating Type Declaration Mismatches in Python. In 2018 IEEE Workshop on Machine Learning Techniques for Software Quality Evaluation (MaLTeSQuE). Piscataway, NJ: IEEE. 2018. p. 43-48. Available from, DOI: 10.1109/MALTESQUE.2018.8368458

Author

Pascarella, Luca ; Ram, Achyudh ; Nadeem, Azqa ; Bisesser, Dinesh ; Knyazev, Norman ; Bacchelli, Alberto. / Investigating Type Declaration Mismatches in Python. 2018 IEEE Workshop on Machine Learning Techniques for Software Quality Evaluation (MaLTeSQuE). Piscataway, NJ : IEEE, 2018. pp. 43-48

BibTeX

@inbook{0be4cec6ca0a46a386b31bb5550577a7,
title = "Investigating Type Declaration Mismatches in Python",
abstract = "Past research provided evidence that developers making code changes sometimes omit to update the related documentation, thus creating inconsistencies that may contribute to faults and crashes. In dynamically typed languages, such as Python, an inconsistency in the documentation may lead to a mismatch in type declarations only visible at runtime.With our study, we investigate how often the documentation is inconsistent in a sample of 239 methods from five Python open- source software projects. Our results highlight that more than 20% of the comments are either partially defined or entirely missing and that almost 1% of the methods in the analyzed projects contain type inconsistencies. Based on these results, we create a tool, PyID, to early detect type mismatches in Python documentation and we evaluate its performance with our oracle.",
keywords = "Documentation, Python, Tools, Runtime, Computer crashes, Libraries",
author = "Luca Pascarella and Achyudh Ram and Azqa Nadeem and Dinesh Bisesser and Norman Knyazev and Alberto Bacchelli",
note = "Accepted Author Manuscript",
year = "2018",
doi = "10.1109/MALTESQUE.2018.8368458",
pages = "43--48",
booktitle = "2018 IEEE Workshop on Machine Learning Techniques for Software Quality Evaluation (MaLTeSQuE)",
publisher = "IEEE",
address = "United States",

}

RIS

TY - CHAP

T1 - Investigating Type Declaration Mismatches in Python

AU - Pascarella,Luca

AU - Ram,Achyudh

AU - Nadeem,Azqa

AU - Bisesser,Dinesh

AU - Knyazev,Norman

AU - Bacchelli,Alberto

N1 - Accepted Author Manuscript

PY - 2018

Y1 - 2018

N2 - Past research provided evidence that developers making code changes sometimes omit to update the related documentation, thus creating inconsistencies that may contribute to faults and crashes. In dynamically typed languages, such as Python, an inconsistency in the documentation may lead to a mismatch in type declarations only visible at runtime.With our study, we investigate how often the documentation is inconsistent in a sample of 239 methods from five Python open- source software projects. Our results highlight that more than 20% of the comments are either partially defined or entirely missing and that almost 1% of the methods in the analyzed projects contain type inconsistencies. Based on these results, we create a tool, PyID, to early detect type mismatches in Python documentation and we evaluate its performance with our oracle.

AB - Past research provided evidence that developers making code changes sometimes omit to update the related documentation, thus creating inconsistencies that may contribute to faults and crashes. In dynamically typed languages, such as Python, an inconsistency in the documentation may lead to a mismatch in type declarations only visible at runtime.With our study, we investigate how often the documentation is inconsistent in a sample of 239 methods from five Python open- source software projects. Our results highlight that more than 20% of the comments are either partially defined or entirely missing and that almost 1% of the methods in the analyzed projects contain type inconsistencies. Based on these results, we create a tool, PyID, to early detect type mismatches in Python documentation and we evaluate its performance with our oracle.

KW - Documentation

KW - Python

KW - Tools

KW - Runtime

KW - Computer crashes

KW - Libraries

UR - http://resolver.tudelft.nl/uuid:0be4cec6-ca0a-46a3-86b3-1bb5550577a7

U2 - 10.1109/MALTESQUE.2018.8368458

DO - 10.1109/MALTESQUE.2018.8368458

M3 - Conference contribution

SP - 43

EP - 48

BT - 2018 IEEE Workshop on Machine Learning Techniques for Software Quality Evaluation (MaLTeSQuE)

PB - IEEE

ER -

ID: 40300814