Are RESTful APIs well-designed?: Detection of their linguistic (anti)patterns Show others and affiliations
2015 (English) In: Service-oriented computing: 13th International Conference, ICSOC 2015, Goa, India, November 16-19, 2015, Proceedings / [ed] Alistair Barros, Daniela Grigori, Nanjangud C. Narendra & Hoa Khanh Dam, Springer, 2015, Vol. 9435, p. 171-187Conference paper, Published paper (Refereed)
Abstract [en]
Identifier lexicon has a direct impact on software understandability and reusability and, thus, on the quality of the final software product. Understandability and reusability are two important characteristics of software quality. REST (REpresentational State Transfer) style is becoming a de facto standard adopted by many software organisations. The use of proper lexicon in RESTful APIs might make them easier to understand and reuse by client developers, and thus, would ease their adoption. Linguistic antipatterns represent poor practices in the naming, documentation, and choice of identifiers in the APIs as opposed to linguistic patterns that represent best practices. We present the DOLAR approach (Detection Of Linguistic Antipatterns in REST), which applies syntactic and semantic analyses for the detection of linguistic (anti)patterns in RESTful APIs. We provide detailed definitions of ten (anti)patterns and define and apply their detection algorithms on 15 widely-used RESTful APIs, including Facebook, Twitter, and YouTube. The results show that DOLAR can indeed detect linguistic (anti)patterns with high accuracy and that they do occur in major RESTful APIs.
Place, publisher, year, edition, pages Springer, 2015. Vol. 9435, p. 171-187
Series
Lecture Notes in Computer Science, ISSN 0302-9743, E-ISSN 1611-3349 ; 9435
Keywords [en]
REST, Patterns, Antipatterns, Detection, Semantic analysis
National Category
Software Engineering
Research subject Computer Science, Software Technology
Identifiers URN: urn:nbn:se:lnu:diva-92186 DOI: 10.1007/978-3-662-48616-0_11 ISBN: 9783662486160 (electronic) ISBN: 9783662486153 (print) OAI: oai:DiVA.org:lnu-92186 DiVA, id: diva2:1394159
Conference 13th International Conference on Service-Oriented Computing, Goa, India, November 16-19, 2015
2020-02-182020-02-182020-04-01 Bibliographically approved