arXiv:2611.01636cs.SENov 2026

Manuscript Offprint

arXiv:2611.01636

What reviewers call a Long Method is a length: A pre-registered test of coupling divergence as a god-unit signal, and what it settled instead

Daniel Sagenschneider

Open access. PaperVantage converted this article to text, so layout and figures may differ from the original.

Abstract

A companion study found that a complexity outlier rule shows where complexity concentrates but cannot tell a god unit from a complex algorithm. This paper pre-registered a test of one way to tell them apart: weight a unit's complexity by its coupling divergence, the data it hands on minus the data it receives, so that a leaf is set aside. Coupling was measured by resolving every call in 520 MLCQ repositories, 500 fresh Java repositories and 73 Qualitas Corpus systems. The claim fails: the primary, the pooled MCC of the weighted form minus complexity alone against MLCQ's human Blob, is −0.041[−0.130,+0.054]-0.041 [-0.130, +0.054], no difference resolved and underpowered, and the resolved readings go against it. What the data settle is at method level. What MLCQ's reviewers call a Long Method is an absolute length: a constant of 26 lines or more, chosen on the explore half, reaches MCC 0.777 on the confirm half, +0.080[+0.016,+0.145]+0.080 [+0.016, +0.145] over the best per-repository form; every reviewer with ten or more positives, on their non-leaf reviews, has a best cutoff between 17 and 34 lines; and nothing measured inside a method, its calls, variables, data flow or the cost of cutting it, refines the constant. The constant is a limit of human reading. The next form of the construct is the cost of bringing a long method under it, which is where the construct meets architecture.

1 Introduction

A companion study [15] tested a god-class and god-method detector with no raw-scale constant: a unit is flagged when its complexity is a robust outlier for its own codebase, a modified z-score of 3.5 or more on a scale fitted to that codebase [8]. The rule found where the complexity concentrates, and its extra flags were small classes doing the work they were written to do. The difference between a god unit and a complex algorithm, that study concluded, is in the coupling, and it named this study as the test.

The construct tested here is coupling divergence: what a unit hands on minus what it receives. A unit that receives more than it sends is a catchment, a leaf that processes what it is given, where the complexity of an algorithm belongs; one that sends more than it receives is a junction, and a unit that directs the data and also holds the logic is what people call a god unit. The pre-registered claim was that multiplying complexity by a factor that is zero for a catchment and grows with the divergence of a junction recovers god classes and methods better than complexity alone; its estimand, decision rule, sample and bootstrap were committed before any coupling had been measured on the confirmatory material.

The claim did not survive the test (Section 3). What the data settle instead is at method level: what MLCQ's reviewers call a Long Method is an absolute length, 26 lines or more, which a per-repository rule is the wrong model for and which nothing measured inside a method refines (Section 4). That constant is a limit of human reading, and the construct's next form is the cost of bringing a long method under it (Section 5). The full registered report is in the ancillary data.