You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
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
The text was updated successfully, but these errors were encountered:
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
The text was updated successfully, but these errors were encountered: