sri indu 1213 it

38
Bug Tracking System Welcome

Upload: jignash

Post on 14-Apr-2017

926 views

Category:

Documents


2 download

TRANSCRIPT

Page 1: sri indu 1213 it

Bug Tracking System

Welcome

Page 2: sri indu 1213 it

Bug Tracking System

Final Year Project Student Intern Project

Towards

Page 3: sri indu 1213 it

Bug Tracking System

Guided By:K.DEEPTHI

Submitted By:A.JIGNASHM. BHARADWAJ

May 2, 2023

Page 4: sri indu 1213 it

Bug Tracking SystemAgenda :

Intr

oduc

tion About Defect

Tracking Systems

Critical Applications

Defect Classification

Bug Lifecycles

Softwares Survey

Proj

ect Software

Requirement Specification

Development Environment

Development Timeline

Current Status

Actu

al D

evel

opm

ent Flow Chart

Entity Relationship Diagram

Database

User Interface

Integration

Testing

Rese

arch

Sco

pe Literature Survey

Hypothesis

Our Proposed approach

Development

Conferences

Shiv Prakash Amitabh Mukherjee Akshay Saraf Deepit ChaturvediMay 2, 2023

Page 5: sri indu 1213 it

Bug Tracking SystemAbout DFS Critical Applications Defect Classification Bug LifeCycle Software Survey

What is a Bug ?

May 4th ,2010

A software Bug is the common term used to describe an error, flaw, mistake, failure, or fault in a computer program or system that produces an incorrect or unexpected result, or causes it to behave in unintended ways.Most Bug arise from mistakes and errors made by people in either a program's source code or its design, and a few are caused by compilers producing incorrect code.Bug can have a wide variety of effects, with varying levels of inconvenience to the user of the program. Some defects have only a subtle effect on the program's functionality, and may thus lie undetected for a long time. More serious defects may cause the program to crash or freeze leading to a denial of service. Others qualify as security defects and might for example enable a malicious user to bypass access controls in order to obtain unauthorized privileges.

Page 6: sri indu 1213 it

Bug Tracking SystemAbout DFS Critical Applications Defect Classification Bug LifeCycle Software Survey

What are the Types Of Bug ?Conceptual error : Code is syntactically correct, but the programmer or designer intended it to

do something else Maths Defects Division by zero Arithmetic overflow or underflow Loss of arithmetic precision due to rounding or numerically unstable

algorithms Logic Defects Infinite loops and infinite recursion

Syntax Defects Use of the wrong operator, such as performing assignment instead of equality

test. In simple cases often warned by the compiler; in many languages, deliberately guarded against by language syntax (continued)

Page 7: sri indu 1213 it

May 2, 2023

Bug Tracking SystemAbout DFS Critical Applications Defect Classification Bug LifeCycle Software Survey

What are the Types Of Bugs ?Co-programming Bug Deadlock Race condition Concurrency errors in Critical sections, Mutual exclusions and other features

of concurrent processing. Time-of-check-to-time-of-use (TOCTOU) is a form of unprotected critical section.

Team working Bug Unpropagated updates; e.g. programmer changes "myAdd" but forgets to

change "mySubtract", which uses the same algorithm. These errors are mitigated by the Don't Repeat Yourself philosophy.

Comments out of date or incorrect: many programmers assume the comments accurately describe the code

Differences between documentation and the actual product

Page 8: sri indu 1213 it

May 2, 2023

Bug Tracking SystemAbout DFS Critical Applications Defect Classification Bug LifeCycle Software Survey

Some Unusual BugHeisenbugs:• Those bugs that manifest only under certain condition . These bugs normally

escape the debugger of the developers .Bohrbug:• A Bohr bug or bohrbug is a bug that manifests itself consistently under a well-

defined (but possibly unknown) set of conditionsMandelbug• A mandelbug is a computer bug whose causes are so complex that its

behavior appears chaotic.Schroedinbug• A schroedinbug is a bug that manifests only after someone reading source

code or using the program in an unusual way notices that it never should have worked in the first place, at which point the program promptly stops working for everybody until fixed.

Page 9: sri indu 1213 it

May 2, 2023

