How are framework code samples maintained and used by developers? The case of Android and Spring Boot

Android(操作系统) 计算机科学 编码(集合论) 软件工程 人气 代码评审 软件维护 软件 静态程序分析 操作系统 程序设计语言 软件开发 心理学 社会心理学 集合(抽象数据类型)
作者
Gabriel Menezes,Bruno Cafeo,André Hora
出处
期刊:Journal of Systems and Software [Elsevier BV]
卷期号:185: 111146-111146 被引量:9
标识
DOI:10.1016/j.jss.2021.111146
摘要

Modern software systems are commonly built on top of frameworks. To accelerate the learning process of features provided by frameworks, code samples are made available to assist developers. However, we know little about how code samples are developed and consumed. In this paper, we aim to fill this gap by assessing the characteristics of framework code samples. We provide insights into how code samples are maintained and used by developers. We analyze over 230 code samples provided by Android and Spring Boot, and assess aspects related to their code, evolution, popularity, and client usage. We find that most code samples are small and simple, provide a working environment for the clients, and rely on automated build tools. They frequently change, for example, to adapt to new framework versions. We also detect that clients commonly fork the code samples, however, they rarely modify them. To further understand the problems faced by developers, we analyze 614 Stack Overflow questions about the code samples and 269 issues from code sample repositories. We find that developers face problems when trying to modify the code samples and the most common issue is related to improvement. Finally, we propose implications to creators and clients of code samples to improve maintenance and usage activities.
最长约 10秒,即可获得该文献文件

科研通智能强力驱动
Strongly Powered by AbleSci AI
科研通是完全免费的文献互助平台,具备全网最快的应助速度,最高的求助完成率。 对每一个文献求助,科研通都将尽心尽力,给求助人一个满意的交代。
实时播报
1秒前
天天快乐应助火星上紫山采纳,获得10
2秒前
3秒前
研友_ZAe4qZ发布了新的文献求助10
4秒前
问心完成签到,获得积分10
5秒前
施宇宙完成签到,获得积分10
5秒前
5秒前
ljjxd完成签到,获得积分10
7秒前
乐观思萱完成签到 ,获得积分20
9秒前
剑来发布了新的文献求助10
11秒前
研友_ZAe4qZ完成签到,获得积分20
12秒前
冉冉完成签到 ,获得积分0
13秒前
仔拉完成签到,获得积分10
14秒前
今后应助lili采纳,获得10
15秒前
星辰大海应助剑来采纳,获得10
20秒前
完美世界应助YueLongZ采纳,获得10
22秒前
CodeCraft应助鹿鹿鸭采纳,获得10
23秒前
25秒前
YueLongZ完成签到,获得积分10
27秒前
bkagyin应助活力听兰采纳,获得10
27秒前
30秒前
30秒前
lili发布了新的文献求助10
32秒前
33秒前
竹翠峰完成签到,获得积分20
33秒前
冰魂应助Young采纳,获得10
33秒前
NicheFactor完成签到,获得积分10
34秒前
不懂白完成签到 ,获得积分10
34秒前
35秒前
zzz发布了新的文献求助10
35秒前
35秒前
wangxiaoli0991完成签到 ,获得积分10
36秒前
jw关注了科研通微信公众号
37秒前
dabaigou发布了新的文献求助10
37秒前
上心完成签到,获得积分10
37秒前
张宏宇发布了新的文献求助10
38秒前
Pure发布了新的文献求助10
38秒前
39秒前
40秒前
竹翠峰发布了新的文献求助10
40秒前
高分求助中
Mass producing individuality 600
Разработка метода ускоренного контроля качества электрохромных устройств 500
A Combined Chronic Toxicity and Carcinogenicity Study of ε-Polylysine in the Rat 400
Introduction to the Finite Element Method and Implementation with MATLAB® 200
How We Sold Our Future: The Failure to Fight Climate Change 200
Lab Dog: What Global Science Owes American Beagles 200
Governing Marine Living Resources in the Polar Regions 200
热门求助领域 (近24小时)
化学 材料科学 医学 生物 工程类 有机化学 物理 生物化学 纳米技术 计算机科学 化学工程 内科学 复合材料 物理化学 电极 遗传学 量子力学 基因 冶金 催化作用
热门帖子
关注 科研通微信公众号,转发送积分 3824519
求助须知:如何正确求助?哪些是违规求助? 3366824
关于积分的说明 10442788
捐赠科研通 3086146
什么是DOI,文献DOI怎么找? 1697728
邀请新用户注册赠送积分活动 816467
科研通“疑难数据库(出版商)”最低求助积分说明 769707