Archive for the 'Code Based Testing' Category

Non linear paths from Application Code

October 4, 2007

The applications become complex as their code base increases. This has challenges for the testers to determine the nonlinear paths in the application.
Most of the Static Analysis tools over the application code helps us to  identify the  cyclomatic complexity (nonlinear paths) at a method level. These might be helpful to validate those methods and [...]

Whitebox Testing – Is it really white ?

September 7, 2007

The popular myths around Blackbox & Whitebox Testing are by it’s name. It’s black since we can’t see it (don’t have access to the code) & it’s white since you have access to all the code. But then, With in the code there are many black boxes inside and it’s tough to have access to [...]

Use Cyclomatic Complexity to determine the Risk and Test Scenarios

July 19, 2007

Cyclomatic Complexity (CC) is a software metric (mostly code based metric) used to the number of independent path executions in the application. Introduced by Thomas McCabe in 1976, it measures the number of linearly-independent paths through a program module.
It helps the developers to determine the independent path executions and base line unit tests that they [...]

Hey Testers, Communicate the Value of Testing

June 15, 2007

It’s almost a month since my last post on this blog and busy with my upcoming release of QuickRules BRMS. I have been talking to the people around on the Software Testing and felt that it’s not communicated well. Though there is enough information on this subject, i would like to describe my [...]

Open Source Tools to test your Java Code

April 16, 2007

Open Source tools are being used aggressively and there are many tools that can help Java Applications to validate their code.
The following issues can be uncovered

Unhandled exceptions
Infinite Loops
Dead code
Validations against Java coding guidelines from Sun

The following Metrics can be captured

Source Code Metrics
Coverage Metrics
Dependencies with the Design

Couple of resources listed below helps in implementing the same.

Series [...]