# ImageMagick/ImageMagick SLOC report

> As of 2026-09-17 (commit 7d3a270ca2d9), ImageMagick/ImageMagick contains 693,842 total lines: 513,384 code, 131,463 comments, 48,995 blank, across 899 files in 15 languages (top: C 69.1%). Custom configuration (tests excluded, docs excluded, generated excluded). Counted with tokei via OctoCounts.

ImageMagick/ImageMagick has 513,384 source lines of code out of 693,842 total lines across 899 files, counted from the 7d3a270ca2d9542920a1045900dcbb5195f87fe6 ref at commit 7d3a270ca2d9 by the OctoCounts tokei engine on 2026-09-17. The report is cached by commit, tokei version, and analysis options, so recounting the same revision returns exactly these numbers.

OctoCounts produced this report by resolving ImageMagick/ImageMagick to commit 7d3a270ca2d9, downloading the repository source archive, and counting every source file with tokei, the open-source line counter written in Rust. The table below breaks the count down by programming language into files, total lines, code lines, comment lines, and blank lines, so the figures can be compared across languages and projects. Results are cached by commit, tokei version, and analysis options, so counting the same revision again reproduces exactly these numbers.

## Repository size insights

This is a large codebase by counted code lines. Code represents 74.0% of all lines, comments represent 18.9%, and the repository averages 571 code lines per file. C accounts for 69.1% of counted code.

| Language | Files | Lines | Code | Comments | Blanks |
| --- | ---: | ---: | ---: | ---: | ---: |
| C | 272 | 487,106 | 354,599 | 105,970 | 26,537 |
| HTML | 68 | 57,544 | 51,650 | 407 | 5,487 |
| Autoconf | 49 | 44,756 | 33,650 | 6,764 | 4,342 |
| C Header | 364 | 44,208 | 29,328 | 8,453 | 6,427 |
| C++ | 42 | 17,286 | 13,780 | 1,016 | 2,490 |
| Shell | 11 | 13,766 | 10,025 | 2,401 | 1,340 |
| M4 | 30 | 13,513 | 9,033 | 3,461 | 1,019 |
| XML | 19 | 6,380 | 5,329 | 1,021 | 30 |
| Perl | 21 | 4,553 | 3,144 | 801 | 608 |
| Automake | 11 | 3,553 | 2,786 | 364 | 403 |
| SVG | 2 | 27 | 24 | 2 | 1 |
| BASH | 1 | 31 | 20 | 5 | 6 |

Top language (C 69.1%). Generated at 2026-09-17T04:44:39.514571330+00:00. Canonical report: https://octocounts.com/github/ImageMagick/ImageMagick

## Reproduce this report

[Reproduce this exact report and configuration](https://octocounts.com/github/ImageMagick/ImageMagick/commit/7d3a270ca2d9542920a1045900dcbb5195f87fe6?analysis=%7B%22ignoredDirs%22%3A%5B%5D%2C%22ignoredLanguages%22%3A%5B%5D%2C%22profile%22%3A%22default%22%2C%22includeDocs%22%3Afalse%2C%22includeTests%22%3Afalse%2C%22includeGenerated%22%3Afalse%7D).

## Report FAQ

### How many lines of code does ImageMagick/ImageMagick have?

ImageMagick/ImageMagick has 693,842 total lines, including 513,384 code lines, 131,463 comment lines, and 48,995 blank lines.

### How was the ImageMagick/ImageMagick line count measured?

OctoCounts resolved the public GitHub repository to commit 7d3a270ca2d9, downloaded the source archive, counted it with tokei, and cached the report by commit, tokei version, and analysis options.

### What commit was counted for ImageMagick/ImageMagick?

This OctoCounts report was generated from 7d3a270ca2d9542920a1045900dcbb5195f87fe6 at commit 7d3a270ca2d9 on 2026-09-17T04:44:39.514571330+00:00.

## Similar repository reports

- [suijingfeng/vkQuake3](https://octocounts.com/github/suijingfeng/vkQuake3) — C, 519,804 code lines
- [999sian/melee-pc](https://octocounts.com/github/999sian/melee-pc) — C, 557,579 code lines
- [dovecot/core](https://octocounts.com/github/dovecot/core) — C, 558,915 code lines
- [mbbill/Silverfir-nano](https://octocounts.com/github/mbbill/Silverfir-nano) — C, 407,820 code lines
- [rusqlite/rusqlite](https://octocounts.com/github/rusqlite/rusqlite) — C, 407,539 code lines
- [xiaojieonly/Ehviewer_CN_SXJ](https://octocounts.com/github/xiaojieonly/Ehviewer_CN_SXJ) — C, 375,254 code lines

## Related OctoCounts pages

- [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)
- [Neovim vs VS Code](https://octocounts.com/compare/neovim-vs-vscode)
- [MongoDB vs PostgreSQL](https://octocounts.com/compare/mongodb-vs-postgres)
- [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)
- [Original research: how filtering changes SLOC counts](https://octocounts.com/research)
- [OctoCounts API docs](https://octocounts.com/docs/api)
