Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with HTTPS or Subversion.

Download ZIP
Browse files

Add gitstats

  • Loading branch information...
commit 626ad8e66a7191c94f8b2f4faa89b1211759d85b 1 parent dbb8047
@dbb authored
Showing with 834 additions and 0 deletions.
  1. +48 −0 gitstats/activity.html
  2. BIN  gitstats/arrow-down.gif
  3. BIN  gitstats/arrow-none.gif
  4. BIN  gitstats/arrow-up.gif
  5. +34 −0 gitstats/authors.html
  6. +1 −0  gitstats/commits_by_year.dat
  7. +10 −0 gitstats/commits_by_year.plot
  8. BIN  gitstats/commits_by_year.png
  9. +1 −0  gitstats/commits_by_year_month.dat
  10. +13 −0 gitstats/commits_by_year_month.plot
  11. BIN  gitstats/commits_by_year_month.png
  12. +7 −0 gitstats/day_of_week.dat
  13. +10 −0 gitstats/day_of_week.plot
  14. BIN  gitstats/day_of_week.png
  15. +1 −0  gitstats/domains.dat
  16. +10 −0 gitstats/domains.plot
  17. BIN  gitstats/domains.png
  18. +30 −0 gitstats/files.html
  19. +12 −0 gitstats/files_by_date.dat
  20. +14 −0 gitstats/files_by_date.plot
  21. BIN  gitstats/files_by_date.png
  22. BIN  gitstats/gitstats.cache
  23. +145 −0 gitstats/gitstats.css
  24. +24 −0 gitstats/hour_of_day.dat
  25. +10 −0 gitstats/hour_of_day.plot
  26. BIN  gitstats/hour_of_day.png
  27. +23 −0 gitstats/index.html
  28. +27 −0 gitstats/lines.html
  29. +33 −0 gitstats/lines_of_code.dat
  30. +13 −0 gitstats/lines_of_code.plot
  31. BIN  gitstats/lines_of_code.png
  32. +12 −0 gitstats/month_of_year.dat
  33. +10 −0 gitstats/month_of_year.plot
  34. BIN  gitstats/month_of_year.png
  35. +324 −0 gitstats/sortable.js
  36. +22 −0 gitstats/tags.html
