Update metrics

pull/3/head
Jonas Franz 3 years ago
parent 11e100b76e
commit 31bc349e51
  1. 2
      results/main/benchmarks.txt
  2. 34
      results/main/metrics.tex

@ -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!

@ -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}
Loading…
Cancel
Save