3 Replies Latest reply on Jan 2, 2010 9:41 PM by Xavier Agnetti

    FlexMetrics not counting the JavaDoc comments

    running3000

      Hi folks,

       

      i configured my ant build file like in the documentation... but FlexMetrics doesn't count the comments. I get a nice list of my packages, how much classes and functions are in... but no count for the comments...

       

       

      <taskdef
      
           name="metrics"
      
           classname="com.adobe.ac.pmd.metrics.ant.FlexMetricsAntTask"
      
           classpath="${flexpmd.dir}/flex-pmd-metrics-ant-task-${flexpmd.version}.jar"
      
           onerror="report">
      
           <classpath>
      
                <pathelement location="${flexpmd.dir}/flex-pmd-files-${flexpmd.version}.jar" />
      
                <pathelement location="${flexpmd.dir}/flex-pmd-metrics-${flexpmd.version}.jar" />
      
                <pathelement location="${flexpmd.dir}/as3-plugin-utils-${flexpmd.version}.jar" />
      
                <pathelement location="${flexpmd.dir}/as3-parser-${flexpmd.version}.jar" />
      
                <pathelement location="${flexpmd.dir}/as3-parser-api-${flexpmd.version}.jar" />
      
                <pathelement location="${flexpmd.dir}/commons-lang-2.4.jar" />
      
                <pathelement location="${flexpmd.dir}/flex-pmd-ruleset-api-${flexpmd.version}.jar" />
      
                <pathelement location="${flexpmd.dir}/pmd-4.2.5.jar" />
      
                <pathelement location="${flexpmd.dir}/dom4j-1.6.1.jar"/>
      
           </classpath>
      
      </taskdef> 
      
      <target
      
       name="metrics">
      
           <metrics sourcedirectory="${src.dir}" outputfile="${bin.dir}/javancss.xml"/>
      
      </target>
      
      
      


      Anybody else with this strange behaviour? Ah and yes, we do have comments in our source files...

       

      Oli