What changed between 14.0.0 and 14.3.0?
Checkstyle 14.3.0 reached Maven Central on 27 September 2026, the fourth release of the 14.x line after 14.0.0, 14.1.0 and 14.2.0. I wanted to know what an upgrade costs before anyone in a Java shop runs it on a Monday, so I measured it the only honest way I know: the same code, the same two bundled configs, three versions of the jar.
The code was the gson/src/main/java tree of Google's Gson, cloned on 9 October 2026, 86 files. The configs were the google_checks.xml and sun_checks.xml that ship inside each checkstyle-*-all.jar, run with java -jar checkstyle-<version>-all.jar -c /<config>.xml. Nothing else. No suppressions, no project config, no plugin.
| Jar | google_checks | sun_checks |
|---|---|---|
| 13.11.0 | 228 | 4,304 |
| 14.0.0 | 228 | 4,304 |
| 14.3.0 | 220 | 12,703 |
Two of the three runs are identical to the digit. The third nearly triples. Same source files, same command. What moved?
Not the engine, or not much of it. The config did.
Where did 8,399 findings come from?
I unpacked both jars and diffed the two bundled XML files. The sun_checks.xml in 14.3.0 adds exactly two modules compared with 14.0.0: a SeparatorWrap rule for commas at end of line, and a bare <module name="Indentation"/>. That second line is the whole story. Gson is indented with two spaces, in the Google style. The Indentation check's default expects four.
Counting findings by check name in the 14.3.0 output:
Indentation: 8,399, spread across 77 of the 86 filesLineLength: 2,180, unchanged from 14.0.0FinalParameters: 911, unchangedJavadocVariable: 317, unchanged- everything else: unchanged, line for line
So 12,703 minus 8,399 is 4,304. The old number, exactly. One new line in a config file produced more findings than the other 50-odd modules combined.
Is that a Checkstyle bug? No. Sun conventions do say four spaces, and the bundled file is now a more faithful copy of them. It's a reminder of something I keep relearning: a quality gate has two halves, the tool and the rule set, and the rule set is the one that decides whether your Monday is quiet.
Why did the Google config get quieter?
The Google-style run went from 228 to 220, which looks like nothing until you look at which checks changed. The 14.3.0 google_checks.xml replaces two hand-built RightCurly blocks and their XPath suppressions with a single new GoogleRightCurly check. The 11 RightCurlySame findings from 14.0.0 are gone. In their place, three new ModuleDirectiveOrder findings appear on Gson's module-info.java, because the old config excluded that file through a BeforeExecutionExclusionFileFilter and the new one doesn't.
Eleven out, three in. Net minus eight. A team that only reads the total would call this a free upgrade. A team that reads the diff would notice their module descriptors are now in scope for the first time, and that a rule they'd never seen is judging them.
The config diff also adds a PackageDeclaration check, an AvoidModuleImport check, an IllegalTokenText rule for non-ASCII whitespace inside string literals, a MatchXpath that rejects compact source files, and widens MissingJavadocMethod from public to public, protected. None of those fired on Gson. On your code? I can't tell you. That's the point of running it.
The engine did grow, quietly
For completeness I listed the *Check.class files inside each jar. 14.0.0 ships 220 check classes, 14.3.0 ships 240. The 20 newcomers include UnusedPrivateField, UnnecessaryFullyQualifiedType, ModuleImportOrder, ExpressionOverBlockLambda, JavadocParamOrder, JavadocThrowsOrder, JavadocSeeTagOrder and a trio of InappropriateJavadocBlockTags checks. Only two of them (GoogleRightCurly, ModuleDirectiveOrder) are enabled by either bundled config. The rest sit there until someone turns them on.
I'd have liked to quote the official release notes here. The notes page refused my requests, so everything above comes from the jars themselves, which is arguably the better source anyway. A changelog describes intent. A diff of the shipped file describes what you'll run.
An upgrade's cost lives in the config file, not the version number. Diff the rules you run before you diff the engine.
What does this cost a real team?
Let me put numbers on the two ways teams consume Checkstyle, because the bill is wildly different.
Teams that copy the config into their repository pay nothing for this part of the upgrade. Their checkstyle.xml is frozen at whatever version they copied, so the engine bump changes only what the engine changes, and in my runs that was zero findings. They do inherit the 20 new checks as options. They can ignore the options.
Teams that point the Maven or Gradle plugin at the bundled file by name, /sun_checks.xml or /google_checks.xml, get the new file the moment the jar version moves. For a two-space-indented codebase on Sun checks, that's the 8,399. If the build fails on any error, and the Sun config reports everything at error severity, the build is red until someone either reformats 77 files or adds one <property name="severity" value="ignore"/> to the Indentation module. The second choice takes one line, and nothing in the build ever brings the rule back. That is exactly the suppression creep I keep writing about, except this time nobody even chose the rule they silenced.
Run time, for what it's worth: between 3.5 and 7 seconds per run on these 86 files, with the JVM warming up accounting for most of the spread. I'm not calling that a benchmark. The findings count is the cost that matters.
How should you upgrade Checkstyle, in order?
If I were doing this on a repo with a decade of history, here's the sequence. Not three steps, because real upgrades don't come in threes.
- Copy the bundled config into the repo if you haven't. Commit it. Now you have a baseline that the jar can't move.
- Bump the jar alone and run. Expect no change. If there is one, it's an engine change and worth reading.
- Diff the new bundled config against your copy.
unzip -p checkstyle-14.3.0-all.jar sun_checks.xmlgets you the file. - Pull in new modules one at a time, each in its own commit, each with a count of what it fires on. Indentation on a two-space codebase is a reformat, not a lint fix, and belongs in a separate change that touches nothing else.
- Turn on any of the 20 new checks you actually want, with the same one-per-commit rule.
That order makes the upgrade boring, which is the goal. It's the same move as promoting compiler warnings one flag at a time: decouple the tool version from the rule set, then move each on its own schedule.
A note on the opinion in all this
Here's the part some people will disagree with. I think bundled configs shouldn't exist in a form that a build can reference by bare name. Convenience on day one, surprise on day four hundred. Ship them as examples with a version in the filename, and make the user copy them. Checkstyle isn't alone in this, and I'm not picking on it; it's one of the oldest gates still running, and it has earned its place. But the 4,304-to-12,703 jump in my table happened without a single line of Java changing, and a gate whose verdict can change like that isn't measuring the code.
What does your build reference: a file in your repo, or a path inside a jar? If you don't know, that's the first thing to check before Monday.