Sample
int-44a0d701b700-I04
Replace method, parameter, and local names with deterministic ProGuard-style short identifiers
Scores
| Method | Score | Scale |
|---|---|---|
| Posnett | 0 | 0–1; higher is more readable |
| Scalabrino | 0.79 | 0–1; higher is more readable |
| Dorn | 0.879 | 0–1; higher is more readable |
| Mi | 0.834 | 0–1; higher is more readable |
| LLOC | 36 | Logical lines; fewer is more readable |
| DeepSeek V4 Pro | 3.33 | 0–20; mean of three runs |
| GPT-6.1 Sol | 13 | 0–20; mean of three runs |
| BTTF | 0.649 | 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. | 2868.75 | −94.669 |
| Source linesThe number of non-empty source lines. | 126 | +50.4 |
| 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.045 | −7.567 |
Intercept 8.87 + feature contributions = -42.966 (log-odds).
Score = sigmoid(-42.966) = 0.
| Score | 0.79 |
|---|
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. | 127 | −3.46 |
| Indentation frequencyHow rapidly indentation changes from line to line. | 119 | +3.379 |
| Identifier layout (vertical)How rapidly the visual pattern of identifier characters changes from top to bottom. | 125.866 | +1.35 |
| 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. | 110.976 | −1.035 |
| Comment layout (horizontal)How rapidly the visual pattern of comment characters changes from left to right. | 110.976 | +0.986 |
| Number layout frequencyHow rapidly the number of numeric values per line changes through the code. | 1 | +0.398 |
| Operator visual areaThe share of the code’s visual area occupied by operators such as +, =, and *. | 0.066 | +0.301 |
Intercept 0.07 + feature contributions = 1.988 (log-odds).
Score = sigmoid(1.988) = 0.879.
| Score | 0.834 |
|---|
| Score | 36 |
|---|
Run 1
This code is extremely unreadable due to deliberate obfuscation. Method names (a, b, c, j, k, l) and parameter names (a, b, c, etc.) reveal nothing about their purpose, violating clarity of intent. The reading flow is destroyed; a reader must cross-reference the interface to understand what each method does. The structure is tangled because related methods (connectToServer) are split into overloads distinguished only by meaningless parameter names. Nesting is flat, but that is the only positive aspect. Code length is acceptable, but action granularity is mixed (some lines contain multiple actions in declarations). Overall, the code fails most readability criteria catastrophically despite comments indicating original intent.
Run 2
This code is barely readable in a practical sense. The structure is superficially organized but the method names (a, b, c, d, j, k, l) have been obfuscated, completely destroying clarity of intent. Parameter names are equally meaningless. Reading flow is broken because every method requires cross-referencing the interface to understand what it does. Action granularity is fine, and nesting is flat, but those positives are overshadowed by the deliberate removal of semantic meaning. Code length is normal, but the repeated UnsupportedOperationException blocks are verbose. The comments separating WebSocketContainer and ServerContainer sections help slightly, but cannot compensate for the cryptic identifiers. This appears to be minified or intentionally obscured code, not production-quality readable source.
Run 3
The code is almost unreadable due to extreme obfuscation. Meaningful method names like 'getDefaultAsyncSendTimeout' are replaced with single letters ('a', 'b', 'c'), destroying clarity of intent. Overloaded methods share the same single letter ('j', 'k'), making it impossible to distinguish behavior without inspecting parameters. Parameter names are similarly meaningless ('a', 'b', 'c'), violating readability conventions. The structure is otherwise organized and flat, which helps slightly, but the naming completely negates any structural advantages. Code length is concise but only because descriptive names are stripped. Action granularity and reading flow are technically functional but meaningless without descriptive identifiers. The author comment and documentation comments are intact, but they cannot compensate for the loss of method semantics.
Run 1
Code Structure: Fields and methods are logically grouped, with comments separating container responsibilities. Nesting: Methods are flat and contain no nested control flow. Clarity of intent: The class documentation, descriptive fields, and exception messages explain the mock's purpose, but single-letter method and parameter names severely obscure individual operations. Code length: Reasonably concise for an interface implementation, though repetitive unsupported-operation methods and excess blank lines add bulk. Action granularity: Each statement performs one clear action; wrapped declarations and exception calls remain understandable. Reading flow: Consistent formatting and predictable getter/setter ordering support scanning, but opaque names force readers to infer behavior from method bodies, types, and error messages.
Run 2
Code Structure: Fields and methods are logically grouped, with comments separating container responsibilities. Nesting: Methods are flat and contain no nested control flow. Clarity of intent: The class documentation, descriptive fields, and exception messages explain the mock's purpose, but single-letter method and parameter names severely obscure operations and argument roles. Code length: The implementation is reasonably concise for an interface mock, though repetitive exception handling and generous whitespace add some bulk. Action granularity: Each statement performs one clear action, with no compressed multi-action lines. Reading flow: Consistent formatting and simple getter/setter patterns make the code easy to scan, but cryptic names and repeated overloaded methods force readers to infer meaning from types, fields, and exception messages.
Run 3
Code Structure: Logically organized into fields, container methods, and server-specific methods, with helpful section comments. Nesting: Entirely flat, with simple method bodies and no nested control flow. Clarity of intent: The class documentation, descriptive fields, and exception messages explain its mock behavior, but single-letter method and parameter names severely obscure API intent and distinguishability. Code length: Reasonably concise for an interface implementation, although repetitive unsupported-operation methods and excess blank lines add visual bulk. Action granularity: Each statement performs one action, making individual bodies easy to understand. Reading flow: Consistent formatting and grouped accessors support sequential reading, but readers must infer method purposes from field assignments or exception messages rather than meaningful signatures.