Bug Tracking SystemAbout DFS Critical Applications Defect Classification Bug LifeCycle Software Survey

What is a Bug Tracking System ?

Defect tracking is the process of finding defects in a product (by inspection, testing, or recording feedback from customers), and making new versions of the product that fix the defects. Defect tracking is important in software engineering as complex software systems typically have tens or hundreds or thousands of defects: managing, evaluating and prioritizing these defects is a difficult task.Defect tracking systems are computer database systems that store defects and help people to manage them.A Defect tracking system is a software application that is designed to help quality assurance and programmers keep track of reported software defects in their work. It may be regarded as a sort of issue tracking system

Page 10: sri indu 1213 it

May 2, 2023

Bug Tracking SystemAbout DFS Critical Applications Defect Classification Bug LifeCycle Software Survey

Why is it Necessary ?Software defects are expensive. Moreover, the cost of finding and correcting defects represents one of the most expensive software development activities. For the foreseeable future, it will not be possible to eliminate defects. While defects may be inevitable, we can minimize their number and impact on our projects. To do this development teams need to implement a defect management process that focuses on preventing defects, catching defects as early in the process as possible, and minimizing the impact of defects. A little investment in this process can yield significant returns

Page 11: sri indu 1213 it

Cost of Defects during the Software LifeCycle

Page 12: sri indu 1213 it

May 2, 2023

Bug Tracking SystemAbout DFS Critical Applications Defect Classification Bug LifeCycle Software Survey

What are the Components of a good Defect Tracking System ?A major component of a bug tracking system is a database that records facts about known defects. Facts may include the time a bug was reported, its severity, the erroneous program behavior, and details on how to reproduce the bug; as well as the identity of the person who reported it and any programmers who may be working on fixing it.Typical bug tracking systems support the concept of the life cycle for a bug which is tracked through status assigned to the bug. A bug tracking system should allow administrators to configure permissions based on status, move the bug to another status, or delete the bug. The system should also allow administrators to configure the bug statuses and to what status a bug in a particular status can be moved to.

Page 13: sri indu 1213 it

May 2, 2023

Bug Tracking SystemAbout DFS Critical Applications Defect Classification Bug LifeCycle Software Survey

Examples of Extreme Effects of DefectsDefects in the code controlling the Therac-25 radiation therapy machine were directly responsible for some patient deaths in the 1980s.

In 1996, the European Space Agency's US$1 billion prototype Ariane 5 rocket was destroyed less than a minute after launch, due to a bug in the on-board guidance computer program.

In June 1994, a Royal Air Force Chinook crashed into the Mull of Kintyre, killing 29. It was caused by a software bug in the aircraft's engine control computer.

Page 14: sri indu 1213 it

May 2, 2023

Bug Tracking SystemAbout DFS Critical Applications Defect Classification Bug LifeCycle Software Survey

Financial ImplicationsIn 2002, a study commissioned by the US Department of Commerce' National Institute of Standards and Technology concluded that software defects, or errors, are so prevalent and so detrimental that they cost the US economy an estimated $59 billion annually, or about 0.6 percent of the gross domestic product.

As per GARTNER estimates the global market for testing will be about $13 bn by 2010 . And Indian IT companies would take over 70 % of testing market.

Page 15: sri indu 1213 it

Bug Tracking SystemAbout DFS Critical Applications Defect Classification Bug LifeCycle Software Survey

Defect LifeCycle

New defects or enhancements

are submitted by the user

Team leaders assign priority to

new issues . Issues priority

are updated on the

Management System

Development Team fixes the

bug and change the issue status

Development team releases new internal

version with new features

Quality Assurance team checks the fixed issues via report

engines

Fixed issues are closed in the Management

system

Page 16: sri indu 1213 it

LifeCycle of a BugZilla Bug

Page 17: sri indu 1213 it

May 2, 2023

Defect Tracking SoftwareSoftware Requirement Specs Development Environment Development Timeline Current Status

Abstract:To develop a project titled “Bug Tracking Software ” which is an : automated bug / issue tracking system that provides automation of

keeping track of the component development processes & bug processing.

software application that is designed to help programmers/users keep track of reported software defects in their work.

is a web based application that can be accessed throughout the

organizations

