




Study with the several resources on Docsity
Earn points by helping other students or get them with a premium plan
This page cannot be seen from the preview
Don't miss anything!





Chapter Comments 5- 1
This intent of this chapter is to present the concepts and principles that serve as a foundation for software engineering practice. The concepts and principles presented in this chapter are applicable regardless of the specific process that is used, methods that are chosen or tools that are applied. Note : In many cases, the concepts and principles discussed here should be revisited as each software engineering activity is presented during the course. For example, design concepts and principles can be revisited when the chapters on software design are covered.
Practice is a broad array of concepts, principles, methods, and tools that you must consider as software is planned and developed. It represents the details—the technical considerations and how to’s—that are below the surface of the software process—the things that you’ll need to actually build high-quality computer software. 5.1.1 The Essence of Practice This section lists the generic framework (communication, planning, modeling, construction, and deployment) and umbrella (tracking, risk management, reviews, measurement, configuration management, reusability management, work product creation, and product) activities found in all software process models.
5- 2 SEPA, 6/e Instructor’s Guide George Polya, in a book written in 1945 (!), describes the essence of software engineering practice …
5- 4 SEPA, 6/e Instructor’s Guide 5.3 Planning Practices The planning activity encompasses a set of management and technical practices that enable the S/W team to define a road map as it travels toward its strategic goal and tactical objectives. Regardless of the rigor with which planning is conducted, the following principles always apply: Understand the project scope. Scope provides the S/W team with a destination. Involve the customer (and other stakeholders) in the planning activity. The customer defines priorities and establishes project constraints. S/W engineers must often negotiate order of delivery, timelines, and other related issues. Recognize that planning is iterative. A plan must be adjusted to accommodate changes. Estimate based on what you know. The intent of estimation is to provide an indication of effort, cost, and task duration, based on the team’s current understanding of the work to be done. Consider risk as you define the plan. Be realistic. Even the best S/W engineers make mistakes. Adjust granularity as you plan. A fine granularity plan provides significant work task detail that is planned over relatively short time increments. A coarse granularity plan provides broader work tasks that are planned over longer time periods. Define how quality will be achieved. Define how you’ll accommodate changes. “Can the customer request a change at any time?” Track what you’ve planned and make adjustments as required. Barry Boehm states: “You need an organizing principle that scales down to provide simple plans for simple projects.” Boehm suggests an approach that addresses project objectives, milestones, and schedules, responsibilities, management and technical approaches, and required resources. Boehm calls it W^5 HH principle , after a series of questions that lead to a definition of key project characteristics and the resultant project plan. Why is the system being developed? Does the business purpose justify the expenditure of people, time and money? What will be done? Identify the functionality to be built.
Chapter Comments 5- 5 When will it be accomplished? Establish a workflow and timeline for key project tasks and identify milestones required by the customer. Who is responsible for a function? Define members’ roles and responsibilities. Where are they located (organizationally)? Customers also have responsibilities. How will the job be done technically and managerially? Once a scope is defined, a technical strategy must be defined. How much of each resource is needed? The answer is derived by developing estimates based on answers to earlier questions. 5.4 Modeling Practices The process of developing analysis and design models is described in this section. The emphasis is on describing how to gather the information needed to build reasonable models, but no specific modeling notations are presented in this chapter. UML and other modeling notations are described in detail later in the text. In S/W Eng. work, two models are created: analysis models and design models. Analysis models represent the customer requirements by depicting the S/W in three different domains: the information domain, the functional domain, and the behavioral domain. Design models represent characteristics of the S/W that help practitioners to construct it effectively: the architecture, the user interface, and component-level detail. 5.4.1 Analysis Modeling Principles The information domain of a problem must be represented and understood. The information domain encompasses the data that flow into the system (end- users, other systems, or external devices), the data that flow out of the system and the data stores that collect and organize persistent data objects. Represent software functions. Functions can be described at many different levels of abstraction, ranging from a general statement of purpose to a detailed description of the processing elements that must be invoked. Represent software behavior. The behavior of the S/W is driven by the interaction with the external environment. The models that depict information, function, and behavior must be partitioned in a manner that uncovers detail in a layered fashion (or hierarchical). The analysis task should move from essential information toward implementation detail. Analysis begins by describing the problem from the end-user perspective. The”essence” of the problem is described without any consideration of how a solution will be implemented.
Chapter Comments 5- 7 5.5 Construction Practices In this text “construction” is defined as being composed of both coding and testing. The purpose of testing is to uncover defects. Exhaustive testing is not possible so processing a few test cases successfully does not guarantee that you have bug free program. Unit testing of components and integration testing will be discussed in greater later in the text along with software quality assurance activities. Although testing has received increased attention over the past decade, it is the weakest part of software engineering practice for most organizations. 5.5.1 Coding Principles and Concepts Preparation Principles : Before writing one line of code, be sure of:
5- 8 SEPA, 6/e Instructor’s Guide Testing is a process of executing a program with the intent of finding errors. A good test is one that has a high probability of finding an as-yet undiscovered error. A successful test is one that uncovers an as-yet-undiscovered error. 5.6 Deployment Practices Customer Expectations for the software must be managed. “Don’t promise more than you can deliver.” A complete delivery package should be assembled and tested. A support regime must be established before the software is delivered. Appropriate instructional materials must be provided to end-users. Buggy software should be fixed first, delivered later.