View
48 gitstats/activity.html
@@ -0,0 +1,48 @@
+<?xml version="1.0" encoding="UTF-8"?>
+<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
+<html xmlns="http://www.w3.org/1999/xhtml">
+<head>
+ <title>GitStats - .git</title>
+ <link rel="stylesheet" href="gitstats.css" type="text/css" />
+ <meta name="generator" content="GitStats dbb8047" />
+ <script type="text/javascript" src="sortable.js"></script>
+</head>
+<body>
+<h1>Activity</h1>
+<div class="nav">
+<ul>
+<li><a href="index.html">General</a></li>
+<li><a href="activity.html">Activity</a></li>
+<li><a href="authors.html">Authors</a></li>
+<li><a href="files.html">Files</a></li>
+<li><a href="lines.html">Lines</a></li>
+<li><a href="tags.html">Tags</a></li>
+</ul>
+</div>
+
+<h2><a href="#weekly_activity" name="weekly_activity">Weekly activity</a></h2>
+
+<p>Last 32 weeks</p><table class="noborders"><tr><td style="text-align: center; vertical-align: bottom">0<div style="display: block; background-color: red; width: 20px; height: 1px"></div></td><td style="text-align: center; vertical-align: bottom">0<div style="display: block; background-color: red; width: 20px; height: 1px"></div></td><td style="text-align: center; vertical-align: bottom">0<div style="display: block; background-color: red; width: 20px; height: 1px"></div></td><td style="text-align: center; vertical-align: bottom">0<div style="display: block; background-color: red; width: 20px; height: 1px"></div></td><td style="text-align: center; vertical-align: bottom">0<div style="display: block; background-color: red; width: 20px; height: 1px"></div></td><td style="text-align: center; vertical-align: bottom">0<div style="display: block; background-color: red; width: 20px; height: 1px"></div></td><td style="text-align: center; vertical-align: bottom">0<div style="display: block; background-color: red; width: 20px; height: 1px"></div></td><td style="text-align: center; vertical-align: bottom">0<div style="display: block; background-color: red; width: 20px; height: 1px"></div></td><td style="text-align: center; vertical-align: bottom">0<div style="display: block; background-color: red; width: 20px; height: 1px"></div></td><td style="text-align: center; vertical-align: bottom">0<div style="display: block; background-color: red; width: 20px; height: 1px"></div></td><td style="text-align: center; vertical-align: bottom">0<div style="display: block; background-color: red; width: 20px; height: 1px"></div></td><td style="text-align: center; vertical-align: bottom">0<div style="display: block; background-color: red; width: 20px; height: 1px"></div></td><td style="text-align: center; vertical-align: bottom">0<div style="display: block; background-color: red; width: 20px; height: 1px"></div></td><td style="text-align: center; vertical-align: bottom">0<div style="display: block; background-color: red; width: 20px; height: 1px"></div></td><td style="text-align: center; vertical-align: bottom">0<div style="display: block; background-color: red; width: 20px; height: 1px"></div></td><td style="text-align: center; vertical-align: bottom">0<div style="display: block; background-color: red; width: 20px; height: 1px"></div></td><td style="text-align: center; vertical-align: bottom">0<div style="display: block; background-color: red; width: 20px; height: 1px"></div></td><td style="text-align: center; vertical-align: bottom">0<div style="display: block; background-color: red; width: 20px; height: 1px"></div></td><td style="text-align: center; vertical-align: bottom">0<div style="display: block; background-color: red; width: 20px; height: 1px"></div></td><td style="text-align: center; vertical-align: bottom">0<div style="display: block; background-color: red; width: 20px; height: 1px"></div></td><td style="text-align: center; vertical-align: bottom">0<div style="display: block; background-color: red; width: 20px; height: 1px"></div></td><td style="text-align: center; vertical-align: bottom">0<div style="display: block; background-color: red; width: 20px; height: 1px"></div></td><td style="text-align: center; vertical-align: bottom">0<div style="display: block; background-color: red; width: 20px; height: 1px"></div></td><td style="text-align: center; vertical-align: bottom">0<div style="display: block; background-color: red; width: 20px; height: 1px"></div></td><td style="text-align: center; vertical-align: bottom">0<div style="display: block; background-color: red; width: 20px; height: 1px"></div></td><td style="text-align: center; vertical-align: bottom">0<div style="display: block; background-color: red; width: 20px; height: 1px"></div></td><td style="text-align: center; vertical-align: bottom">0<div style="display: block; background-color: red; width: 20px; height: 1px"></div></td><td style="text-align: center; vertical-align: bottom">0<div style="display: block; background-color: red; width: 20px; height: 1px"></div></td><td style="text-align: center; vertical-align: bottom">7<div style="display: block; background-color: red; width: 20px; height: 73px"></div></td><td style="text-align: center; vertical-align: bottom">19<div style="display: block; background-color: red; width: 20px; height: 200px"></div></td><td style="text-align: center; vertical-align: bottom">7<div style="display: block; background-color: red; width: 20px; height: 73px"></div></td><td style="text-align: center; vertical-align: bottom">0<div style="display: block; background-color: red; width: 20px; height: 1px"></div></td></tr><tr><td>32</td><td>31</td><td>30</td><td>29</td><td>28</td><td>27</td><td>26</td><td>25</td><td>24</td><td>23</td><td>22</td><td>21</td><td>20</td><td>19</td><td>18</td><td>17</td><td>16</td><td>15</td><td>14</td><td>13</td><td>12</td><td>11</td><td>10</td><td>9</td><td>8</td><td>7</td><td>6</td><td>5</td><td>4</td><td>3</td><td>2</td><td>1</td></tr></table>
+<h2><a href="#hour_of_day" name="hour_of_day">Hour of Day</a></h2>
+
+<table><tr><th>Hour</th><th>0</th><th>1</th><th>2</th><th>3</th><th>4</th><th>5</th><th>6</th><th>7</th><th>8</th><th>9</th><th>10</th><th>11</th><th>12</th><th>13</th><th>14</th><th>15</th><th>16</th><th>17</th><th>18</th><th>19</th><th>20</th><th>21</th><th>22</th><th>23</th></tr>
+<tr><th>Commits</th><td>0</td><td>0</td><td>0</td><td>0</td><td>0</td><td>0</td><td>0</td><td>0</td><td>0</td><td>0</td><td>0</td><td>0</td><td>0</td><td>0</td><td>0</td><td>0</td><td style="background-color: rgb(191, 0, 0)">5</td><td style="background-color: rgb(178, 0, 0)">4</td><td style="background-color: rgb(216, 0, 0)">7</td><td style="background-color: rgb(139, 0, 0)">1</td><td style="background-color: rgb(191, 0, 0)">5</td><td>0</td><td style="background-color: rgb(139, 0, 0)">1</td><td style="background-color: rgb(255, 0, 0)">10</td></tr>
+<tr><th>%</th><td>0.00</td><td>0.00</td><td>0.00</td><td>0.00</td><td>0.00</td><td>0.00</td><td>0.00</td><td>0.00</td><td>0.00</td><td>0.00</td><td>0.00</td><td>0.00</td><td>0.00</td><td>0.00</td><td>0.00</td><td>0.00</td><td style="background-color: rgb(191, 0, 0)">15.15</td><td style="background-color: rgb(178, 0, 0)">12.12</td><td style="background-color: rgb(216, 0, 0)">21.21</td><td style="background-color: rgb(139, 0, 0)">3.03</td><td style="background-color: rgb(191, 0, 0)">15.15</td><td>0.00</td><td style="background-color: rgb(139, 0, 0)">3.03</td><td style="background-color: rgb(255, 0, 0)">30.30</td></tr></table><img src="hour_of_day.png" alt="Hour of Day" />
+<h2><a href="#day_of_week" name="day_of_week">Day of Week</a></h2>
+
+<div class="vtable"><table><tr><th>Day</th><th>Total (%)</th></tr><tr><th>Mon</th><td>23 (69.70%)</td></tr><tr><th>Tue</th><td>2 (6.06%)</td></tr><tr><th>Wed</th><td>1 (3.03%)</td></tr><tr><th>Thu</th><td>0</td></tr><tr><th>Fri</th><td>0</td></tr><tr><th>Sat</th><td>0</td></tr><tr><th>Sun</th><td>7 (21.21%)</td></tr></table></div><img src="day_of_week.png" alt="Day of Week" />
+<h2><a href="#hour_of_week" name="hour_of_week">Hour of Week</a></h2>
+
+<table><tr><th>Weekday</th><th>0</th><th>1</th><th>2</th><th>3</th><th>4</th><th>5</th><th>6</th><th>7</th><th>8</th><th>9</th><th>10</th><th>11</th><th>12</th><th>13</th><th>14</th><th>15</th><th>16</th><th>17</th><th>18</th><th>19</th><th>20</th><th>21</th><th>22</th><th>23</th></tr><tr><th>Mon</th><td></td><td></td><td></td><td></td><td></td><td></td><td></td><td></td><td></td><td></td><td></td><td></td><td></td><td></td><td></td><td></td><td style="background-color: rgb(218, 0, 0)">5</td><td style="background-color: rgb(163, 0, 0)">2</td><td style="background-color: rgb(255, 0, 0)">7</td><td></td><td style="background-color: rgb(218, 0, 0)">5</td><td></td><td></td><td style="background-color: rgb(200, 0, 0)">4</td></tr><tr><th>Tue</th><td></td><td></td><td></td><td></td><td></td><td></td><td></td><td></td><td></td><td></td><td></td><td></td><td></td><td></td><td></td><td></td><td></td><td style="background-color: rgb(163, 0, 0)">2</td><td></td><td></td><td></td><td></td><td></td><td></td></tr><tr><th>Wed</th><td></td><td></td><td></td><td></td><td></td><td></td><td></td><td></td><td></td><td></td><td></td><td></td><td></td><td></td><td></td><td></td><td></td><td></td><td></td><td style="background-color: rgb(145, 0, 0)">1</td><td></td><td></td><td></td><td></td></tr><tr><th>Thu</th><td></td><td></td><td></td><td></td><td></td><td></td><td></td><td></td><td></td><td></td><td></td><td></td><td></td><td></td><td></td><td></td><td></td><td></td><td></td><td></td><td></td><td></td><td></td><td></td></tr><tr><th>Fri</th><td></td><td></td><td></td><td></td><td></td><td></td><td></td><td></td><td></td><td></td><td></td><td></td><td></td><td></td><td></td><td></td><td></td><td></td><td></td><td></td><td></td><td></td><td></td><td></td></tr><tr><th>Sat</th><td></td><td></td><td></td><td></td><td></td><td></td><td></td><td></td><td></td><td></td><td></td><td></td><td></td><td></td><td></td><td></td><td></td><td></td><td></td><td></td><td></td><td></td><td></td><td></td></tr><tr><th>Sun</th><td></td><td></td><td></td><td></td><td></td><td></td><td></td><td></td><td></td><td></td><td></td><td></td><td></td><td></td><td></td><td></td><td></td><td></td><td></td><td></td><td></td><td></td><td style="background-color: rgb(145, 0, 0)">1</td><td style="background-color: rgb(236, 0, 0)">6</td></tr></table>
+<h2><a href="#month_of_year" name="month_of_year">Month of Year</a></h2>
+
+<div class="vtable"><table><tr><th>Month</th><th>Commits (%)</th></tr><tr><td>1</td><td>0 (0.00 %)</td></tr><tr><td>2</td><td>0 (0.00 %)</td></tr><tr><td>3</td><td>0 (0.00 %)</td></tr><tr><td>4</td><td>0 (0.00 %)</td></tr><tr><td>5</td><td>0 (0.00 %)</td></tr><tr><td>6</td><td>33 (100.00 %)</td></tr><tr><td>7</td><td>0 (0.00 %)</td></tr><tr><td>8</td><td>0 (0.00 %)</td></tr><tr><td>9</td><td>0 (0.00 %)</td></tr><tr><td>10</td><td>0 (0.00 %)</td></tr><tr><td>11</td><td>0 (0.00 %)</td></tr><tr><td>12</td><td>0 (0.00 %)</td></tr></table></div><img src="month_of_year.png" alt="Month of Year" />
+<h2><a href="#commits_by_year/month" name="commits_by_year/month">Commits by year/month</a></h2>
+
+<div class="vtable"><table><tr><th>Month</th><th>Commits</th></tr><tr><td>2012-06</td><td>33</td></tr></table></div><img src="commits_by_year_month.png" alt="Commits by year/month" />
+<h2><a href="#commits_by_year" name="commits_by_year">Commits by Year</a></h2>
+
+<div class="vtable"><table><tr><th>Year</th><th>Commits (% of all)</th></tr><tr><td>2012</td><td>33 (100.00%)</td></tr></table></div><img src="commits_by_year.png" alt="Commits by Year" />
+<h2><a href="#commits_by_timezone" name="commits_by_timezone">Commits by Timezone</a></h2>
+
+<table><tr><th>Timezone</th><th>Commits</th><tr><th>-0400</th><td style="background-color: rgb(255, 0, 0)">33</td></tr></tr></table></body></html>
View
BIN  gitstats/arrow-down.gif
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
View
BIN  gitstats/arrow-none.gif
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
View
BIN  gitstats/arrow-up.gif
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
View
34 gitstats/authors.html
@@ -0,0 +1,34 @@
+<?xml version="1.0" encoding="UTF-8"?>
+<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
+<html xmlns="http://www.w3.org/1999/xhtml">
+<head>
+ <title>GitStats - .git</title>
+ <link rel="stylesheet" href="gitstats.css" type="text/css" />
+ <meta name="generator" content="GitStats dbb8047" />
+ <script type="text/javascript" src="sortable.js"></script>
+</head>
+<body>
+<h1>Authors</h1>
+<div class="nav">
+<ul>
+<li><a href="index.html">General</a></li>
+<li><a href="activity.html">Activity</a></li>
+<li><a href="authors.html">Authors</a></li>
+<li><a href="files.html">Files</a></li>
+<li><a href="lines.html">Lines</a></li>
+<li><a href="tags.html">Tags</a></li>
+</ul>
+</div>
+
+<h2><a href="#list_of_authors" name="list_of_authors">List of Authors</a></h2>
+
+<table class="authors sortable" id="authors"><tr><th>Author</th><th>Commits (%)</th><th>+ lines</th><th>- lines</th><th>First commit</th><th>Last commit</th><th class="unsortable">Age</th><th>Active days</th><th># by commits</th></tr><tr><td>Daniel Bolton</td><td>33 (100.00%)</td><td>1414</td><td>127</td><td>2012-06-03</td><td>2012-06-11</td><td>7 days, 20:08:21</td><td>5</td><td>1</td></tr></table>
+<h2><a href="#author_of_month" name="author_of_month">Author of Month</a></h2>
+
+<table class="sortable" id="aom"><tr><th>Month</th><th>Author</th><th>Commits (%)</th><th class="unsortable">Next top 5</th><th>Number of authors</th></tr><tr><td>2012-06</td><td>Daniel Bolton</td><td>33 (100.00% of 33)</td><td></td><td>1</td></tr></table>
+<h2><a href="#author_of_year" name="author_of_year">Author of Year</a></h2>
+
+<table class="sortable" id="aoy"><tr><th>Year</th><th>Author</th><th>Commits (%)</th><th class="unsortable">Next top 5</th><th>Number of authors</th></tr><tr><td>2012</td><td>Daniel Bolton</td><td>33 (100.00% of 33)</td><td></td><td>1</td></tr></table>
+<h2><a href="#commits_by_domains" name="commits_by_domains">Commits by Domains</a></h2>
+
+<div class="vtable"><table><tr><th>Domains</th><th>Total (%)</th></tr><tr><th>gmail.com</th><td>33 (100.00%)</td></tr></table></div><img src="domains.png" alt="Commits by Domains" /></body></html>
View
1  gitstats/commits_by_year.dat
@@ -0,0 +1 @@
+2012 33
View
10 gitstats/commits_by_year.plot
@@ -0,0 +1,10 @@
+set terminal png transparent
+set size 1.0,0.5
+
+set output 'commits_by_year.png'
+unset key
+set xtics 1 rotate by 90
+set grid y
+set ylabel "Commits"
+set yrange [0:]
+plot 'commits_by_year.dat' using 1:2:(0.5) w boxes fs solid
View
BIN  gitstats/commits_by_year.png
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
View
1  gitstats/commits_by_year_month.dat
@@ -0,0 +1 @@
+2012-06 33
View
13 gitstats/commits_by_year_month.plot
@@ -0,0 +1,13 @@
+set terminal png transparent
+set size 1.0,0.5
+
+set output 'commits_by_year_month.png'
+unset key
+set xdata time
+set timefmt "%Y-%m"
+set format x "%Y-%m"
+set xtics rotate by 90 15768000
+set bmargin 5
+set grid y
+set ylabel "Commits"
+plot 'commits_by_year_month.dat' using 1:2:(0.5) w boxes fs solid
View
BIN  gitstats/commits_by_year_month.png
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
View
7 gitstats/day_of_week.dat
@@ -0,0 +1,7 @@
+1 Mon 23
+2 Tue 2
+3 Wed 1
+4 Thu 0
+5 Fri 0
+6 Sat 0
+7 Sun 7
View
10 gitstats/day_of_week.plot
@@ -0,0 +1,10 @@
+set terminal png transparent
+set size 1.0,0.5
+
+set output 'day_of_week.png'
+unset key
+set xrange [0.5:7.5]
+set xtics 1
+set grid y
+set ylabel "Commits"
+plot 'day_of_week.dat' using 1:3:(0.5):xtic(2) w boxes fs solid
View
BIN  gitstats/day_of_week.png
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
View
1  gitstats/domains.dat
@@ -0,0 +1 @@
+gmail.com 1 33
View
10 gitstats/domains.plot
@@ -0,0 +1,10 @@
+set terminal png transparent
+set size 1.0,0.5
+
+set output 'domains.png'
+unset key
+unset xtics
+set yrange [0:]
+set grid y
+set ylabel "Commits"
+plot 'domains.dat' using 2:3:(0.5) with boxes fs solid, '' using 2:3:1 with labels rotate by 45 offset 0,1
View
BIN  gitstats/domains.png
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
View
30 gitstats/files.html
@@ -0,0 +1,30 @@
+<?xml version="1.0" encoding="UTF-8"?>
+<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
+<html xmlns="http://www.w3.org/1999/xhtml">
+<head>
+ <title>GitStats - .git</title>
+ <link rel="stylesheet" href="gitstats.css" type="text/css" />
+ <meta name="generator" content="GitStats dbb8047" />
+ <script type="text/javascript" src="sortable.js"></script>
+</head>
+<body>
+<h1>Files</h1>
+<div class="nav">
+<ul>
+<li><a href="index.html">General</a></li>
+<li><a href="activity.html">Activity</a></li>
+<li><a href="authors.html">Authors</a></li>
+<li><a href="files.html">Files</a></li>
+<li><a href="lines.html">Lines</a></li>
+<li><a href="tags.html">Tags</a></li>
+</ul>
+</div>
+<dl>
+<dt>Total files</dt><dd>17</dd><dt>Total lines</dt><dd>1287</dd><dt>Average file size</dt><dd>7570.59 bytes</dd></dl>
+
+<h2><a href="#file_count_by_date" name="file_count_by_date">File count by date</a></h2>
+
+<img src="files_by_date.png" alt="Files by Date" />
+<h2><a href="#extensions" name="extensions">Extensions</a></h2>
+
+<table class="sortable" id="ext"><tr><th>Extension</th><th>Files (%)</th><th>Lines (%)</th><th>Lines/file</th></tr><tr><td></td><td>1 (5.88%)</td><td>2 (0.16%)</td><td>2</td></tr><tr><td>css</td><td>3 (17.65%)</td><td>1112 (86.40%)</td><td>370</td></tr><tr><td>gif</td><td>1 (5.88%)</td><td>0 (0.00%)</td><td>0</td></tr><tr><td>html</td><td>3 (17.65%)</td><td>110 (8.55%)</td><td>36</td></tr><tr><td>js</td><td>2 (11.76%)</td><td>55 (4.27%)</td><td>27</td></tr><tr><td>md</td><td>1 (5.88%)</td><td>8 (0.62%)</td><td>8</td></tr><tr><td>png</td><td>5 (29.41%)</td><td>89 (6.92%)</td><td>17</td></tr></table></body></html>
View
12 gitstats/files_by_date.dat
@@ -0,0 +1,12 @@
+2012-06-03 1
+2012-06-03 10
+2012-06-03 11
+2012-06-03 12
+2012-06-04 12
+2012-06-04 13
+2012-06-04 15
+2012-06-04 16
+2012-06-05 16
+2012-06-05 17
+2012-06-06 15
+2012-06-11 16
View
14 gitstats/files_by_date.plot
@@ -0,0 +1,14 @@
+set terminal png transparent
+set size 1.0,0.5
+
+set output 'files_by_date.png'
+unset key
+set xdata time
+set timefmt "%Y-%m-%d"
+set format x "%Y-%m-%d"
+set grid y
+set ylabel "Files"
+set xtics rotate by 90
+set ytics autofreq
+set bmargin 6
+plot 'files_by_date.dat' using 1:2 w steps
View
BIN  gitstats/files_by_date.png
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
View
BIN  gitstats/gitstats.cache
Binary file not shown
View
145 gitstats/gitstats.css
@@ -0,0 +1,145 @@
+/**
+ * GitStats - default style
+ */
+body {
+ color: black;
+ background-color: #dfd;
+}
+
+dt {
+ font-weight: bold;
+ float: left;
+ margin-right: 1em;
+}
+
+dt:after {
+ content: ': ';
+}
+
+dd {
+ display: block;
+ clear: left;
+}
+
+table {
+ border: 1px solid black;
+ border-collapse: collapse;
+ font-size: 80%;
+ margin-bottom: 1em;
+}
+
+table.noborders {
+ border: none;
+}
+
+table.noborders td {
+ border: none;
+}
+
+.vtable {
+ float: right;
+ clear: both;
+}
+
+table.tags td {
+ vertical-align: top;
+}
+
+td {
+ background-color: white;
+}
+
+th {
+ background-color: #ddf;
+}
+
+th a {
+ text-decoration: none;
+}
+
+tr:hover {
+ background-color: #ddf;
+}
+
+td {
+ border: 1px solid black;
+ padding: 0.2em;
+ padding-left: 0.3em;
+ padding-right: 0.2em;
+}
+
+/* Navigation bar; tabbed style */
+.nav {
+ border-bottom: 1px solid black;
+ padding: 0.3em;
+}
+
+.nav ul {
+ list-style-type: none;
+ display: inline;
+ margin: 0;
+ padding: 0;
+}
+
+.nav li {
+ display: inline;
+}
+
+.nav li a {
+ padding: 0.3em;
+ text-decoration: none;
+ color: black;
+ border: 1px solid black;
+ margin: 0.5em;
+ background-color: #ddf;
+}
+
+.nav li a:hover {
+ background-color: #ddd;
+ border-bottom: 1px solid #ddf;
+}
+
+img {
+ border: 1px solid black;
+ padding: 0.5em;
+ background-color: white;
+}
+
+th img {
+ border: 0px;
+ padding: 0px;
+ background-color: #ddf;
+}
+
+h1 a, h2 a {
+ color: black;
+ text-decoration: none;
+}
+
+h1:hover a:after,
+h2:hover a:after {
+ content: '';
+ color: #555;
+}
+
+h1 {
+ font-size: x-large;
+}
+
+h2 {
+ background-color: #564;
+ border: 1px solid black;
+ padding-left: 0.5em;
+ padding-right: 0.5em;
+ color: white;
+ font-size: large;
+ clear: both;
+}
+
+h2 a {
+ color: white;
+}
+
+.moreauthors {
+ font-size: 80%;
+}
View
24 gitstats/hour_of_day.dat
@@ -0,0 +1,24 @@
+1 0
+2 0
+3 0
+4 0
+5 0
+6 0
+7 0
+8 0
+9 0
+10 0
+11 0
+12 0
+13 0
+14 0
+15 0
+16 0
+17 5
+18 4
+19 7
+20 1
+21 5
+22 0
+23 1
+24 10
View
10 gitstats/hour_of_day.plot
@@ -0,0 +1,10 @@
+set terminal png transparent
+set size 1.0,0.5
+
+set output 'hour_of_day.png'
+unset key
+set xrange [0.5:24.5]
+set xtics 4
+set grid y
+set ylabel "Commits"
+plot 'hour_of_day.dat' using 1:2:(0.5) w boxes fs solid
View
BIN  gitstats/hour_of_day.png
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
View
23 gitstats/index.html
@@ -0,0 +1,23 @@
+<?xml version="1.0" encoding="UTF-8"?>
+<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
+<html xmlns="http://www.w3.org/1999/xhtml">
+<head>
+ <title>GitStats - .git</title>
+ <link rel="stylesheet" href="gitstats.css" type="text/css" />
+ <meta name="generator" content="GitStats dbb8047" />
+ <script type="text/javascript" src="sortable.js"></script>
+</head>
+<body>
+<h1>GitStats - .git</h1>
+<div class="nav">
+<ul>
+<li><a href="index.html">General</a></li>
+<li><a href="activity.html">Activity</a></li>
+<li><a href="authors.html">Authors</a></li>
+<li><a href="files.html">Files</a></li>
+<li><a href="lines.html">Lines</a></li>
+<li><a href="tags.html">Tags</a></li>
+</ul>
+</div>
+<dl><dt>Project name</dt><dd>.git</dd><dt>Generated</dt><dd>2012-06-19 17:59:14 (in 0 seconds)</dd><dt>Generator</dt><dd><a href="http://gitstats.sourceforge.net/">GitStats</a> (version dbb8047)</dd><dt>Report Period</dt><dd>2012-06-03 22:20:57 to 2012-06-11 18:29:18</dd><dt>Age</dt><dd>8 days, 5 active days (62.50%)</dd><dt>Total Files</dt><dd>17</dd><dt>Total Lines of Code</dt><dd>1287 (1414 added, 127 removed)</dd><dt>Total Commits</dt><dd>33 (average 6.6 commits per active day, 4.1 per all days)</dd><dt>Authors</dt><dd>1 (average 33.0 commits per author)</dd></dl></body>
+</html>
View
27 gitstats/lines.html
@@ -0,0 +1,27 @@
+<?xml version="1.0" encoding="UTF-8"?>
+<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
+<html xmlns="http://www.w3.org/1999/xhtml">
+<head>
+ <title>GitStats - .git</title>
+ <link rel="stylesheet" href="gitstats.css" type="text/css" />
+ <meta name="generator" content="GitStats dbb8047" />
+ <script type="text/javascript" src="sortable.js"></script>
+</head>
+<body>
+<h1>Lines</h1>
+<div class="nav">
+<ul>
+<li><a href="index.html">General</a></li>
+<li><a href="activity.html">Activity</a></li>
+<li><a href="authors.html">Authors</a></li>
+<li><a href="files.html">Files</a></li>
+<li><a href="lines.html">Lines</a></li>
+<li><a href="tags.html">Tags</a></li>
+</ul>
+</div>
+<dl>
+<dt>Total lines</dt><dd>1287</dd></dl>
+
+<h2><a href="#lines_of_code" name="lines_of_code">Lines of Code</a></h2>
+
+<img src="lines_of_code.png" /></body></html>
View
33 gitstats/lines_of_code.dat
@@ -0,0 +1,33 @@
+1338776457 8
+1338779593 1268
+1338780683 1268
+1338780810 1268
+1338781628 1268
+1338782058 1267
+1338782254 1267
+1338842140 1270
+1338842258 1274
+1338842564 1270
+1338842739 1194
+1338842831 1194
+1338843730 1233
+1338843776 1233
+1338854446 1249
+1338854535 1249
+1338854874 1239
+1338855215 1238
+1338855313 1239
+1338867857 1241
+1338867922 1241
+1338868066 1241
+1338868116 1241
+1338933017 1241
+1338933484 1241
+1339025314 1241
+1339453271 1285
+1339453364 1285
+1339453467 1286
+1339453523 1286
+1339453561 1287
+1339453681 1287
+1339453758 1287
View
13 gitstats/lines_of_code.plot
@@ -0,0 +1,13 @@
+set terminal png transparent
+set size 1.0,0.5
+
+set output 'lines_of_code.png'
+unset key
+set xdata time
+set timefmt "%s"
+set format x "%Y-%m-%d"
+set grid y
+set ylabel "Lines"
+set xtics rotate by 90
+set bmargin 6
+plot 'lines_of_code.dat' using 1:2 w lines
View
BIN  gitstats/lines_of_code.png
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
View
12 gitstats/month_of_year.dat
@@ -0,0 +1,12 @@
+1 0
+2 0
+3 0
+4 0
+5 0
+6 33
+7 0
+8 0
+9 0
+10 0
+11 0
+12 0
View
10 gitstats/month_of_year.plot
@@ -0,0 +1,10 @@
+set terminal png transparent
+set size 1.0,0.5
+
+set output 'month_of_year.png'
+unset key
+set xrange [0.5:12.5]
+set xtics 1
+set grid y
+set ylabel "Commits"
+plot 'month_of_year.dat' using 1:2:(0.5) w boxes fs solid
View
BIN  gitstats/month_of_year.png
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
View
324 gitstats/sortable.js
@@ -0,0 +1,324 @@
+/*
+Table sorting script by Joost de Valk, check it out at http://www.joostdevalk.nl/code/sortable-table/.
+Based on a script from http://www.kryogenix.org/code/browser/sorttable/.
+Distributed under the MIT license: http://www.kryogenix.org/code/browser/licence.html .
+
+Copyright (c) 1997-2007 Stuart Langridge, Joost de Valk.
+
+Version 1.5.7
+*/
+
+/* You can change these values */
+var image_path = "";
+var image_up = "arrow-up.gif";
+var image_down = "arrow-down.gif";
+var image_none = "arrow-none.gif";
+var europeandate = true;
+var alternate_row_colors = true;
+
+/* Don't change anything below this unless you know what you're doing */
+addEvent(window, "load", sortables_init);
+
+var SORT_COLUMN_INDEX;
+var thead = false;
+
+function sortables_init() {
+ // Find all tables with class sortable and make them sortable
+ if (!document.getElementsByTagName) return;
+ tbls = document.getElementsByTagName("table");
+ for (ti=0;ti<tbls.length;ti++) {
+ thisTbl = tbls[ti];
+ if (((' '+thisTbl.className+' ').indexOf("sortable") != -1) && (thisTbl.id)) {
+ ts_makeSortable(thisTbl);
+ }
+ }
+}
+
+function ts_makeSortable(t) {
+ if (t.rows && t.rows.length > 0) {
+ if (t.tHead && t.tHead.rows.length > 0) {
+ var firstRow = t.tHead.rows[t.tHead.rows.length-1];
+ thead = true;
+ } else {
+ var firstRow = t.rows[0];
+ }
+ }
+ if (!firstRow) return;
+
+ // We have a first row: assume it's the header, and make its contents clickable links
+ for (var i=0;i<firstRow.cells.length;i++) {
+ var cell = firstRow.cells[i];
+ var txt = ts_getInnerText(cell);
+ if (cell.className != "unsortable" && cell.className.indexOf("unsortable") == -1) {
+ cell.innerHTML = '<a href="#" class="sortheader" onclick="ts_resortTable(this, '+i+');return false;">'+txt+'<span class="sortarrow">&nbsp;&nbsp;<img src="'+ image_path + image_none + '" alt="&darr;"/></span></a>';
+ }
+ }
+ if (alternate_row_colors) {
+ alternate(t);
+ }
+}
+
+function ts_getInnerText(el) {
+ if (typeof el == "string") return el;
+ if (typeof el == "undefined") { return el };
+ if (el.innerText) return el.innerText; //Not needed but it is faster
+ var str = "";
+
+ var cs = el.childNodes;
+ var l = cs.length;
+ for (var i = 0; i < l; i++) {
+ switch (cs[i].nodeType) {
+ case 1: //ELEMENT_NODE
+ str += ts_getInnerText(cs[i]);
+ break;
+ case 3: //TEXT_NODE
+ str += cs[i].nodeValue;
+ break;
+ }
+ }
+ return str;
+}
+
+function ts_resortTable(lnk, clid) {
+ var span;
+ for (var ci=0;ci<lnk.childNodes.length;ci++) {
+ if (lnk.childNodes[ci].tagName && lnk.childNodes[ci].tagName.toLowerCase() == 'span') span = lnk.childNodes[ci];
+ }
+ var spantext = ts_getInnerText(span);
+ var td = lnk.parentNode;
+ var column = clid || td.cellIndex;
+ var t = getParent(td,'TABLE');
+ // Work out a type for the column
+ if (t.rows.length <= 1) return;
+ var itm = "";
+ var i = 1;
+ while (itm == "" && i < t.tBodies[0].rows.length) {
+ var itm = ts_getInnerText(t.tBodies[0].rows[i].cells[column]);
+ itm = trim(itm);
+ if (itm.substr(0,4) == "<!--" || itm.length == 0) {
+ itm = "";
+ }
+ i++;
+ }
+ if (itm == "") return;
+ sortfn = ts_sort_caseinsensitive;
+ if (itm.match(/^\d\d[\/\.-][a-zA-z][a-zA-Z][a-zA-Z][\/\.-]\d\d\d\d$/)) sortfn = ts_sort_date;
+ if (itm.match(/^\d\d[\/\.-]\d\d[\/\.-]\d\d\d{2}?$/)) sortfn = ts_sort_date;
+ if (itm.match(/^-?[£$€Û¢´]\d/)) sortfn = ts_sort_numeric;
+ // ignore stuff in () after the numbers.
+ if (itm.match(/^-?(\d+[,\.]?)+(E[-+][\d]+)?%?( \(.*\))?$/)) sortfn = ts_sort_numeric;
+ SORT_COLUMN_INDEX = column;
+ var firstRow = new Array();
+ var newRows = new Array();
+ for (k=0;k<t.tBodies.length;k++) {
+ for (i=0;i<t.tBodies[k].rows[0].length;i++) {
+ firstRow[i] = t.tBodies[k].rows[0][i];
+ }
+ }
+ for (k=0;k<t.tBodies.length;k++) {
+ if (!thead) {
+ // Skip the first row
+ for (j=1;j<t.tBodies[k].rows.length;j++) {
+ newRows[j-1] = t.tBodies[k].rows[j];
+ }
+ } else {
+ // Do NOT skip the first row
+ for (j=0;j<t.tBodies[k].rows.length;j++) {
+ newRows[j] = t.tBodies[k].rows[j];
+ }
+ }
+ }
+ newRows.sort(sortfn);
+ if (span.getAttribute("sortdir") == 'down') {
+ ARROW = '&nbsp;&nbsp;<img src="'+ image_path + image_down + '" alt="&darr;"/>';
+ newRows.reverse();
+ span.setAttribute('sortdir','up');
+ } else {
+ ARROW = '&nbsp;&nbsp;<img src="'+ image_path + image_up + '" alt="&uarr;"/>';
+ span.setAttribute('sortdir','down');
+ }
+ // We appendChild rows that already exist to the tbody, so it moves them rather than creating new ones
+ // don't do sortbottom rows
+ for (i=0; i<newRows.length; i++) {
+ if (!newRows[i].className || (newRows[i].className && (newRows[i].className.indexOf('sortbottom') == -1))) {
+ t.tBodies[0].appendChild(newRows[i]);
+ }
+ }
+ // do sortbottom rows only
+ for (i=0; i<newRows.length; i++) {
+ if (newRows[i].className && (newRows[i].className.indexOf('sortbottom') != -1))
+ t.tBodies[0].appendChild(newRows[i]);
+ }
+ // Delete any other arrows there may be showing
+ var allspans = document.getElementsByTagName("span");
+ for (var ci=0;ci<allspans.length;ci++) {
+ if (allspans[ci].className == 'sortarrow') {
+ if (getParent(allspans[ci],"table") == getParent(lnk,"table")) { // in the same table as us?
+ allspans[ci].innerHTML = '&nbsp;&nbsp;<img src="'+ image_path + image_none + '" alt="&darr;"/>';
+ }
+ }
+ }
+ span.innerHTML = ARROW;
+ alternate(t);
+}
+
+function getParent(el, pTagName) {
+ if (el == null) {
+ return null;
+ } else if (el.nodeType == 1 && el.tagName.toLowerCase() == pTagName.toLowerCase()) {
+ return el;
+ } else {
+ return getParent(el.parentNode, pTagName);
+ }
+}
+
+function sort_date(date) {
+ // y2k notes: two digit years less than 50 are treated as 20XX, greater than 50 are treated as 19XX
+ dt = "00000000";
+ if (date.length == 11) {
+ mtstr = date.substr(3,3);
+ mtstr = mtstr.toLowerCase();
+ switch(mtstr) {
+ case "jan": var mt = "01"; break;
+ case "feb": var mt = "02"; break;
+ case "mar": var mt = "03"; break;
+ case "apr": var mt = "04"; break;
+ case "may": var mt = "05"; break;
+ case "jun": var mt = "06"; break;
+ case "jul": var mt = "07"; break;
+ case "aug": var mt = "08"; break;
+ case "sep": var mt = "09"; break;
+ case "oct": var mt = "10"; break;
+ case "nov": var mt = "11"; break;
+ case "dec": var mt = "12"; break;
+ // default: var mt = "00";
+ }
+ dt = date.substr(7,4)+mt+date.substr(0,2);
+ return dt;
+ } else if (date.length == 10) {
+ if (europeandate == false) {
+ dt = date.substr(6,4)+date.substr(0,2)+date.substr(3,2);
+ return dt;
+ } else {
+ dt = date.substr(6,4)+date.substr(3,2)+date.substr(0,2);
+ return dt;
+ }
+ } else if (date.length == 8) {
+ yr = date.substr(6,2);
+ if (parseInt(yr) < 50) {
+ yr = '20'+yr;
+ } else {
+ yr = '19'+yr;
+ }
+ if (europeandate == true) {
+ dt = yr+date.substr(3,2)+date.substr(0,2);
+ return dt;
+ } else {
+ dt = yr+date.substr(0,2)+date.substr(3,2);
+ return dt;
+ }
+ }
+ return dt;
+}
+
+function ts_sort_date(a,b) {
+ dt1 = sort_date(ts_getInnerText(a.cells[SORT_COLUMN_INDEX]));
+ dt2 = sort_date(ts_getInnerText(b.cells[SORT_COLUMN_INDEX]));
+
+ if (dt1==dt2) {
+ return 0;
+ }
+ if (dt1<dt2) {
+ return -1;
+ }
+ return 1;
+}
+function ts_sort_numeric(a,b) {
+ var aa = ts_getInnerText(a.cells[SORT_COLUMN_INDEX]);
+ aa = clean_num(aa);
+ var bb = ts_getInnerText(b.cells[SORT_COLUMN_INDEX]);
+ bb = clean_num(bb);
+ return compare_numeric(aa,bb);
+}
+function compare_numeric(a,b) {
+ var a = parseFloat(a);
+ a = (isNaN(a) ? 0 : a);
+ var b = parseFloat(b);
+ b = (isNaN(b) ? 0 : b);
+ return a - b;
+}
+function ts_sort_caseinsensitive(a,b) {
+ aa = ts_getInnerText(a.cells[SORT_COLUMN_INDEX]).toLowerCase();
+ bb = ts_getInnerText(b.cells[SORT_COLUMN_INDEX]).toLowerCase();
+ if (aa==bb) {
+ return 0;
+ }
+ if (aa<bb) {
+ return -1;
+ }
+ return 1;
+}
+function ts_sort_default(a,b) {
+ aa = ts_getInnerText(a.cells[SORT_COLUMN_INDEX]);
+ bb = ts_getInnerText(b.cells[SORT_COLUMN_INDEX]);
+ if (aa==bb) {
+ return 0;
+ }
+ if (aa<bb) {
+ return -1;
+ }
+ return 1;
+}
+function addEvent(elm, evType, fn, useCapture)
+// addEvent and removeEvent
+// cross-browser event handling for IE5+, NS6 and Mozilla
+// By Scott Andrew
+{
+ if (elm.addEventListener){
+ elm.addEventListener(evType, fn, useCapture);
+ return true;
+ } else if (elm.attachEvent){
+ var r = elm.attachEvent("on"+evType, fn);
+ return r;
+ } else {
+ alert("Handler could not be removed");
+ }
+}
+function clean_num(str) {
+ str = str.replace(new RegExp(/[^-?0-9.]/g),"");
+ return str;
+}
+function trim(s) {
+ return s.replace(/^\s+|\s+$/g, "");
+}
+function alternate(table) {
+ // Take object table and get all it's tbodies.
+ var tableBodies = table.getElementsByTagName("tbody");
+ // Loop through these tbodies
+ for (var i = 0; i < tableBodies.length; i++) {
+ // Take the tbody, and get all it's rows
+ var tableRows = tableBodies[i].getElementsByTagName("tr");
+ // Loop through these rows
+ // Start at 1 because we want to leave the heading row untouched
+ for (var j = 0; j < tableRows.length; j++) {
+ // Check if j is even, and apply classes for both possible results
+ if ( (j % 2) == 0 ) {
+ if ( !(tableRows[j].className.indexOf('odd') == -1) ) {
+ tableRows[j].className = tableRows[j].className.replace('odd', 'even');
+ } else {
+ if ( tableRows[j].className.indexOf('even') == -1 ) {
+ tableRows[j].className += " even";
+ }
+ }
+ } else {
+ if ( !(tableRows[j].className.indexOf('even') == -1) ) {
+ tableRows[j].className = tableRows[j].className.replace('even', 'odd');
+ } else {
+ if ( tableRows[j].className.indexOf('odd') == -1 ) {
+ tableRows[j].className += " odd";
+ }
+ }
+ }
+ }
+ }
+}
View
22 gitstats/tags.html
@@ -0,0 +1,22 @@
+<?xml version="1.0" encoding="UTF-8"?>
+<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
+<html xmlns="http://www.w3.org/1999/xhtml">
+<head>
+ <title>GitStats - .git</title>
+ <link rel="stylesheet" href="gitstats.css" type="text/css" />
+ <meta name="generator" content="GitStats dbb8047" />
+ <script type="text/javascript" src="sortable.js"></script>
+</head>
+<body>
+<h1>Tags</h1>
+<div class="nav">
+<ul>
+<li><a href="index.html">General</a></li>
+<li><a href="activity.html">Activity</a></li>
+<li><a href="authors.html">Authors</a></li>
+<li><a href="files.html">Files</a></li>
+<li><a href="lines.html">Lines</a></li>
+<li><a href="tags.html">Tags</a></li>
+</ul>
+</div>
+<dl><dt>Total tags</dt><dd>0</dd></dl><table class="tags"><tr><th>Name</th><th>Date</th><th>Commits</th><th>Authors</th></tr></table></body></html>
Please sign in to comment.
Something went wrong with that request. Please try again.