14 rader
632 B
TeX
14 rader
632 B
TeX
{%- import 'macros.tex' as macros %}
|
|
\begin{tabu} to \linewidth {lll}
|
|
\toprule
|
|
\textbf{Module- or Filename} & \textbf{Line-Coverage} & \textbf{Branch-Coverage}\\
|
|
{%- for module in coverage_information %}
|
|
\midrule
|
|
{\tt {{macros.latex_filter(module.name)}} } & {{macros.latex_filter("%.1f" % module.line_coverage)}}\% & {% if module.branch_coverage %}{{macros.latex_filter("%.1f" % module.branch_coverage)}}\%{% endif %} \\
|
|
{%- for py_file in module.files %}
|
|
\hspace*{2ex}{\tt {{macros.latex_filter(py_file.name)}} } & {{macros.latex_filter("%.1f" % py_file.line_coverage)}}\% & \\
|
|
{%- endfor %}
|
|
{%- endfor %}
|
|
\bottomrule
|
|
\end{tabu}
|