A resource group is a collection of resources (files and/or folders) defined by a set of one or more Ant file patterns. Resource groups enable more granular views of the data associated with a filter. After associating a resource group with a filter, the data presented in all widgets, reports, and explorer views for static analysis violations, metrics results, and coverage will be narrowed according to the defined pattern. Unit test results are not affected by resource groups. The following widgets and reports that present data according to resource groups are also available in DTP: 

See Adding Resource Groups to Projects for instructions on associating the resource groups you created for the project with filters.

  1. Choose Report Center Settings from the settings (gear icon) menu.
  2. Choose Filters in the Administration sidebar.
  3. Create a new filter or click on an existing filter.
  4. Click Add Resource Group in the Resource Group section.
  5. Click the add icon (+) to associate a resource group with the filter and click Confirm. If resource groups have not been created for the project, the overlay will be empty. See Adding Resource Groups to Projects for information on how to create resource groups.
     
  6. Click the delete icon (x) to remove the resource group from the filter.
     
  7. You can click on the resource group name add, remove, or modify resource group patterns in an overlay (see Adding Resource Groups to Projects for additional information). 

    All Instances of the Resource Group Will Be Modified

     If you make changes to a resource group, other filters that use the same resource group will be affected.

     

Changes are automatically saved.

About Resource Group Performance

The performance of DTP API when resource groups are used depends on the file patterns in the resource groups. Performance is most heavily influenced by how the database engine matches the pattern of the string specified. More complex file patterns are slower because they require more complex algorithms for matching strings. See Using File Patterns in DTP for more information.


  • No labels