Page 18: sri indu 1213 it

May 2, 2023

Bug Tracking SystemSoftware Requirement Specs Development Environment Development Timeline Current Status

FunctionalitiesIt is a database that records facts about known bugs. Facts may include:• Time a bug was reported, • Severity,• Assignment of Status,• Erroneous program behavior,• Details on how to reproduce the bug:• Identity of the user who reported it,• Identity of the developer/programmer working on fixing it.

Page 19: sri indu 1213 it

May 2, 2023

Bug Tracking SystemSoftware Requirement Specs Development Environment Development Timeline Current Status

FunctionalitiesBug Tracking:• Creating defects,• Assigning defects to users,• Modifying defects• Closing a defect.

A defect screen should at least have following details

Defect Number and Title Defect priority Date created Defect description Defect diagnosis Name of originator Name of Assignee Status Resolution

Page 20: sri indu 1213 it

May 2, 2023

Bug Tracking SystemSoftware Requirement Specs Development Environment Development Timeline Current Status

Software Development Environment:

• MS Platform

• MS-SQL Server

• Oracle 10g Database

• Visual Studio 2008

• ASP.NET 2.0

• IIS (Internet Information Services) 7.0

Page 21: sri indu 1213 it

May 2, 2023

Bug Tracking SystemSoftware Requirement Specs Development Environment Development Timeline Current Status

Software Development Environment:MS Platform• contains header files, libraries, samples, documentation and tools

utilizing the APIs required to develop applications for Microsoft Windows and the .NET Framework 3.0/.NET Framework 3.5.

• Application programming interface (API) is an interface in computer science that defines the ways by which an application program may request services from libraries and/or OS.

• Used to write applications that target • Windows XP, Windows Server 2003, Windows Vista & Windows

Server 2008

Page 22: sri indu 1213 it

May 2, 2023

Bug Tracking SystemSoftware Requirement Specs Development Environment Development Timeline Current Status

Software Development Environment:MS-SQL Server

- application used to create computer databases.

- environment used to generate databases.

- support businesses by online transaction processing (OLTP) and decision support system (DSS) workloads.

- DSS workloads, are highly resource intensive.

- DSS queries touch large amounts of

data (often terabytes in size).

Page 23: sri indu 1213 it

May 2, 2023

Bug Tracking SystemSoftware Requirement Specs Development Environment Development Timeline Current Status

Software Development Environment:Visual Studio 2008

It is a comprehensive set of tools that accelerates the process of turning the developer’s vision into reality.

Page 24: sri indu 1213 it

May 2, 2023

Bug Tracking SystemSoftware Requirement Specs Development Environment Development Timeline Current Status

Software Development Environment:Visual Studio 2008• LINQ Support LINQ essentially is the composition

of many standard query operators that allows us to work with data in a more intuitive way.

Benefits :• significant – Compile time

checking C# language queries,• ability to debug step by step

through queries.

• Expression Blend Support

• XAML generator tool for silver light applications.

Benefits :• By this we can get extensive web

designer and JavaScript tool.

Page 25: sri indu 1213 it

May 2, 2023

Bug Tracking SystemSoftware Requirement Specs Development Environment Development Timeline Current Status

• Windows Presentation Foundation

Visual Studio 2008 contains plenty of WPF Windows Presentation Foundation Library templates

Benefits:• extensive graphic functionality.

• any visual developer who is new to .NET, C# and VB.NET can easily develop the 2D and 3D graphic applications.

• Multi-Targeting Support

Benefits:• We are able to create, run, debug

the .NET 2.0, .NET 3.0 and .NET 3.5 applications.

Software Environment for Development:

Page 26: sri indu 1213 it

May 2, 2023

Bug Tracking SystemSoftware Requirement Specs Development Environment Development Timeline Current Status

Software Environment for Development:• Nested Master Page

Support • LINQ Intellisense and

JavaScript Intellisense support for Silverlight applications

• Intellisense Filtering• Multilingual User Interface

Architecture - MUI

• Visual Studio 2008 Split View

• Debugging .NET Framework Library Source Code

• In built Silverlight Library • Inbuilt C++ SDK

Page 27: sri indu 1213 it

May 2, 2023

