I’m working on a Qt project with lots of QML files. For this, there is no specific plugin, however, I’d still like to be able to track some basic metrics that are independent of the language.
I’m looking for a way to track the number of lines in general files, blame information, possibly also code duplicates. Is this possible without writing a custom plugin for each specific file type?
Yes, you’d need to write the plugin. Feel free to come back in the Plugin Development category if you have specific questions about the process. Also, feel free to take a look at how the other open-source analyzers do it. SonarXML might be a good place to start…