Skip to main content

Software Development Life Cycle Models


Software Development Life Cycle Models


The General Model
Software life cycle models describe phases of the software cycle and
the order in which those phases are executed.  There are tons of
models, and many companies adopt their own, but all have very similar
patterns.  The general, basic model is shown below:
Each phase produces deliverables required by the next phase in the
life cycle.  Requirements are translated into design.  Code
is produced during implementation that is driven by the design.
Testing verifies the deliverable of the implementation phase against
requirements.
Requirements
Business requirements are gathered in this phase.  This phase
is the main focus of the project managers and stake holders.
Meetings with managers, stake holders and users are held in order to
determine the requirements.  Who is going to use the system?
How will they use the system?  What data should be input into the
system?  What data should be output by the system?  These are
general questions that get answered during a requirements gathering
phase.  This produces a nice big list of functionality that the
system should provide, which describes functions the system should
perform, business logic that processes data, what data is stored and
used by the system, and how the user interface should work.  The
overall result is the system as a whole and how it performs, not how it
is actually going to do it.
Design
The software system design is produced from the results of the
requirements phase.  Architects have the ball in their court
during this phase and this is the phase in which their focus
lies.  This is where the details on how the system will work is
produced.  Architecture, including hardware and software,
communication, software design (UML is produced here) are all part of
the deliverables of a design phase.
Implementation
Code is produced from the deliverables of the design phase during
implementation, and this is the longest phase of the software
development life cycle.  For a developer, this is the main focus
of the life cycle because this is where the code is produced.
Implementation my overlap with both the design and testing
phases.  Many tools exists (CASE tools) to actually automate the
production of code using information gathered and produced during the
design phase.
Testing
During testing, the implementation is tested against the
requirements to make sure that the product is actually solving the
needs addressed and gathered during the requirements phase.  Unit
tests and system/acceptance tests are done during this phase.
Unit tests act on a specific component of the system, while system
tests act on the system as a whole.
So in a nutshell, that is a very basic overview of the general
software development life cycle model.  Now lets delve into some
of the traditional and widely used variations.

Waterfall Model
This is the most common and classic of life cycle models, also
referred to as a linear-sequential life cycle model.  It is very
simple to understand and use.  In a waterfall model, each phase
must be completed in its entirety before the next phase can
begin.  At the end of each phase, a review takes place to
determine if the project is on the right path and whether or not to
continue or discard the project.  Unlike what I mentioned in the
general model, phases do not overlap in a waterfall model.
Advantages
  • Simple and easy to use.
  • Easy to manage due to the rigidity of the model – each phase has specific deliverables and a review process.
  • Phases are processed and completed one at a time.
  • Works well for smaller projects where requirements are very well understood.
Disadvantages
  • Adjusting scope during the life cycle can kill a project
  • No working software is produced until late during the life cycle.
  • High amounts of risk and uncertainty.
  • Poor model for complex and object-oriented projects.
  • Poor model for long and ongoing projects.
  • Poor model where requirements are at a moderate to high risk of changing.

V-Shaped Model
Just like the waterfall model, the V-Shaped life cycle is a
sequential path of execution of processes.  Each phase must be
completed before the next phase begins.  Testing is emphasized in
this model more so than the waterfall model though.  The testing
procedures are developed early in the life cycle before any coding is
done, during each of the phases preceding implementation.
Requirements begin the life cycle model just like the waterfall
model.  Before development is started, a system test plan is
created.  The test plan focuses on meeting the functionality
specified in the requirements gathering.
The high-level design phase focuses on system architecture and
design.  An integration test plan is created in this phase as well
in order to test the pieces of the software systems ability to work
together.
The low-level design phase is where the actual software components
are designed, and unit tests are created in this phase as well.
The implementation phase is, again, where all coding takes
place.  Once coding is complete, the path of execution continues
up the right side of the V where the test plans developed earlier are
now put to use.
Advantages
  • Simple and easy to use.
  • Each phase has specific deliverables.
  • Higher chance of success over the waterfall model due to the development of test plans early on during the life cycle.
  • Works well for small projects where requirements are easily understood.
Disadvantages
  • Very rigid, like the waterfall model.
  • Little flexibility and adjusting scope is difficult and expensive.
  • Software is developed during the implementation phase, so no early prototypes of the software are produced.
  • Model doesn’t provide a clear path for problems found during testing phases.

