adjusted quantitative analysis numbers
This commit is contained in:
parent
5f4cd01b32
commit
4b2d7c702a
2 changed files with 12 additions and 12 deletions
BIN
report.pdf
BIN
report.pdf
Binary file not shown.
24
report.tex
24
report.tex
|
@ -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
|
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
|
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
|
\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.
|
requirements.
|
||||||
|
|
||||||
\begin{figure}[h]
|
\begin{figure}[h]
|
||||||
|
@ -134,8 +134,8 @@ requirements.
|
||||||
\toprule
|
\toprule
|
||||||
Language & Files & Blank & Comment & Code \\
|
Language & Files & Blank & Comment & Code \\
|
||||||
\midrule
|
\midrule
|
||||||
HTML & 4846 & 18473 & 235544 & 1997020\\
|
HTML & 4,846 & 18,473 & 235,544 & 1,997,020\\
|
||||||
Java & 285 & 8532 & 20004 & 48783\\
|
Java & 285 & 8,532 & 20,004 & 48,783\\
|
||||||
CSS & 3 & 18 & 69 & 990\\
|
CSS & 3 & 18 & 69 & 990\\
|
||||||
Logos & 2 & 260 & 212 & 605\\
|
Logos & 2 & 260 & 212 & 605\\
|
||||||
Bourne Shell & 3 & 35 & 62 & 223\\
|
Bourne Shell & 3 & 35 & 62 & 223\\
|
||||||
|
@ -148,7 +148,7 @@ requirements.
|
||||||
JSON & 1 & 0 & 0 & 10\\
|
JSON & 1 & 0 & 0 & 10\\
|
||||||
Properties & 2 & 0 & 16 & 5\\
|
Properties & 2 & 0 & 16 & 5\\
|
||||||
\midrule
|
\midrule
|
||||||
Total & 5158 & 27431 & 255936 & 2048305\\
|
Total & 5,158 & 27,431 & 255,936 & 2,048,305\\
|
||||||
\bottomrule
|
\bottomrule
|
||||||
\end{tabular}
|
\end{tabular}
|
||||||
\caption{Output of the \textit{cloc} tool for the Jackson Core project at
|
\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
|
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,
|
our manual inspection are shown in Figure \ref{fig:conf}. Using those results,
|
||||||
we can say that \textit{Pattern4J} shows a false positive
|
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
|
rate\footnote{\url{https://en.wikipedia.org/wiki/False_positive_rate}} of 53.8\%, a
|
||||||
false negative rate of 17.2\%, and an accuracy of 75.0\%.
|
false negative rate of 11.1\%, and an accuracy of 75.0\%.
|
||||||
|
|
||||||
\begin{figure}[h]
|
\begin{figure}[h]
|
||||||
\begin{subfigure}{\linewidth}
|
\begin{subfigure}{\linewidth}
|
||||||
|
@ -236,11 +236,11 @@ false negative rate of 17.2\%, and an accuracy of 75.0\%.
|
||||||
json.UTF8JsonGenerator & ~ & ~ & ~ & 1 & ~ \\
|
json.UTF8JsonGenerator & ~ & ~ & ~ & 1 & ~ \\
|
||||||
JsonParser\$Feature & ~ & ~ & ~ & 1 & ~ \\
|
JsonParser\$Feature & ~ & ~ & ~ & 1 & ~ \\
|
||||||
exc.StreamReadException & ~ & ~ & ~ & 1 & ~ \\
|
exc.StreamReadException & ~ & ~ & ~ & 1 & ~ \\
|
||||||
util.JsonGeneratorDelegate & ~ & ~ & 1 & ~ & decorator pattern (base
|
util.JsonGeneratorDelegate & ~ & 1 & ~ & ~ & decorator, false positive
|
||||||
class), false negative \\
|
(a ``delegation'' instead, pattern not supported by \textit{Pattern4J}) \\
|
||||||
\midrule
|
\midrule
|
||||||
Total & 3 & 2,5 & 2,5 & 12 & ~ \\
|
Total & 3 & 3.5 & 1.5 & 12 & ~ \\
|
||||||
Percentage & 15,0\% & 12,5\% & 12,5\% & 60,0\% \\
|
Percentage & 15.0\% & 17.5\% & 7.5\% & 60.0\% \\
|
||||||
\bottomrule
|
\bottomrule
|
||||||
\end{tabular}
|
\end{tabular}
|
||||||
}
|
}
|
||||||
|
@ -282,8 +282,8 @@ false negative rate of 17.2\%, and an accuracy of 75.0\%.
|
||||||
] table [meta=C] {
|
] table [meta=C] {
|
||||||
x y C
|
x y C
|
||||||
0 0 3
|
0 0 3
|
||||||
1 0 2.5
|
1 0 1.5
|
||||||
0 1 2.5
|
0 1 3.5
|
||||||
1 1 12
|
1 1 12
|
||||||
};
|
};
|
||||||
\end{axis}
|
\end{axis}
|
||||||
|
|
Reference in a new issue