Sample
int-e14b56a09510-I07
Insert deterministic runtime-dead branches into callable bodies
Scores
| Method | Score | Scale |
|---|---|---|
| Posnett | 0 | 0–1; higher is more readable |
| Scalabrino | 0.571 | 0–1; higher is more readable |
| Dorn | 0.345 | 0–1; higher is more readable |
| Mi | 0.445 | 0–1; higher is more readable |
| LLOC | 37 | Logical lines; fewer is more readable |
| DeepSeek V4 Pro | 5.33 | 0–20; mean of three runs |
| GPT-6.1 Sol | 12.67 | 0–20; mean of three runs |
| BTTF | 0.431 | 0–1; higher is more readable |
Views
Loading feature diagnosis…
Source regions
Feature contributions
Feature contributions
| Feature | Value | Contribution (log-odds) |
|---|---|---|
| Halstead volumeHow much symbolic information the code contains. It combines the total number of operators and values with the number of distinct ones. | 3689.851 | −121.765 |
| Source linesThe number of non-empty source lines. | 108 | +43.2 |
| Byte entropyHow varied the bytes in the source text are. Repeated bytes give a lower value; a more even mixture gives a higher value. | 5.114 | −7.672 |
Intercept 8.87 + feature contributions = -77.367 (log-odds).
Score = sigmoid(-77.367) = 0.
| Score | 0.571 |
|---|
Feature contributions
| Feature | Value | Contribution (log-odds) |
|---|---|---|
| Comment layout frequencyHow frequently the layout switches between lines containing only comments or whitespace and lines containing code. | 109 | −2.823 |
| Indentation frequencyHow rapidly indentation changes from line to line. | 88 | +2.307 |
| Number layout frequencyHow rapidly the number of numeric values per line changes through the code. | 88 | −1.599 |
| Identifier layout (vertical)How rapidly the visual pattern of identifier characters changes from top to bottom. | 107.81 | +1.097 |
| Comment layout (horizontal)How rapidly the visual pattern of comment characters changes from left to right. | 98.055 | +0.778 |
| Identifier layout (horizontal)How rapidly the visual pattern of identifier characters changes from left to right. It measures spatial frequency, not the meaning of the names. | 98.963 | −0.526 |
| Operator visual areaThe share of the code’s visual area occupied by operators such as +, =, and *. | 0.091 | +0.053 |
Intercept 0.07 + feature contributions = -0.643 (log-odds).
Score = sigmoid(-0.643) = 0.345.
| Score | 0.445 |
|---|
| Score | 37 |
|---|
Run 1
The code contains extensive obfuscation via meaningless dead-code assertions inserted before nearly every return or method body. These 'if (((0xXXXX ^ 0xXXXX) != 0))' blocks always evaluate to false but visually break the flow, making the code extremely difficult to read. Action granularity is poor as a result — each method has an extra line of noise. Reading flow is severely degraded because the eye must skip over repetitive, unrelated boilerplate. Nesting is technically flat, but intent is buried under pointless checks. Structure itself follows a standard pattern (overrides, delegation), but readability is destroyed by the injected garbage. Even though the underlying logic is simple, the presentation is hostile to readers. The code would be a 16-18 if the assertions were removed.
Run 2
The code is heavily cluttered with meaningless, obfuscated assertion statements after every method declaration, which severely hurts readability. While the overall class structure is logical and method names convey intent clearly, these artificial lines disrupt the natural reading flow and add unnecessary noise. Nesting is minimal and action granularity is mostly one action per line, but the repeated dead-code assertions make the code far longer and more confusing than necessary. Comments are helpful and explanatory, but they cannot compensate for the pervasive distraction of the injected statements. The core logic is straightforward, but the presentation severely undermines clarity.
Run 3
The code has clear class purpose and method names, but readability is severely damaged by the repeated injected `if (((0xE44B ^ 0xE44B) != 0)) { throw new AssertionError(); }` statements throughout. These are dead-code obfuscations that break reading flow and add noise. The structure is logical (constructor, overrides, helper methods), and nesting is flat, but the abrupt assertions force the reader to pause and decipher whether they are meaningful (they are not, given the tautology). Comments are helpful and the original code style is clean, but the pervasive dead checks make intent ambiguous and code length unnecessarily longer. Action granularity is mostly one action per line, yet the dead assertions violate that principle by adding redundant throw statements. Overall, the code is comprehensible but the inserted noise significantly reduces readability.
Run 1
Code Structure: The class is logically organized into small, focused overrides, but repeated dead-code assertions clutter every method. Nesting: Mostly flat, with only shallow conditional blocks. Clarity of intent: Descriptive method names, delegation, and comments explain the collection behavior; hexadecimal XOR conditions that are always false introduce confusing, purposeless noise. Code length: Core implementations are concise, but redundant assertions and lengthy compatibility comments add overhead. Action granularity: Most meaningful operations occupy separate lines, while assertion checks compress a condition, block, and throw onto one line. Reading flow: Method order and consistent delegation are natural, but unindented assertion lines, extra whitespace, and inconsistent writeReplace indentation repeatedly interrupt scanning.
Run 2
Code Structure: Small, logically grouped overrides provide good organization, but repeated irrelevant assertion guards clutter every method. Nesting: Shallow overall; the guards add unnecessary conditionals without deep nesting. Clarity of intent: Descriptive method names and comments explain delegation, lookup behavior, and comparator inconsistencies, while hexadecimal XOR checks obscure intent despite always evaluating to false. Code length: Core implementation is concise, but redundant guards and lengthy maintenance comments increase reading overhead. Action granularity: Most useful operations occupy separate lines; inline conditional-and-throw blocks compress control flow and actions. Reading flow: Delegation and method ordering are natural, but unindented guards, inconsistent writeReplace indentation, and repeated visual interruptions significantly reduce readability.
Run 3
Code Structure: Focused class with logically separated overrides, but repeated dead-code assertions introduce clutter. Nesting: Very shallow; methods are mostly direct delegations with simple conditions. Clarity of intent: Descriptive names and comments explain sorted-list behavior and comparator edge cases, while hexadecimal XOR checks obscure intent despite always being false. Code length: Functional methods are concise, but redundant assertions and lengthy TODO comments inflate the code. Action granularity: Most statements occupy separate lines; assertion guards compress a condition and throw into one line. Reading flow: Method ordering and annotations are generally natural, but unindented assertions, extra blank lines, and inconsistent writeReplace indentation repeatedly interrupt scanning.