Towards the Fractal Dimension of Classes

分形 财产(哲学) 计算机科学 公制(单位) 班级(哲学) 理论计算机科学 软件 分形维数 特征(语言学) 分形分析 自相似性 软件系统 算法 数据挖掘 人工智能 数学 几何学 程序设计语言 哲学 数学分析 经济 认识论 语言学 运营管理
作者
Weifeng Pan,Wei Wu,Hua Ming,Dae‐Kyoo Kim,Zijiang Yang,Yutao Ma
出处
期刊:ACM Transactions on Software Engineering and Methodology [Association for Computing Machinery]
被引量:1
标识
DOI:10.1145/3688844
摘要

The fractal property has been regarded as a fundamental property of complex networks, characterizing the self-similarity of a network. Such a property is usually numerically characterized by the fractal dimension metric, and it not only helps the understanding of the relationship between the structure and function of complex networks, but also finds a wide range of applications in complex systems. The existing literature shows that class-level software networks (i.e., class dependency networks) are complex networks with the fractal property. However, the fractal property at the feature (i.e., methods and fields) level has never been investigated, although it is useful for measuring class complexity and predicting bugs in classes. Furthermore, existing studies on the fractal property of software systems were all performed on un-weighted software networks and have not been used in any practical quality assurance tasks such as bug prediction. Generally, considering the weights on edges can give us more accurate representations of the software structure and thus help us obtain more accurate results. The illustration of an approach’s practical use can promote its adoption in practice. In this paper, we examine the fractal property of classes by proposing a new metric. Specifically, we build an FLSN ( F eature L evel S oftware N etwork) for each class to represent the methods/fields and their couplings (including coupling frequencies) within the class, and propose a new metric, ( F ractal D imension for C lasses), to numerically describe the fractal property of classes using FLSNs, which captures class complexity. We evaluate theoretically against Weyuker’s nine properties, and the results show that adheres to eight of the nine properties. Empirical experiments performed on a set of twelve large open-source Java systems show that i) for most classes (larger than \(96\%\) ), there exists the fractal property in their FLSNs, ii) is capable of capturing additional aspects of class complexity that have not been addressed by existing complexity metrics, iii) significantly correlates with both the existing class-level complexity metrics and the number of bugs in classes, and iv), when used together with existing class-level complexity metrics, can significantly improve bug prediction in classes in three scenarios (i.e., bug-count , bug-classification , and effort-aware ) of the cross-project context, but in the within-project context, it cannot.
最长约 10秒,即可获得该文献文件

科研通智能强力驱动
Strongly Powered by AbleSci AI
科研通是完全免费的文献互助平台,具备全网最快的应助速度,最高的求助完成率。 对每一个文献求助,科研通都将尽心尽力,给求助人一个满意的交代。
实时播报
王佟发布了新的文献求助10
1秒前
1秒前
taotao216发布了新的文献求助10
2秒前
17完成签到 ,获得积分10
2秒前
2秒前
高贵振家发布了新的文献求助10
2秒前
2秒前
3秒前
HH发布了新的文献求助10
3秒前
CipherSage的应助被初景采纳,获得10
3秒前
脑洞疼的应助被11采纳,获得10
3秒前
青麋完成签到,获得积分10
4秒前
bkagyin的应助被月影采纳,获得10
4秒前
4秒前
爆米花的应助被白糖采纳,获得10
4秒前
5秒前
红红发布了新的文献求助10
5秒前
v0id的应助被星许采纳,获得10
6秒前
英俊的铭的应助被神勇中道采纳,获得10
6秒前
6秒前
bkagyin的应助被vvan采纳,获得10
7秒前
可爱的函函的应助被夏1采纳,获得10
7秒前
7秒前
严三笑发布了新的文献求助10
7秒前
小小阳完成签到 ,获得积分10
7秒前
7秒前
wlx发布了新的文献求助10
7秒前
xcy0113发布了新的文献求助10
8秒前
8秒前
dingyi完成签到,获得积分20
9秒前
完美世界的应助被怡然的半仙采纳,获得10
9秒前
上官若男的应助被清新的苑博采纳,获得10
9秒前
9秒前
feng发布了新的文献求助30
9秒前
9秒前
SciGPT的应助被July采纳,获得10
9秒前
9秒前
0077完成签到,获得积分10
10秒前
fannn发布了新的文献求助10
10秒前
笑点低豆芽完成签到 ,获得积分10
10秒前
高分求助中
(应助此贴封号)【重要!!请各用户(尤其是新用户)详细阅读】【科研通的精品贴汇总】 10000
Les Mantodea De Guyane 2000
从自在到自觉:中华民族观念形成研究:全二册 800
Guidelines for fracture-safe and fatigue-reliable design of steel structures 600
Problems and Solutions for Integer and Combinatorial Optimization: Building Skills in Discrete Optimization 600
Organizational Behavior 510
桑白皮エキスの実験的, 臨床的育毛効果について 500
热门求助领域 (近24小时)
化学 材料科学 医学 生物 纳米技术 计算机科学 工程类 有机化学 化学工程 生物化学 物理 复合材料 内科学 催化作用 光电子学 人工智能 细胞生物学 无机化学 物理化学 数学
热门帖子
关注 科研通微信公众号,转发送积分 7998583
求助须知:如何正确求助?哪些是违规求助? 9452328
关于积分的说明 21138864
捐赠科研通 7571709
什么是DOI,文献DOI怎么找? 3380608
关于科研通互助平台的介绍 2513585
邀请新用户注册赠送积分活动 2414472