mlsanityData to 14 Oct 2026

Evaluating the Dependency Between Cyclomatic Complexity and Response For Class

arXiv 2410.06416 ↗First posted 8 Oct 2024cs.SEcited by 1

Not on the map. Why?

Abstract (arXiv)

In object-oriented programming, it is reasonable to hypothesize that smaller classes with fewer methods are less complex. Should this hypothesis hold true, it would be advisable for programmers to design classes with fewer methods, as complexity significantly contributes to poor maintainability. To test this assumption, we analyzed 862,517 Java classes from 1,000 open GitHub repositories. Our findings indicate a strong Pearson correlation of 0.79 between the cumulative McCabe's Cyclomatic Complexity (CC) of all class methods and the number of methods, a metric known as Response for Class (RFC).

Key facts. Cited by 1 paper in the map (data through 14 Oct 2026). First posted on arXiv 8 Oct 2024.

Builds on

No reference list yet.

Built on by

Cited by year

Citing papers per year: 2025: 1.

1 paper.