Skip to content

xiongchiamiov/git-swear-stats

master
Switch branches/tags

Name already in use

A tag already exists with the provided branch name. Many Git commands accept both tag and branch names, so creating this branch may cause unexpected behavior. Are you sure you want to create this branch?
Code

Latest commit

 

Git stats

Files

Permalink
Failed to load latest commit information.
Type
Name
Latest commit message
Commit time
bin
 
 
 
 
 
 
 
 

Inspired by the Linux Kernel Fuck Count and its descendent, git-swear-stats will give you some interesting statistics on swearing in a git repository's commit messages.

Installation

[$]> gem install git-swear-stats

Usage

[$]> git-swear-stats --help
git-swear-stats

Usage:
   git-swear-stats [options] [messages|diffs]

Options:
   -h, --help        Show this screen.
   --debug           Print out debug messages.
   --include-merges  Look at merge commits.
   --no-progress     Don't print out progress information.

Example Output

[$]> git swear-stats 
Reading in git log... done!
Parsing git log.
Overall:
+-------------+------+------+-----+------+------+------+-----+------+-------+-----+-----+------+---------+------+
| clusterfuck | fuck | fsck | eff | shit | cunt | cock | ass | arse | bitch | wtf | fag | damn | bastard | hell |
+-------------+------+------+-----+------+------+------+-----+------+-------+-----+-----+------+---------+------+
| 1           | 3    | 2    | 2   | 2    | 1    | 1    | 1   | 1    | 1     | 3   | 1   | 1    | 1       | 1    |
+-------------+------+------+-----+------+------+------+-----+------+-------+-----+-----+------+---------+------+
Authors:
+---------------+-------------+------+------+-----+------+------+------+-----+------+-------+-----+-----+------+---------+------+
|               | clusterfuck | fuck | fsck | eff | shit | cunt | cock | ass | arse | bitch | wtf | fag | damn | bastard | hell |
+---------------+-------------+------+------+-----+------+------+------+-----+------+-------+-----+-----+------+---------+------+
| xiongchiamiov | 0           | 1    | 0    | 0   | 0    | 0    | 0    | 0   | 0    | 0     | 2   | 0   | 0    | 0       | 0    |
| James Pearson | 1           | 2    | 2    | 2   | 2    | 1    | 1    | 1   | 1    | 1     | 1   | 1   | 1    | 1       | 1    |
+---------------+-------------+------+------+-----+------+------+------+-----+------+-------+-----+-----+------+---------+------+

About

Gather statistics on swearing in a repo.

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages