Is it necessary that the number of tokens in the antipattern is the same as the number of tokens in the pattern?
If it is, it might be a useful test to add.
If it is not, for the better.
No, there is no such restriction. The number of tokens in a pattern-antipattern pair need not be identical.
2 Likes
No, It’s not compulsory to be the same number of pattern and antipattern.