API Deprecation: A Retrospective Analysis and Method for Detecting Deprecated API Usages in Code Examples on the Web
atmire.migration.oldid | 4095 | |
dc.contributor.advisor | Walker, Robert | |
dc.contributor.author | Zhou, Jing | |
dc.contributor.committeemember | Oehlberg, Lora | |
dc.contributor.committeemember | Krishnamurthy, Diwakar | |
dc.date.accessioned | 2016-02-03T18:50:42Z | |
dc.date.available | 2016-02-03T18:50:42Z | |
dc.date.issued | 2016-02-03 | |
dc.date.submitted | 2016 | en |
dc.description.abstract | Application Programming Interfaces (APIs) can get deprecated over time, to indicate that they are obsolete, dangerous, and/or to be eliminated in future versions. This thesis ad- dresses two problems involving API deprecation. API deprecation has not been systematically studied so far. We empirically study how API deprecation has been used in 26 open source Java systems. We find that API dep- recation seems to be underused and not enough information is provided to help users via deprecation messages. More than 40% of all deprecated APIs were removed, most of which were removed during transitions to major releases. A developer may waste valuable time consulting code examples on the web containing deprecated API usages. A version sensitive framework was proposed to detect deprecated API usages in code examples on the web and a prototype tool based on this framework was implemented. Our evaluation of this tool shows that it works fairly well. | en_US |
dc.identifier.citation | Zhou, J. (2016). API Deprecation: A Retrospective Analysis and Method for Detecting Deprecated API Usages in Code Examples on the Web (Master's thesis, University of Calgary, Calgary, Canada). Retrieved from https://prism.ucalgary.ca. doi:10.11575/PRISM/24951 | en_US |
dc.identifier.doi | http://dx.doi.org/10.11575/PRISM/24951 | |
dc.identifier.uri | http://hdl.handle.net/11023/2824 | |
dc.language.iso | eng | |
dc.publisher.faculty | Graduate Studies | |
dc.publisher.institution | University of Calgary | en |
dc.publisher.place | Calgary | en |
dc.rights | University of Calgary graduate students retain copyright ownership and moral rights for their thesis. You may use this material in any way that is permitted by the Copyright Act or through licensing that has been assigned to the document. For uses that are not allowable under copyright legislation or licensing, you are required to seek permission. | |
dc.subject | Computer Science | |
dc.subject.classification | software engineering | en_US |
dc.subject.classification | software evolution | en_US |
dc.subject.classification | API evolution | en_US |
dc.subject.classification | API deprecation | en_US |
dc.title | API Deprecation: A Retrospective Analysis and Method for Detecting Deprecated API Usages in Code Examples on the Web | |
dc.type | master thesis | |
thesis.degree.discipline | Computer Science | |
thesis.degree.grantor | University of Calgary | |
thesis.degree.name | Master of Science (MSc) | |
ucalgary.item.requestcopy | true |