0.02
No commit activity in last 3 years
No release in over 3 years
Gather statistics on swearing in a repo.
2005
2006
2007
2008
2009
2010
2011
2012
2013
2014
2015
2016
2017
2018
2019
2020
2021
2022
2023
2024
 Dependencies

Runtime

 Project Readme

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    |
+---------------+-------------+------+------+-----+------+------+------+-----+------+-------+-----+-----+------+---------+------+