You are viewing a plain text version of this content. The canonical link for it is here.
Posted to users@maven.apache.org by Thomas Sundberg <ts...@kth.se> on 2011/08/01 15:59:00 UTC

[off topic] Code style check

Hi!

Does anybody know of a setting in Sonar that will catch code written
as a train wreck waiting to happen?

What I mean is code written similar to this:

foo().bar().foobar().barfoo();

Calling the return value from one method immediately.

I have looked into the Sonar docs and can't find what I'm looking for easily.

If you have any hints, please mail me off list.

Thanks!
Thomas

-- 
Thomas Sundberg
M. Sc. in Computer Science

Mobile: +46 70 767 33 15
Blog: http://thomassundberg.wordpress.com/
Twitter: @thomassundberg

Better software through faster feedback

---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscribe@maven.apache.org
For additional commands, e-mail: users-help@maven.apache.org