What is Jacoco and How it works? An Overview and Its Use Cases

What is Jacoco? JaCoCo is an open-source toolkit for measuring code coverage in a code base and reporting it via visual reports. It is quite popular among a variety of…

Read more »

Top 50 Cobertura interview questions and answers

1) Where Does The Name “cobertura” Come From? “Cobertura” is the Spanish and Portuguese word for “coverage.” We were trying to avoid acronyms and coffee references. It’s not too hard…

Read more »

Top 50 Ncover interview questions and answers

1) What is code coverage analysis? A code coverage analyzer monitors your code at runtime and records information about which lines of code were executed. NCover shows each sequence point…

Read more »

Top 50 Jacoco interview questions and answers

1) Is JaCoCo only for Java? JaCoCo supports Java class files from version 1.0 to 16. However the minimum JRE version required by the JaCoCo runtime (e.g. the agent) and…

Read more »

Top 50 Unit testing interview questions and answers

1) What is smoking? In unit testing, we use mocking. An object you want to test may have other complex object dependencies. You replace the other objects with mocks simulating…

Read more »
know-about-sonarjava

What is SonarJava? Is it replacement for Checkstyle, PMD, FindBugs?

Know About SonarJava! Is it replacement for Checkstyle, PMD, FindBugs?

SonarJava has a great coverage of well-established quality standards. The SonarJava capability is available in Eclipse and IntelliJ for developers (SonarLint) as well as throughout the development chain for automated code review with on-premise SonarQube or on-line SonarCloud.

 
SonarJava is a code analyzer for Java projects. Information about the SonarJava features is available below;
 
Why SonarJava?
SonarQube is currently on the way to deprecate PMD, Checkstyle and Findbugs and use their own technology to analyze Java code (called SonarJava). They do it, because they don’t want to spend their time fixing, upgrading (or waiting on it) those libraries (e.g. for Java 8), which for example uses outdated libraries. Well at least since SonarQube 6.3+ it seems to be that Findbugs is (at the moment) no longer supported as a plugin.
 
code-coverage-and-test-coverage-difference

Difference between Code Coverage and Test Coverage | Code Coverage VS Test Coverage

There is not any official distinguished between code Coverage and Test Coverage. Some practitioner has expressed their difference opinion in terms of defining Code Coverage and Test Coverage. Code coverage…

Read more »
code-coverage

What is Code Coverage and Why Code Coverage?

What is Code Coverage Code Coverage is an important measurement in Software Quality Engineering. While Software testing ensures correctness of the applications, a metric is required to track the What…

Read more »
emma-overview

Overview of EMMA | Code Coverage Tool – EMMA

Overview EMMA is a tool for measuring coverage of Java software. Such a tool is essential for detecting dead code and verifying which parts of your application are actually exercised…

Read more »
clover-and-maven-working-with-distributed-applications

Clover and Maven working with Distributed Applications

1.       Configure maven clover plugin. 2.       Build the all components with clover enabled. 3.       Deploy the clover enabled build to test server. 4.       Run the tests. 5.       Create & Review…

Read more »