Bug Tracking SystemSoftware Requirement Specs Development Environment Development Timeline Current Status

• PC with 20 GB hard-disk• 1 GB RAM, • Ethernet Card,• Network Connectivity.

Hardware Environment for Development:

Page 28: sri indu 1213 it

May 2, 2023

Bug Tracking SystemSoftware Requirement Specs Development Environment Development Timeline Current Status

Requirement Specification

Technologyfamiliarization

Database creation

High level and‐Detailed Design

Development of web front endfunctionalities

Integrating the

front end ‐withthe

database

IntegrationTesting

Final Review

2-3

Time in Weeks

4-5 7-11 12-18 21-2419-20 24-26 26-27

Timeline

Page 29: sri indu 1213 it

Flow Chart

Overview of the Software Function

Flow Chart

Page 30: sri indu 1213 it

ERD Diagram of Bug tracking System

ERD

Page 31: sri indu 1213 it

May 2, 2023

Bug Tracking SystemFlow Chart ERD Database User Interface Integration Testing

THE FOLLOWING POINTS WILL COVERED UNDER DATABASE 1.CREATION OF USERFor creating user we have to write query as :cerate user user_name identified by password .The various privilege assign to user are 1) grant privilege 2)revoke privilege

Object privilege

table view sequence procedure

Alter Yes Yes

Delete Yes Yes

Execute Yes

Index Yes

Insert Yes Yes

References Yes Yes

Select Yes Yes Yes

update Yes Yes

Page 32: sri indu 1213 it

May 2, 2023

Defect Tracking SoftwareFlow Chart ERD Database User Interface Integration Testing

2.Creating tables

Bug Data type

Bug_id number

Bug description varchar2

Bug_date Current time stamp

Bug_status number

Bug_priority number

bug_organisation varchar2

bug_reproduction varchar2

Bug_last updated byuser

varchar2

Bug_project varchar2

user Data type

User_id number

User_password Varchar2

User_first name Varchar

User_middle_name varchar

User_last_name varchar

User_type varchar

User_email Varchar2

User unable notification number

User_auto subscribe bugs number

User_status number

User_created_bug varchar2

User_organisation number

User_component number

BTS | Final Year Project | Dept. of IT

Page 33: sri indu 1213 it

May 2, 2023

Bug Tracking SystemFlow Chart ERD Database User Interface Integration Testing

project Data type

Project_id number

Project_name Varchar2

Project_active Number

Project default user

number

Projectdescription

varchar2

component Data type

Component_id Number

ComponentCreation_date

Current time stamp

Componentadmin

number

Component last_update date

Current time stamp

Componentdescription

varchar2

Report Data type

Report_id number

Report_subscription

varchar2

BTS | Final Year Project | Dept. of IT

Page 34: sri indu 1213 it

May 2, 2023

Bug Tracking SystemFlow Chart ERD Database User Interface Integration Testing

Emails Data type

Email_id Varchar2

Email_date Current time stamp

Email_password Varchar2

Emai_desc rition Varchar2

Email_action varchar2

Bug task Data type

Bug_task id Varchar2

Bug_task_bug desc Varchar2

Task_created date Current time stamp

Task assinged date Current time stamp

Task_planned end date Current time stamp

Task actual planned date Current time stamp

Task percent complete Number

Task status Number

Task description

varchar2

Page 35: sri indu 1213 it

May 2, 2023

Bug Tracking SystemFlow Chart ERD Database User Interface Integration Testing

Organization Data type

Orgnization_id Number

Orgnization_name

varchar

Organisation_status

number

session Data type

Session_id Number

Session_date Current time stamp

Bug subscription Data type

Subscription_id Number

Subscription_bug number

Page 36: sri indu 1213 it

May 2, 2023

Bug Tracking SystemFlow Chart ERD Database User Interface Integration Testing

1.CHECKING REFERANTIAL INTIGRITY

component

Component_id

projects

Project-id

Bug subscription

Subscription_id

Bug task

Task_id

emails

Email_id

organization

Org_id

session

Session_id

User

User_id

Bug

Bug-id

report

report_id

Page 37: sri indu 1213 it

Thank You !!!

Page 38: sri indu 1213 it

Questions & Answers !!