Static Analysis

0
Has anyone tried doing static analysis on the code generated by Mendix using something like CheckStyle or PMD? Is it reasonable to try this?
asked
1 answers
1

It wouldn't make much sense, as Mendix doesn't generate code. The Application Quality Monitor (AQM) first translates the Mendix models to (pseudo)code using the SDK and then performs its static analysis. You would have to implement a similar approach, and your results may be influenced by how well you translate the model to (in CheckStyle's case) actual Java code. A tool like Omnext's Fit Test may better test what you actually want: adherence to modeling guidelines and best practices for Mendix.

answered