Sample

Dorn/java/130

Human rating uses the original dataset scale.

DatasetDorn
Human4.17
Lines30

Scores

MethodScoreScaleDataset rank
(0–100)
Posnett10–1; higher is more readable
98.3Δ 0.8
Scalabrino0.9560–1; higher is more readable
99.2Δ 1.7
Dorn0.9490–1; higher is more readable
98.3Δ 0.8
Mi0.6070–1; higher is more readable
63.8Δ 33.7
LLOC5Logical lines; fewer is more readable
78.0Δ 19.5
DeepSeek V4 Pro17.330–20; mean of three runs
95.5Δ 1.9
GPT-6.1 Sol180–20; mean of three runs
93.5Δ 4.0
BTTF0.7550–1; higher is more readable
95.8Δ 1.7
Human4.171–5; original rating
97.5

Views

Download official ZIP ↗

Select the downloaded ZIP or its extracted folder. Files stay in your browser.

Loading feature diagnosis…

Source regions

Feature contributions

Feature contributions

FeatureValueContribution
(log-odds)
Source linesThe number of non-empty source lines.30+12
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.556−6.833
Halstead volumeHow much symbolic information the code contains. It combines the total number of operators and values with the number of distinct ones.155.324−5.126

Intercept 8.87 + feature contributions = 8.911 (log-odds).
Score = sigmoid(8.911) = 1.

Score0.956

Feature contributions

FeatureValueContribution
(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.62+1.039
Comment layout frequencyHow frequently the layout switches between lines containing only comments or whitespace and lines containing code.1+1.001
Operator visual areaThe share of the code’s visual area occupied by operators such as +, =, and *.0.02+0.748
Number layout frequencyHow rapidly the number of numeric values per line changes through the code.1+0.398
Indentation frequencyHow rapidly indentation changes from line to line.10−0.391
Comment layout (horizontal)How rapidly the visual pattern of comment characters changes from left to right.53.581+0.06
Identifier layout (vertical)How rapidly the visual pattern of identifier characters changes from top to bottom.29.81+0.007

Intercept 0.07 + feature contributions = 2.932 (log-odds).
Score = sigmoid(2.932) = 0.949.

Score0.607
Score5
Run 1

The code is a well-structured Java interface fragment with consistent Javadoc comments for most methods. It is flat, readable, and each action is isolated to a single line. However, the first method lacks documentation and the fragment is incomplete, reducing clarity of intent and overall cohesion. Minor inconsistency in Javadoc presence slightly affects the reading flow and completeness.

Run 2

The code is highly readable due to its clear, consistent structure. Each method follows the standard getter/setter pattern with well-written Javadoc comments that clearly state the purpose, parameters, return values, and exceptions. The code is flat with no nesting, and each action is isolated on its own line, improving action granularity. The reading flow is natural and logical, moving from companyId to userId, userUuid, and then to the meetups registration fields. While the code is concise, the repetition of Javadoc for every method is slightly verbose but acceptable for API documentation. Overall, the code is well-organized, unambiguous, and easy to understand.

Run 3

The code is highly readable. It follows a clear and consistent structure with each method defined separately. There is no nesting, making the logic flat and easy to follow. The intent of each method is unambiguous due to descriptive naming and Javadoc comments. The code is concise, with each action (getter/setter) isolated on its own lines, maintaining a one-action-per-line granularity. The reading flow is natural, progressing logically from company ID to user ID, UUID, and their setters. Minor deductions are only for the slight redundancy in Javadoc (e.g., restating the method name), which is common in boilerplate code but does not detract from readability.

Run 1

Code Structure: Related interface accessors are logically grouped, with getters and setters paired. Nesting: No nesting makes the snippet easy to scan. Clarity of intent: Descriptive method names, parameter types, and Javadoc clearly communicate purpose, although the SystemException description is vague. Code length: Declarations are concise, but repetitive Javadoc adds length without much additional information. Action granularity: Each declaration occupies its own line and represents a single operation. Reading flow: Consistent formatting and getter/setter ordering create a natural flow, though the opening setCompanyId declaration lacks the documentation and pairing shown for subsequent methods.

Run 2

Code Structure: Accessor declarations are logically grouped, with related getters and setters adjacent. Nesting: The code is flat, with no nested control flow. Clarity of intent: Descriptive method names and Javadoc make each declaration's purpose clear, although the exception description is vague. Code length: Declarations are concise, but repetitive Javadoc adds visual bulk without much additional information. Action granularity: Each declaration occupies its own line and represents a single operation. Reading flow: Consistent formatting and getter/setter ordering make the snippet easy to scan; the opening standalone setter slightly interrupts the otherwise paired structure.

Run 3

Code Structure: Accessor declarations are logically organized, with related getters and setters paired together. Nesting: The code is flat, with no nested control flow. Clarity of intent: Conventional method names and explicit parameter and return types make the purpose clear; Javadoc reinforces it. Code length: The declarations are concise, but repetitive documentation adds length without much additional information. Action granularity: Each declaration occupies its own line and represents a single operation. Reading flow: Consistent formatting and getter/setter ordering make scanning natural. Minor weaknesses include the opening setter lacking matching context or documentation in this excerpt and the vague SystemException description.