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

arXiv:2003.00399 First posted 2020-03-01 v1
Cite this paper ×
BibTeX
@misc{tremblay2020the,
  title = {The cross cyclomatic complexity: a bi-dimensional measure for program complexity on graphs},
  author = {Hugo Tremblay and Fabio Petrillo},
  year = {2020},
  eprint = {2003.00399},
  archivePrefix = {arXiv},
  primaryClass = {cs.SE},
  url = {https://arxiv.org/abs/2003.00399}
}
APA
Tremblay, H., & Petrillo, F. (2020). The cross cyclomatic complexity: a bi-dimensional measure for program complexity on graphs [Preprint]. arXiv. https://doi.org/10.48550/arXiv.2003.00399
GB/T 7714
TREMBLAY H, PETRILLO F. The cross cyclomatic complexity: a bi-dimensional measure for program complexity on graphs[EB/OL]. (2020-03-01)[2026-11-29]. https://arxiv.org/abs/2003.00399.

Abstract

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.

Post #1 · the paper

Discussion

No comments yet. Start the discussion!