retour au sommaire Maven Jakarta / POI
Ajouter un commentaire, une note, faire une correction, référencer un lien, ...

jMetra

Simple Code Metrics Collection and Analysis Package for Java

Historique jMetra :

Table des matières :

Note

jMetra est une solution simple pour avoir des métriques sur le code source Java.

  • Métriques
    • Lignes de code (LOCC) (lignes vides ou en commentaire exclues) par classe, package.
    • Nombre de méthodes (méthodes abstraites exclues) par Classe, package.
    • Nombre de classes ou interfaces par package.
  • Autres fonctionalités
    • Il présente les sommes par package, package et sous package, et par classe
    • Il permet de suivre l'évolution de ces nombres dans le temps en générant un graph.
    • Il génère des fichiers xml avec toutes les données
    • Il génère des fichiers HTML avec navigation dans les packages, les classes et le temps
    • Supporte ANT
  • Gratuit / Open Source
  • Points à améliorés
    • Augmenter les métriques (nombre de lignes en commentaires, ...)

Source : Loribel

Overview

You want to collect code metrics for your Java projects in a simple way, in some standard format, without getting locked into a vendor, and without paying for tons of bells and whistles you won't even begin to use.
  • jMetra is a simple and expandable tool for collecting project metrics and outputting them into XML files. The tool can also generate HTML documentation from the produced metrics files.
  • jMetra is a tool for collecting code metrics across a project lifecycle and compiling the results into JavaDoc-styled documentation to analyze project metrics over time. jMetra is best utilized by integrating it with your project's build process.
  • jMetra is a 100% pure Java application with an easy-to-use command line interface. Ant integration is now available!
Key Capabilities / The following are key capabilities of jMetra:
  • Collects Lines-of-code-counted (LOCC), Method count, and Class count at the package level. Collects Method counts and LOCC for individual classes. Metrics are provided for both individual packages and the summation of results from all subpackages.
  • Easy automation of metrics collection across a project. This includes source with multiple source roots.
  • Resulting metrics for a project are represented in a XML document.
  • jMetra allows metrics results taken across time to easily be aggregated into XML documents than span multiple metrics collections (i.e. builds).
  • Continuity in tracking source code even as it changes class name or package location through the project lifecycle.
  • Generation of jMetraDoc for easy viewing of results. jMetraDoc mimics the layout and navigation of JavaDoc.
  • Automated compilation and metrics calculations for JSPs.
  • Customizable jMetraDoc using a template engine and customized cascading style sheets (css).

Source : jMetra

Installation

  • UnZip jMetra to a desirable location on your computer.
  • JAVA_HOME : Change the JAVA_HOME in the scripts located in ${INSTALL_DIR}\bin to point your JDK home.
  • JMETRA_HOME : Change the JMETRA_HOME in the scripts located in ${INSTALL_DIR}\bin to point to the location where you installed jMetra.

Ant integration

<taskdef name="jmetrametrics" classname="com.jmetra.tools.ant.JMetraMetricsTaskDef" /> <taskdef name="jmetrametricsaggr" classname="com.jmetra.tools.ant.JMetraMetricsAggrTaskDef" /> <taskdef name="jmetradoc" classname="com.jmetra.tools.ant.JMetraDocTaskDef" />
<jmetrametrics verbose="true" config="${projproducthome}/bin/jmetraconfig.xml" rootsource="${rootsource}" sourcekeyword="java" outputdir="${projmetricsdir}" /> <!-- can use the recent="10" option for just doing recent aggregations. --> <jmetrametricsaggr verbose="true" config="${projproducthome}/bin/jmetraconfig.xml" metricsdir="${projmetricsdir}" outputdir="${projaggrmetricsdir}" /> <jmetradoc verbose="true" package="com.jmetra;com.hcision.tools" aggrmetricsdir="${projaggrmetricsdir}" outputdir="${projmetricsdir}/docs" incparents="true" />
JMetra
http://www.hypercisioninc.com/jmetra/hc_download.html

Outils liés :

http://jrefactory.sourceforge.net/ JRefactory

Plugin for JBuilder, or other IDE


http://www.jedit.org/ JEdit

java Open Source programmer's text editor


http://www.java2html.com/ Java To HTML

Transformer le code source en fichiers HTML


http://sourceforge.net/projects/jtidy/ HTML TIDY

Clean up your Web pages


http://pmd.sourceforge.net/ PMD

Analyseur de fichiers source Java


http://szeiger.de/java/jmarkup.html JMarkup

Converts Java source code to HTML


http://checkstyle.sourceforge.net/ CheckStyle

http://www.cs.umd.edu/~pugh/java/bugs/ FindBugs

A Bug Pattern Detector for Java


http://sourceforge.net/projects/javadiff/ JDiff

Pour comparer le code source java


http://sourceforge.net/projects/xdoclet/ XDoclet

http://sourceforge.net/projects/jext/ Jext

Editeur openSource java


http://members.nextra.at/johann.langhofer/index.html JxBeauty

Authoring and Deployment Tools


http://developer.java.sun.com/developer/earlyAccess/doccheck/index.html Doc Check Doclet

For checking doc comments in source files [from Sun]


http://developer.java.sun.com/developer/earlyAccess/javahelp/ Java Help

Online help in applets, applications, operating systems, and devices


Version imprimable...
Envoyer à un ami...

Sujets liés

Outils pour fichiers sources
JavaDoc
tous les sujets...

Sites de référence

tous les liens...

Memento

tous les memento...

Outils pour fichiers sources

Articles [1] - Outils [14] -

JavaDoc

Articles [3] - Outils [12] -

Choisir les meilleures vitamines...



Films Disney

Vidéos sur les OGM

Villes de France sur GoogleMap

Java - XML - Web


Informatique


Voir Aussi



Google