From c2ab685b89941f1fd421bef202b89449c17c79f9 Mon Sep 17 00:00:00 2001 From: Jonas Franz Date: Sat, 19 Feb 2022 18:22:07 +0000 Subject: [PATCH] Update metrics --- results/inheritedwidget/metrics.tex | 101 +++------------------------- 1 file changed, 11 insertions(+), 90 deletions(-) diff --git a/results/inheritedwidget/metrics.tex b/results/inheritedwidget/metrics.tex index 2d57be7..5aee0cf 100644 --- a/results/inheritedwidget/metrics.tex +++ b/results/inheritedwidget/metrics.tex @@ -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} \ No newline at end of file