From 31bc349e518ec0fe0bc639054ce654eef33265f0 Mon Sep 17 00:00:00 2001 From: Jonas Franz Date: Sat, 19 Feb 2022 18:18:16 +0000 Subject: [PATCH] Update metrics --- results/main/benchmarks.txt | 2 +- results/main/metrics.tex | 34 ++++++++++++++++++++++++++++++++++ 2 files changed, 35 insertions(+), 1 deletion(-) diff --git a/results/main/benchmarks.txt b/results/main/benchmarks.txt index 5343c1e..ccdb1de 100644 --- a/results/main/benchmarks.txt +++ b/results/main/benchmarks.txt @@ -1,4 +1,4 @@ 00:00 +0: /app/test/efficiency_bechmark_test.dart: Efficiency Test cartButton: 1 userSwitch: 2 -00:01 +1: All tests passed! +01:51 +1: All tests passed! diff --git a/results/main/metrics.tex b/results/main/metrics.tex index e69de29..b093cc0 100644 --- a/results/main/metrics.tex +++ b/results/main/metrics.tex @@ -0,0 +1,34 @@ +\hypertarget{metrics:main}{% +\section{Metriken: main}\label{metrics:main}} + +\begin{longtable}[]{@{}lllllll@{}} +\toprule +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} & 4 & 17 & 68 & 1 & 1 & 0.0 \\ +\href{lib/models/index.html}{lib/models} & 5 & 3 & 98 & 0 & 0 & 0.0 \\ +\href{lib/screens/cart/index.html}{lib/screens/cart} & 7 & 43 & 80 & 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} + +{\rot{Cyclomatic complexity} : }{36} + +{\rot{Source lines of code} : }{136} + +{\rot{Maintainability index} : }{83} + +{\rot{Number of Arguments} : }{1} + +{\rot{Maximum Nesting} : }{1} + +{\rot{Technical Debt} : }{0} \ No newline at end of file