Sample
int-3a6493b3b4a4-I04
Replace method, parameter, and local names with deterministic ProGuard-style short identifiers
Scores
| Method | Score | Scale |
|---|---|---|
| Posnett | 0.996 | 0–1; higher is more readable |
| Scalabrino | 0.975 | 0–1; higher is more readable |
| Dorn | 0.846 | 0–1; higher is more readable |
| Mi | 0.678 | 0–1; higher is more readable |
| LLOC | 27 | Logical lines; fewer is more readable |
| DeepSeek V4 Pro | 8 | 0–20; mean of three runs |
| GPT-6.1 Sol | 14 | 0–20; mean of three runs |
| BTTF | 0.446 | 0–1; higher is more readable |
Views
Loading feature diagnosis…
Source regions
Feature contributions
Feature contributions
| Feature | Value | Contribution (log-odds) |
|---|---|---|
| Source linesThe number of non-empty source lines. | 128 | +51.2 |
| Halstead volumeHow much symbolic information the code contains. It combines the total number of operators and values with the number of distinct ones. | 1427.996 | −47.124 |
| 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.878 | −7.316 |
Intercept 8.87 + feature contributions = 5.63 (log-odds).
Score = sigmoid(5.63) = 0.996.
| Score | 0.975 |
|---|
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. | 123 | −3.319 |
| Indentation frequencyHow rapidly indentation changes from line to line. | 74 | +1.822 |
| Identifier layout (vertical)How rapidly the visual pattern of identifier characters changes from top to bottom. | 127.753 | +1.376 |
| Operator visual areaThe share of the code’s visual area occupied by operators such as +, =, and *. | 0.034 | +0.609 |
| Comment layout (horizontal)How rapidly the visual pattern of comment characters changes from left to right. | 78.752 | +0.466 |
| Number layout frequencyHow rapidly the number of numeric values per line changes through the code. | 1 | +0.398 |
| 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. | 79.961 | +0.278 |
Intercept 0.07 + feature contributions = 1.701 (log-odds).
Score = sigmoid(1.701) = 0.846.
| Score | 0.678 |
|---|
| Score | 27 |
|---|
Run 1
The code structure is clear and follows a typical POJO pattern with fields, setters, and getters, and the Javadoc comments are thorough and informative. However, the method and parameter names (a, b, c, d, e, f, g, h, i, j, k) completely obscure the intent. Readers cannot determine what each method does without reading the comments or implementation, violating the 'clarity of intent' and 'reading flow' criteria. Nesting is minimal and line length is mostly reasonable, but the obfuscated naming makes the class unreadable for practical use. Action granularity is good—one logical operation per line. Overall, the structure and documentation are strong, but the poor naming choices severely impact readability.
Run 2
The code structure is logical with clear separation of fields and methods, and nesting is flat. However, readability is severely harmed by the method and parameter names: setters/getters are named a, b, c, d, e, f, g, h, i, j, k, and their parameters are single letters. This makes the intent ambiguous despite good Javadoc. The code is concise, and each line performs one action, but the reading flow is unnatural because method calls like beanDefaults.a(true) or beanDefaults.i() require constant cross-referencing with Javadoc. The original method names (e.g., setLazyInit, getInitMethodName) would make this code highly readable; as written, it fails clarity of intent and action granularity in a practical sense.
Run 3
The code has a clear, simple structure with flat nesting and one action per line, and it is concise. However, readability is severely harmed by the method and parameter names (a, b, c, d, e, f, g, h, i, j, k), which completely obscure the intent. The Javadoc comments are excellent and explain what each method should do, but the names do not match the documented purpose, creating a major disconnect for the reader. Reading flow is unnatural because the reader must constantly refer back to comments to understand what a method does. If the method names were restored to meaningful names (e.g., setLazyInit, getLazyInit), the score would be much higher.
Run 1
Code Structure: Fields followed by related setter/getter methods give the class a logical, consistent organization. Nesting: Methods are flat, with only simple boolean and ternary expressions. Clarity of intent: Descriptive fields and useful documentation explain behavior, but single-letter method and parameter names obscure the API; some @param tags also reference names absent from the signatures. Code length: Implementations are concise, though extensive documentation makes a simple holder relatively long. Action granularity: Each statement performs one clear action, with no compressed multi-statement lines. Reading flow: Consistent formatting and property-based grouping support natural reading, but readers must repeatedly consult documentation or method bodies to understand the opaque method names.
Run 2
Code Structure: Fields precede logically paired setters and getters, giving the class a clean organization. Nesting: Methods are flat, with only simple boolean and ternary expressions. Clarity of intent: Descriptive fields and detailed documentation explain the holder's purpose, but single-letter method and parameter names obscure operations and make callers difficult to understand. Two @param tags also reference names absent from their signatures. Code length: Implementations are concise; extensive comments add length but mostly provide useful behavioral context. Action granularity: Each statement performs a single assignment or return, with no bundled unrelated actions. Reading flow: Consistent formatting and property-by-property ordering support natural reading, although opaque identifiers force readers to consult comments and method bodies repeatedly.
Run 3
Code Structure: Fields and related getter/setter pairs are logically organized in a simple holder class. Nesting: Methods are flat, with only straightforward boolean and ternary expressions. Clarity of intent: Descriptive fields, constants, nullability annotations, and documentation explain behavior, but single-letter method and parameter names severely weaken discoverability and make callers difficult to understand. Some @param tags also mismatch actual parameter names. Code length: Implementations are concise; extensive documentation adds length but mostly provides useful context. Action granularity: Each statement performs one clear operation, with no crowded multi-action lines. Reading flow: Consistent formatting and method grouping support natural reading, although opaque names force readers to consult comments and bodies repeatedly.