anchor.diff:        SuiteEntry suiteEntry = null;
         String sourceIdKey = "";
         Map<String, List<ProfileEntry>> profileInfos;
  -      for(String key : Conf.getSuites().keySet()) {  	  
  -	      String onlySourceName = sourcesName.substring(0,sourcesName.lastIndexOf("_"));
  -    	  if(key.contains(onlySourceName)){
  -    		  sourceIdKey = key;
  -    		 suiteEntry = Conf.getSuites().get(key);
  -    	  }
  +      for(String key : Conf.getSuites().keySet()) {        
  +          String onlySourceName = sourcesName.substring(0,sourcesName.lastIndexOf("_"));
  +          if(key.contains(onlySourceName)){
  +              sourceIdKey = key;
  +             suiteEntry = Conf.getSuites().get(key);
  +          }
         }
         if (sourcesName == null) {
             suiteName = "error: sourcesName is null";
         } else {
             SuiteEntry se = Conf.getSuites().get(sourcesName);
             if (se == null) {
  -        	  if(suiteEntry != null){
  -        		  String title = suiteEntry.getTitle();
  +              if(suiteEntry != null){
  +                  String title = suiteEntry.getTitle();
                     suiteName = (title == null) ? "error: suiteEntry title is null" : title;
  -        	  } else {
  -             		suiteName = "error: suitEntry is null";
  -        	  }
  +              } else {
  +                     suiteName = "error: suitEntry is null";
  +              }
             } else {
                 String title = se.getTitle();
                 suiteName = (title == null) ? "error: suiteEntry title is null" : title;
  
positive.code:         int i = 0;
          
          if(Conf.getProfiles().get(ts.getSourcesName()) == null){
          	sourceId = sourceIdKey;
          } else {
          	sourceId = ts.getSourcesName();
          }
  	      for (ProfileEntry profile : Conf.getProfiles().get(sourceId)) {
  	          out.println("<h3>Profile: " + profile.getTitle() + "</h3>");
  	          if (ts.getProfiles().contains(profile.getId())) {
  	        	  String path = sessionId + "/" + profile.getLocalName();
                complete = ViewLog.view_log(suiteName,userlog, path, tests, ViewLogTemplates, out, (i+2));
  				      out.println("<br/>");
                profileParams += "&amp;" + "profile_" + Integer.toString(i) + "=" + URLEncoder.encode(profile.getId(), "UTF-8");
                i++;
  		      }
  	      }
        }
  %>
  
  
negative.code: %>
      <p>
      See the <a href="<%=request.getContextPath()%>/reports/<%=request.getRemoteUser()%>/<%=sessionId%>/html/">detailed test report</a>.
       </p>
  <% } %>
  
  <%--
  