38

I think you can use: https://github.com/erikbern/git-of-theseus It can visualize the amount of code still in use since its conception. This is a graph of the Git codebase itself:


11

On browsing through the of @Niels van Reijmersdal answer, I found this written in the README Markovtsev Vadim implemented a very similar analysis that claims to be 20%-6x faster than Git of Theseus. It's named Hercules and there's a great blog post about all the complexity going into the analysis of Git history. So well lookup Hercules and go through ...


10

Well, SonarQube has a metric actually called Maturity, so, yeah. :)


2

You can do this in Administration -> Configuration -> Analysis Scope -> Restrict Scope of Coding Rules. You need to specify the code of the rule (without spaces) and a file path pattern to filter. If you use the maven standard **/src/main/** will work for you. For more information see the docs where it states that you can: ...exclude files/directories ...


1

You can check Codacy. This will give some insight about code.


1

The best tool I know is Codescene https://codescene.io.


Only top voted, non community-wiki answers of a minimum length are eligible