亲爱的研友该休息了!由于当前在线用户较少,发布求助请尽量完整地填写文献信息,科研通机器人24小时在线,伴您度过漫漫科研夜!身体可是革命的本钱,早点休息,好梦!

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.

科研通智能强力驱动
Strongly Powered by AbleSci AI
科研通是完全免费的文献互助平台,具备全网最快的应助速度,最高的求助完成率。 对每一个文献求助,科研通都将尽心尽力,给求助人一个满意的交代。
实时播报
llllll完成签到 ,获得积分10
2秒前
2秒前
6秒前
淡淡山兰发布了新的文献求助10
8秒前
9秒前
10秒前
13秒前
草莓大恐龙完成签到,获得积分10
14秒前
淡淡山兰完成签到,获得积分10
20秒前
20秒前
26秒前
所所应助lilin采纳,获得10
30秒前
DT发布了新的文献求助10
32秒前
33秒前
36秒前
幽森之魅发布了新的文献求助50
37秒前
39秒前
WhiteCaramel完成签到 ,获得积分10
42秒前
44秒前
茫小铫发布了新的文献求助10
44秒前
DT完成签到,获得积分10
49秒前
53秒前
55秒前
科研通AI2S应助科研通管家采纳,获得10
57秒前
ding应助茫小铫采纳,获得10
59秒前
科研通AI6.3应助幽森之魅采纳,获得10
1分钟前
SKYE完成签到,获得积分10
1分钟前
友好续发布了新的文献求助10
1分钟前
A1oe完成签到,获得积分10
1分钟前
1分钟前
酷波er应助Liyu采纳,获得10
1分钟前
1分钟前
科研通AI6.2应助MatildaDownman采纳,获得10
1分钟前
ShuXianYang发布了新的文献求助10
1分钟前
木由子完成签到 ,获得积分10
1分钟前
friend516完成签到 ,获得积分10
1分钟前
DM完成签到,获得积分20
1分钟前
DM发布了新的文献求助10
1分钟前
风云路人完成签到,获得积分10
1分钟前
癫狂梦醒完成签到,获得积分10
1分钟前
高分求助中
(应助此贴封号)【重要!!请各用户(尤其是新用户)详细阅读】【科研通的精品贴汇总】 10000
Lewis’s Child and Adolescent Psychiatry: A Comprehensive Textbook Sixth Edition 2000
Continuing Syntax 1000
Encyclopedia of Quaternary Science Reference Work • Third edition • 2025 800
Signals, Systems, and Signal Processing 510
Pharma R&D Annual Review 2026 500
荧光膀胱镜诊治膀胱癌 500
热门求助领域 (近24小时)
化学 材料科学 医学 生物 纳米技术 工程类 有机化学 化学工程 生物化学 计算机科学 物理 内科学 复合材料 催化作用 物理化学 光电子学 电极 细胞生物学 基因 无机化学
热门帖子
关注 科研通微信公众号,转发送积分 6217748
求助须知:如何正确求助?哪些是违规求助? 8042989
关于积分的说明 16765340
捐赠科研通 5304735
什么是DOI,文献DOI怎么找? 2826188
邀请新用户注册赠送积分活动 1804287
关于科研通互助平台的介绍 1664273