| 注册
首页|期刊导航|计算机应用与软件|面向对象软件度量因子的幂律分布研究

面向对象软件度量因子的幂律分布研究

冼伟成 刘伟 刘宏韬 胡志刚

计算机应用与软件2018,Vol.35Issue(1):9-14,141,7.
计算机应用与软件2018,Vol.35Issue(1):9-14,141,7.DOI:10.3969/j.issn.1000-386x.2018.01.002

面向对象软件度量因子的幂律分布研究

STUDY ON POWER-LAW DISTRIBUTION OF FACTOR FOR OBJECT-ORIENTED SOFTWARE METRICS

冼伟成 1刘伟 1刘宏韬 2胡志刚1

作者信息

  • 1. 中南大学软件学院 湖南长沙410075
  • 2. 湖南中医药大学管理与信息工程学院 湖南长沙410208
  • 折叠

摘要

Abstract

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.

关键词

幂律分布/极大似然估计/面向对象度量/代码质量

Key words

Power-law distribution/Maximum likelihood estimation/Object-oriented metrics/Code quality

分类

信息技术与安全科学

引用本文复制引用

冼伟成,刘伟,刘宏韬,胡志刚..面向对象软件度量因子的幂律分布研究[J].计算机应用与软件,2018,35(1):9-14,141,7.

基金项目

国家自然科学基金项目(61272148). (61272148)

计算机应用与软件

OA北大核心CSTPCD

1000-386X

访问量0
|
下载量0
段落导航相关论文