检索规则说明:AND代表“并且”;OR代表“或者”;NOT代表“不包含”;(注意必须大写,运算符两边需空一格)
检 索 范 例 :范例一: (K=图书馆学 OR K=情报学) AND A=范并思 范例二:J=计算机应用与软件 AND (U=C++ OR U=Basic) NOT M=Visual
机构地区:[1]中南大学软件学院,湖南长沙410075 [2]湖南中医药大学管理与信息工程学院,湖南长沙410208
出 处:《计算机应用与软件》2018年第1期9-14,141,共7页Computer Applications and Software
基 金:国家自然科学基金项目(61272148)
摘 要:结合幂律分布的研究方法对面向对象软件度量的结果进行研究,探讨不同结构层次软件度量中出现的长尾分布现象。基于4个大型Java开源项目,分别对类代码长度、类属性个数和类方法数这3个影响软件质量的主要度量因子进行度量。度量结果拟合幂律分布,采用极大似然估计法对拟合的幂律分布形状参数进行估计,并使用基于拔靴法的假设检验方法评估拟合效果。通过对3个度量因子统计结果研究发现,幂律分布存在于大部分统计结果的尾部。利用度量因子拟合的幂律分布函数,在互补累积分布图中找到偏离拟合幂律分布函数较远的类,可以在这些类中发现代码质量问题。In this paper, the method of power-law distribution was used to study the results of object-oriented software metrics, and the long tailed distribution in different levels of software metrics was discussed. Based on four large Java open source projects, three major metrics affecting software quality were measured, such as class code length, class attribute number, and class method number. First, we utilized the measurements to fit the power-law distribution, and the maximum likelihood estimation method was used to estimate the shape parameter of the fitted power-law distribution. Then the hypothesis test method based on the bootstrap method was used to evaluate the fitting effect. Moreover, it was found that the power-law distribution existed at the tail of most statistical results by studying the statistical results of three metric factors. After fitting the power-law distribution function to the statistical result, it will lead to code quality issues in CCDF plots if we find that the measurement result of deviation from the fitting function is large.
分 类 号:TP3[自动化与计算机技术—计算机科学与技术]
正在载入数据...
正在载入数据...
正在载入数据...
正在载入数据...
正在载入数据...
正在载入数据...
正在载入数据...
正在链接到云南高校图书馆文献保障联盟下载...
云南高校图书馆联盟文献共享服务平台 版权所有©
您的IP:216.73.216.26