From 84355ce652959c065b1b4736387aaee97d86a4b3 Mon Sep 17 00:00:00 2001
From: Jonas Franz <jonas.franz@incloud.de>
Date: Sun, 20 Feb 2022 15:45:20 +0000
Subject: [PATCH] Update metrics

---
 results/bloc/benchmarks.txt |  4 ++++
 results/bloc/metrics.tex    | 35 +++++++++++++++++++++++++++++++++++
 2 files changed, 39 insertions(+)
 create mode 100644 results/bloc/benchmarks.txt
 create mode 100644 results/bloc/metrics.tex

diff --git a/results/bloc/benchmarks.txt b/results/bloc/benchmarks.txt
new file mode 100644
index 0000000..6033a92
--- /dev/null
+++ b/results/bloc/benchmarks.txt
@@ -0,0 +1,4 @@
+00:00 +0: /app/test/efficiency_bechmark_test.dart: Efficiency Test
+cartButton: 1
+userSwitch: 4
+00:01 +1: All tests passed!
diff --git a/results/bloc/metrics.tex b/results/bloc/metrics.tex
new file mode 100644
index 0000000..7cb8a93
--- /dev/null
+++ b/results/bloc/metrics.tex
@@ -0,0 +1,35 @@
+\hypertarget{metrics:bloc}{%
+\section{Metriken: bloc}\label{metrics:bloc}}
+
+\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} & 13 & 35 & 69 & 1 & 1 & 0.0 \\
+\href{lib/bloc/index.html}{lib/bloc} & 7 & 8 & 94 & 0 & 0 & 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} & 2 & 2 & 92 & 1 & 0 & 0.0 \\
+\href{lib/widgets/index.html}{lib/widgets} & 8 & 36 & 80 & 1 & 1 &
+0.0 \\
+\bottomrule
+\end{longtable}
+
+{Cyclomatic complexity : }{54}
+
+{Source lines of code : }{171}
+
+{Maintainability index : }{85}
+
+{Number of Arguments : }{1}
+
+{Maximum Nesting : }{1}
+
+{Technical Debt : }{0}
\ No newline at end of file