|
|
|
@ -1,88 +1,11 @@ |
|
|
|
|
% 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}} |
|
|
|
|
\hypertarget{metrics:inheritedwidget}{% |
|
|
|
|
\section{Metriken: inheritedwidget}\label{metrics:inheritedwidget}} |
|
|
|
|
|
|
|
|
|
\begin{longtable}[]{@{}lllllll@{}} |
|
|
|
|
\toprule |
|
|
|
|
Directory & Cyclomatic complexity & Source lines of code & |
|
|
|
|
Maintainability index & Number of Arguments & Maximum Nesting & |
|
|
|
|
Technical Debt \\ |
|
|
|
|
Directory & \rot{Cyclomatic complexity} & \rot{Source lines of code} & |
|
|
|
|
\rot{Maintainability index} & \rot{Number of Arguments} & \rot{Maximum Nesting} & |
|
|
|
|
\rot{Technical Debt} \\ |
|
|
|
|
\midrule |
|
|
|
|
\endhead |
|
|
|
|
\href{lib/index.html}{lib} & 5 & 28 & 68 & 1 & 1 & 0.0 \\ |
|
|
|
@ -100,16 +23,14 @@ Technical Debt \\ |
|
|
|
|
\bottomrule |
|
|
|
|
\end{longtable} |
|
|
|
|
|
|
|
|
|
{Cyclomatic complexity : }{88} |
|
|
|
|
|
|
|
|
|
{Source lines of code : }{277} |
|
|
|
|
{\rot{Cyclomatic complexity} : }{88} |
|
|
|
|
|
|
|
|
|
{Maintainability index : }{83} |
|
|
|
|
{\rot{Source lines of code} : }{277} |
|
|
|
|
|
|
|
|
|
{Number of Arguments : }{1} |
|
|
|
|
{\rot{Maintainability index} : }{83} |
|
|
|
|
|
|
|
|
|
{Maximum Nesting : }{1} |
|
|
|
|
{\rot{Number of Arguments} : }{1} |
|
|
|
|
|
|
|
|
|
{Technical Debt : }{0} |
|
|
|
|
{\rot{Maximum Nesting} : }{1} |
|
|
|
|
|
|
|
|
|
\end{document} |
|
|
|
|
{\rot{Technical Debt} : }{0} |