Include Issues on Multiple Criteria
Inclusions allow you to ignore everything but a certain pattern. Say that your profile includes the Magic Number rule, which but you only want it to run against files with Bean in the name. Inclusions give you the ability to do that. In essence, they allow a negative exclusion pattern. Here's one way to think of it: exclude Magic
exclude Magic Number on ![**/*Bean.java]
Which means, that Magic Number will be executed on files that end with Bean, but no others. Of course, the Examplesthe actual syntax is a bit different.
- I just want to check the rule Magic Number on Bean objects =>
- I just want to check for issues on COBOL programs located in directories bank/creditcard and
bank/bankcard=> two criteria to define:
<TODO> Update the screenshot