# Spring Boot vs Quarkus: source lines of code compared

The Spring Boot vs Quarkus comparison on OctoCounts shows side-by-side source line counts for spring-projects/spring-boot and quarkusio/quarkus, counted with the same engine and analysis options on the dates shown in the methodology line: files, total lines, code lines, comment lines, blank lines, and per-language totals, pinned to the exact commits listed below.

As of 2026-10-08, spring-projects/spring-boot contains 448,026 total lines (245,888 code) across 4,919 files, while quarkusio/quarkus contains 1,291,567 total lines (960,796 code) across 15,492 files as of 2026-10-11. quarkusio/quarkus is about 3.9x the size of spring-projects/spring-boot by code lines. Code size is not code quality: a larger count only means more source material, not a better or worse project.

| Metric | [spring-projects/spring-boot](https://octocounts.com/github/spring-projects/spring-boot) | [quarkusio/quarkus](https://octocounts.com/github/quarkusio/quarkus) |
| --- | ---: | ---: |
| Files | 4,919 | 15,492 |
| Total lines | 448,026 | 1,291,567 |
| Code lines | 245,888 | 960,796 |
| Comment lines | 140,179 | 168,637 |
| Blank lines | 61,959 | 162,134 |
| Languages counted | 12 | 12 |

Top languages in spring-projects/spring-boot: Java (87.1% of code), JSON (4.9% of code), JavaScript (3.5% of code). Top languages in quarkusio/quarkus: Java (75.9% of code), XML (14.4% of code), JavaScript (4.5% of code). Java, JSON, JavaScript, XML appear in both top language lists; YAML appears only in spring-projects/spring-boot's top languages; Kotlin appears only in quarkusio/quarkus's top languages.

Methodology: both counts come from cached OctoCounts reports generated with tokei. spring-projects/spring-boot was counted at ref main (commit 535d133bdaa0) on 2026-10-08; quarkusio/quarkus was counted at ref main (commit 3c0afef88f9e) on 2026-10-11. See the [counting methodology](https://octocounts.com/docs/methodology) for ignored directories and analysis options.
## About this comparison

spring-projects/spring-boot counts the Spring Boot repository — the convention-over-configuration framework layer on top of the Spring ecosystem, with its tests and documentation, in Java. quarkusio/quarkus counts the Quarkus repository — the Kubernetes-oriented Java framework and its extension set, with its tests, in Java. Both counts are JVM framework source trees, counted on the dates in the methodology line.

The per-language tables show Java dominating both counted trees, which makes this a like-for-like comparison of two framework codebases written in the same language and aimed at overlapping server-side workloads.

Both repositories include the build and test infrastructure of a multi-module build in their counts, so part of each total is framework-adjacent tooling and verification rather than the runtime alone.

_Repository size does not indicate framework performance, startup time, or memory use: those are properties of a built application and its configuration, not of the framework source tree's line count._

Sources: [spring-projects/spring-boot repository](https://github.com/spring-projects/spring-boot) · [quarkusio/quarkus repository](https://github.com/quarkusio/quarkus). Statements verified 2026-09-16.

Evidence and next steps:

- [spring-projects/spring-boot SLOC report](https://octocounts.com/github/spring-projects/spring-boot)
- [quarkusio/quarkus SLOC report](https://octocounts.com/github/quarkusio/quarkus)
- [Compare spring-projects/spring-boot and quarkusio/quarkus interactively](https://octocounts.com/compare?left=https%3A%2F%2Fgithub.com%2Fspring-projects%2Fspring-boot&right=https%3A%2F%2Fgithub.com%2Fquarkusio%2Fquarkus)

Note: code size is not code quality. OctoCounts only reports reproducible line counts and makes no claim that either project is better.

## Compare FAQ

### Which has more lines of code, spring-projects/spring-boot or quarkusio/quarkus?

quarkusio/quarkus has more code: 960,796 code lines versus 245,888 for spring-projects/spring-boot, about 3.9x as much, based on cached OctoCounts reports as of 2026-10-11.

### Does more source lines of code mean more complexity?

Not necessarily. SLOC measures size, not complexity, quality, or maintainability. A larger codebase can mean more features, more generated or vendored code, more verbose language idioms, or more tests — none of which imply the code is harder to work with. Use SLOC to gauge the scale of what you'd be reading or maintaining, not as a quality signal for spring-projects/spring-boot, quarkusio/quarkus, or any repository.

### How is this comparison calculated?

Methodology: both counts come from cached OctoCounts reports generated with tokei. spring-projects/spring-boot was counted at ref main (commit 535d133bdaa0) on 2026-10-08; quarkusio/quarkus was counted at ref main (commit 3c0afef88f9e) on 2026-10-11. See the counting methodology for ignored directories and analysis options.

### Can I compare a different branch, tag, or commit?

Yes. This page shows the default branch for each repository. Use the interactive comparison tool to pick any public GitHub repository, branch, tag, or commit SHA for both sides and get a fresh side-by-side report.

## Related OctoCounts pages

- [Interactive repository comparison](https://octocounts.com/compare)
- [Recently analyzed repositories](https://octocounts.com/recent)
- [Popular SLOC reports](https://octocounts.com/popular)
- [Trending GitHub repositories](https://octocounts.com/trending)
- [Hall of Monoliths](https://octocounts.com/hall-of-monoliths)
- [Original research: how filtering changes SLOC counts](https://octocounts.com/research)
- [GitHub SLOC counter guide](https://octocounts.com/docs/github-sloc-counter)
- [Counting methodology](https://octocounts.com/docs/methodology)
- [SLOC and code metrics glossary](https://octocounts.com/docs/glossary)
- [OctoCounts API docs](https://octocounts.com/docs/api)
