code: public static void write(final PrintWriter writer, final UicStats stats) {
  		writer.println("<dl>");
  
  		writer.print("<dt>Total root wcomponents found in UIC</dt>");
  		writer.println("<dd>" + stats.getRootWCs().size() + "</dd>");
  
  		writer.print("<dt>Size of UIC (by serialization)</dt>");
  		writer.println("<dd>" + stats.getOverallSerializedSize() + "</dd>");
  
  		writer.print("<dt>UI</dt>");
  		writer.println("<dd>" + stats.getUI().getClass().getName() + "</dd>");
  
  		writer.println("</dl>");
  
  		for (Iterator<WComponent> it = stats.getWCsAnalysed(); it.hasNext();) {
  			WComponent comp = it.next();
  			Map<WComponent, UicStats.Stat> treeStats = stats.getWCTreeStats(comp);
  
  			writer.println("<br /><strong>Analysed component:</strong> " + comp);
  			writer.println("<br /><strong>Number of components in tree:</strong> " + treeStats.size());
  
  			writeHeader(writer);
  			writeProfileForTree(writer, treeStats);
  			writeFooter(writer);
  		}
  	}
docs: Writes out the given statistics in HTML format.
  
  @param writer the writer to write to.
  @param stats the stats to write.