# sirupsen/logrus SLOC report

> As of 2026-09-16 (commit 70b809335b84), sirupsen/logrus contains 6,416 total lines: 4,386 code, 954 comments, 1,076 blank, across 52 files in 3 languages (top: Go 99.8%). Custom configuration (tests excluded, docs excluded, generated excluded). Counted with tokei via OctoCounts.

sirupsen/logrus has 4,386 source lines of code out of 6,416 total lines across 52 files, counted from the 70b809335b84c8f42c95060a35f86e50db7bb156 ref at commit 70b809335b84 by the OctoCounts tokei engine on 2026-09-16. 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 sirupsen/logrus to commit 70b809335b84, 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 small codebase by counted code lines. Code represents 68.4% of all lines, comments represent 14.9%, and the repository averages 84 code lines per file. Go accounts for 99.8% of counted code.

| Language | Files | Lines | Code | Comments | Blanks |
| --- | ---: | ---: | ---: | ---: | ---: |
| Go | 46 | 5,786 | 4,379 | 516 | 891 |
| Shell | 2 | 13 | 7 | 3 | 3 |
| Markdown | 4 | 617 | 0 | 435 | 182 |

Top language (Go 99.8%). Generated at 2026-09-16T08:45:32.514195062+00:00. Canonical report: https://octocounts.com/github/sirupsen/logrus

## Reproduce this report

[Reproduce this exact report and configuration](https://octocounts.com/github/sirupsen/logrus/commit/70b809335b84c8f42c95060a35f86e50db7bb156?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 sirupsen/logrus have?

sirupsen/logrus has 6,416 total lines, including 4,386 code lines, 954 comment lines, and 1,076 blank lines.

### How was the sirupsen/logrus line count measured?

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

### What commit was counted for sirupsen/logrus?

This OctoCounts report was generated from 70b809335b84c8f42c95060a35f86e50db7bb156 at commit 70b809335b84 on 2026-09-16T08:45:32.514195062+00:00.

## Similar repository reports

- [pypi/camo](https://octocounts.com/github/pypi/camo) — Go, 4,440 code lines
- [areyoubugcoder/mp2rss-cli](https://octocounts.com/github/areyoubugcoder/mp2rss-cli) — Go, 4,242 code lines
- [eeee0717/llm-gateway](https://octocounts.com/github/eeee0717/llm-gateway) — Go, 4,747 code lines
- [ncw/gmp](https://octocounts.com/github/ncw/gmp) — Go, 3,803 code lines
- [enchant97/hasty-paste](https://octocounts.com/github/enchant97/hasty-paste) — Go, 3,759 code lines
- [BladeRunner322/orange-team-microservices](https://octocounts.com/github/BladeRunner322/orange-team-microservices) — Go, 3,642 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)
- [Rust vs Go](https://octocounts.com/compare/rust-vs-go)
- [Deno vs Node.js](https://octocounts.com/compare/deno-vs-node)
- [Kubernetes vs Terraform](https://octocounts.com/compare/kubernetes-vs-terraform)
- [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)
