arXivDaily arXiv每日学术速递 周一至周五更新
arXiv周末暂无论文更新,休息一下吧,周末愉快~~
arXiv 2003.00399cs.SEcs.PL
收藏

The cross cyclomatic complexity:图上程序复杂性的二维度量

The cross cyclomatic complexity: a bi-dimensional measure for program complexity on graphs

Hugo Tremblay, Fabio Petrillo

摘要:

降低和控制复杂性是软件设计中的一个基本实践。圈复杂度(CC)是最流行的软件度量之一,应用了40多年。尽管CC是一个突出程序中分支数量的有趣度量,但它显然不足以表示软件的复杂性。在本文中,我们介绍了交叉圈复杂度(CCC),一个新的二维复杂性的图,结合圈复杂度和最小重量的循环基的重量在笛卡尔计划的对来表征程序的复杂性使用控制流图。我们的假设打开了一个新的场所,代表程序的复杂性,我们讨论它的含义和机会。

英文摘要:

Reduce and control complexity is an essential practice in software design. Cyclomatic complexity (CC) is one of the most popular software metrics, applied for more than 40 years. Despite CC is an interesting metric to highlight the number of branches in a program, it clearly not sufficient to represent the complexity in a piece of software. In this paper, we introduce the cross cyclomatic complexity (CCC), a new bi-dimensional complexity measure on graphs that combines the cyclomatic complexity and the weight of a minimum-weight cycle basis in as pair on the Cartesian plan to characterize program complexity using control flow graphs. Our postulates open a new venue to represent program complexity, and we discuss its implications and opportunities.

机构、总结、中文摘要均由AI分析而来,可能存在错误,请以论文正文为准。

↑