
15 Dec
2013
15 Dec
'13
8:36 p.m.
Hi, What would you think about using the "nesting level" sniff please? This sniff permits to detect when there are too much nested levels like: if (...) { if (...) { if (...) { if (...) { if (...) { .... } } } } } This kind of syntax often means that a refactoring is needed or a rewrite. I can add it myself if you agree. Thanks, Hugues.