You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
113 lines
3.3 KiB
113 lines
3.3 KiB
% 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 & 17 & 68 & 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 & 36 & 84 & 1 & 1 & 0.0 \\
|
|
\href{lib/service/index.html}{lib/service} & 2 & 8 & 83 & 0 & 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 & 27 & 83 & 1 & 1 &
|
|
0.0 \\
|
|
\bottomrule
|
|
\end{longtable}
|
|
|
|
{Cyclomatic complexity : }{33}
|
|
|
|
{Source lines of code : }{131}
|
|
|
|
{Maintainability index : }{83}
|
|
|
|
{Number of Arguments : }{1}
|
|
|
|
{Maximum Nesting : }{1}
|
|
|
|
{Technical Debt : }{0}
|
|
|
|
\end{document}
|
|
|