计算机科学
编码(集合论)
Android(操作系统)
源代码
软件维护
代码评审
软件工程
Fork(系统调用)
KPI驱动的代码分析
源代码行
过程(计算)
人气
软件检查
静态程序分析
软件
集合(抽象数据类型)
软件开发
软件质量
程序设计语言
操作系统
心理学
社会心理学
作者
Gabriel Menezes,Bruno Cafeo,André Hora
标识
DOI:10.1109/esem.2019.8870139
摘要
Background: Modern software systems are commonly built on the 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 actually developed. Aims: In this paper, we aim to fill this gap by assessing the characteristics of framework code samples. We provide insights on how code samples are maintained and used by developers. Method: We analyze 233 code samples of Android and SpringBoot, and assess aspects related to their source code, evolution, popularity, and client usage. Results: We find that most code samples are small and simple, provide a working environment to the clients, and rely on automated build tools. They change frequently over time, for example, to adapt to new framework versions. We also detect that clients commonly fork the code samples, however, they rarely modify them. Conclusions: We provide a set of lessons learned and implications to creators and clients of code samples to improve maintenance and usage activities.
科研通智能强力驱动
Strongly Powered by AbleSci AI