Software development life cycle describes the typical phases of the process of developing software.
Feasibility The sources of ideas for software products are plentiful. These ideas can come from
market research, including the
demographics of potential new customers, existing customers, sales prospects who rejected the product, other internal software development staff, or a creative third party. Ideas for software products are usually first evaluated by
marketing personnel for economic feasibility, fit with existing channels of distribution, possible effects on existing product lines, required
features, and fit with the company's marketing objectives. In the marketing evaluation phase, the cost and time assumptions are evaluated. The feasibility analysis estimates the project's
return on investment, its development cost and its timeframe. Based on this analysis, the company can make a business decision to invest in further development. After deciding to develop the software, the company is focused on delivering the product at or below the estimated cost and time and with a high standard of quality (i.e., lack of bugs) and the desired functionality. Nevertheless, most software projects run late, and sometimes compromises are made in features or quality to meet a deadline.
Analysis Software analysis begins with a
requirements analysis to capture the business needs of the software. Challenges for the identification of needs are that current or potential users may have different and incompatible needs, may not understand their own needs, and change their needs during the process of software development. Ultimately, the result of analysis is a detailed specification for the product that developers can work from. Software analysts often
decompose the project into smaller objects, components that can be reused for increased cost-effectiveness, efficiency, and reliability. Decomposing the project may enable a
multi-threaded implementation that runs significantly faster on
multiprocessor computers. During the analysis and design phases of software development,
structured analysis is often used to break down the customer's requirements into pieces that can be implemented by software programmers. The underlying logic of the program may be represented in
data-flow diagrams,
data dictionaries,
pseudocode,
state transition diagrams, and/or
entity relationship diagrams. If the project incorporates a piece of
legacy software that has not been modeled, this software may be modeled to help ensure it is correctly incorporated with the newer software.
Design Design involves choices about the implementation of the software, such as which
programming languages and database software to use, or how the hardware and network communications will be organized. Design may be iterative with users consulted about their needs in a process of
trial and error. Design often involves people who are expert in aspects such as
database design, screen architecture, and the performance of servers and other hardware. Designers often attempt to find
patterns in the software's functionality to spin off distinct modules that can be reused with
object-oriented programming. An example of this is the
model–view–controller, an interface between a
graphical user interface and the
backend.
Programming The central feature of software development is creating and understanding the software that implements the desired functionality. There are various strategies for writing the code. Cohesive software has various components that are independent from each other. Coupling is the interrelation of different software components, which is viewed as undesirable because it increases the difficulty of
maintenance. Often, software programmers do not follow industry best practices, resulting in code that is inefficient, difficult to understand, or lacking
documentation on its functionality. These standards are especially likely to break down in the presence of deadlines. As a result, testing,
debugging, and revising the code become much more difficult.
Code refactoring, for example, adding more comments to the code, is a solution to improve the understandability of the code.
Testing Testing is the process of ensuring that the code executes correctly and without errors.
Debugging is performed by each software developer on their own code to confirm that the code does what it is intended to. In particular, it is crucial that the software executes on all inputs, even if the result is incorrect.
Code reviews by other developers are often used to scrutinize new code added to the project, and according to some estimates dramatically reduce the number of bugs persisting after testing is complete. Once the code has been submitted,
quality assurance – a separate department of non-programmers for most large companies – test the accuracy of the entire software product.
Acceptance tests derived from the original software requirements are a popular tool for this. Quality testing also often includes stress and load checking (whether the software is robust to heavy levels of input or usage),
integration testing (to ensure that the software is adequately integrated with other software), and
compatibility testing (measuring the software's performance across different operating systems or browsers). When tests are written before the code, this is called
test-driven development.
Production Production is the phase in which software is deployed to the end user. During production, the developer may create technical support resources for users or a process for fixing bugs and errors that were not caught earlier. There might also be a return to earlier development phases if user needs changed or were misunderstood. ==Workers==