| Package | Description |
|---|---|
| gudusoft.gsqlparser.demos.prettyscore | |
| gudusoft.gsqlparser.pp.score |
PrettyScore: readability scoring for formatted SQL.
|
| Class and Description |
|---|
| ScoreProfile
A style profile: the target layout the scorer measures against.
|
| Class and Description |
|---|
| Dimension
One of the eight readability dimensions with its effective weight, 0-100 score and a one-line explanation.
|
| Finding
One traceable scoring observation: which rule fired, where, how much it
costs, whether the formatter can do anything about it, and a
position-independent
fingerprint that survives a
reformat so two runs can be aligned finding-by-finding. |
| Finding.Builder
Mutable builder; every rule produces findings through it.
|
| Improvement
One entry of the ranked improvement list: fix every fixable finding of
rule and gain about estGain total points. |
| PrettyScore
PrettyScore: scores the readability of an already formatted SQL text
against a style
ScoreProfile and explains every deduction. |
| ScoreProfile
A style profile: the target layout the scorer measures against.
|
| ScoreProfile.ClauseAlign |
| ScoreProfile.JoinIndent
Where JOIN clause keywords sit: on the clause spine, or at the block's content column (ISF style).
|
| ScoreProfile.JoinOnIndent |
| ScoreReport |
| ScoreReport.GateCheck
One fidelity gate check.
|
| ScoreReport.ParseInfo
Parse / engine facts recorded for the scored text.
|
| Severity
Severity of a
Finding. |