Download as pptx, pdf, or txt
Download as pptx, pdf, or txt
You are on page 1of 11

- By Pradeep

Pawar

Contents

What is a BUG?
First Software Bug
Bug fixing cost
Reasons why bugs get into software
Bug life cycle
Life Cycle Stages

What is a BUG?

Abnormal behavior of the software.

When the expected and actual behavior is not matching

Bug is a specific concern about the quality of the Application

programmer intended to implement a certain behavior, but the code fails to correctly conform to
this behavior because of incorrect implementation in coding

ATS

Ever wondered where the term bug came from?

In September 9, 1945, U.S. Navy officer Grace Hopper found a moth between the relays on the
Harvard Mark II computer she was working on.

The term bugs in a computer had been used before, but after Grace Hopper wrote in her
diary first actual case of bug being found the term became really popular, and thats why we are
still using it today.

ATS

Bug fixing cost

Later a bug is found The more it costs.

Example: The approval path in HM portal was not working. This major bug was detected on the
verge of release which resulted in additional amount of delivery time, resource effort hours etc.
which could have been avoided if the defect was found at unit testing level or regression testing
level resulting in timely delivery and savings in resource effort hours.

ATS

Reasons why bugs get into software

Human factor:
Human beings develop software.
Different level of understanding/intelligence.

Communication failure:
different levels (requirement gathering stage, requirement interpretation/documentation stage,
requirement-to-implementation translation stage etc.)
Example: problem with communication may arise when a programmer tries to modify code
developed by another programmer. Dev Owner of Job pipeline page in HM portal working on bug fix
related to Schedules form (which he/she is unaware of) in absence of actual dev. owner.

Unrealistic development timeframe:


crazy release schedules,
limited/insufficient resources
unrealistic project deadlines.

ATS

Poor design logic:


Lack of patience and an urge to complete quickly
Easiest way to implement solution, lack of proper understanding of the technical feasibility

Poor coding practices:


Inefficient or missing error/exception handling,
Lack of proper validations (datatypes, field ranges, boundary conditions, memory overflows etc.)

Reasons why bugs get into software


Lack of version control:
Encountering lots of regression bugs at regular intervals
Example: Approval path in HM portal working in one build and not working in another build even if
not bugs are fixed on the concerned form.
Buggy third-party tools:
Bugs in third party tools used for class libraries, shared DLLs, compilers, HTML editors,
debuggers
Example: Dev express controls having compatibility issues in ER portal
Lack of skilled testing:
Shortcomings in the testing process that are followed.
Lack of seriousness for testing
Scarcity of skilled testing resources

ATS

Bug life cycle

Journey, which a defect goes through during its lifetime.

Should go through the life cycle to be closed.

Attains different states in the life cycle.

ATS

Life Cycle Stages


New - Potential defect that is raised and yet to be validated.
Example: The search filter values in HM portal displayed in the
drop down does not match with the status in the grid which
confuses the user

Assigned - Assigned against a development team to address


it but not yet resolved.
Example: The issue details are explained to dev. Owner for Jobs
Approval page and added to HM portal buglist against the owners
name

Active - The Defect is being addressed by the developer and


investigation is under progress. At this stage there are two
possible outcomes; viz - Deferred or Rejected.
Example: The issue is then being reproduced, debugged and
fixed by Dev. Owner.

ATS

Test - The Defect is fixed and ready for testing.


Example: The fix is handed over in the form HM portal build
release to QA team to test the fixed bug.

Life Cycle Stages

Verified - The Defect that is retested and the test has been
verified by QA. Example: QA team test the issue in the current
HM portal release.

Closed - The final state of the defect that can be closed after
the QA retesting or can be closed if the defect is duplicate or
considered as NOT a defect. Example: If issue is not getting
replicated then QA team marks the test case PASS and closes
the raised bug.

Reopened - When the defect is NOT fixed, QA


reopens/reactivates the defect. Example: If issue is getting
replicated in the current build then QA team marks the test
case FAIL and reopens the raised bug.

Deferred - When a defect cannot be addressed in that


particular cycle it is deferred to future release. Example: Issues
related to Interview and Screening pipeline page in HM portal

Rejected - A defect can be rejected for any of the 3 reasons;


viz - duplicate defect, NOT a Defect, Non Reproducible.

ATS

10

10

Thank You!!!

Any Questions ?

11

You might also like