[icfp] add implementation stats

This commit is contained in:
ben 2016-03-13 01:50:16 -05:00
parent 08ffe848e6
commit 7c3b1b2f36
3 changed files with 17 additions and 2 deletions

View File

@ -6,7 +6,7 @@ compiled/paper_scrbl.zo: *.rkt *.scrbl
raco make -v $(PAPER).scrbl
paper.pdf: pkg compiled/paper_scrbl.zo texstyle.tex
scribble ++extra fig-staging.tex ++style texstyle.tex --pdf $(PAPER).scrbl
scribble ++extra fig-stats.tex ++extra fig-staging.tex ++style texstyle.tex --pdf $(PAPER).scrbl
paper.tex: pkg compiled/paper_scrbl.zo texstyle.tex
scribble ++style texstyle.tex --latex $(PAPER).scrbl

16
icfp-2016/fig-stats.tex Normal file
View File

@ -0,0 +1,16 @@
\newcommand{\twoline}[2]{\parbox[s]{1.44cm}{\flushright\hfill #1\newline#2}}
\newcommand{\mod}[1]{$\mathsf{#1}$}
\begin{tabular}{l r r r}
Module & LOC & $\interp$ & $\trans$ \\\hline
\mod{db} & 263 & 2 (78) & 2 (101) \\
\mod{format} & 66 & 1 (33) & 1 (21) \\
\mod{function} & 31 & 1 (8) & 1 (11) \\
\mod{math} & 90 & 1 (3) & 5 (46) \\
\mod{regexp} & 122 & 4 (60) & 5 (33) \\
\mod{vector} & 228 & 1 (19) & 13 (163) \\\hline
{\bf Total} & 800 & 10 (201) & 27 (375) \\
\end{tabular}
%% AVG
% loc : 228.5
% int : 33.5
% trn : 62.5

View File

@ -40,7 +40,6 @@
@include-section{usage.scrbl}
@include-section{experience.scrbl} @; Merge with usage?
@include-section{implementation.scrbl}
@;@include-section{correctness.scrbl}
@;@include-section{related.scrbl}
@;@include-section{conclusion.scrbl}