Incremental Model
The incremental model is an intuitive approach to the waterfall
model.  Multiple development cycles take place here, making the
life cycle a “multi-waterfall” cycle.  Cycles are divided up into
smaller, more easily managed iterations.  Each iteration passes
through the requirements, design, implementation and testing phases.
A working version of software is produced during the first
iteration, so you have working software early on during the software
life cycle.  Subsequent iterations build on the initial software
produced during the first iteration.
Advantages
  • Generates working software quickly and early during the software life cycle.
  • More flexible – less costly to change scope and requirements.
  • Easier to test and debug during a smaller iteration.
  • Easier to manage risk because risky pieces are identified and handled during its iteration.
  • Each iteration is an easily managed milestone.
Disadvantages
  • Each phase of an iteration is rigid and do not overlap each other.
  • Problems may arise pertaining to system architecture because not
    all requirements are gathered up front for the entire software life
    cycle.

Spiral Model
The spiral model is similar to the incremental model, with more
emphases placed on risk analysis.  The spiral model has four
phases: Planning, Risk Analysis, Engineering and Evaluation.  A
software project repeatedly passes through these phases in iterations
(called Spirals in this model).  The baseline spiral, starting in
the planning phase, requirements are gathered and risk is
assessed.  Each subsequent spirals builds on the baseline spiral.
Requirements are gathered during the planning phase.  In the
risk analysis phase, a process is undertaken to identify risk and
alternate solutions.  A prototype is produced at the end of the
risk analysis phase.
Software is produced in the engineering phase, along with testing at
the end of the phase.  The evaluation phase allows the customer to
evaluate the output of the project to date before the project continues
to the next spiral.
In the spiral model, the angular component represents progress, and the radius of the spiral represents cost.

Advantages
  • High amount of risk analysis
  • Good for large and mission-critical projects.
  • Software is produced early in the software life cycle.
Disadvantages
  • Can be a costly model to use.
  • Risk analysis requires highly specific expertise.
  • Project’s success is highly dependent on the risk analysis phase.
  • Doesn’t work well for smaller projects.

Comments

Post a Comment

Popular posts from this blog

PNR Status by web Scraping Method (ASP.NET) C#

To Get the PNR Status by web Scraping Method Steps to Execute the Function Step 1 : Add the below method in your Form and Pass the PNR Number arguement public string GetPNRStatus( string sPNR) { string URI = "http://www.indianrail.gov.in/cgi_bin/inet_pnrstat_cgi.cgi" ; string Parameters = Uri .EscapeUriString( "lccp_pnrno1=" +sPNR+ "&submitpnr=Get Status" ); System.Net. HttpWebRequest req = ( HttpWebRequest )System.Net. WebRequest .Create(URI); //HTTP POST Headers req.ContentType = "application/x-www-form-urlencoded" ; req.Host = "www.indianrail.gov.in" ; //You can use your own user-agent. req.UserAgent = "Mozilla/5.0 (compatible; MSIE 7.0; Windows Phone OS 7.5; Trident/5.0; IEMobile/9.0) DELL;Venue Pro" ; req.Headers.Add( HttpRequestHeader .AcceptLanguage, "en-us,en;q=0.5" ); req.Headers.Add( HttpRequestHeader .AcceptCharset, "ISO-8859-1,utf-8;q=
C# HttpClient tutorial C# HttpClient tutorial shows how to create HTTP requests with HttpClient in C#. In the examples, we create simple GET and POST requests. The Hypertext Transfer Protocol (HTTP) is an application protocol for distributed, collaborative, hypermedia information systems. HTTP is the foundation of data communication for the World Wide Web. HttpClient  is a base class for sending HTTP requests and receiving HTTP responses from a resource identified by a URI. C# HttpClient status code HTTP response status codes indicate whether a specific HTTP request has been successfully completed. Responses are grouped in five classes: Informational responses (100–199) Successful responses (200–299) Redirects (300–399) Client errors (400–499) Server errors (500–599) Program.cs using System; using System.Net.Http; using System.Threading.Tasks; namespace HttpClientStatus { class Program { static async Task Main(string[] args) { using var client = new

SonarQube Configuration For .NET Core Web API

When multiple developers are working on the same project, it's good to have a code review. SonarQube is a tool through which we can evaluate our code. Here, for demo purposes, we are going to evaluate the web API which is built on .NET Core. Let's see step by step implementation. In order to run SonarQube, we need to install JAVA in our local system.   Refer to the below link to download JAVA installer and install JAVA. https://www.oracle.com/technetwork/java/javase/downloads/index-jsp-138363.html Configure the 'PATH' system variable under environment variables Go to Control Panel > System > Advanced System Settings, it will open the System Properties window. Click on the "Environment Variables" button. Click on the "View" button under User Variables. Give the variable name as 'JAVA_HOME'. The variable value will be your JDK path where you installed JAVA. Select path variable under system variable and click o