Not logged in.
Quick Search - Contribution
Contribution Details
Type | Conference or Workshop Paper |
Scope | Discipline-based scholarship |
Published in Proceedings | Yes |
Title | Investigating type declaration mismatches in Python |
Organization Unit | |
Authors |
|
Presentation Type | paper |
Item Subtype | Original Work |
Refereed | Yes |
Status | Published in final form |
Language |
|
ISBN | 978-1-5386-5920-5 |
Page Range | 43 - 48 |
Event Title | 2018 IEEE Workshop on Machine Learning Techniques for Software Quality Evaluation (MaLTeSQuE) |
Event Type | workshop |
Event Location | Campobasso |
Event Start Date | April 20 - 2018 |
Event End Date | April 20 - 2018 |
Publisher | IEEE |
Abstract Text | 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. |
Digital Object Identifier | 10.1109/MALTESQUE.2018.8368458 |
Other Identification Number | merlin-id:16638 |
PDF File | Download from ZORA |
Export |
BibTeX
EP3 XML (ZORA) |
Funders | Swiss National Science Foundation: SNF Project No. PP00P2_170529 ; European Commission: SENECA - EU MSCA-ITN-2014-EID no.642954 |