Open szszszsz opened 8 years ago
Added duplication report made with Duplo to wiki: https://github.com/Nitrokey/nitrokey-app/wiki After fixing these duplications we can also check other tools.
We could also use https://scrutinizer-ci.com/tour/measure-and-improve-code-quality (free for open source projects).
Use QSignalMapper to connect password slots in menu and reduce code amount in mainwindow.cpp. https://doc.qt.io/archives/qq/qq10-signalmapper.html http://doc.qt.io/qt-5/qsignalmapper.html
Code was heavily refactored in v1.0. App was migrated to libnitrokey
and with it duplicated code segments were removed. Code reformat will be done later.
Code needs some refactoring:
Any ideas connected with refactoring should be published here.