We have a number of large C++ MFC project that we manage. Unfortunately, the code quality in them not very good and there are no unit tests. I am therefore looking for tools that can help us to analyze and improve the code.
I am looking for tools for the following:
- Find duplicate code (there are a lot of such in the code)
- Find problem code based on software metrics
- Give suggestions on how the code can be improved
- Framework for Unit Tests (the development team has lite experience with unit testing and code is not written to allow such)
I would like that the tools can be used together with TFS Build
If you want a good reference book for unit testing on C++ - take a look at Modern C++ Programming with Test-Driven Development.