Versions Compared

Key

  • This line was added.
  • This line was removed.
  • Formatting was changed.
Comment: Published by Scroll Versions from space DTPDEVEL and version 2025.1

...

File PatternResult
com/parasoft/**

Returns all violations in the com/parasoft directory tree, for example:

  • com/parasoft/dtp/SampleTest.java
  • com/parasoft/config.xml

But not:

  • com/example/schema.json
  • main/com/parasoft/example.txt
**/test/*.java

Returns all violations in files with the ".java" suffix under test directories from anywhere in the directory tree, for example:

  • test/Test.java
  • com/parasoft/dtp/test/SampleTest2.java

But not:

  • com/parasoft/dtp/test/examples/Example.java
  • com/parasoft/dtp/test/license.txt
*:artifactId/** 

Returns all violations in the Maven project with the specified artifactId, regardless of groupId.

groupId:artifactId/**

Returns all violations in the Maven project identified by the full Maven coordinate groupId:artifactId.

Performance

When creating file patterns, keep in mind that complex patterns will be slower. The table below illustrates how different pattern types affect search speed.

...