Repository Analysis

sirupsen/logrus

Structured, pluggable logging for Go.

1.7 Likely human-written View on GitHub
1.7
Adjusted Score
1.7
Raw Score
100%
Time Factor
2026-05-08
Last Push
25,726
Stars
Go
Language
8,029
Lines of Code
55
Files
13
Pattern Hits
2026-05-31
Scan Date

Score History

Severity Breakdown

CRITICAL 0HIGH 0MEDIUM 0LOW 13

Pattern Findings

13 matches across 2 categories. Click a row to expand file-level details.

Over-Commented Block12 hits · 12 pts
SeverityFileLineSnippet
LOWtext_formatter.go21// written as-is (unquoted and unescaped) in the plain (non-colored) format;
LOWtext_formatter.go41
LOWtext_formatter.go81 // FieldMap allows users to customize the names of keys for default fields.
LOWformatter.go41}
LOWjson_formatter.go41 // FieldMap allows users to customize the names of keys for default fields.
LOWlogger.go21 Out io.Writer
LOWlogrus.go101 // PanicLevel level, highest level of severity. Logs and then calls panic with the
LOWentry.go41// Warn, Error, Fatal, Panic) is called.
LOWentry.go61 // Time is the timestamp for the log event. If zero when the entry is
LOWalt_exit.go1package logrus
LOWalt_exit.go61// closing.
LOWhooks/slog/slog.go21}
Example Usage Blocks1 hit · 2 pts
SeverityFileLineSnippet
LOWhooks/slog/slog.go32// Example usage: