Do RESTful API design rules have an impact on the understandability of Web APIs?

Author:

Bogner JustusORCID,Kotstein Sebastian,Pfaff Timo

Abstract

Abstract Context Web APIs are one of the most used ways to expose application functionality on the Web, and their understandability is important for efficiently using the provided resources. While many API design rules exist, empirical evidence for the effectiveness of most rules is lacking. Objective We therefore wanted to study 1) the impact of RESTful API design rules on understandability, 2) if rule violations are also perceived as more difficult to understand, and 3) if demographic attributes like REST-related experience have an influence on this. Method We conducted a controlled Web-based experiment with 105 participants, from both industry and academia and with different levels of experience. Based on a hybrid between a crossover and a between-subjects design, we studied 12 design rules using API snippets in two complementary versions: one that adhered to a rule and one that was a violation of this rule. Participants answered comprehension questions and rated the perceived difficulty. Results For 11 of the 12 rules, we found that violation performed significantly worse than rule for the comprehension tasks. Regarding the subjective ratings, we found significant differences for 9 of the 12 rules, meaning that most violations were subjectively rated as more difficult to understand. Demographics played no role in the comprehension performance for violation. Conclusions Our results provide first empirical evidence for the importance of following design rules to improve the understandability of Web APIs, which is important for researchers, practitioners, and educators.

Funder

Universität Stuttgart

Publisher

Springer Science and Business Media LLC

Subject

Software

Cited by 5 articles. 订阅此论文施引文献 订阅此论文施引文献,注册后可以免费订阅5篇论文的施引文献,订阅后可以查看论文全部施引文献

1. How Do Microservice API Patterns Impact Understandability? A Controlled Experiment;2024 IEEE 21st International Conference on Software Architecture (ICSA);2024-06-04

2. RESTRuler: Towards Automatically Identifying Violations of RESTful Design Rules in Web APIs;2024 IEEE 21st International Conference on Software Architecture (ICSA);2024-06-04

3. APIstic: A Large Collection of OpenAPI Metrics;Proceedings of the 21st International Conference on Mining Software Repositories;2024-04-15

4. BlackAnt—High Available Micro-Service Based Cloud Platform with Dynamical Scaling;Topics in Intelligent Engineering and Informatics;2024

5. The Construction of Intelligent Manufacturing Training System Based on SCM/PDM/ERP/MES/PCS and Its Influence on Vocational Education;Proceedings of the 2023 4th International Conference on Computer Science and Management Technology;2023-10-13

同舟云学术

1.学者识别学者识别

2.学术分析学术分析

3.人才评估人才评估

"同舟云学术"是以全球学者为主线,采集、加工和组织学术论文而形成的新型学术文献查询和分析系统,可以对全球学者进行文献检索和人才价值评估。用户可以通过关注某些学科领域的顶尖人物而持续追踪该领域的学科进展和研究前沿。经过近期的数据扩容,当前同舟云学术共收录了国内外主流学术期刊6万余种,收集的期刊论文及会议论文总量共计约1.5亿篇,并以每天添加12000余篇中外论文的速度递增。我们也可以为用户提供个性化、定制化的学者数据。欢迎来电咨询!咨询电话:010-8811{复制后删除}0370

www.globalauthorid.com

TOP

Copyright © 2019-2024 北京同舟云网络信息技术有限公司
京公网安备11010802033243号  京ICP备18003416号-3