Sample
int-e2e168147619-I04
Replace method, parameter, and local names with deterministic ProGuard-style short identifiers
Scores
| Method | Score | Scale |
|---|---|---|
| Posnett | 0.997 | 0–1; higher is more readable |
| Scalabrino | 0.732 | 0–1; higher is more readable |
| Dorn | 0.797 | 0–1; higher is more readable |
| Mi | 0.617 | 0–1; higher is more readable |
| LLOC | 5 | Logical lines; fewer is more readable |
| DeepSeek V4 Pro | 4.67 | 0–20; mean of three runs |
| GPT-6.1 Sol | 13 | 0–20; mean of three runs |
| BTTF | 0.627 | 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. | 59 | +23.6 |
| Halstead volumeHow much symbolic information the code contains. It combines the total number of operators and values with the number of distinct ones. | 598.547 | −19.752 |
| 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.682 | −7.023 |
Intercept 8.87 + feature contributions = 5.695 (log-odds).
Score = sigmoid(5.695) = 0.997.
| Score | 0.732 |
|---|
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. | 57 | −0.982 |
| Operator visual areaThe share of the code’s visual area occupied by operators such as +, =, and *. | 0.025 | +0.696 |
| Comment layout (horizontal)How rapidly the visual pattern of comment characters changes from left to right. | 79.583 | +0.48 |
| Identifier layout (vertical)How rapidly the visual pattern of identifier characters changes from top to bottom. | 58.866 | +0.413 |
| 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. | 80.983 | +0.235 |
| Indentation frequencyHow rapidly indentation changes from line to line. | 23 | +0.058 |
Intercept 0.07 + feature contributions = 1.368 (log-odds).
Score = sigmoid(1.368) = 0.797.
| Score | 0.617 |
|---|
| Score | 5 |
|---|
Run 1
The code is severely unreadable due to meaningless naming. Methods 'a', 'b', and 'c' and parameters 'a', 'b', 'c', 'd', 'e' completely obscure intent, despite thorough Javadoc. The logical structure is acceptable (single interface, flat nesting, concise length), but action granularity and reading flow are undermined by the names. The Javadoc clearly describes the purpose, but the code itself fails to communicate it. Overall, the naming makes the code ambiguous and difficult to follow.
Run 2
The code is severely obfuscated. Method names like a(), b(), and c() completely obscure intent, despite detailed Javadoc. Parameter names like a, b, c, d, e are meaningless and actively hinder comprehension. The method b() has multiple actions compressed into one line, violating granularity and reading flow principles. While the interface structure is technically valid and flat (no deep nesting), the naming breaks clarity of intent entirely. Code length is acceptable but deceptive — the Javadoc is lengthy while the actual names are uninformative. Reading flow is disorganized because readers must constantly cross-reference Javadoc to understand basic signatures. The structure itself is not tangled, but all other criteria fail dramatically. This represents an extreme case of intentional obfuscation of what should be a straightforward Spring interface.
Run 3
The code structure is relatively simple but severely undermined by poor naming. Method and parameter names like a(), b(), c(), and single-letter parameters obliterate clarity of intent, despite Javadoc. Reading flow is disorganized because you must consult comments to understand what each name means. The interface has flat nesting and concise length, which are positive, but action granularity is hard to assess because method bodies are minimal. However, the confusing names require constant mental mapping, making the code feel tangled even though the structure is logical. A professional codebase like Spring would normally prioritize meaningful names, so this version is a significant regression in readability.
Run 1
Code Structure: The interface is logically organized into three related operations with appropriate imports and documentation. Nesting: Methods are flat, with no nested control flow. Clarity of intent: The interface name and Javadocs explain the purpose, but single-letter method and parameter names obscure meaning. Documentation references and @param names do not match the actual declarations, further impairing clarity. Code length: Implementation is concise; lengthy documentation mostly provides useful contract details. Action granularity: Each statement performs one clear action, although the compact call c(b, c) is difficult to interpret. Reading flow: The progression from class candidacy to operation existence to operation retrieval is natural, but readers must repeatedly consult documentation to decode identifiers.
Run 2
Code Structure: The interface is logically organized, with two default methods followed by the operation lookup contract. Nesting: Bodies are flat and trivial, with no nested control flow. Clarity of intent: Detailed documentation explains the purpose, but single-letter method and parameter names obscure meaning. Documentation references and @param tags do not match the actual declarations, making navigation and interpretation harder. Code length: Implementation is concise; documentation is comparatively lengthy but mostly useful. Action granularity: Each executable line performs one clear operation, without compressed statements. Reading flow: Consistent formatting and method ordering help, but the call c(b, c) forces readers to decode identifiers, and mismatched documentation interrupts an otherwise natural flow.
Run 3
Code Structure: The interface is logically organized, with imports, documentation, and three related methods. Nesting: There is no deep nesting; default implementations are flat and simple. Clarity of intent: Extensive documentation explains the cache-operation contract, but single-letter method and parameter names obscure intent. Documentation references and @param names do not match the actual declarations, making navigation and interpretation harder. Code length: Executable code is concise; documentation is lengthy but mostly useful. Action granularity: Each implementation performs one straightforward action per line. Reading flow: The consistent method layout helps, but readers must repeatedly translate ambiguous identifiers using comments, and mismatched documentation interrupts an otherwise natural flow.