<?xml version="1.0" encoding="UTF-8"?>
<document xmlns="http://maven.apache.org/XDOC/2.0"
  xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
  xsi:schemaLocation="http://maven.apache.org/XDOC/2.0 http://maven.apache.org/xsd/xdoc-2.0.xsd">

  <properties>
    <title/>
    <author email="Codenarc-developer@lists.sourceforge.net">CodeNarc Development Team</author>
  </properties>

  <!-- Optional HEAD element, which is copied as is into the XHTML <head> element -->
  <head>
     <style media="screen" type="text/css">
          table.bodyTable tr.a {
               background-color:#ffffff;
          }
          table.bodyTable tr.b {
               background-color:#ffffff;
          }
          table.bodyTable img {
               padding-right:8px;
               float:left;
          }
     </style>
  </head>

  <body>

<div style="color:#990000;font-size:x-large;font-weight:900">
Static Analysis for Groovy: Less Bugs, Better Code
</div>

<p>
  <strong>CodeNarc</strong> analyzes Groovy code for defects, bad practices, inconsistencies, style issues
    and more. A flexible framework for rules, rulesets and custom rules means it's easy to configure CodeNarc
    to fit into your project. Build tool, framework support, and report generation are all enterprise ready.
</p>


<table>
<tr>
     <td width="50%">
          <a href="http://meetcodenarc.appspot.com/"><img src="images/tryit.png" class="bigimage"/></a>
          <a href="http://meetcodenarc.appspot.com/">CodeNarc Web Console</a> let's you play with the latest snapshot,
               containing over 175 rules with more added each week.
               Enter some text, click execute, and see the violations. Or run some <a href="http://meetcodenarc.appspot.com/">scripts</a>
               <a href="http://meetcodenarc.appspot.com/edit/2001">we</a> <a href="http://meetcodenarc.appspot.com/edit/1">made</a>.
     </td>
     <td>
             <a href="http://sourceforge.net/projects/codenarc/files//"><img src="images/getit.png" class="bigimage" /></a>
          CodeNarc triggers violations based on rules. Click the links to the left to view all the rules, such as
              the <a href="codenarc-rules-basic.html">basic</a>, or <a href="codenarc-rules-concurrency.html">concurrency</a>
              rules. Or you can <a href="codenarc-creating-ruleset.html">create your own ruleset</a>;
              see how easy it is in this <a href="http://www.youtube.com/watch?v=ZPu8FaZZwRw">screencast</a>.

     </td>
</tr>
<tr>
     <td>
          <section name="Running CodeNarc">
                 Run CodeNarc with the <a href="codenarc-ant-task.html">Ant Task</a>,
                 the <a href="codenarc-command-line.html">command-line runner</a>, or
                 <a href="codenarc-run-as-a-test.html">as part of your test suite</a>. 
                    Also,  plugins exist for <a href="codenarc-other-tools-frameworks.html">Maven</a>,
                   <a href="codenarc-other-tools-frameworks.html">Gradle</a>, <a href="codenarc-other-tools-frameworks.html">Grails</a>,
                    <a href="codenarc-other-tools-frameworks.html">Griffon</a>, <a href="codenarc-other-tools-frameworks.html">Sonar</a>
                   and <a href="codenarc-other-tools-frameworks.html">Hudson</a>. See our 
                    <a href="codenarc-other-tools-frameworks.html">Integration</a> page for more details.
               Reports come in HTML, XML, or text format.  Take a look at a
               <a href="SampleCodeNarcHtmlReport.html">Sample CodeNarc HTML Report</a>,
               or a <a href="./SampleCodeNarcXmlReport.xml">Sample CodeNarc XML Report</a>.
          </section>
     </td>
     <td>
     <section name="Requirements">
          <strong>CodeNarc</strong> requires:
          <ul>
               <li>
                   <a href="http://groovy.codehaus.org/">Groovy</a> version 2.1</li>
               <li>Java 1.6 or later</li>
               <li><a href="http://logging.apache.org/log4j/index.html">Log4J</a> 1.2.13 or later on the classpath</li>
          </ul>
     </section>
     </td>
</tr>
<tr>
     <td>
          <section name="Get it from Maven2">
               For projects built using <a href="http://maven.apache.org/">Maven</a>, <strong>CodeNarc</strong> is available
               from the
                   <a href="http://repo1.maven.org/maven2/org/codenarc/CodeNarc/">Maven Central Repository</a>
                    <ul>
                         <li>groupId = org.codenarc</li>
                         <li>artifactId = CodeNarc</li>
                    </ul>
          </section>
     </td>
     <td>
          <section name="Inspirations">
             We're inspired by the wonderful <a href="http://pmd.sourceforge.net/">PMD</a>
            and <a href="http://checkstyle.sourceforge.net/">Checkstyle</a> Java static analysis tools, as well
            as the extensive Groovy inspections performed by <a href="http://www.jetbrains.com/idea/">IntelliJ IDEA</a>.
          </section>
     </td>
</tr>
</table>

</body>

</document>
