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

On the diversity and frequency of code related to mathematical formulas in real-world Java projects.

计算机科学 Java 编码(集合论) 多样性(政治) 程序设计语言
作者
Oliver Moseler,Felix Lemmer,Sebastian Baltes,Stephan Diehl
出处
期刊:arXiv: Software Engineering
标识
DOI:10.1016/j.jss.2020.110863
摘要

In this paper, the term formula code refers to fragments of source code that implement a mathematical formula. We present empirical studies that analyze the diversity and frequency of formula code in open-source-software projects. In an exploratory study, we investigated what kinds of formulas are implemented in real-world Java projects and derived syntactical patterns and constraints. We refined these patterns for sum and product formulas to automatically detect formula code in software archives and to reconstruct the implemented formula in mathematical notation. In a quantitative study of a large sample of engineered Java projects on GitHub we analyzed the frequency of formula code and estimated that one of 700 lines of code in this sample implements a sum or product formula. For a sample of scientific-computing projects, we found that one of 100 lines of code implements a sum or product formula. To assess the need for tool support, we investigated the helpfulness of comments for program understanding in a sample of formula-code fragments and performed an online survey. Our findings provide first insights into the characteristics of formula code, that can motivate further studies on the role of formula code in software projects and the design of formula-related tools.

科研通智能强力驱动
Strongly Powered by AbleSci AI
科研通是完全免费的文献互助平台,具备全网最快的应助速度,最高的求助完成率。 对每一个文献求助,科研通都将尽心尽力,给求助人一个满意的交代。
实时播报
科研通AI6.4的应助被杜大帅采纳,获得10
24秒前
千俞完成签到 ,获得积分10
24秒前
28秒前
32秒前
小巧惜蕊完成签到,获得积分10
32秒前
spolo完成签到,获得积分10
36秒前
晏瑜霜完成签到 ,获得积分10
37秒前
latata完成签到 ,获得积分10
37秒前
越过山丘完成签到,获得积分10
43秒前
温柔的海秋完成签到,获得积分10
43秒前
YuanJX完成签到,获得积分10
44秒前
45秒前
小蘑菇的应助被清风道长采纳,获得10
49秒前
blenx完成签到,获得积分10
51秒前
江東完成签到 ,获得积分10
53秒前
百世经纶一页书完成签到,获得积分10
53秒前
内向的镜子完成签到,获得积分10
54秒前
56秒前
59秒前
Catherine发布了新的文献求助40
1分钟前
yan完成签到,获得积分10
1分钟前
Lauv完成签到,获得积分10
1分钟前
北林发布了新的文献求助10
1分钟前
舒适的妍完成签到,获得积分10
1分钟前
charlie完成签到,获得积分10
1分钟前
流苏完成签到,获得积分10
1分钟前
丘比特的应助被科研通管家采纳,获得10
1分钟前
orixero的应助被科研通管家采纳,获得10
1分钟前
wzm完成签到,获得积分10
1分钟前
WJDNG4完成签到,获得积分10
1分钟前
尊敬的千凡完成签到,获得积分10
1分钟前
WJDNG6完成签到,获得积分10
1分钟前
Busy完成签到,获得积分10
1分钟前
WJDNG2完成签到,获得积分10
1分钟前
伶俐小懒猪完成签到,获得积分10
1分钟前
研友_nEWRJ8完成签到,获得积分10
1分钟前
友好语风完成签到,获得积分10
1分钟前
1分钟前
WJDNG5完成签到,获得积分10
1分钟前
kkdg完成签到,获得积分10
1分钟前
高分求助中
(应助此贴封号)【重要!!请各用户(尤其是新用户)详细阅读】【科研通的精品贴汇总】 10000
Rosenblum, Global Change Biology 800
自動車の空力技術 800
Using Projective Methods with Children 600
Organizational Behavior 510
Management and the Arts 510
Issues in Task-Based Language Teaching 500
热门求助领域 (近24小时)
化学 材料科学 医学 生物 纳米技术 计算机科学 化学工程 工程类 有机化学 物理 复合材料 生物化学 内科学 细胞生物学 基因 遗传学 免疫学 冶金 光电子学 癌症研究
热门帖子
关注 科研通微信公众号,转发送积分 7785251
求助须知:如何正确求助?哪些是违规求助? 9324313
关于积分的说明 20398164
捐赠科研通 7373912
什么是DOI,文献DOI怎么找? 3321340
关于科研通互助平台的介绍 2469213
邀请新用户注册赠送积分活动 2337662