<?xml version="1.0" encoding="UTF-8"?>
<commit>
  <added type="array"/>
  <modified type="array">
    <modified>
      <diff>@@ -59,11 +59,11 @@ def run_reek(file, configuration)
   analyzer = ReekAnalyzer.new(file)
   analyzer.perform
   if analyzer.code_smells.length &gt; 0
-    notifier_class.new(&quot;REEK WARNING&quot;, &quot;There are code smells in #{file}&quot;, REEK_ICON).notify
+    notifier_class.new(&quot;REEK WARNING&quot;, &quot;There are #{analyzer.code_smells.length} code smells in #{file}&quot;, REEK_ICON).notify
     #if configuration.options[:flog][:detailed]
-    (0..2).to_a.each do |index|
-      notifier_class.new(&quot;REEK WARNING&quot;, &quot;#{analyzer.code_smells[index]}&quot;, REEK_ICON).notify
-    end
+    #(0..2).to_a.each do |index|
+    #  notifier_class.new(&quot;REEK WARNING&quot;, &quot;#{analyzer.code_smells[index]}&quot;, REEK_ICON).notify
+    #end
     analyzer.to_html
     Utils.run_command(&quot;firefox #{Utils::WORK_DIR}/reek.html&quot;)
   end</diff>
      <filename>lib/continuous4r.watchr.rb</filename>
    </modified>
    <modified>
      <diff>@@ -25,6 +25,7 @@ class ReekAnalyzer
   # extracting HTML for reek
   def to_html
     File.open(&quot;#{Utils::WORK_DIR}/reek.html&quot;, &quot;wb&quot;) do |file|
+      file.write(Utils.begin_html_document(&quot;Reek Results for #{@file}&quot;))
       file.write(&quot;&lt;div id='bodyColumn'&gt;&lt;div class='contentBox'&gt;&quot;)
       file.write(&quot;&lt;div class='section'&gt;&lt;a name='reek'&gt;&lt;/a&gt;&lt;h2&gt;Reek Results for #{@file}&lt;/h2&gt;&quot;)
       file.write(&quot;&lt;p&gt;&lt;a href='http://reek.rubyforge.org/' target='_blank'&gt;Reek&lt;/a&gt; detects common code smells in ruby code.&lt;/p&gt;&quot;)
@@ -34,6 +35,7 @@ class ReekAnalyzer
         file.write(&quot;&lt;tr class='#{index % 2 == 0 ? 'a' : 'b'}'&gt;&lt;td&gt;#{code_smell}&lt;/td&gt;&lt;/tr&gt;&quot;)
       end
       file.write(&quot;&lt;/table&gt;&lt;p&gt;Generated on #{Time.now.localtime}&lt;/p&gt;&lt;/div&gt;&lt;/div&gt;&lt;/div&gt;&quot;)
+      file.write(Utils.end_html_document)
     end
   end
 </diff>
      <filename>lib/reek_analyzer.rb</filename>
    </modified>
    <modified>
      <diff>@@ -30,6 +30,17 @@ module Utils
     end
   end
 
+  def self.begin_html_document(title)
+    html = doctype
+    html &lt;&lt; &quot;&lt;head&gt;&quot;
+    html &lt;&lt; header(title)
+    html &lt;&lt; &quot;&lt;body class='composite'&gt;&quot;
+  end
+
+  def self.end_html_document
+    &quot;&lt;/body&gt;&lt;/html&gt;&quot;
+  end
+
   # Methode de verification de la presence d'un gem, avec installation au besoin
   def self.verify_gem_presence(gem, auto_install, proxy_option)
     gem_version = run_command(&quot;gem list #{gem}&quot;)
@@ -130,6 +141,23 @@ module Utils
     end
     return style
   end
+
+  private
+
+  def self.doctype
+    &quot;&lt;!DOCTYPE HTML PUBLIC \&quot;-//W3C//DTD XHTML 1.0 Transitional//EN\&quot; \&quot;http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd\&quot;&gt;&quot;
+  end
+
+  def self.header(title)
+    html = &quot;&lt;head&gt;&quot;
+    html &lt;&lt; &quot;&lt;meta http-equiv='content-type' content='text/html; charset=ISO-8859-1'&gt;&quot;
+    html &lt;&lt; &quot;&lt;title&gt;#{title}&lt;/title&gt;&quot;
+    html &lt;&lt; &quot;&lt;style type='text/css' media='all'&gt;\n&quot;
+    html &lt;&lt; &quot;@import url('./style/maven-base.css');\n&quot;
+    html &lt;&lt; &quot;@import url('./style/maven-theme.css');\n&quot;
+    html &lt;&lt; &quot;&lt;/style&gt;&quot;
+    html &lt;&lt; &quot;&lt;/head&gt;&quot;
+  end
 end
 
 class String</diff>
      <filename>lib/utils.rb</filename>
    </modified>
  </modified>
  <removed type="array"/>
  <parents type="array">
    <parent>
      <id>6c33a8cc2bb7fe8ae2e18c74adade1350404b067</id>
    </parent>
  </parents>
  <author>
    <name>Vincent Dubois</name>
    <email>vdubois@sqli-1610-2.(none)</email>
  </author>
  <url>http://github.com/vdubois/continuous4r/commit/393bb54fe8fee35d16da548f3e31751130cd606e</url>
  <id>393bb54fe8fee35d16da548f3e31751130cd606e</id>
  <committed-date>2009-10-06T23:17:15-07:00</committed-date>
  <authored-date>2009-10-06T23:17:15-07:00</authored-date>
  <message>updating html construction</message>
  <tree>003efaeb58f879d29202fdc39b7023c307f10385</tree>
  <committer>
    <name>Vincent Dubois</name>
    <email>vdubois@sqli-1610-2.(none)</email>
  </committer>
</commit>
