code: public List<CmsSite> getAvailableCorruptedSites(CmsObject cms, boolean workplaceMode) {
  
          List<CmsSite> res = new ArrayList<CmsSite>();
          List<CmsSite> visSites = getAvailableSites(cms, workplaceMode);
          Map<CmsSiteMatcher, CmsSite> allsites = getSites();
          for (CmsSiteMatcher matcher : allsites.keySet()) {
              CmsSite site = allsites.get(matcher);
              if (!visSites.contains(site) & !res.contains(site)) {
                  res.add(site);
              }
          }
          return res;
      }
docs: Returns all wrong configured sites.<p>
  
  @param cms CmsObject
  @param workplaceMode workplace mode
  @return List of CmsSite