This commit is contained in:
Volodymyr Karpenko 2022-10-26 17:40:39 +02:00
commit 23c2627ec3
2 changed files with 12 additions and 12 deletions

Binary file not shown.

View file

@ -125,7 +125,7 @@ After verifying that the project meets the hard requirements related to GitHub
2022-10-19 (ISO 8601 date)}), we ensured that the project had enough lines of
code by using the cloc tool, which provided the following output shown in Figure
\ref{fig:cloc}. By looking at the results we can finally assert that the
project contains 58.787 lines of Java code and this satisfies all the
project contains 58.787 non-blank lines of Java code and this satisfies all the
requirements.
\begin{figure}[h]
@ -134,8 +134,8 @@ requirements.
\toprule
Language & Files & Blank & Comment & Code \\
\midrule
HTML & 4846 & 18473 & 235544 & 1997020\\
Java & 285 & 8532 & 20004 & 48783\\
HTML & 4,846 & 18,473 & 235,544 & 1,997,020\\
Java & 285 & 8,532 & 20,004 & 48,783\\
CSS & 3 & 18 & 69 & 990\\
Logos & 2 & 260 & 212 & 605\\
Bourne Shell & 3 & 35 & 62 & 223\\
@ -148,7 +148,7 @@ requirements.
JSON & 1 & 0 & 0 & 10\\
Properties & 2 & 0 & 16 & 5\\
\midrule
Total & 5158 & 27431 & 255936 & 2048305\\
Total & 5,158 & 27,431 & 255,936 & 2,048,305\\
\bottomrule
\end{tabular}
\caption{Output of the \textit{cloc} tool for the Jackson Core project at
@ -199,8 +199,8 @@ find . -name '*.class' | shuf -n 20 | sed 's#\.class##;s#/#.#'
The selected classes and the analysis results for both \textit{Pattern4J} and
our manual inspection are shown in Figure \ref{fig:conf}. Using those results,
we can say that \textit{Pattern4J} shows a false positive
rate\footnote{\url{https://en.wikipedia.org/wiki/False_positive_rate}} of 45.4\%, a
false negative rate of 17.2\%, and an accuracy of 75.0\%.
rate\footnote{\url{https://en.wikipedia.org/wiki/False_positive_rate}} of 53.8\%, a
false negative rate of 11.1\%, and an accuracy of 75.0\%.
\begin{figure}[h]
\begin{subfigure}{\linewidth}
@ -236,11 +236,11 @@ false negative rate of 17.2\%, and an accuracy of 75.0\%.
json.UTF8JsonGenerator & ~ & ~ & ~ & 1 & ~ \\
JsonParser\$Feature & ~ & ~ & ~ & 1 & ~ \\
exc.StreamReadException & ~ & ~ & ~ & 1 & ~ \\
util.JsonGeneratorDelegate & ~ & ~ & 1 & ~ & decorator pattern (base
class), false negative \\
util.JsonGeneratorDelegate & ~ & 1 & ~ & ~ & decorator, false positive
(a ``delegation'' instead, pattern not supported by \textit{Pattern4J}) \\
\midrule
Total & 3 & 2,5 & 2,5 & 12 & ~ \\
Percentage & 15,0\% & 12,5\% & 12,5\% & 60,0\% \\
Total & 3 & 3.5 & 1.5 & 12 & ~ \\
Percentage & 15.0\% & 17.5\% & 7.5\% & 60.0\% \\
\bottomrule
\end{tabular}
}
@ -282,8 +282,8 @@ false negative rate of 17.2\%, and an accuracy of 75.0\%.
] table [meta=C] {
x y C
0 0 3
1 0 2.5
0 1 2.5
1 0 1.5
0 1 3.5
1 1 12
};
\end{axis}