亲爱的研友该休息了!由于当前在线用户较少,发布求助请尽量完整地填写文献信息,科研通机器人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
科研通是完全免费的文献互助平台,具备全网最快的应助速度,最高的求助完成率。 对每一个文献求助,科研通都将尽心尽力,给求助人一个满意的交代。
实时播报
5秒前
热心的素发布了新的文献求助10
12秒前
15秒前
上官若男应助热心的素采纳,获得10
23秒前
57秒前
袁建波完成签到,获得积分10
1分钟前
菠菜应助Magali采纳,获得100
1分钟前
JamesPei应助科研通管家采纳,获得10
1分钟前
Ava应助科研通管家采纳,获得10
1分钟前
袁建波发布了新的文献求助10
1分钟前
1分钟前
热心的素发布了新的文献求助10
1分钟前
热心的素完成签到,获得积分20
1分钟前
2分钟前
万能图书馆应助Suda采纳,获得10
2分钟前
2分钟前
大脸猫4811发布了新的文献求助10
3分钟前
Artin发布了新的文献求助30
3分钟前
3分钟前
Suda发布了新的文献求助10
3分钟前
3分钟前
3分钟前
3分钟前
3分钟前
胖小羊完成签到 ,获得积分10
3分钟前
ding应助高尔基采纳,获得10
4分钟前
FFF发布了新的文献求助10
4分钟前
852应助FFF采纳,获得10
5分钟前
5分钟前
wanci应助科研通管家采纳,获得10
5分钟前
mason发布了新的文献求助10
5分钟前
5分钟前
Artin完成签到 ,获得积分10
5分钟前
7分钟前
烟花应助科研通管家采纳,获得10
7分钟前
7分钟前
7分钟前
llll发布了新的文献求助10
7分钟前
7分钟前
小向发布了新的文献求助10
7分钟前
高分求助中
(应助此贴封号)【重要!!请各用户(尤其是新用户)详细阅读】【科研通的精品贴汇总】 10000
Lewis’s Child and Adolescent Psychiatry: A Comprehensive Textbook Sixth Edition 2000
Cronologia da história de Macau 1600
Continuing Syntax 1000
Encyclopedia of Quaternary Science Reference Work • Third edition • 2025 800
Influence of graphite content on the tribological behavior of copper matrix composites 658
Interaction between asthma and overweight/obesity on cancer results from the National Health and Nutrition Examination Survey 2005‐2018 600
热门求助领域 (近24小时)
化学 材料科学 医学 生物 工程类 有机化学 纳米技术 计算机科学 化学工程 生物化学 物理 复合材料 内科学 催化作用 物理化学 光电子学 细胞生物学 基因 电极 遗传学
热门帖子
关注 科研通微信公众号,转发送积分 6210925
求助须知:如何正确求助?哪些是违规求助? 8037146
关于积分的说明 16743962
捐赠科研通 5300292
什么是DOI,文献DOI怎么找? 2824047
邀请新用户注册赠送积分活动 1802621
关于科研通互助平台的介绍 1663749