Sample
int-89dc7b6e30a8-I04
Replace method, parameter, and local names with deterministic ProGuard-style short identifiers
Scores
| Method | Score | Scale |
|---|---|---|
| Posnett | 0.003 | 0–1; higher is more readable |
| Scalabrino | 0.813 | 0–1; higher is more readable |
| Dorn | 0.545 | 0–1; higher is more readable |
| Mi | 0.465 | 0–1; higher is more readable |
| LLOC | 6 | Logical lines; fewer is more readable |
| DeepSeek V4 Pro | 9.67 | 0–20; mean of three runs |
| GPT-6.1 Sol | 14.33 | 0–20; mean of three runs |
| BTTF | 0.316 | 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. | 571.153 | −18.848 |
| Source linesThe number of non-empty source lines. | 28 | +11.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.806 | −7.209 |
Intercept 8.87 + feature contributions = -5.987 (log-odds).
Score = sigmoid(-5.987) = 0.003.
| Score | 0.813 |
|---|
Feature contributions
| Feature | Value | Contribution (log-odds) |
|---|---|---|
| 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. | 119.931 | −1.415 |
| Comment layout (horizontal)How rapidly the visual pattern of comment characters changes from left to right. | 119.931 | +1.131 |
| Operator visual areaThe share of the code’s visual area occupied by operators such as +, =, and *. | 0.054 | +0.418 |
| Number layout frequencyHow rapidly the number of numeric values per line changes through the code. | 23 | −0.107 |
| Indentation frequencyHow rapidly indentation changes from line to line. | 23 | +0.058 |
| Comment layout frequencyHow frequently the layout switches between lines containing only comments or whitespace and lines containing code. | 28 | +0.045 |
| Identifier layout (vertical)How rapidly the visual pattern of identifier characters changes from top to bottom. | 27.826 | −0.021 |
Intercept 0.07 + feature contributions = 0.18 (log-odds).
Score = sigmoid(0.18) = 0.545.
| Score | 0.465 |
|---|
| Score | 6 |
|---|
Run 1
The code is heavily obfuscated, making it nearly unreadable. Class and method names are replaced with single letters (a, b), which completely destroys clarity of intent. The package structure and imports suggest a Netty-related class, but the obfuscated identifiers obscure all purpose. The code is short and flat, but this does not compensate for the severe naming issues. Action granularity is acceptable but irrelevant when meaning is lost. Reading flow is broken because method calls like 'a()' and 'b(...)' provide no semantic clues. Even the Javadoc contains symbolic references, worsening comprehension. Overall, the structure and formatting are technically present, but the deliberate obscuring of names renders the code unreadable by any practical standard.
Run 2
The code is generally readable, with clear class structure, Javadoc comments, and a concise design. However, the obfuscated method names (`a()`, `b(Class<?> a, String b)`) and single-letter parameters (`a`, `b`) obscure intent, making the code harder to understand without prior knowledge. Nesting is flat and action granularity is good, but the ambiguous naming and lack of clear method purpose reduce readability. The class structure is logical and concise, but clarity of intent suffers due to non-descriptive identifiers. The reading flow is natural overall, but the method names could be more meaningful to improve comprehension.
Run 3
The code is structurally simple and flat, with clear class-level intent (a cheap exception without stacktrace). However, readability is harmed by obfuscated method names ('a()', 'b()') that likely resulted from decompilation or minification, making the purpose ambiguous. The override of 'a()' returning 'this' is unclear without knowing it corresponds to 'fillInStackTrace()'. The factory method 'b(Class<?>, String)' lacks descriptive naming for its parameters. While the code is concise and has one action per line, the disorganized naming disrupts natural reading flow and clarity of intent. Comments are helpful but insufficient to overcome the unclear identifiers.
Run 1
Code Structure: The class is logically organized into a constant, constructor, override, and factory method. Nesting: There is no nested control flow, making it easy to scan. Clarity of intent: The class name and documentation explain its purpose, but method names a and b and parameter names a and b obscure behavior. The override's name also conflicts with the documented stack-trace suppression intent, raising correctness questions. Code length: The implementation is concise without unnecessary boilerplate. Action granularity: Each statement performs a single clear action. Reading flow: Organization is natural, though missing spacing between package and imports and cryptic identifiers interrupt comprehension.
Run 2
Code Structure: The small class is logically organized into a constant, constructor, override, and factory method. Nesting: There is no nested control flow, making it easy to scan. Clarity of intent: Class documentation explains the stackless exception's purpose, but method names a and b and parameter names a and b obscure their roles. The override name a also conflicts with the apparent intent to suppress stack-trace generation, creating confusion. Code length: The implementation is concise without unnecessary code. Action granularity: Statements generally perform one action per line; the factory expression combines construction and stack-trace adjustment but remains manageable. Reading flow: Member ordering is natural, though missing spacing between package and import declarations and cryptic identifiers reduce readability.
Run 3
Code Structure: The small class is logically organized into a constant, constructor, override, and factory method. Nesting: There is no nested control flow, making it easy to scan. Clarity of intent: The class name and documentation explain the stackless exception's purpose, but methods named a and b and parameters named a and b obscure their roles. The override name also conflicts with the apparent intent to suppress stack-trace generation, reducing confidence in the code. Code length: The implementation is concise without unnecessary boilerplate. Action granularity: Each statement performs a single action, though the factory return combines construction and stack-trace adjustment. Reading flow: The ordering is natural, but cryptic identifiers and the mismatch between the override and its comment interrupt comprehension.