Detection of REST Patterns and Antipatterns: A Heuristics-Based Approach

被引:0
|
作者
Palma, Francis [1 ,2 ]
Dubois, Johann [1 ,3 ]
Moha, Naouel [1 ]
Gueheneuc, Yann-Gael [2 ]
机构
[1] Univ Quebec Montreal, Dept Informat, Montreal, PQ, Canada
[2] Ecole Polytechn Montreal, Ptidej Team, DGIGL, Montreal, PQ, Canada
[3] Ecole Super informat, Paris, France
来源
基金
加拿大自然科学与工程研究理事会;
关键词
REST; Antipatterns; Patterns; Design; Heuristics; Detection;
D O I
暂无
中图分类号
TP [自动化技术、计算机技术];
学科分类号
0812 ;
摘要
REST (REpresentational State Transfer), relying on resources as its architectural unit, is currently a popular architectural choice for building Web-based applications. It is shown that design patterns-good solutions to recurring design problems-improve the design quality and facilitate maintenance and evolution of software systems. Antipatterns, on the other hand, are poor and counter-productive solutions. Therefore, the detection of REST (anti) patterns is essential for improving the maintenance and evolution of RESTful systems. Until now, however, no approach has been proposed. In this paper, we propose SODA-R (Service Oriented Detection for Antipatterns in REST), a heuristics-based approach to detect (anti) patterns in RESTful systems. We define detection heuristics for eight REST antipatterns and five patterns, and perform their detection on a set of 12 widely-used REST APIs including BestBuy, Facebook, and DropBox. The results show that SODA-R can perform the detection of REST (anti) patterns with high accuracy. We also found that Twitter and DropBox are not well-designed, i.e., contain more antipatterns. In contrast, Facebook and BestBuy are well-designed, i.e., contain more patterns and less antipatterns.
引用
收藏
页码:230 / 244
页数:15
相关论文
共 50 条
  • [1] Heuristics-Based Detection of Abnormal Energy Consumption
    Sial, Ankur
    Singh, Amarjeet
    Mahanti, Aniket
    Gong, Mingwei
    [J]. SMART GRID AND INNOVATIVE FRONTIERS IN TELECOMMUNICATIONS, SMARTGIFT 2018, 2018, 245 : 21 - 31
  • [2] A heuristics-based approach to reverse engineering of electronic services
    Vassilakis, C.
    Lepouras, G.
    Katifori, A.
    [J]. INFORMATION AND SOFTWARE TECHNOLOGY, 2009, 51 (02) : 325 - 336
  • [3] Heuristics-based learning approach for choquistic regression models
    Tehrani, Ali Fallah
    [J]. PATTERN RECOGNITION LETTERS, 2021, 149 : 137 - 142
  • [4] Recognizing Experts on Social Media: A Heuristics-Based Approach
    Horne, Benjamin D.
    Nevo, Dorit
    Adali, Sibel
    [J]. DATA BASE FOR ADVANCES IN INFORMATION SYSTEMS, 2019, 50 (03): : 66 - 84
  • [5] Heuristics-based design process
    Calle-Escobar, Manuela
    Mejia-Gutierrez, Ricardo
    Nadeau, Jean-Pierre
    Pailhes, Jerome
    [J]. INTERNATIONAL JOURNAL OF INTERACTIVE DESIGN AND MANUFACTURING - IJIDEM, 2016, 10 (04): : 369 - 386
  • [6] Heuristics-based PON deployment
    Khan, SU
    [J]. IEEE COMMUNICATIONS LETTERS, 2005, 9 (09) : 847 - 849
  • [7] Heuristics-based infeasible path detection for dynamic test data generation
    Ngo, Minh Ngoc
    Tan, Hee Beng Kuan
    [J]. INFORMATION AND SOFTWARE TECHNOLOGY, 2008, 50 (7-8) : 641 - 655
  • [8] Phishing Attack Detection using a Search Engine and Heuristics-based Technique
    Gupta, Brij B.
    Jain, Ankit Kumar
    [J]. JOURNAL OF INFORMATION TECHNOLOGY RESEARCH, 2020, 13 (02) : 94 - 109
  • [9] A Heuristics-based Static Analysis Approach for Detecting Packed PE Binaries
    Arora, Rohit
    Singh, Anishka
    Pareek, Himanshu
    Edara, Usha Rani
    [J]. INTERNATIONAL JOURNAL OF SECURITY AND ITS APPLICATIONS, 2013, 7 (05): : 257 - 268
  • [10] Heuristics-based modelling of human decision process
    Aggarwal, M.
    Tehrani, A. F.
    [J]. IRANIAN JOURNAL OF FUZZY SYSTEMS, 2023, 20 (03): : 19 - 30