Sample
int-0363dbc02528-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.516 | 0–1; higher is more readable |
| Dorn | 0.112 | 0–1; higher is more readable |
| Mi | 0.476 | 0–1; higher is more readable |
| LLOC | 26 | Logical lines; fewer is more readable |
| DeepSeek V4 Pro | 4.67 | 0–20; mean of three runs |
| GPT-6.1 Sol | 11.67 | 0–20; mean of three runs |
| BTTF | 0.371 | 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. | 3559.826 | −117.474 |
| Source linesThe number of non-empty source lines. | 69 | +27.6 |
| 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.68 | −7.02 |
Intercept 8.87 + feature contributions = -88.025 (log-odds).
Score = sigmoid(-88.025) = 0.
| Score | 0.516 |
|---|
Feature contributions
| Feature | Value | Contribution (log-odds) |
|---|---|---|
| Indentation frequencyHow rapidly indentation changes from line to line. | 69 | +1.65 |
| Comment layout frequencyHow frequently the layout switches between lines containing only comments or whitespace and lines containing code. | 70 | −1.442 |
| Number layout frequencyHow rapidly the number of numeric values per line changes through the code. | 69 | −1.163 |
| 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. | 105.929 | −0.822 |
| Comment layout (horizontal)How rapidly the visual pattern of comment characters changes from left to right. | 0 | −0.804 |
| Identifier layout (vertical)How rapidly the visual pattern of identifier characters changes from top to bottom. | 68.879 | +0.553 |
| Operator visual areaThe share of the code’s visual area occupied by operators such as +, =, and *. | 0.109 | −0.116 |
Intercept 0.07 + feature contributions = -2.074 (log-odds).
Score = sigmoid(-2.074) = 0.112.
| Score | 0.476 |
|---|
| Score | 26 |
|---|
Run 1
The code is difficult to read primarily because of meaningless single-letter names like 'a', 'b', 'c', 'd', 'e', 'f', 'g', 'h', 'i', 'j', 'k'. This makes it hard to understand the intent of methods and variables, regardless of structure. Method names like 'a()' and 'b()' are especially problematic. The code has reasonable structure with a test method and a helper, but the helper's purpose is unclear due to naming. Nesting is minimal, which is good. Code length is concise, but this comes at the cost of clarity. Action granularity is mostly acceptable, with one action per line. Reading flow is natural in terms of logical sequence, but the cryptic identifiers destroy comprehension. The class is a test, but parameter names in test methods (TestInfo a) and anonymous inner class methods are all opaque. Overall, the code is structurally sound but fails badly on clarity of intent due to terrible naming.
Run 2
The code is severely unreadable due to single-letter variable and method names (a, b, c, d, e, f, g, h, i, j, k), which completely obscure intent. Method names like 'a', 'b', and 'c' provide no indication of their purpose. The nested anonymous inner class adds unnecessary complexity and indirection. While structure follows basic test setup patterns, the obfuscated naming defeats clarity and maintainability. Multiple operations per line, such as chained bind/sync/channel calls, violate action granularity. Import organization is non-standard (no grouping). The code appears intentionally obfuscated, resembling decompiled or minimized source rather than human-written code. Even though the logical flow is linear and flat, the naming alone drops readability to near zero. This would be extremely difficult for a developer to understand, modify, or debug without significant reverse-engineering effort.
Run 3
The code is extremely hard to read due to single-letter or meaningless variable and method names (e.g., a, b, c, d, e, f, g, h). This destroys clarity of intent, making it impossible to infer what each component does without deep inspection. The method overloading with identical names adds confusion. The nested anonymous class and deeply nested control flow increase cognitive load. While some structure exists (try-finally, separation of client/server bootstrap), the overall readability is severely compromised. Code length is moderate, but the action granularity and reading flow suffer because actions are grouped behind ambiguous identifiers. The code essentially abandons self-documentation.
Run 1
Code Structure: Methods separate test setup, connection verification, and bootstrap filtering logically. Nesting: Mostly shallow, with manageable try/finally cleanup and a loop containing one conditional. Clarity of intent: The class name, API calls, and assertion reveal the test purpose, but single-letter method and variable names severely obscure roles and relationships. Code length: Reasonably concise, though verbose generic declarations and anonymous runner boilerplate add visual overhead. Action granularity: Most lines perform one logical action; chained asynchronous calls are conventional but require some interpretation. Reading flow: Setup, connection attempts, assertion, and cleanup follow a natural sequence. However, overloaded methods named 'a', delegation through 'b', and filtering in 'c' force readers to infer meaning rather than obtain it directly from names.
Run 2
Code Structure: Methods separate test execution, connection behavior, and bootstrap filtering logically. Nesting: Mostly shallow, with manageable try/finally, null checks, and a loop containing one condition. Clarity of intent: The class name, Netty calls, and assertion reveal the test's purpose, but single-letter method and variable names severely obscure roles and relationships. Code length: Reasonably concise, although verbose generic declarations and anonymous runner boilerplate add reading overhead. Action granularity: Statements generally perform one action per line; fluent call chains remain understandable. Reading flow: Setup, connection attempts, assertion, and cleanup follow a natural sequence, but opaque identifiers and dense type expressions require repeated interpretation.
Run 3
Code Structure: Logically separates test execution, connection checks, and bootstrap filtering, with reliable cleanup in finally. Nesting: Mostly shallow; the anonymous runner and conditional cleanup introduce manageable nesting. Clarity of intent: The class name, API calls, and assertion reveal the test purpose, but single-letter method and variable names significantly obscure roles and relationships. Code length: Reasonably concise, though repeated generic types and anonymous-class boilerplate add visual weight. Action granularity: Generally one statement per line; chained calls combine related operations without excessive complexity. Reading flow: Setup, connection attempts, assertion, and cleanup follow a natural sequence, but cryptic identifiers and long generic declarations interrupt comprehension.