Software Quality Assurance in XP and Spiral - a Comparative Study

Total Page:16

File Type:pdf, Size:1020Kb

Software Quality Assurance in XP and Spiral - a Comparative Study Fifth International Conference on Computational Science and Applications Software Quality Assurance in XP and Spiral - A Comparative Study Sajid Ibrahim Hashmi and Jongmoon Baik Information and Communication University, 109 Munji-ro, Yuseong-gu, Daejon, South Korea {hashmi,jbaik}@icu.ac.kr Abstract and test drivers rather than focusing on software requirements and designs. This immense focus on Agile processes have been introduced to avoid the source code makes XP controversial [2], but the fact is problems most of software practitioners have run up that XP is highly valuable in terms of simple design, against by using traditional software development emphasis on refactoring, testing, and code inspection methodologies. These are well known for their benefits by means of its related practices. like focus on quality, early business value delivery, There are two of the main advantages of agile higher morale of stakeholders, and the reduced approaches: Firstly, they can effectively handle the cost/schedule. Also, they can support the earlier and unstable/changing requirements throughout the quicker production of the code by dividing the product software development life cycle. Secondly, they can into small segments called iterations. However, there deliver the business values earlier by small increments are on-going debates about their flexibility to of the product under budget and schedule constraints accommodate changing requirements and whether the when compared to traditional plan-driven software productivity and quality of the agile processes is development methods [3]. One of the most important satisfactory for the customers or not. Previously issues is to satisfy customers with high quality available studies have mostly focused on comparing products, which agile methodologies are supposed to XP(eXtreme Programming) with some other Agile resolve in an appropriate way. Is it possible to satisfy methodologies, rather than comparing it with the customer with high quality products throughout the traditional plan-driven software development QAs of agile methods,? Is the level of QA in XP the methodologies. In this Paper, we identify the XP same as that in Spiral? In order to address this issue, phases and practices, how they ensure product quality, we compare the quality assurance techniques of both and map XP phases against the Spiral model phases to XP and Spiral development models. prove that XP has built-in QA(Quality Assurance) A recurring aspect of many XP practices is a focus practices in its life cycle, in addition to its focus on on product development risk control (or management). productivity. A case study is also included to Instead of producing an artifact to satisfy the process, empirically investigate quality of the product XP encourages developers to ask the question what developed using XP with comparison to the product would happen if the artifact is not produced. Apart developed using Spiral Model. from focusing on risks only, XP also focuses on building quality into the product rather than relying on a quality process that verifies a product after 1. Introduction development. This built-in QA of XP is obtained by means of its practices like refactoring, metaphor, Agile methods have been known to be effective simple design, and Test Driven Development. software development processes which can result in The primary purpose of this paper is two-fold. First, high quality products. However, it is a controversial it identifies and describes the built-in QA practices in topic in software engineering. Many practitioners and both XP and Spiral Model. Secondly, it provides a case researchers still doubt about its benefits, some are study to investigate the relation of quality in both strongly against the agile development, while others processes. Quality is chosen because this is one of the suggest a mix of agile and plan driven development major issues for which XP is supposed to answer [1]. XP, which has been one of the widely used agile properly. methods, concentrates on producing executable code 0-7695-2945-3/07 $25.00 © 2007 IEEE 367 DOI 10.1109/ICCSA.2007.65 Authorized licensed use limited to: IEEE Xplore. Downloaded on April 1, 2009 at 14:47 from IEEE Xplore. Restrictions apply. Our research question is that quality is built into XP vague, unstable, and changing requirements. It has process, and XP addresses this issue better than any gotten four core values that are used to guide its other traditional plan-driven software development employed practices. These values include method. The proposed approach consists of identifying communication, simplicity, feedback, and courage (or the phases of XP, figuring out how those activities are morale). A typical XP project has been applied to small involved at each phase, how they ensure the quality projects with less than 20 developers, and it is mostly like Spiral model, and what is the empirical relation of used for the projects without any strong base [2], i.e. quality in both processes. This approach can be helpful without much documentation. It is important to to investigate XP’s support for software quality within understand the different phases of XP and role of each its life cycle. phase in order to establish the link with any other The rest of paper is organized as follows: Section 2 software process. Life cycle of an ideal XP project describes XP and Spiral processes in terms of stages consists of the following phases [4]. and practices involved at each phase, Section 3 gives a life cycle comparison of both processes, Section 4 z Exploration: It deals with ensuring that one is investigates the QA activities in Spiral and XP capable of going into production using XP. During supported by a case study, and finally Sections 5 and 6 the phase, programmers experiment with the contain discussion and conclusion respectively. limitations of the technologies they are supposed to use. They also experiment every programming task 2. Related Works to figure out the exact time it would take while they are developing the product; meanwhile the Currently available research works about XP varies customer is busy in writing the stories for the in its nature in terms of the ways how quality is desired system. focused. Mainly practices like solo and pair z Planning: Here customers and programmers agree programming have been investigated for productivity upon the date by when the smallest set of “stories” and quality. Mostly empirical data has been used by will be completed. Planning for the first release researchers to prove their hypotheses in favor of QA should be between 2 to 6 months; this commitment ability of XP; [2,14,15] have used different types of schedule is further broken into the iterations of one data to prove the quality support in XP; [20] has to four weeks duration. Each iteration will also proved some drawbacks in XP based on some produce the set of functional test cases for each of empirical data. [8] Has made life cycle comparisons the stories. between generic Agile and Waterfall process but there z Productionizing: It tightens up the feedback is not any empirical investigation to support the claim. cycle. Performance of system must also be tuned up On the whole, agile processes have not been for this phase. It is recommended to slow down the investigated thoroughly against the plan driven software production at this stage so that the risks methods. In general, empirical data has been used for become more evident for evaluation and mitigation. the validations of results on QA of XP. However, the z Maintenance: It deals with keeping the existing problem with these types of investigations is that data system running while at the same time producing may vary from place to place and situation to situation. the new functionality. The important thing about A same kind of validation may not hold true for all maintenance is that you have to be prepared for situations. Our approach is different in this sense. We development interruption in case any production have tried to make the validation based on the life problems occur; but on the other hand one must be cycle similarities of both XP and Spiral life cycles, careful enough to change the design. rather than relying only on an empirical investigation. z Death: Dying well is also important for A good life. If customers do not come up with new stories, 2.1. eXtreme Programming (XP) then it is time to wrap up the system. Customer’s happiness is very important for this kind of death. XP is one of widely used agile methods which can Another reason for death might be the inability of deal with unstable requirements by using a number of system to accommodate further stories. different techniques like simple planning, short QA in XP is achieved by means of its different iteration, earlier release, and feedback from customers practices like testing, refactoring, system metaphor, on frequent basis. These characteristics enable agile pair programming, and Test Driven Development methods like XP to deliver product releases in much (TDD). These core practices complement each shorter cycle time. XP was developed to address the other.Testing is normally carried out by means of TDD needs of small teams who have been confronted with which determines not only the design but also ensures that written code is defect free. Refactoring deals with 368 Authorized licensed use limited to: IEEE Xplore. Downloaded on April 1, 2009 at 14:47 from IEEE Xplore. Restrictions apply. ensuring that code is always kept simple so that the Evaluat , Id probability of faults is minimized. System metaphor s s ve entify ti c e je Al gives an understanding of system architecture. Hence b & O R ter ne es na the possibility of things going wrong is reduced if olve Riskstives ermi tives, Constraint a , development is carried out based on the architecture.
Recommended publications
  • The Timeboxing Process Model for Iterative Software Development
    The Timeboxing Process Model for Iterative Software Development Pankaj Jalote Department of Computer Science and Engineering Indian Institute of Technology Kanpur – 208016; India Aveejeet Palit, Priya Kurien Infosys Technologies Limited Electronics City Bangalore – 561 229; India Contact: [email protected] ABSTRACT In today’s business where speed is of essence, an iterative development approach that allows the functionality to be delivered in parts has become a necessity and an effective way to manage risks. In an iterative process, the development of a software system is done in increments, each increment forming of an iteration and resulting in a working system. A common iterative approach is to decide what should be developed in an iteration and then plan the iteration accordingly. A somewhat different iterative is approach is to time box different iterations. In this approach, the length of an iteration is fixed and what should be developed in an iteration is adjusted to fit the time box. Generally, the time boxed iterations are executed in sequence, with some overlap where feasible. In this paper we propose the timeboxing process model that takes the concept of time boxed iterations further by adding pipelining concepts to it for permitting overlapped execution of different iterations. In the timeboxing process model, each time boxed iteration is divided into equal length stages, each stage having a defined function and resulting in a clear work product that is handed over to the next stage. With this division into stages, pipelining concepts are employed to have multiple time boxes executing concurrently, leading to a reduction in the delivery time for product releases.
    [Show full text]
  • Agile Playbook V2.1—What’S New?
    AGILE P L AY B O OK TABLE OF CONTENTS INTRODUCTION ..........................................................................................................4 Who should use this playbook? ................................................................................6 How should you use this playbook? .........................................................................6 Agile Playbook v2.1—What’s new? ...........................................................................6 How and where can you contribute to this playbook?.............................................7 MEET YOUR GUIDES ...................................................................................................8 AN AGILE DELIVERY MODEL ....................................................................................10 GETTING STARTED.....................................................................................................12 THE PLAYS ...................................................................................................................14 Delivery ......................................................................................................................15 Play: Start with Scrum ...........................................................................................15 Play: Seeing success but need more fexibility? Move on to Scrumban ............17 Play: If you are ready to kick of the training wheels, try Kanban .......................18 Value ......................................................................................................................19
    [Show full text]
  • Descriptive Approach to Software Development Life Cycle Models
    7797 Shaveta Gupta et al./ Elixir Comp. Sci. & Engg. 45 (2012) 7797-7800 Available online at www.elixirpublishers.com (Elixir International Journal) Computer Science and Engineering Elixir Comp. Sci. & Engg. 45 (2012) 7797-7800 Descriptive approach to software development life cycle models Shaveta Gupta and Sanjana Taya Department of Computer Science and Applications, Seth Jai Parkash Mukand Lal Institute of Engineering & Technology, Radaur, Distt. Yamunanagar (135001), Haryana, India. ARTICLE INFO ABSTRACT Article history: The concept of system lifecycle models came into existence that emphasized on the need to Received: 24 January 2012; follow some structured approach towards building new or improved system. Many models Received in revised form: were suggested like waterfall, prototype, rapid application development, V-shaped, top & 17 March 2012; Bottom model etc. In this paper, we approach towards the traditional as well as recent Accepted: 6 April 2012; software development life cycle models. © 2012 Elixir All rights reserved. Keywords Software Development Life Cycle, Phases and Software Development, Life Cycle Models, Traditional Models, Recent Models. Introduction Software Development Life Cycle Models The Software Development Life Cycle (SDLC) is the entire Software Development Life Cycle Model is an abstract process of formal, logical steps taken to develop a software representation of a development process. SDLC models can be product. Within the broader context of Application Lifecycle categorized as: Management (ALM), the SDLC
    [Show full text]
  • Ovum Decision Matrix: Selecting an Application Lifecycle Management and Devops Solution, 2019–20
    Ovum Decision Matrix: Selecting an Application Lifecycle Management and DevOps Solution, 2019–20 Publication Date: 27 Jun 2019 | Product code: INT003-000374 Michael Azoff Ovum Decision Matrix: Selecting an Application Lifecycle Management and DevOps Solution, 2019–20 Summary Catalyst Software lifecycle management (SLM) is the management of software development by taking a lifecycle approach from concept through the management of requirements, testing, coding, deployment, upgrades, maintenance, and final retirement. The market provides tools to support this lifecycle in the form of application lifecycle management (ALM) tools and, with the rise of DevOps, tools that provide DevOps-style release management, orchestration, and automation. This Ovum Decision Matrix (ODM) examines ALM tools that cross over into DevOps to support the full arc of the lifecycle from application/product concept to deployment into production. Ovum view ALM origins and trends The need for taking an SLM approach is best thought of as good practice in the relatively young art of software development. The ALM tools market has evolved to support SLM through the years; at its core is the development methodology or work process, and this has evolved over time, starting with waterfall or linear stage-gate processes and incorporating various innovations such as Tom Gilb's evolutionary delivery, Barry Boehm's spiral model, and Rational's unified process, before Agile and lean swept the board with examples such as Scrum, extreme programming, and Kanban boards post- 2001 (when the Agile Manifesto was created). The integrated ALM suite tools market really took off around 2003 but supported waterfall because Agile was still under the radar.
    [Show full text]
  • A Comparison Between Five Models of Software Engineering
    IJCSI International Journal of Computer Science Issues, Vol. 7, Issue 5, September 2010 94 ISSN (Online): 1694-0814 www.IJCSI.org A Comparison Between Five Models Of Software Engineering Nabil Mohammed Ali Munassar1 and A. Govardhan2 1Ph.D Student of Computer Science & Engineering Jawahrlal Nehru Technological University Kuktapally, Hyderabad- 500 085, Andhra Pradesh, India 2Professor of Computer Science & Engineering Principal JNTUH of Engineering College, Jagityal, Karimnagar (Dt), A.P., India Abstract increased recently which results in the difficulty of This research deals with a vital and important issue in computer enumerating such companies. During the previous four world. It is concerned with the software management processes decades, software has been developed from a tool used for that examine the area of software development through the analyzing information or solving a problem to a product in development models, which are known as software development itself. However, the early programming stages have life cycle. It represents five of the development models namely, created a number of problems turning software an waterfall, Iteration, V-shaped, spiral and Extreme programming. These models have advantages and disadvantages as well. obstacle to software development particularly those Therefore, the main objective of this research is to represent relying on computers. Software consists of documents and different models of software development and make a programs that contain a collection that has been comparison between them to show the features and defects of established to be a part of software engineering each model. procedures. Moreover, the aim of software engineering is Keywords: Software Management Processes, Software to create a suitable work that construct programs of high Development, Development Models, Software Development Life quality.
    [Show full text]
  • Software Development a Practical Approach!
    Software Development A Practical Approach! Hans-Petter Halvorsen https://www.halvorsen.blog https://halvorsen.blog Software Development A Practical Approach! Hans-Petter Halvorsen Software Development A Practical Approach! Hans-Petter Halvorsen Copyright © 2020 ISBN: 978-82-691106-0-9 Publisher Identifier: 978-82-691106 https://halvorsen.blog ii Preface The main goal with this document: • To give you an overview of what software engineering is • To take you beyond programming to engineering software What is Software Development? It is a complex process to develop modern and professional software today. This document tries to give a brief overview of Software Development. This document tries to focus on a practical approach regarding Software Development. So why do we need System Engineering? Here are some key factors: • Understand Customer Requirements o What does the customer needs (because they may not know it!) o Transform Customer requirements into working software • Planning o How do we reach our goals? o Will we finish within deadline? o Resources o What can go wrong? • Implementation o What kind of platforms and architecture should be used? o Split your work into manageable pieces iii • Quality and Performance o Make sure the software fulfills the customers’ needs We will learn how to build good (i.e. high quality) software, which includes: • Requirements Specification • Technical Design • Good User Experience (UX) • Improved Code Quality and Implementation • Testing • System Documentation • User Documentation • etc. You will find additional resources on this web page: http://www.halvorsen.blog/documents/programming/software_engineering/ iv Information about the author: Hans-Petter Halvorsen The author currently works at the University of South-Eastern Norway.
    [Show full text]
  • Software Maintenance Lifecycle Modeling
    Home Software Maintenance Lifecycle Modeling D Vijay Rao, VVS Sarma and NK Srinivasan Department of Computer Science & Automation Indian Institute of Science Bangalore 560 012, India. Abstract Maintenance of legacy systems, representing a massive, long-term business investment, is an important but relatively new research area. A generic, unified lifecycle model (ULM) integrating the product, process and project views of software development and maintenance based on re- entrant lines is proposed. The proposed re-entrant line model represents the software maintenance process in a software organisation. The existing model for software development predicts project metrics such as the development time, cost and product quality for any new project to be taken up by the organization. The routing matrix of the artifacts in the ULM can be modified to derive different types of lifecycle models such as Waterfall, Prototyping, Spiral and Hybrid models. The ULM is modified to depict the complex set of activities associated with software maintenance. Quantitative metrics such as release time of versions, cost, time and effort for maintenance are estimated using this model. 1. Introduction The area of software maintenance has not received adequate attention in the literature because it was considered as a fairly routine activity with no challenge for creative people. Today, when salaries of programmers have become a major part of the data processing budget, the difficulties in software maintenance are slowly becoming apparent. A large proportion of the software products in operation are the so-called ‘legacy systems’ [TrTi95, LLFG97, BMW96, BM97]. Such systems, that typically are the backbone of an organization’s information flow and business, represent a massive, long-term business investment.
    [Show full text]
  • Iterative & Evolutionary
    iterative.fm Page 9 Sunday, July 20, 2003 1:16 PM Chapter 2 ITERATIVE & EVOLUTIONARY Experience is that marvelous thing that enables you to recognize a mistake when you make it again. —F. P. Jones OVERVIEW ❑ Basic practices of iterative and evolutionary methods, including timeboxing and adaptive planning. ❑ A common mistake adopting iterative methods. ❑ Specific iterative and evolutionary methods, including Evo and UP. Iterative and evolutionary development is a foundation not only of history p. 79 modern software methods, but—as the history section of the “Evi- dence” chapter shows—of methods used as far back as the 1960s. Agile methods are a subset of iterative and evolutionary methods. This chapter summarizes key practices: iterative development evolutionary development risk-driven and client-driven evolutionary requirements timeboxing adaptive planning ITERATIVE DEVELOPMENT Iterative development is an approach to building software (or iterative planning tips anything) in which the overall lifecycle is composed of several iter- start on p. 248 ations in sequence. Each iteration is a self-contained mini-project 9 iterative.fm Page 10 Sunday, July 20, 2003 1:16 PM 2 — Iterative & Evolutionary composed of activities such as requirements analysis, design, pro- gramming, and test. The goal for the end of an iteration is an iter- ation release, a stable, integrated and tested partially complete system. To be clear: All the software across all the teams is inte- grated into a release each iteration. Most iteration releases are internal, a baseline primarily for the benefit of the development team—they are not released externally. The final iteration release is the complete product, released to the market or clients.
    [Show full text]
  • SOFTWARE DEVELOPMENT MODELS and THEIR REAL ASPECTS Divya Tanwar Sbs , Vivekananda Institute of Professional Studies, GGSIPU, Delhi
    SOFTWARE DEVELOPMENT MODELS AND THEIR REAL ASPECTS Divya Tanwar Sbs , Vivekananda Institute of Professional Studies, GGSIPU, Delhi ABSTRACT Software development life cycle models are the most integral part when it comes to software development which can fully justify today’s digitally environments with increasing mobile, web, and desktop applications. This research deals with a vital and important issue in information technology with respect to various models used in development. It is concerned with the software management processes that examine the area of software development through the development models, which are known as software development life cycle. It represents five of the development models namely, waterfall, Iteration, prototype and spiral and their real time examples which we can relate in our day to day life. These models are complex and difficult to identify related to real time scenario. Therefore, the main objective of this research is to represent different models of software development and make a comparison between them to show the features and defects of each model. This paper demystifies these concepts so that the SDLC is correctly understood with their real time. Keywords: Iterative Prototyping SDLC, Software development life cycle, Spiral model, Real aspects, Waterfall model I. INTRODUCTION Software development life cycle models are the important part of the Software Engineering which is a discipline whose aim to develop quality software, which is on time, with minimum cost and can satisfy the organization needs. There are basically four main models in SDLC with different characteristics and drawbacks [2] .The most difficult task is to identify the model which suits the organization structure, for this every organization need to know the model and its real time application so the user can relate, understand and find out how its actually working.
    [Show full text]
  • Strengths and Weakness of Traditional and Agile Processes  a Systematic Review
    Journal of Software Strengths and Weakness of Traditional and Agile Processes A Systematic Review Mahrukh Sameen Mirza, Soma Datta* University of Houston-Clear Lake, Houston, Texas, USA. * Corresponding author. Tel.: 12182833838 email: [email protected], [email protected] Manuscript submitted February 25, 2019; accepted April 10, 2019. doi: 10.17706/jsw.14.5.209-219 Abstract: In the software industry, there are several processes and methodologies that exist. The traditional processes and Agile methodologies have their own strengths and weaknesses. Agile methodologies overcome some of the weaknesses of traditional processes. Although in the recent years Agile methodologies have been used by software development companies, there is still a high ratio of software failures when compared with core engineering processes. The adoption of these processes in software development could alleviate software failures. This systematic study reviews the strengths and weaknesses of both traditional processes and Agile processes. The search strategy resulted in 91 papers, of which 25 primary studies are investigated between 2012 and 2019. The detailed search strategy has been presented in this study along with future directions. Key words: Agile, core engineering processes, extreme programming, feature driven development, Kanban, lean, scrum, systematic review, test driven development, traditional. 1. Introduction Before 2001[1]-[13], the software industry used traditional software development processes (i.e., Classical waterfall model, iterative waterfall model, spiral model, RAD model). While these traditional models are known to be cost saving for bigger, off-shore projects, there is criticism that exists [13]-[25]. Due to these criticisms and the high ratio of software failures that used traditional models, it led to a change in software process development in 1999.
    [Show full text]
  • A Spiral Model of Software Development and Enhancement
    A Spiral Model of Software Development and Enhancement Barry W. Boehm, TRW Defense Systems Group “Stop the life cycle-I want to get off!’’ criteria for the current stage plus choice “Life-cycle Concept Considered criteria and entrance criteria for the next Harmful. ” stage. Thus, a process model addresses the “The waterfall model is dead.” This evolving- risk- following software project questions: “No, it isn’t, but it should be.” (1) What shall we do next? driven approach (2) How long shall we continue to do it? hese statements exemplify the provides a new Consequently, a process model differs current debate about software from a software method (often called a Iife-cycle process models. The framework for guiding T methodology) in that a method’s primary topic has recently received a great deal of the software process. focus is on how to navigate through each attention. phase (determining data, control, or The Defense Science Board Task Force ‘‘uses” hierarchies; partitioning functions; Report on Military Software‘ issued in allocating requirements) and how to rep- 1987 highlighted the concern that tradi- resent phase products (structure charts; tional software process models were dis- stimulus-response threads; state transition couraging more effective approaches to diagrams). software development such as prototyping Why are software process models and software reuse. The Computer Soci- spiral model; illustrate the application of the spiral model to a software project, important? Primarily because they pro- ety has sponsored tutorials and workshops vide guidance on the order (phases, incre- on software process models that have using the TRW Software Productivity Project as an example; summarize the pri- ments, prototypes, validation tasks, etc.) helped clarify many of the issues and in which a project should carry out its stimulated advances in the field (see “Fur- mary advantages and implications involved in using the spiral model and the major tasks.
    [Show full text]
  • Spiral Model: Advantages and Disadvantages
    SPIRAL MODEL: ADVANTAGES AND DISADVANTAGES What is the Spiral Model? The Spiral Life Cycle Model is a type of iterative software development model which is generally implemented in high risk projects. It was first proposed by Boehm. In this system development method, we combine the features of both, waterfall model and prototype model. In Spiral model we can arrange all the activities in the form of a spiral. Each loop in a spiral represents a development phase (and we can have any number of loops according to the project). Each loop has four sections or quadrants : 1. To determine the objectives, alternatives and constraints. We try to understand the product objectives, alternatives in design and constraints imposed because of cost, technology, schedule, etc. 2. Risk analysis and evaluation of alternatives. Here we try to find which other approaches can be implemented in order to fulfill the identified constraints. Operational and technical issues are addressed here. Risk mitigation is in focus in this phase. And evaluation of all these factors determines future action. 3. Execution of that phase of development. In this phase we develop the planned product. Testing is also done. In order to do development, waterfall or incremental approach can be implemented. 4. Planning the next phase. Here we review the progress and judge it considering all parameters. Issues which need to be resolved are identified in this phase and necessary steps are taken. Subsequent loops of spiral model involve similar phases. Analysis and engineering efforts are applied in this model. Large, expensive or complicated projects use this type of life cycle.
    [Show full text]