template headers

This commit is contained in:
Claudio Maggioni 2022-10-18 13:30:26 +02:00
parent 255e74e5fd
commit 17f6a66eac
2 changed files with 34 additions and 19 deletions

Binary file not shown.

View file

@ -1,6 +1,6 @@
% vim: set ts=2 sw=2 et tw=80: % vim: set ts=2 sw=2 et tw=80:
\documentclass[12pt,a4paper]{article} \documentclass[12pt,a4paper]{scrartcl}
\usepackage[utf8]{inputenc} \usepackage[utf8]{inputenc}
\usepackage[margin=2cm]{geometry} \usepackage[margin=2cm]{geometry}
\usepackage{hyperref} \usepackage{hyperref}
@ -56,7 +56,7 @@ We chose to analyze version 2.13.4 of the module (corresponding to the code
under the git tag \texttt{jackson-core-2.13.4}) because it is the latest stable under the git tag \texttt{jackson-core-2.13.4}) because it is the latest stable
version available at the time of writing. version available at the time of writing.
\section{Analysis} \section{Analysis Implementation}
We use We use
\href{https://users.encs.concordia.ca/~nikolaos/pattern\_detection.html}{\textit{Pattern4}} \href{https://users.encs.concordia.ca/~nikolaos/pattern\_detection.html}{\textit{Pattern4}}
@ -70,7 +70,9 @@ instead, as it is the previous LTS version.
An XML dump of the \textit{Pattern4j} analysis results are included in the An XML dump of the \textit{Pattern4j} analysis results are included in the
submission as the file \texttt{analysis.xml}. submission as the file \texttt{analysis.xml}.
\subsection{Singleton pattern} \section{Structural Patterns}
\subsection{Singleton Pattern}
Lots of false positives for the Singleton pattern. Example, Lots of false positives for the Singleton pattern. Example,
com.fasterxml.jackson.core.sym.Name1 has a package private constructor and a com.fasterxml.jackson.core.sym.Name1 has a package private constructor and a
public static final instance of it, but reading the documentation the class public static final instance of it, but reading the documentation the class
@ -145,24 +147,37 @@ produced the following results:
array representation. array representation.
\end{description} \end{description}
\section{Creational Patterns}
\subsection{Adapter Pattern}
TBD
Structural patterns provide flexible ways of combining and connecting components. \subsection{Bridge Pattern}
- abstract factory TBD
- singleton
- builder
Creational patterns deal with object creation mechanisms in situations where directly using constructors is inconvenient. \subsection{Composite Pattern}
- adapter TBD
- bridge
- composite \subsection{Facade Pattern}
- facade TBD
- proxy
\subsection{Proxy Pattern}
TBD
\section{Behavioral Patterns}
\subsection{Command Pattern}
TBD
\subsection{Observer Pattern}
TBD
\subsection{Strategy Pattern}
TBD
\subsection{Template Method Pattern}
TBD
\subsection{Visitor Pattern}
TBD
Behavioral patterns provides way of coordinating object behavior without increasing coupling too much.
- command
- observer
- strategy
- template method
- visitor
\end{document} \end{document}