The document discusses applying static code analysis tools like SonarQube to analyze domain-specific languages (DSLs) developed using frameworks like Xtext. It presents a model-driven approach to automatically generate the code analyzers required by SonarQube from Xtext grammars. Case studies applying this to analyze algorithms in pseudocode and sheet music are described. Results found some correlation between manual and tool-based quality analysis, and musicians found the errors reported by the tool useful. Future work includes analyzing visual DSLs and model-driven development of augmented reality editors.