lizard
lizard copied to clipboard
Negated exclude, or specific include?
Hi everybody,
is there a way to invert / negate the -x exclude pattern?
For example, let's assume a source tree which has multiple */test/* sub-directories, e.g. one per component.
With lizard src/ -x "*/test/*" I can easily get the SLOC / CCN for everything but test code.
But how would I get the SLOC / CCN for only the test code?
(I haven't found a way to explicitly include a pattern, or alternative to negate a exclude pattern yet, there seems to be no lizard src/ --include "*/test/*" or similar...)
Cheers, Torben