Posts

Showing posts from March, 2017

What is Emma ?

Image
What is Emma ?  Emma is an open source toolkit for measuring and reporting Java Code coverage. EMMA is distributed under the terms of Common Public License v 1.0. EMMA is not currently under active development; the last stable release took place in mid-2005. As replacement, JaCoCo was developed.   EMMA works by wrapping each line of code and each condition with a flag, which is set when that line is executed. Features ·          instrument classes for coverage either offline (before they are loaded) or on the fly (using an instrumenting application class loader). ·          Supported coverage types: class, method, line, basic block. EMMA can detect when a single source code line is covered only partially. ·          Coverage stats are aggregated at method, class, package, and "all classes" levels. ·        ...

FindBug

Image
Introduction to FindBug Static analysis, also called static code analysis, is a method of computer program debugging that is done by examining the code without executing the program. The process provides an understanding of the code structure, and can help to ensure that the code adheres to industry standards. FindBug is an open source project for free static source code analysis tool created by David Hovemeyer and Bill Pugh which helps you to find the bugs in your java code and improve the code quality. Bug Rank - bugs are given a rank 1-20, and grouped into the categories scariest (rank 1-4), scary (rank 5-9), troubling (rank 10-14), and of concern (rank 15-20). Scope of applicability (Usage of FindBug) FindBugs supports only Java at this time limits uses to Java based applications. However, since FindBugs supports detection of various categories of bugs, it can be used in different settings. For Instance, it can be used to detect performance bugs in embedded applications.can ...