Important Notice: Our web hosting provider recently started charging us for additional visits, which was unexpected. In response, we're seeking donations. Depending on the situation, we may explore different monetization options for our Community and Expert Contributors. It's crucial to provide more returns for their expertise and offer more Expert Validated Answers or AI Validated Answers. Learn more about our hosting issue here.

What static code analysis tools are there?

analysis code static tools
0
10 Posted

What static code analysis tools are there?

0

There are several tools which detect various classes of likely programming errors in Erlang code. XREF finds all undefined module calls in a set of modules, i.e. it catches errors caused by mistyping module or function names, among others. The Erlang Compiler has several in-built options which help detect problems. Most of these (e.g. reporting unused variables, unused functions and some classes of dead code) are enabled by default. The Dialyzer is a dedicated static code analysis tool which examines .beam object files. Among other things, it does a global analysis and reports dead code and some classes of type error. Highly recommended.

Related Questions

What is your question?

*Sadly, we had to bring back ads too. Hopefully more targeted.