1. Dialyzer
1 Dialyzer
1.1 Introduction
Scope
Dialyzer is a static analysis tool that identifies software discrepancies, such as definite type errors, code that has become dead or unreachable because of programming error, and unnecessary tests, in single Erlang modules or entire (sets of) applications.
Dialyzer can be called from the command line, from Erlang, and from a GUI.
Prerequisites
It is assumed that the reader is familiar with the Erlang programming language.
1.2 The Persistent Lookup Table
Dialyzer stores the result of an analysis in a Persistent Lookup Table (PLT). The PLT can then be used as a starting point for later analyses. It is recommended to build a PLT with the Erlang/OTP applications that you are using, but also to include your own applications that you are using frequently.
The PLT is built using option --build_plt
to Dialyzer. The f