Are RESTful APIs Well-designed? Detection of Their Linguistic (Anti)Patterns. Palma, F., Gonzalez-Huerta, J., Moha, N., Gu�h�neuc, Y., & Tremblay, G. In Barros, A., Grigori, D., & Narendra, N., editors, Proceedings of the 13<sup>th</sup> International Conference on Service Oriented Computing (ICSOC), pages 171–187, November, 2015. Springer. 16 pages.
Are RESTful APIs Well-designed? Detection of Their Linguistic (Anti)Patterns [pdf]Paper  abstract   bibtex   
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.

Downloads: 0