[Interest] [Qml] Best way to detect unnecessary import

Jérôme Godbout jerome at bodycad.com
Thu Aug 25 15:02:05 CEST 2016


Hi,
is their a good way to detect unnecessary import into Qml script? we did
many modules and refactor, as any good developer we would like to keep the
code as possible.

I was think by doing a walker on every script file that load the file and
try to remove each import to see if the Component still load.

The end goal is to have Jenkins running this checker into CI and warns
about them.

Jerome
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.qt-project.org/pipermail/interest/attachments/20160825/435c9914/attachment.html>


More information about the Interest mailing list