Follow Fantora on Twitter
Fantora Word of Classified Ads and Community Forum
Welcome Guest Search | Active Topics | Members | Log In | Register

How to calculate Branch Coverage?

Options
steven
Posted: Friday, December 19, 2008 1:53:54 PM
Rank: Advanced Member
Groups: Member

Joined: 4/3/2008
Posts: 127
Points: 381
Location: Sheffield, UK

How to calculate Branch Coverage?

Hi Team,

I have been through some documents but have still been unable to understand on how to calculate Branch Coverage for a given scenario of an IF...THEN... ELSE statement.

Can someone please walk me through or give me a proper reference material which explains the same?

Thanks in Advance.

adam
Posted: Friday, December 19, 2008 5:15:00 PM
Rank: Advanced Member
Groups: Member

Joined: 4/3/2008
Posts: 185
Points: 561
Location: London

How to calculate Branch Coverage?

steven wrote:
Hi Team,

I have been through some documents but have still been unable to understand on how to calculate Branch Coverage for a given scenario of an IF...THEN... ELSE statement.

Can someone please walk me through or give me a proper reference material which explains the same?

Thanks in Advance.


Branch coverage is a test of how much of the code the existing tests
are testing. It's not a measure of how good the code is. Cyclomatic
complexity, which also deal in part with conditionals, is the latter measure.

You cannot do branch coverage manually, at least not when dealing
with anything other than the most simple applications. There are many
code coverage tools available. However, we need to know which
language your system under test is being written in. You can check
the following tools lists for coverage tools for the languages your
code is using:

http://www.testingf aqs.org/
http://www.opensour cetesting. org/
http://www.qalinks. com/Tools/
http://www.aptest. com/resources. html
http://www.software qatest.com/ qattls1.html

How can we give you "proper reference material" when we don't know
which documents you've "been through" already? Listing those would
have helped. You might get more information if you search for
http://en.wikipedia .org/wiki/ Code_coverage Code Coverage.

Branch Coverage for Arbitrary Languages Made Easy
http://www.stickymi nds.com/s. asp?F=S3273_ ART_2
The abstract states "Branch coverage is an important measure of the
thoroughness of testing.".
Users browsing this topic
Guest

 Related
Zephyr-Forrester Webinar
Free Test Management Tool
What is Software Testing?
Webinar: Where Agile Testing and Test Management collide
Selenium core vs Selenium IDE vs Selenium RC
Fuzz Testing
Webinar - Zephyr & JIRA for Test Management
Webinar - Zephyr & JIRA for Test Management, 18 Jan 2011  
Real-time Individual Productivity and Project Quality Metrics
Simple, Affordable Global Licenses
Forum Jump
You cannot post new topics in this forum.
You cannot reply to topics in this forum.
You cannot delete your posts in this forum.
You cannot edit your posts in this forum.
You cannot create polls in this forum.
You cannot vote in polls in this forum.

Fantora Blog | Discount Shop UK | Discount Shop USA | Discount Shop Canada | Discount Boutique France | Discount Shop Deutschland | Discount Shop Italia | Descuento Shop España

Free Classified ads, Webmaster Forum & Technology Reviews | Fantora Free Classified Ads | Buy & Sell Electronics, Mobile phones & Accessories | fantora Forums Community | Buy & Sell DVD, Games and Consols | Free eBooks & Softwares | SEO & Affiliate Marketing Discussion | Programming Language Forum (.NET, ASP, PHP, SQL) | Free Classified Ads | General Stuff (Movies, Chat, Comics) | Free Online English Movies & Reviews | Free Online Hindi Movies & Reviews | Australia & New Zealand Immigration Forum | Europe immigration forum | Canada Immigration Forum | Ireland Immigration Forum | US Immigration Forum | United Kingdom Immigration Forum

Main Forum RSS : RSS

Powered by: YAF.NET
Copyright © AI Logica All rights reserved.
This page was generated in 0.238 seconds.