Linguistic patterns and antipatterns detection and their impact on understandability and readability of APIs

dc.contributor.advisorPalma, Francis
dc.contributor.advisorCao, Hung
dc.contributor.authorDey, Krishno
dc.date.accessioned2025-07-03T14:40:33Z
dc.date.available2025-07-03T14:40:33Z
dc.date.issued2025-04
dc.description.abstractApplication Programming Interfaces (APIs) allow distributed systems to expose their functionalities. Despite well-known API design rules and guidelines (patterns), many poor design practices (antipatterns) are prevalent in APIs. This thesis aims to (1) assess the linguistic design quality of APIs and (2) evaluate the impact of patterns and antipatterns on the understandability and readability of APIs through a survey of API developers. We rely on syntactic and semantic analyses to automatically assess the design quality of APIs. Syntactic analysis involves analyzing the structure and syntax of the APIs, while semantic analysis involves analyzing API documentation, descriptions, and parameters. We found that linguistic antipatterns are prevalent in APIs. Our detection algorithms achieve an average detection accuracy of 94%. The survey confirms that adherence to linguistic patterns significantly enhances the understandability and readability of APIs. Our findings will assist API developers in improving the design quality of their APIs.
dc.description.copyright© Krishno Dey, 2025
dc.format.extentxv, 119
dc.format.mediumelectronic
dc.identifier.urihttps://unbscholar.lib.unb.ca/handle/1882/38328
dc.language.isoen
dc.publisherUniversity of New Brunswick
dc.relationNew Brunswick Innovation Foundation (NBIF)
dc.relationUniversity of New Brunswick - Faculty of Computer Science (FCS)
dc.rightshttp://purl.org/coar/access_right/c_abf2
dc.subject.disciplineComputer Science
dc.titleLinguistic patterns and antipatterns detection and their impact on understandability and readability of APIs
dc.typemaster thesis
oaire.license.conditionother
thesis.degree.disciplineComputer Science
thesis.degree.grantorUniversity of New Brunswick
thesis.degree.levelmasters
thesis.degree.nameM.C.S.

Files

Original bundle

Now showing 1 - 1 of 1
Loading...
Thumbnail Image
Name:
Krishno Dey - Thesis.pdf
Size:
1.96 MB
Format:
Adobe Portable Document Format

License bundle

Now showing 1 - 1 of 1
Loading...
Thumbnail Image
Name:
license.txt
Size:
1.13 KB
Format:
Item-specific license agreed upon to submission
Description: