CT2 Solution
CT2 Solution
CT2 Solution
3.
State the need of software measurement and describe different types of metrics.
->Need of Software measurement
Software measurement is essential in testing for several reasons, as it provides
objective data to help guide, assess, and improve the testing process. Here’s why
software measurement is needed:
1. Improves Quality and Reliability
• Purpose: Measurements help ensure the software meets quality standards and is
reliable.
• How: By measuring metrics like defect density, code coverage, and test effectiveness,
testers can identify and address weaknesses in the software.
2. Enables Informed Decision-Making
• Purpose: Provides data-driven insights for making key decisions.
• How: Metrics like defect trends, test case pass/fail rates, and requirement coverage
help stakeholders decide on release readiness and areas that need further testing.
3. Tracks and Manages Progress
• Purpose: Helps monitor testing progress and track project timelines.
• How: Test case execution, defect discovery, and test completion percentages give
insight into testing progress and whether the team is on schedule.
4. Identifies Areas for Improvement
• Purpose: Pinpoints inefficient processes and improves testing efficiency.
• How: Measurements of test case effectiveness and defect distribution allow teams to
focus on high-risk areas, optimize test cases, and eliminate redundant tests.
5. Enhances Resource Allocation
• Purpose: Ensures efficient use of testing resources.
• How: By understanding metrics like test execution time, effort required per test case,
and defect density, teams can allocate time and resources more effectively.
6. Facilitates Benchmarking and Continuous Improvement
• Purpose: Allows teams to measure progress over time and improve continuously.
• How: Metrics enable comparisons against past performance and industry standards,
helping teams improve future projects.
Common Software Testing Metrics
• Defect Density: Number of defects per module or lines of code.
• Code Coverage: Percentage of code executed during testing.
• Test Case Effectiveness: Ratio of passed test cases versus the total.
• Defect Removal Efficiency (DRE): Percentage of defects found and removed before
release.