private void extractThemeAndCriterionSet(){
  themeMap=new HashMap();
  criterionMap=new HashMap();
  for (  Test test : testSet) {
    Criterion criterion=test.getCriterion();
    if (criterionMap.containsKey(criterion)) {
      Integer testCounter=criterionMap.get(criterion) + 1;
      criterionMap.put(criterion,testCounter);
    }
 else {
      criterionMap.put(criterion,1);
    }
    Theme theme=criterion.getTheme();
    if (themeMap.containsKey(theme)) {
      Integer testCounter=themeMap.get(theme) + 1;
      themeMap.put(theme,testCounter);
    }
 else {
      themeMap.put(theme,1);
    }
  }
}

private void extractThemeAndCriterionSet ( ) { themeMap = new HashMap ( ) ; criterionMap = new HashMap ( ) ; for ( Test test : testSet ) { Criterion criterion = test . getCriterion ( ) ; if ( criterionMap . containsKey ( criterion ) ) { Integer testCounter = criterionMap . get ( criterion ) + 1 ; criterionMap . put ( criterion , testCounter ) ; } else { criterionMap . put ( criterion , 1 ) ; } Theme theme = criterion . getTheme ( ) ; if ( themeMap . containsKey ( theme ) ) { Integer testCounter = themeMap . get ( theme ) + 1 ; themeMap . put ( theme , testCounter ) ; } else { themeMap . put ( theme , 1 ) ; } } }
this method extracts a collection of themes for a given audit
