javancss-maven-plugin - not getting class and method level reporting

classic Classic list List threaded Threaded
1 message Options
Reply | Threaded
Open this post in threaded view
|

javancss-maven-plugin - not getting class and method level reporting

Parikh, Bhavin G

I am using javancss-maven-plugin with Jenkins to generate the statistics on CCN for all classes and methods.
The POM file has the following section for the plugin.

<build>

   <plugins>

       <plugin>

                <groupId>org.codehaus.mojo</groupId>

                <artifactId>javancss-maven-plugin</artifactId>

                <version>2.0</version>

      </plugin> 

   </plugins>          

</build>

<reporting>

   <plugins>

       <plugin>

                <groupId>org.codehaus.mojo</groupId>

                <artifactId>javancss-maven-plugin</artifactId>

                <version>2.0</version>

      </plugin> 

  </plugins>

</reporting>

In Jenkins, I am using the following goal to generate the report. javancss:report

But my problem is I am only getting the package level complexity. How can I get complexity report for classes and methods level?