posts - 11, comments - 3, trackbacks - 0, articles - 0
            BlogJava :: 首頁 :: 新隨筆 :: 聯系 :: 聚合  :: 管理

          Open Source Code Coverage Tools in Java

          Posted on 2006-07-19 15:29 eddy liao 閱讀(928) 評論(0)  編輯  收藏 所屬分類: 軟件質量
          http://java-source.net/open-source/code-coverage

          Quilt

          Quilt is a Java software development tool that measures coverage , the extent to which unit testing exercises the software under test. It is optimized for use with the JUnit unit test package, the Ant Java build facility, and the Maven project management toolkit.

          Go To Quilt

          EMMA

          EMMA is an open-source toolkit for measuring and reporting Java code coverage. EMMA distinguishes itself from other tools by going after a unique feature combination: support for large-scale enterprise software development while keeping individual developer's work fast and iterative at the same time. Every developer on your team can now get code coverage for free and they can get it fast! EMMA is so lightweight developers can use it during the process of writing tests instead of waiting for a "test build". This gets code coverage where it belongs: helping with design and implementation before the code is checked in.

          Go To EMMA

          NoUnit

          NoUnit allows you to see how good your JUnit tests are. It generates a report from your code to graphically show you how many of your project's methods are being tested , and how well.

          Go To NoUnit

          InsECT

          InsECT which stands for Instrumentation Execution Coverage Tool, is a system developed in Java to obtain coverage information for Java programs. InsECT instruments (inserts instructions into) Java class files at the bytecode level with probes to report information about a system at runtime. The goal of InsECT is to provide detailed coverage information about Java programs by taking into full account the object-oriented behavior and language features of Java. Furthermore, as an open-source project, InsECT is designed to be extensible for use in a wide variety of dynamic analyses. InsECT utilizes the Byte Code Engineering Library.

          Go To InsECT

          Hansel

          Hansel is an extension to JUnit that adds code coverage testing to the testing framework.

          Go To Hansel

          Jester

          Jester finds code that is not covered by tests. Jester makes some change to your code, runs your tests, and if the tests pass Jester displays a message saying what it changed. Jester includes a script for generating web pages that show the changes made that did not cause the tests to fail.

          Go To Jester

          JVMDI Code Coverage Analyser

          This small utility is a shared library which when loaded into a Java VM (1.4+) which supports JVMDI will record all the lines of code executed. This is a relatively coarse coverage method, but good enough for a lot of purposes.

          Go To JVMDI Code Coverage Analyser

          GroboCodeCoverage

          GroboCodeCoverage is a 100% Pure Java implementation of a Code Coverage tool. It uses Jakarta's BCEL platform to post-compile class files to add logging statements for tracking coverage.

          Go To GroboCodeCoverage

          jcoverage/gpl

          jcoverage/gpl is a free code-coverage tool for Java聶 programmers that allows them to measure the effectiveness of their Java tests and how much of a software program's code has been tested. jcoverage/gpl identifies how many times each line of code in your application has been executed and you can see which parts of your software remain untested. After instrumenting your code and running your tests, a report is generated allowing you to view information coverage figures from a project level right down to the individual line of code. This process is called 'code coverage'.

          Go To jcoverage/gpl

          JBlanket

          JBlanket is a tool for assessing and improving method coverage of unit test cases. It is integrated with JUnit and Ant.

          Go To JBlanket

          Cobertura

          Cobertura is a free Java tool that calculates the percentage of code accessed by tests. It can be used to identify which parts of your Java program are lacking test coverage. It is based on jcoverage. Cobertura produces very nice reports. It works by instrumenting Java bytecode after it has been compiled.

          Go To Cobertura

          Coverlipse

          An eclipse plugin for code coverage visualization of JUnit Tests. Supported coverages include block coverage and all-uses coverage (Data Flow Analysis). License is CPL (Common Public License)

          Go To Coverlipse

          主站蜘蛛池模板: 双江| 义马市| 乐东| 泗洪县| 仪征市| 墨玉县| 茶陵县| 衢州市| 那曲县| 苏尼特右旗| 瑞丽市| 临安市| 铜山县| 汉川市| 周宁县| 汶川县| 华宁县| 丽江市| 凭祥市| 年辖:市辖区| 教育| 井陉县| 富川| 读书| 崇礼县| 边坝县| 嘉祥县| 林西县| 琼结县| 盱眙县| 江达县| 原平市| 保定市| 上饶市| 太白县| 旅游| 黑河市| 泉州市| 宜章县| 镇巴县| 白沙|