merkrafter / Merkompiler

A JavaSST compiler written in Java as a study project
MIT License
2 stars 0 forks source link

Introduce static code analysis #56

Open merkrafter opened 4 years ago

merkrafter commented 4 years ago

Is your feature request related to a problem? Please describe. A static code analyser can find probable bugs in the code based on common patterns.

Describe the solution you'd like Some static code analyser should be integrated into the QA workflow.

Describe alternatives you've considered

merkrafter commented 4 years ago

SonarCube looks like it is a sophisticated enterprise-level solution that requires a server running somewhere. It provides deep insights into the code, looks beautiful, and provides a ranking of the issues and detailed explainations. However, due to the complexity it is probably not suitable for Merkompiler. Definitively keep this in the back of the head for later.

merkrafter commented 4 years ago

SpotBugs does not support Kotlin (yet). Hence have a look at detekt, a static analyzer for Kotlin code.