API Deprecation: A Retrospective Analysis and Method for Detecting Deprecated API Usages in Code Examples on the Web

atmire.migration.oldid4095
dc.contributor.advisorWalker, Robert
dc.contributor.authorZhou, Jing
dc.contributor.committeememberOehlberg, Lora
dc.contributor.committeememberKrishnamurthy, Diwakar
dc.date.accessioned2016-02-03T18:50:42Z
dc.date.available2016-02-03T18:50:42Z
dc.date.issued2016-02-03
dc.date.submitted2016en
dc.description.abstractApplication 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.citationZhou, 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/24951en_US
dc.identifier.doihttp://dx.doi.org/10.11575/PRISM/24951
dc.identifier.urihttp://hdl.handle.net/11023/2824
dc.language.isoeng
dc.publisher.facultyGraduate Studies
dc.publisher.institutionUniversity of Calgaryen
dc.publisher.placeCalgaryen
dc.rightsUniversity 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.subjectComputer Science
dc.subject.classificationsoftware engineeringen_US
dc.subject.classificationsoftware evolutionen_US
dc.subject.classificationAPI evolutionen_US
dc.subject.classificationAPI deprecationen_US
dc.titleAPI Deprecation: A Retrospective Analysis and Method for Detecting Deprecated API Usages in Code Examples on the Web
dc.typemaster thesis
thesis.degree.disciplineComputer Science
thesis.degree.grantorUniversity of Calgary
thesis.degree.nameMaster of Science (MSc)
ucalgary.item.requestcopytrue
Files