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