diff --git a/docs/manual/inference.tex b/docs/manual/inference.tex index 0347926af72..2d55d90da57 100644 --- a/docs/manual/inference.tex +++ b/docs/manual/inference.tex @@ -139,10 +139,9 @@ \end{Verbatim} The result is a set of log files placed in the \ folder of the -target project. The results of type-checking with each candidate set of -annotations will be concatenated into the file \; the final -results (i.e., those obtained using the most precise, consistent set of annotations) -will appear at the end of this file. +target project. +See Section~\ref{wpi-results} for an explanation of the log files generated by +an invocation of \. The inferred annotations appear in \<.ajava> files in a temporary directory whose name appears in the \ file; you can find their location by examining the \<-Aajava> argument @@ -229,6 +228,36 @@ You may need to wait a few minutes for the command to complete. +\subsectionAndLabel{Whole-program inference results}{wpi-results} + +The result of invoking \ are log files stored in the \ folder +of the target project. +The \ folder contains: + +\begin{itemize} +\item \: The final error messages produced by \, + comprising the results of type-checking obtained with the + latest iteration of WPI (i.e., using the most precise, consistent set of + annotations). +\item \: Logs collected from compiling the target project + without the Checker Framework, using the build file found at the + top-level directory. +\item \: The results of type-checking with each candidate set of + annotations, concatenated together in the order in which the annotations + were inferred. + The final results (i.e., those obtained using the most precise, consistent + set of annotations) will appear at the end of this file. +\item \: These files are separate from the logs in \. + They may be useful in the case where \ is not working as expected. +\item \: The log of the command executed at the top-level of the + target directory to invoke whole-program inference. +\item \: The list of all \<.java> files for which inference was + attempted by \, and the options passed to \. +\item \: Statistics from the invocation of \ on the target + project, including build time, the number of built \<.jar> files, the number of + executable \<.jar> files, the number of \ invocations, and the number of + source files. +\end{itemize} \subsectionAndLabel{Requirements for whole-program inference scripts}{wpi-shared-requirements}