In the context of a recent imglib2-algorithm pull request, @ctrueden and I were discussing in the imglib2 gitter chat wether or not e-mail addresses should be added to @author
tags in ImgLib2 source code. @ctrueden noted that including e-mails encourages private e-mails and is prone to obsolescence.
For ImgLib2 core (algorithm), the current state seems to be that out of 680 (169) @author
tags, 185 (61) contain an e-mail address, out of which 4 (11) use < and > as identifiers for the e-mails. When these identifiers are not used, parentheses are used in core, <> are used in algorithm.
# imglib2
$ grep -rnH --include '*.java' '@author' imglib2/src | wc -l
680
$ grep -rnH --include '*.java' '@author' imglib2/src | sed 's/@author//' | grep '@' | wc -l
185
$ grep -rnH --include '*.java' '@author' imglib2/src | sed 's/@author//' | grep '@' | grep '<' | wc -l
4
#imglib2-algorithm
$ grep -rnH --include '*.java' '@author' imglib2-algorithm-master/src | sed 's/@author//' | wc -l
169
$ grep -rnH --include '*.java' '@author' imglib2-algorithm-master/src | sed 's/@author//' | grep '@' | wc -l
61
$ grep -rnH --include '*.java' '@author' imglib2-algorithm-master/src | sed 's/@author//' | grep '@' | grep '<' | wc -l
11
@tpietzsch @axtimwalde @StephanPreibisch (lead developers according to pom.xml
and author tag counts below), please comment on this.
$ grep -rnH --include '*.java' '@author' imglib2/src | sed -r 's/.*@author ([A-Za-z-]+) ([A-Za-z-]+).*/\1 \2/' | sort -V | uniq -c | sort -nr
221 Stephan Saalfeld
152 Stephan Preibisch
141 Tobias Pietzsch
32 Christian Dietz
28 Curtis Rueden
20 Michael Zinsmaier
20 Martin Horn
12 Philipp Hanslovsky
11 Barry DeZonia
9 Albert Cardona
7 Mark Hiner
7 Lee Kamentsky
7 Johannes Schindelin
4 Aivar Grislis
3 Grant Harris
2 Melissa Linkert
2 Jonathan Hale
2 Jan Funke
edit 1: In this context, it also makes sense to refer to @ctrueden’s explanation of the differences in style and license management.