Sample
int-3d0ced00f716-I07
Insert deterministic runtime-dead branches into callable bodies
Scores
| Method | Score | Scale |
|---|---|---|
| Posnett | 0.085 | 0–1; higher is more readable |
| Scalabrino | 0.616 | 0–1; higher is more readable |
| Dorn | 0.541 | 0–1; higher is more readable |
| Mi | 0.553 | 0–1; higher is more readable |
| LLOC | 9 | Logical lines; fewer is more readable |
| DeepSeek V4 Pro | 14.33 | 0–20; mean of three runs |
| GPT-6.1 Sol | 15 | 0–20; mean of three runs |
| BTTF | 0.556 | 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. | 887.828 | −29.298 |
| Source linesThe number of non-empty source lines. | 63 | +25.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. | 4.769 | −7.154 |
Intercept 8.87 + feature contributions = -2.382 (log-odds).
Score = sigmoid(-2.382) = 0.085.
| Score | 0.616 |
|---|
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. | 61 | −1.123 |
| Comment layout (horizontal)How rapidly the visual pattern of comment characters changes from left to right. | 103.969 | +0.873 |
| 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. | 103.953 | −0.738 |
| Operator visual areaThe share of the code’s visual area occupied by operators such as +, =, and *. | 0.033 | +0.619 |
| Identifier layout (vertical)How rapidly the visual pattern of identifier characters changes from top to bottom. | 62.79 | +0.468 |
| Number layout frequencyHow rapidly the number of numeric values per line changes through the code. | 27 | −0.199 |
| Indentation frequencyHow rapidly indentation changes from line to line. | 27 | +0.197 |
Intercept 0.07 + feature contributions = 0.166 (log-odds).
Score = sigmoid(0.166) = 0.541.
| Score | 0.553 |
|---|
| Score | 9 |
|---|
Run 1
The code is a well-structured Spring interface with clear Javadoc documentation. Structure is logical: package, imports, interface declaration, and two default methods plus one abstract method. Nesting is flat — no conditional blocks or loops, only method bodies. Intent is explicit through descriptive method names and thorough documentation. Code length is concise; the interface is minimal and avoids unnecessary boilerplate. Action granularity is appropriate, with one operation per line. Reading flow is natural, moving from class-level candidate checks to method-level operation retrieval. However, two issues reduce readability: suspicious dead-code assertions like `if (((0xC644 ^ 0xC644) != 0)) { throw new AssertionError(); }` which are meaningless and disrupt flow, and slightly dense Javadoc in `isCandidateClass`. Overall, it is clear except for these injected artifacts.
Run 2
The code is an interface with clear Javadoc documentation, but it suffers from poor readability due to suspicious injected code. Each method contains an obfuscated conditional statement that throws an AssertionError, which is unrelated to the interface's purpose and disrupts the reading flow. This adds unnecessary length and complexity, violates the principle of one action per line, and makes the code ambiguous. The overall structure is logical, and the intent of the interface is clear from the comments, but the unexpected conditional statements create confusion and suggest either a security issue or accidental corruption. The code would be significantly more readable if these lines were removed.
Run 3
The code is a well-structured interface with clear Javadoc and logical method organization. It uses default methods appropriately and keeps nesting minimal. However, two bizarre no-op assertions with hex comparisons ('if (((0xC644 ^ 0xC644) != 0)) { throw new AssertionError(); }') are dead code that hurts readability and clarity of intent. These lines should be removed. Otherwise, the code is concise, follows a natural reading flow, and has clear action granularity.
Run 1
Code Structure: The interface is logically organized, with related methods and useful documentation, but two irrelevant assertion guards disrupt otherwise clean implementations. Nesting: Very shallow; each guard adds only one conditional level. Clarity of intent: Descriptive method names, nullability annotations, and Javadoc clearly explain the API, while hexadecimal XOR conditions obscure intent despite always being false. Code length: The functional code is concise and documentation is relevant, but the redundant guards add unnecessary length. Action granularity: Most lines express one action; the inline conditional-and-throw statements compress multiple elements onto single lines. Reading flow: Method ordering and documentation support natural reading, but unindented guards and tightly grouped package/import declarations interrupt visual consistency.
Run 2
Code Structure: The interface is logically organized into three related operations with helpful documentation. Nesting: Methods are shallow, with only one conditional level. Clarity of intent: Descriptive names, nullability annotations, and Javadoc clearly explain the API, but the always-false hexadecimal XOR checks introduce confusing, purposeless logic. Code length: The functional implementation is concise; documentation is detailed but useful, while the dead checks add unnecessary code. Action granularity: Most lines contain a single declaration or action, but each injected conditional combines a condition and throw statement on one line. Reading flow: Method ordering is natural, but unindented checks and inconsistent spacing interrupt the otherwise clean formatting.
Run 3
Code Structure: The interface is logically organized, with documented methods and clear separation of responsibilities. Nesting: Minimal nesting makes the code easy to scan. Clarity of intent: Descriptive method names, nullability annotations, and Javadoc explain the API well, but the always-false hexadecimal XOR checks introduce confusing, purposeless logic. Code length: The functional implementation is concise; the dead checks add unnecessary code, while the extensive documentation is generally useful. Action granularity: Most lines express one action, but each injected check compresses a condition, block, and throw onto one line. Reading flow: Method ordering and documentation provide a natural progression, disrupted by unindented checks and tightly packed package/import declarations.