Repository Analysis

restic/restic

Fast, secure, efficient backup program

0.3 Likely human-written View on GitHub
0.3
Adjusted Score
0.3
Raw Score
100%
Time Factor
2026-05-29
Last Push
33,752
Stars
Go
Language
99,659
Lines of Code
554
Files
31
Pattern Hits
2026-05-31
Scan Date

Score History

Severity Breakdown

CRITICAL 0HIGH 0MEDIUM 1LOW 30

Pattern Findings

31 matches across 3 categories. Click a row to expand file-level details.

Over-Commented Block29 hits · 29 pts
SeverityFileLineSnippet
LOWbuild.go1// Description
LOWbuild.go21// list of conditions and the following disclaimer.
LOWdoc.go1// Package restic gives a (very brief) introduction to the structure of source code.
LOWinternal/ui/progress/printer.go1package progress
LOWinternal/repository/doc.go1// Package repository implements a restic repository on top of a backend. In
LOWinternal/repository/doc.go21// # Pack
LOWinternal/repository/index/index.go21// In large repositories, millions of blobs are stored in the repository
LOWinternal/archiver/archiver.go101 mu sync.Mutex
LOWinternal/backend/backend.go41 // The function fn may be called multiple times during the same Load invocation
LOWinternal/backend/backend.go61 // in the backend.
LOWinternal/backend/doc.go1// Package backend provides local and remote storage for restic repositories.
LOWinternal/backend/s3/s3.go101// getCredentials -- runs through the various credential types and returns the first one that works.
LOWinternal/backend/gs/gs.go201// Path returns the path in the bucket that is used for this backend.
LOWinternal/backend/gs/gs.go221 // Unfortunately, this buffering doesn't play nicely with
LOWinternal/backend/cache/file_test.go201 if !bytes.Equal(buf, data[o:o+l]) {
LOWinternal/backend/test/doc.go1// Package test contains a test suite with benchmarks for restic backends.
LOWinternal/backend/test/doc.go21// [...]
LOWinternal/filter/filter.go61 parts := strings.Split(filepath.ToSlash(p), "/")
LOWinternal/filter/doc.go1// Package filter implements path filters similar to filepath.Match, but
LOWinternal/errors/errors.go41// an Unwrap method returning error. Otherwise, Unwrap returns nil.
LOWinternal/fs/fs_local.go21var _ FS = &Local{}
LOWinternal/fs/ea_windows.go21
LOWinternal/fs/ea_windows_test.go21// The MIT License (MIT)
LOWinternal/restic/doc.go1// Package restic is the top level package for the restic backup program,
LOWinternal/restic/repository.go41
LOWinternal/restorer/doc.go1// Package restorer contains code to restore data from a repository.
LOWinternal/restorer/doc.go21// file before any of the preceding file blobs. It is therefore possible to
LOWdoc/conf.py1#!/usr/bin/env python3
LOWdoc/conf.py41author = 'fd0'
Self-Referential Comments1 hit · 3 pts
SeverityFileLineSnippet
MEDIUMdoc/conf.py7# This file is execfile()d with the current directory set to its
Redundant / Tautological Comments1 hit · 2 pts
SeverityFileLineSnippet
LOWdoc/zsh-completion.zsh96 # Check if this is an activeHelp statement (i.e., prefixed with $activeHelpMarker)