commit
8957d23c83
@ -0,0 +1,112 @@ |
|||||||
|
% Options for packages loaded elsewhere |
||||||
|
\PassOptionsToPackage{unicode}{hyperref} |
||||||
|
\PassOptionsToPackage{hyphens}{url} |
||||||
|
% |
||||||
|
\documentclass[ |
||||||
|
]{article} |
||||||
|
\usepackage{amsmath,amssymb} |
||||||
|
\usepackage{lmodern} |
||||||
|
\usepackage{iftex} |
||||||
|
\ifPDFTeX |
||||||
|
\usepackage[T1]{fontenc} |
||||||
|
\usepackage[utf8]{inputenc} |
||||||
|
\usepackage{textcomp} % provide euro and other symbols |
||||||
|
\else % if luatex or xetex |
||||||
|
\usepackage{unicode-math} |
||||||
|
\defaultfontfeatures{Scale=MatchLowercase} |
||||||
|
\defaultfontfeatures[\rmfamily]{Ligatures=TeX,Scale=1} |
||||||
|
\fi |
||||||
|
% Use upquote if available, for straight quotes in verbatim environments |
||||||
|
\IfFileExists{upquote.sty}{\usepackage{upquote}}{} |
||||||
|
\IfFileExists{microtype.sty}{% use microtype if available |
||||||
|
\usepackage[]{microtype} |
||||||
|
\UseMicrotypeSet[protrusion]{basicmath} % disable protrusion for tt fonts |
||||||
|
}{} |
||||||
|
\makeatletter |
||||||
|
\@ifundefined{KOMAClassName}{% if non-KOMA class |
||||||
|
\IfFileExists{parskip.sty}{% |
||||||
|
\usepackage{parskip} |
||||||
|
}{% else |
||||||
|
\setlength{\parindent}{0pt} |
||||||
|
\setlength{\parskip}{6pt plus 2pt minus 1pt}} |
||||||
|
}{% if KOMA class |
||||||
|
\KOMAoptions{parskip=half}} |
||||||
|
\makeatother |
||||||
|
\usepackage{xcolor} |
||||||
|
\IfFileExists{xurl.sty}{\usepackage{xurl}}{} % add URL line breaks if available |
||||||
|
\IfFileExists{bookmark.sty}{\usepackage{bookmark}}{\usepackage{hyperref}} |
||||||
|
\hypersetup{ |
||||||
|
pdftitle={Metrics report}, |
||||||
|
pdflang={en}, |
||||||
|
hidelinks, |
||||||
|
pdfcreator={LaTeX via pandoc}} |
||||||
|
\urlstyle{same} % disable monospaced font for URLs |
||||||
|
\usepackage{longtable,booktabs,array} |
||||||
|
\usepackage{calc} % for calculating minipage widths |
||||||
|
% Correct order of tables after \paragraph or \subparagraph |
||||||
|
\usepackage{etoolbox} |
||||||
|
\makeatletter |
||||||
|
\patchcmd\longtable{\par}{\if@noskipsec\mbox{}\fi\par}{}{} |
||||||
|
\makeatother |
||||||
|
% Allow footnotes in longtable head/foot |
||||||
|
\IfFileExists{footnotehyper.sty}{\usepackage{footnotehyper}}{\usepackage{footnote}} |
||||||
|
\makesavenoteenv{longtable} |
||||||
|
\setlength{\emergencystretch}{3em} % prevent overfull lines |
||||||
|
\providecommand{\tightlist}{% |
||||||
|
\setlength{\itemsep}{0pt}\setlength{\parskip}{0pt}} |
||||||
|
\setcounter{secnumdepth}{-\maxdimen} % remove section numbering |
||||||
|
\ifLuaTeX |
||||||
|
\usepackage[bidi=basic]{babel} |
||||||
|
\else |
||||||
|
\usepackage[bidi=default]{babel} |
||||||
|
\fi |
||||||
|
\babelprovide[main,import]{english} |
||||||
|
% get rid of language-specific shorthands (see #6817): |
||||||
|
\let\LanguageShortHands\languageshorthands |
||||||
|
\def\languageshorthands#1{} |
||||||
|
\ifLuaTeX |
||||||
|
\usepackage{selnolig} % disable illegal ligatures |
||||||
|
\fi |
||||||
|
|
||||||
|
\title{Metrics report} |
||||||
|
\author{} |
||||||
|
\date{} |
||||||
|
|
||||||
|
\begin{document} |
||||||
|
\maketitle |
||||||
|
|
||||||
|
\hypertarget{all-files}{% |
||||||
|
\section{All files}\label{all-files}} |
||||||
|
|
||||||
|
\begin{longtable}[]{@{}lllllll@{}} |
||||||
|
\toprule |
||||||
|
Directory & Cyclomatic complexity & Source lines of code & |
||||||
|
Maintainability index & Number of Arguments & Maximum Nesting & |
||||||
|
Technical Debt \\ |
||||||
|
\midrule |
||||||
|
\endhead |
||||||
|
\href{lib/index.html}{lib} & 4 & 15 & 92 & 1 & 1 & 0.0 \\ |
||||||
|
\href{lib/models/index.html}{lib/models} & 2 & 1 & 99 & 0 & 0 & 0.0 \\ |
||||||
|
\href{lib/screens/cart/index.html}{lib/screens/cart} & 7 & 40 & 81 & 1 & |
||||||
|
1 & 0.0 \\ |
||||||
|
\href{lib/screens/product_list/index.html}{lib/screens/product\_list} & |
||||||
|
10 & 35 & 84 & 1 & 1 & 0.0 \\ |
||||||
|
\href{lib/utils/index.html}{lib/utils} & 1 & 2 & 84 & 1 & 0 & 0.0 \\ |
||||||
|
\href{lib/widgets/index.html}{lib/widgets} & 7 & 26 & 83 & 1 & 1 & |
||||||
|
0.0 \\ |
||||||
|
\bottomrule |
||||||
|
\end{longtable} |
||||||
|
|
||||||
|
{Cyclomatic complexity : }{31} |
||||||
|
|
||||||
|
{Source lines of code : }{119} |
||||||
|
|
||||||
|
{Maintainability index : }{87} |
||||||
|
|
||||||
|
{Number of Arguments : }{1} |
||||||
|
|
||||||
|
{Maximum Nesting : }{1} |
||||||
|
|
||||||
|
{Technical Debt : }{0} |
||||||
|
|
||||||
|
\end{document} |
Loading…
Reference in new issue