Need to identify dead code and unused files in the codebase for QML & JS files. Are there any tools for Qt/C++?
Asked
Active
Viewed 518 times
1 Answers
2
Good question. Will monitor it, because Qt/QML world lacks of such OpenSource tool. Somehow it is related to QML Code Coverage Analysis.
Still there is no straight answer. Here are few possible solutions I've found so far.
- Since you are talking about JS, there is ESLint and here is WIP project eslint-plugin-qml, Lint JavaScript code in QML files.
- There is proprietary paid tool froglogic Coco Code Coverage that looks like can parse QML too. Can't say something since never tried, but it looks promoting.

NG_
- 6,895
- 7
- 45
- 67