From e11859b4e8b6d15d7ed65b3262605bf91d8ad6b2 Mon Sep 17 00:00:00 2001 From: Jonas Franz Date: Thu, 24 Feb 2022 01:21:58 +0000 Subject: [PATCH] Update metrics --- results/riverpod/benchmarks.txt | 4 ++++ results/riverpod/metrics.tex | 35 +++++++++++++++++++++++++++++++++ 2 files changed, 39 insertions(+) create mode 100644 results/riverpod/benchmarks.txt create mode 100644 results/riverpod/metrics.tex diff --git a/results/riverpod/benchmarks.txt b/results/riverpod/benchmarks.txt new file mode 100644 index 0000000..092635c --- /dev/null +++ b/results/riverpod/benchmarks.txt @@ -0,0 +1,4 @@ +00:00 +0: /app/test/efficiency_bechmark_test.dart: Efficiency Test +cartButton: 3 +userSwitch: 4 +00:01 +1: All tests passed! diff --git a/results/riverpod/metrics.tex b/results/riverpod/metrics.tex new file mode 100644 index 0000000..03326e0 --- /dev/null +++ b/results/riverpod/metrics.tex @@ -0,0 +1,35 @@ +\hypertarget{metrics:riverpod}{% +\section{Metriken: riverpod}\label{metrics:riverpod}} + +\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 & 22 & 68 & 1 & 1 & 0.0 \\ +\href{lib/models/index.html}{lib/models} & 6 & 4 & 97 & 0 & 0 & 0.0 \\ +\href{lib/screens/cart/index.html}{lib/screens/cart} & 7 & 44 & 80 & 1 & +1 & 0.0 \\ +\href{lib/screens/product_list/index.html}{lib/screens/product\_list} & +11 & 49 & 81 & 1 & 1 & 0.0 \\ +\href{lib/service/index.html}{lib/service} & 2 & 8 & 83 & 0 & 1 & 0.0 \\ +\href{lib/stores/index.html}{lib/stores} & 11 & 16 & 66 & 1 & 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 & 28 & 82 & 1 & 1 & +0.0 \\ +\bottomrule +\end{longtable} + +{Cyclomatic complexity : }{49} + +{Source lines of code : }{173} + +{Maintainability index : }{80} + +{Number of Arguments : }{1} + +{Maximum Nesting : }{1} + +{Technical Debt : }{0} \ No newline at end of file