Hudson/Jenkins source code metrics?

If so SONAR should certainly be your first port of call. It does a lot on it's own and also wraps up all the major Java analysis tools, such as: Out of the box, you'll get metrics on: Potential Architectural & Design issues Unit test coverage (uses cobertura) Lines of code\packages\classes etc Potential bugs Code duplication Adherence to code formatting standards (plus many more) It allows you to traverse from the high level analysis through to the source code it relates to.It will be easier if you're using Maven for your build though There is a Hudson plugin. And it's free.

If so, SONAR should certainly be your first port of call. It does a lot on it's own and also wraps up all the major Java analysis tools, such as: Out of the box, you'll get metrics on: Potential Architectural & Design issues Unit test coverage (uses cobertura) Lines of code\packages\classes etc Potential bugs Code duplication Adherence to code formatting standards (plus many more) It allows you to traverse from the high level analysis through to the source code it relates to.It will be easier if you're using Maven for your build though... There is a Hudson plugin. And it's free.

Try CCCC (sourceforge.net/projects/cccc/). It does code counting, module counting (classes), etc. , and the plugin also graphs it for you.(for C, C++) Incidently, what language are you looking at?

You don't specify which language you are using, but Redsolo's awesome blog post Guide to building . NET projects using Hudson shows you how to use FxCop and NUnit on Hudson to give some of what you are looking for. The Violations plugin used also supports Simian, CPD, PMD and PyLint.

There's also CLOC (Count lines of Code) which will tell you how many lines of each language you have, although I can't seem to find a link for it.

1 cloc.sf. Net – Andrey Regentov Oct 31 at 11:05 Ah, thanks. If you read that page you'll notice that it's a command line program.So to make it work with Hudson or Jenkins, you'd have to add some shell script as a build step, and use that to run CLOC (not a big deal, that's how we do it at my work).

– Cam Jackson Nov 1 at 23:37.

I cant really gove you an answer,but what I can give you is a way to a solution, that is you have to find the anglde that you relate to or peaks your interest. A good paper is one that people get drawn into because it reaches them ln some way.As for me WW11 to me, I think of the holocaust and the effect it had on the survivors, their families and those who stood by and did nothing until it was too late.

Related Questions