Sie sind auf Seite 1von 18

1 2 3 4 5 6 7 8 9 10 11 KA MR PR SCM SLA SQA V&V

CHAPTER 5 SOFTWARE MAINTENANCE ACRONYMS


Knowledge Area Modification Request Problem Report Software Configuration Management Software Level Agreement Software Quality Assurance Verification and Validation 43 44 45 46 47 48 49 50 51 52 53 delivery stage. Pre-delivery activities include planning for post-delivery operations, maintainability, and logistics determination for transition activities (IEEE 2006, c6s9). Post-delivery activities include software modification, training, and operating or interfacing to a help desk. The Software Maintenance KA is related to all other aspects of software engineering. Therefore, this KA description is linked to all other chapters of the Guide.
FOR

12 INTRODUCTION 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 Software development efforts result in the delivery of a software product that satisfies user requirements. Accordingly, the software product must change or evolve. Once in operation, defects are uncovered, operating environments change, and new user requirements surface. The maintenance phase of the life cycle begins following a warranty period or post-implementation support delivery, but maintenance activities occur much earlier. Software maintenance is an integral part of a software life cycle. However, it has not, historically, received the same degree of attention that the other phases have. Historically, software development has had a much higher profile than software maintenance in most organizations. This is now changing, as organizations strive to squeeze the most out of their software development investment by keeping software operating as long as possible. The open source paradigm has brought further attention to the issue of maintaining software artifacts developed by others. In this Guide, software maintenance is defined as the totality of activities required to provide cost-effective support to software. Activities are performed during the predelivery stage as well as during the post-

54 BREAKDOWN OF TOPICS 55 MAINTENANCE

SOFTWARE

56 The Software Maintenance KA breakdown 57 of topics is shown in Figure 1. 58 59 60 61 62 63 64 65 66 67 68 69 70 71 72 73 74 75 76 77 78 1. Software Maintenance Fundamentals This first section introduces the concepts and terminology that form an underlying basis to understanding the role and scope of software maintenance. The topics provide definitions and emphasize why there is a need for maintenance. Categories of software maintenance are critical to understanding its underlying meaning. 1.1. Definitions and Terminology (1, c1s2, c2s2, c3s2; 2, c3) The purpose for software maintenance is defined in the international standard for software maintenance: ISO/IEC/IEEE 14764.1 In the context of software engineering, software maintenance is essentially one of the many technical processes. The objective of software maintenance is to modify existing software while preserving

For the purpose of conciseness and ease of reading, this standard is referred to simply as IEEE 14764 in the subsequent text of this Knowledge area.

IEEE 2012 SWEBOK Guide V3 Alpha Version

79 80 81 82 83 84 85 86 87 88 89 90 91 92 93 94 95 112

its integrity. The international standards also state the importance of having some maintenance activities (pre-delivery activities) prior to the final delivery of a software. Notably, IEEE 14764 emphasizes the importance of the pre-delivery aspects of maintenanceplanning, for example. 1.2. Nature of Maintenance (1, c1s3) Software maintenance sustains the software product throughout its life cycle (from development to operations). Modification requests are logged and tracked, the impact of proposed changes is determined, code and other software artifacts are modified, testing is conducted, and a new version of the

96 97 98 99 100 101 102 103 104 105 106 107 108 109 110 111

software product is released. Also, training and daily support are provided to users. The term maintainer is defined as an organization that performs maintenance activities. In this KA, the term will sometimes refer to individuals who perform those activities, contrasting them with the developers. IEEE 14764 identifies the primary activities of software maintenance as process implementation, problem and modification analysis, modification implementation, maintenance review/acceptance, migration, and retirement. These activities are discussed in section 3.2, Maintenance Activities.

IEEE 2012 SWEBOK Guide V3 Alpha Version

113

114 115 116 117 118 119 120 121 122 123 124 125 126

Figure 1: Breakdown of Topics for Software Maintenance

Maintainers can learn from the developers knowledge of the software. Contact with the developers and early involvement by the maintainer helps reduce the maintenance effort. In some instances, the initial developer cannot be reached or has moved on to other tasks, which creates an additional challenge for maintainers. Maintenance must take the products of the development, code, or

127 128 129 130 131 132 133 134 135 136 137 138

documentation (for example) and support them immediately and evolve/maintain them progressively over a software life cycle. 1.3. Need for Maintenance (1, c1s5) Maintenance is needed to ensure that the software continues to satisfy user requirements. Maintenance is applicable to software that is developed using any software life cycle model (for example, 3

IEEE 2012 SWEBOK Guide V3 Alpha Version

139 140 141 142 143 144 145 146 147 148 149 150 151 152 153 154 155 156 157 158 159 160 161 162 163 164 165 166 167 168 169 170 171 172 173 174 175 176 177 178 179 180 181

spiral). The software changes due to corrective and non-corrective software actions. Maintenance must be performed in order to correct faults; improve the design; implement enhancements; interface with other softwares; adapt programs so that different hardware, software, system features, and telecommunications facilities can be used; migrate legacy software; and retire software. The maintainers activities comprise five key characteristics: maintaining control over the softwares day-to-day functions; maintaining control over software modification; perfecting existing functions; identifying security threats and fixing security vulnerabilities; and preventing software performance from degrading to unacceptable levels. 1.4. Majority of Maintenance Costs (1, c4s3, c5s5.2) Maintenance consumes a major share of a softwares life-cycle financial resources. A common perception of software maintenance is that it merely fixes faults. However, studies and surveys over the years have indicated that the majority, over 80 percent, of software maintenance is used for noncorrective actions (1, figure 4.1). Grouping enhancements and corrections together in management reports contributes to some misconceptions regarding the high cost of corrections.

182 183 184 185 186 187 188 189 190 191 192 193 194 195 196 197 198 199 200 201 202 203 204 205 206 207 208 209 210 211 212 213 214 215 216 217 218 219 220 221 222 223 224 225 226

Understanding the categories of software maintenance helps to understand the structure of software maintenance costs. Also, understanding the factors that influence the maintainability of a software can help to contain costs. Grubb and Takang present some of the environmental factors and their relationship to software maintenance costs, as follows. Operating environment refers to hardware and software. Organizational environment refers to policies, competition, process, product, and personnel. 1.5. Evolution of Software (1, c3s5) Lehman first addressed software maintenance and evolution in the late 1960s. Over a period of twenty years, his research led to the formulation of eight Laws of Evolution. Lehmans key findings include a proposal that maintenance is evolutionary development and that maintenance decisions are aided by understanding what happens to softwares over time. Others state that maintenance is continued development, except that there is an extra input (or constraint)in other words, existing large software is never complete and continues to evolve; as it evolves, it grows more complex unless some action is taken to reduce this complexity. 1.6. Categories of Maintenance (1, c3s3.1; 2,c3, c6s2) Lientz and Swanson initially defined three categories (types) of maintenance: corrective, adaptive, and perfective (1, c4s3). This classification was later updated in IEEE 14764 to include four categories, as follows. 4

IEEE 2012 SWEBOK Guide V3 Alpha Version

227 228 229 230 231 232 233 234 235 236 237 238 239 240 241 242 243 244 245 246 247 248 249 250 251 252 253 254 255 256 257 258 259 260 261 262 263 264 265 266 267 268 269

Corrective maintenance: reactive modification (or repairs) of a software product performed after delivery to correct discovered problems. Included in this category is emergency maintenance, which is an unscheduled modification performed to temporarily keep a software operational pending corrective maintenance. Adaptive maintenance: modification of a software product, performed after delivery, to keep a software product usable in a changed or changing environment. For example, the operating system might be upgraded and some changes to the software may be necessary. Perfective maintenance: modification of a software product after delivery to provide enhancements for users, improvement of program documentation, and recoding to improve software performance, maintainability or other software attributes. Preventive maintenance: modification of a software product after delivery to detect and correct latent faults in the software product before they become operational faults. IEEE 14764 classifies adaptive and perfective maintenance as maintenance enhancements. It also groups together the corrective and preventive maintenance categories into a correction category, as shown in Table 1. Correction Proactive Preventive Enhancement Perfective

270 271 272 273 274 275 276 277 278 279 280 281 282 283 284 285 286 287 288 289 290 291 292 293 294 295 296 297 298 299 300 301 302 303 304 305 306 307 308 309 310 311 312

Reactive

Corrective

Adaptive

Table 1: Software maintenance categories 2. Key Issues in Software Maintenance A number of key issues must be dealt with to ensure the effective maintenance of software. It is important to understand that software maintenance provides unique technical and management challenges for software engineersfor example, trying to find a fault in software containing 500K lines of code that another software engineer developed is a good example. Similarly, competing with software developers for resources is a constant battle. Planning for a future release, which often includes coding the next release while sending out emergency patches for the current release, also creates a challenge. The following section presents some of the technical and management issues related to software maintenance. They have been grouped under the following topic headings: technical issues, management issues, cost estimation, and measurement. 2.1. Technical Issues

2.1.1. Limited Understanding (1, c6) Limited understanding refers to how quickly a software engineer can understand where to make a change or correction in software that he or she did not develop Research indicates that about half of the total maintenance effort is devoted to understanding the software 5

IEEE 2012 SWEBOK Guide V3 Alpha Version

313 314 315 316 317 318 319 320 321 322 323 324 325 326 327 328 329 330 331 332 333 334 335 336 337 338 339 340 341 342 343 344 345 346 347 348 349 350 351 352 353 354 355

to be modified. Thus, the topic of software comprehension is of great interest to software engineers. Comprehension is more difficult in textoriented representationin source code, for examplewhere it is often difficult to trace the evolution of software through its releases/versions if changes are not documented and if the developers are not available to explain it, which is often the case. Thus, software engineers may initially have a limited understanding of the software; much has to be done to remedy this. 2.1.2. Testing (1, c9; 2, c5s2.2.2) The cost of repeating full testing on a major piece of software can be significant in terms of time and money. In order to ensure that the requested problem reports are valid, the maintainer should replicate or verify problems by running the appropriate tests. Regression testing (the selective retesting of a software or component to verify that the modifications have not caused unintended effects) is an important testing concept to maintenance. Additionally, finding time to test is often difficult. There is also the challenge of coordinating tests when different members of the maintenance team are working on different problems at the same time. When software performs critical functions, it may be difficult to bring it offline to test. The Software Testing KA provides additional information and references on this matter in its sub-topic on regression testing.

356 357 358 359 360 361 362 363 364 365 366 367 368 369 370 371 372 373 374 375 376 377 378 379 380 381 382 383 384 385 386 387 388 389 390 391 392 393 394 395 396 397 398 399 400

2.1.3. Impact Analysis (1, c13s3; 2, c5s2.5) Impact analysis describes how to conduct, cost effectively, a complete analysis of the impact of a change in existing software. Maintainers must possess an intimate knowledge of the softwares structure and content. They use that knowledge to perform impact analysis, which identifies all systems and software products affected by a software change request and develops an estimate of the resources needed to accomplish the change. Additionally, the risk of making the change is determined. The change request, sometimes called a modification request (MR) and often called a problem report (PR), must first be analyzed and translated into software terms. It is performed after a change request enters the software configuration management process. IEEE 14764 states impact analysiss tasks: analyze MRs/PRs; replicate or verify the problem; develop options for implementing the modification; document the MR/PR, the results, and the execution options; obtain approval for the selected modification option. The severity of a problem is often used to decide how and when a problem will be fixed. The software engineer then identifies the affected components. Several potential solutions are provided and then a recommendation is made as to the best course of action. Software designed with maintainability in mind greatly facilitates impact analysis. More information can be found in the Software Configuration Management KA.

IEEE 2012 SWEBOK Guide V3 Alpha Version

401 402 403 404 405 406 407 408 409 410 411 412 413 414 415 416 417 418 419 420 421 422 423 424 425 426 427 428 429 430 431 432 433 434 435 436 437 438 439 440 441 442 443 444 445

2.1.4. Maintainability (1, c12s5.5; 2, c6s8) How does one promote and follow up on maintainability issues during development? IEEE 14764 (2, c3s4) defines maintainability as the capability of the software product to be modified. Modifications may include corrections, improvements, or adaptation of the software to changes in environment and in requirements and functional specifications. Maintainability is one of softwares main quality characteristics. Maintainability characteristics should be specified, reviewed, and controlled during the software development activities in order to reduce maintenance costs. If this is done successfully, the softwares maintainability will improve. This is often difficult to achieve because the maintainability sub-characteristics is not an important focus during the process of software development. The developers are often more preoccupied with many other activities and often disregard the maintainers requirements. This in turn can, and often does, result in a lack of software documentation and test environments, which is a leading cause of difficulties in program comprehension and impact analysis afterwards. It has also been observed that the presence of systematic and mature processes, techniques, and tools helps to enhance the maintainability of a software. 2.2. Management Issues 2.2.1. Alignment with Organizational Objectives (1, c4) Organizational objectives describe how to demonstrate the return on investment of software maintenance activities. Initial software development is usually project-based, with a defined time scale

446 447 448 449 450 451 452 453 454 455 456 457 458 459 460 461 462 463 464 465 466 467 468 469 470 471 472 473 474 475 476 477 478 479 480 481 482 483 484 485 486 487 488 489 490

and budget. The main emphasis is to deliver a product, on time and within budget, that meets user needs. In contrast, software maintenance often has the objective of extending the life of software for as long as possible. In addition, it may be driven by the need to meet user demand for software updates and enhancements. In both cases, the return on investment is much less clear, so that the view at senior management level is often of a major activity consuming significant resources with no clear quantifiable benefit for the organization. 2.2.2. Staffing (1, c4s5, c10s4) Staffing refers to how to attract and keep software maintenance staff. Maintenance is not often viewed as glamorous work. As a result, software maintenance personnel are frequently viewed as second-class citizens, and morale therefore suffers. 2.2.3. Process (1, c5; 2, c5) The software life-cycle process is a set of activities, methods, practices, and transformations that people use to develop and maintain software and its associated products. At the process level, software maintenance activities share much in common with software development (for example, software configuration management is a crucial activity in both). Maintenance also requires several activities that are not found in software development (see section 3.2 on unique activities for details). These activities present challenges to management. 2.2.4. Organizational Aspects of 7

IEEE 2012 SWEBOK Guide V3 Alpha Version

491 492 493 494 495 496 497 498 499 500 501 502 503 504 505 506 507 508 509 510 511 512 513 514 515 516 517 518 519 520 521 522 523 524 525 526 527 528 529 530 531 532 533 534 535

Maintenance (1, c10; 2, c7s2.3) Organizational aspects describe how to identify which organization and/or function will be responsible for the maintenance of software. The team that develops the software is not necessarily assigned to maintain the software once it is operational. In deciding where the software maintenance function will be located, software engineering organizations may, for example, stay with the original developer or go to a permanent maintenance-specific team (or maintainer). Having a permanent maintenance team has many benefits: allows for specialization; creates communication channels; promotes an egoless, collegiate atmosphere; reduces dependency on individuals; allows for periodic audit checks. Since there are many pros and cons to each option, the decision should be made on a case-by-case basis. What is important is the delegation or assignment of the maintenance responsibility to a single group or person, regardless of the organizations structure. 2.2.5. Outsourcing (4) Outsourcing and sometimes offshoring software maintenance has become a major industry. Organizations are outsourcing entire portfolios of software, including software maintenance. More often, the outsourcing option is selected for less mission-critical software, as organizations are unwilling to lose

536 537 538 539 540 541 542 543 544 545 546 547 548 549 550 551 552 553 554 555 556 557 558 559 560 561 562 563 564 565 566 567 568 569 570 571 572 573 574 575 576 577 578

control of the software used in their core business. One of the major challenges for outsourcers is to determine the scope of the maintenance services required, the terms of a service level agreement, and the contractual details. Outsourcers will need to invest in a maintenance infrastructure, and the help desk at the remote site should be staffed with native-language speakers. Outsourcing requires a significant initial investment, the setup of a maintenance process that will require automation. 2.3. Maintenance Cost Estimation

Software engineers must understand the different categories of software maintenance, discussed above, in order to address the question of estimating the cost of software maintenance. For planning purposes, estimating costs is an important aspect of software maintenance. 2.3.1. Cost Estimation (1, c7s2.4) It was mentioned in section 2.1.3 that Impact Analysis identifies all systems and software products affected by a software change request and develops an estimate of the resources needed to accomplish that change. Maintenance cost estimates are affected by many technical and non-technical factors. IEEE 14764 states that the two most popular approaches to estimating resources for software maintenance are the use of parametric models and the use of experience (2, c7s4.1). A combination of these two can also be used.

IEEE 2012 SWEBOK Guide V3 Alpha Version

579 580 581 582 583 584 585 586 587 588 589 590 591 592 593 594 595 596 597 598 599 600 601 602 603 604 605 606 607 608 609 610 611 612 613 614 615 616 617 618 619 620 621 622 623

2.3.2. Parametric Models (1, c12s5.6) Some work has been undertaken in applying parametric cost modeling (mathematical model) to software maintenance. Of significance is that historical data from past maintenance are needed in order to use and calibrate the mathematical models. Cost driver attributes affect the estimates. 2.3.3. Experience (1, c12s5.6) Experience, in the form of expert judgment, is often used to estimate maintenance effort. Clearly, the best approach to maintenance estimation is to combine historical data and experience. Cost to conduct a modification (in terms of number of people and amount of time) is then derived. Maintenance estimation historical data should be provided as a result of a measurement program. 2.4. Software Maintenance Measurement (1, c12; 2, c6s5) Fenton identifies three entities related to software maintenance, whose attributes can be subjected to measurement: process, resource, and product (1, c12s3.1). Robert Grady presents a company-wide software-measurement program for maintenance, in which software-maintenance measurement forms and data collection are described (1). There are several software measures that can be derived from the attributes of the software, the maintenance process, and personnel; Grubb and Takang have listed size, complexity, quality, understandability, maintainability, and effort. Complexity measureslike

624 625 626 627 628 629 630 631 632 633 634 635 636 637 638 639 640 641 642 643 644 645 646 647 648 649 650 651 652 653 654 655 656 657 658 659 660 661 662 663 664 665 666 667 668

McCabes and Halsteads complexity measures of software can also be obtained using available commercial tools. These measures constitute a good starting point for the maintainers measurement program. Discussion of process and product measurement is also presented in the Software Engineering Process KA. The topic of a software measurement program is described in the Software Engineering Management KA. 2.4.1. Specific Measures (1, c12) The maintainer must determine which measures are appropriate for his specific organization based on that organizations own context. The software quality model suggests measures that are specific for software maintenance. That list includes a number of measures for each of the four sub-characteristics of maintainability. Analyzability: measures of the maintainers effort or resources expended in trying to either diagnose deficiencies or causes of failure or identifying parts to be modified. Changeability: measures of the maintainers effort associated with implementing a specified modification. Stability: measures of the unexpected behavior of software, including that encountered during testing. Testability: measures of the maintainers and users effort in trying to test the modified software. Grubb and Takang also present other measures that maintainers use: size of a software, complexity of a software 9

IEEE 2012 SWEBOK Guide V3 Alpha Version

669 670 671 672 673 674 675 676 677 678 679 680 681 682 683 684 685 686 687 688 689 690 691 692 693 694 695 696 697 698 699 700 701 702

(McCabe and Halstead), understandability, and maintainability. Providing software maintenance effort, by categories, for different applications provides business information to users and their organizations. It can also measure and compare software maintenance profiles internally to an organization. 3. Maintenance Process The maintenance process has been described in IEEE 174764. In addition to standard software engineering processes and activities, there are a number of activities that are unique to maintainers. 3.1. Maintenance Processes (1, c5; 2, s5) Maintenance processes provide needed activities and detailed inputs/outputs to those activities; they are described in the software maintenance international standard IEEE 14764. The maintenance process activities of IEEE 14764 are shown in Figure 2. The IEEE 14764 software maintenance activities include process implementation, problem and modification analysis, modification implementation, maintenance review/acceptance, migration, and software retirement.

703
Process Implementation

Problem and Modification Analysis

Maintenance Review/ Acceptance

Modification Implementation

Migration

704 705 706 707 708 709 710 711 712 713 714 715 716 717 718 719 720 721 722 723 724 725 726 727 728 729 730 731

Retirement

Figure 2 Software Maintenance Process Grubb and Takang describe a number of other maintenance process models: quick fix, Boehms, Osbornes, iterative enhancement, and reuse-oriented. Recently, agile methodologies, which promote light processes, have been also adapted to maintenance. This requirement emerges from the everincreasing demand for fast turn-around of maintenance services. Improvement to the software maintenance process is supported by specialized software maintenance capability maturity models, the software maintenance maturity model (April and Abran 2008) and the corrective maintenance maturity model (Kajko-Mattsson 2001) address the unique processes and activities of software maintainers. 3.2. Maintenance Activities (2, c5, c6s8.2, c7s3.3)

IEEE 2012 SWEBOK Guide V3 Alpha Version

10

732 733 734 735 736 737 738 739 740 741 742 743 744 745 746 747 748 749 750 751 752 753 754 755 756 757 758 759 760 761 762 763 764 765 766 767 768 769 770 771 772 773 774 775 776

The maintenance process contains the activities and tasks necessary to modify an existing software product while preserving its integrity. These activities and tasks are the responsibility of the maintainer. As already noted, many maintenance activities are similar to those of software development. Maintainers perform analysis, design, coding, testing, and documentation. They must track requirements in their activitiesjust as is done in developmentand update documentation as baselines change. IEEE 14764 recommends that when a maintainer uses a development process, he must tailor it to meet his specific needs (2, c5s3.3.2). However, for software maintenance, some activities involve processes unique to software maintenance. 3.2.1. Unique Activities (1, c6,c7; 2, c3s10, c6s9, c7s2c7s3) There are a number of processes, activities, and practices that are unique to software maintenance. Program understanding: activities needed to obtain a general knowledge of what a software does and how the parts work together. Transition: a controlled and coordinated sequence of activities during which software is transferred progressively from the developer to the maintainer. Modification request acceptance/rejection: modifications requesting work beyond a certain size/effort/complexity may be rejected by maintainers and

777 778 779 780 781 782 783 784 785 786 787 788 789 790 791 792 793 794 795 796 797 798 799 800 801 802 803 804 805 806 807 808 809 810 811 812 813 814 815 816 817 818 819

rerouted to a developer. Maintenance help desk: an enduser and maintenance coordinated support function that triggers the assessment, prioritization, and costing of modification requests. Impact analysis: a technique to identify areas impacted by a potential change; Maintenance Service Level Agreements (SLAs) and maintenance licenses and contracts: contractual agreements that describe the services and quality objectives.

3.2.2. Supporting Activities (1, c9; 2, c4s1, c5, c6s7) Maintainers may also perform support activities, such as documentation, software configuration management, verification and validation, problem resolution, software quality assurance, reviews, and audits. Another important support activity consists of training the maintainers and users. 3.2.3. Maintenance Planning Activities (2, c7s3) An important activity for software maintenance is planning, and maintainers must address the issues associated with a number of planning perspectives: business planning (organizational level), maintenance planning (transition level), release/version planning (software level), and individual software change request planning (request level).

IEEE 2012 SWEBOK Guide V3 Alpha Version

11

820 821 822 823 824 825 826 827 828 829 830 831 832 833 834 835 836 837 838 839 840 841 842 843 844 845 846 847 848 849 850 851 852 853 854 855 856 857 858 859 860 861 862 863

At the individual request level, planning is carried out during the impact analysis (refer to section 2.1.3, Impact Analysis, for details). The release/version planning activity requires that the maintainer: collect the dates of availability of individual requests, agree with users on the content of subsequent releases/versions, identify potential conflicts and develop alternatives, assess the risk of a given release and develop a back-out plan in case problems should arise, and inform all the stakeholders. Whereas software development projects can typically last from some months to a few years, the maintenance phase usually lasts for many years. Making estimates of resources is a key element of maintenance planning. Software maintenance planning should begin with the decision to develop a new software and should consider quality objectives. A concept document should be developed, followed by a maintenance plan. The maintenance concept for each software needs to be documented in the plan (2, c7s2) and should address: scope of the software maintenance, adaptation of the software maintenance process, identification of the software maintenance organization, and estimate of software maintenance costs. The next step is to develop a corresponding software maintenance plan. This plan should be prepared during software development and should specify how users will request software modifications or report problems. Software maintenance planning is

864 865 866 867 868 869 870 871 872 873 874 875 876 877 878 879 880 881 882 883 884 885 886 887 888 889 890 891 892 893 894 895 896 897 898 899 900 901 902 903 904 905 906 907 908

addressed in IEEE 14764. It provides guidelines for a maintenance plan. Finally, at the highest level, the maintenance organization will have to conduct business planning activities (budgetary, financial, and human resources) just like all the other divisions of the organization. The management knowledge required to do so can be found in the chapter Related Disciplines of Software Engineering. 3.2.4. Software Configuration Management (1, c11; 2, c5s1.2.3) IEEE 14764 describes software configuration management as a critical element of the maintenance process. Software configuration management procedures should provide for the verification, validation, and audit of each step required to identify, authorize, implement, and release the software product. It is not sufficient to simply track modification requests or problem reports. The software product and any changes made to it must be controlled. This control is established by implementing and enforcing an approved software configuration management (SCM) process. The Software Configuration Management KA provides details of SCM and discusses the process by which software change requests are submitted, evaluated, and approved. SCM for software maintenance is different from SCM for software development in the number of small changes that must be controlled on operational software. The SCM process is implemented by developing and following a configuration management plan and operating procedures. Maintainers participate in Configuration

IEEE 2012 SWEBOK Guide V3 Alpha Version

12

909 910 911 912 913 914 915 916 917 918 919 920 921 922 923 924 925 926 927 928 929 930 931 932 933 934 935 936 937 938 939 940 941 942 943 944 945 946 947 948 949 950 951 952

Control Boards to determine the content of the next release/version. 3.2.5. Software Quality (1, c12s5.3; 2, c6s5, c6s7-c6.8) It is not sufficient, either, to simply hope that increased quality will result from the maintenance of software. Maintainers should have a software quality program. It must be planned and processes implemented to support the maintenance process. The activities and techniques for Software Quality Assurance (SQA), V&V, reviews, and audits must be selected in concert with all the other processes to achieve the desired level of quality. It is also recommended that the maintainer adapt the software development processes, techniques and deliverables (for instance, testing documentation), and test results. More details can be found in the Software Quality KA. 4. Techniques for Maintenance This subarea introduces some of the generally accepted techniques used in software maintenance. 4.1. Program Comprehension (1, c6, c14s5) Programmers spend considerable time reading and understanding programs in order to implement changes. Code browsers are key tools for program comprehension and are used to organize and present source code. Clear and concise documentation can also aid in program comprehension. 4.2. Reengineering (1, c7) Reengineering is defined as the examination and alteration of software to reconstitute it in a new form, and

953 954 955 956 957 958 959 960 961 962 963 964 965 966 967 968 969 970 971 972 973 974 975 976 977 978 979 980 981 982 983 984 985 986 987 988 989 990 991 992 993 994 995 996 997 998

includes the subsequent implementation of the new form. It is often not undertaken to improve maintainability but to replace aging legacy software. Refactoring is a reengineering technique that aims at reorganizing a program without changing its behavior. It seeks to improve a program structure and its maintainability. Refactoring techniques can be used during minor changes. 4.3. Reverse Engineering (1, c7, c14s5; 2, c6s2) Reverse engineering is the process of analyzing software to identify the softwares components and their interrelationships and to create representations of the software in another form or at higher levels of abstraction. Reverse engineering is passive; it does not change the software or result in new software. Reverse engineering efforts produce call graphs and control flow graphs from source code. One type of reverse engineering is redocumentation. Another type is design recovery. Finally, data reverse engineering has grown in importance over the last few years where logical schemas are recovered from physical databases. Tools are key for reverse engineering and related tasks such as redocumentation and design recovery. 4.4. Migration (2, c5s5) During a softwares life, it may have to be modified to run in different environments. In order to migrate it to a new environment, the maintainer needs to determine the actions needed to accomplish the migration, and then develop and document the steps required to effect the migration in a migration plan that covers migration requirements, migration tools, conversion of product 13

IEEE 2012 SWEBOK Guide V3 Alpha Version

999 1000 1001 1002 1003 1004 1005 1006 1007 1008 1009 1010 1011 1012 1013 1014 1015 1016 1017 1018 1019 1020 1021 1022 1023 1024 1025 1026 1027 1028 1029 1030 1031 1032 1033 1034 1035 1036 1037 1038 1039

and data, execution, verification, and support. Migrating a software will entail a number of activities: notification of intent: a statement of why the old environment is no longer to be supported, followed by a description of the new environment and its date of availability; parallel operations: make available the old and new environments so that the user experiences a smooth transition to the new environment; notification of completion: when the scheduled migration arrives, a notification is sent to all concerned; post-operation review: an assessment of parallel operation and the impact of changing to the new environment; data archival: storing the old software data. 4.5. Retirement (2, c5s6) Once a software has reached the end of its useful life, it must be retired. An analysis should be performed to assist in making the retirement decision. This analysis should be included in the retirement plan, which covers retirement requirements, impact, replacement, schedule, and effort. Accessibility of archive copies of data may also be included. Retiring a software will entail a number of activities similar to migration.

1042 1043 1044 1045 1046 1047 1048 1049 1050 1051 1052 1053 1054 1055 1056 1057 1058 1059 1060 1061 1062 1063 1064 1065 1066 1067 1068 1069 1070 1071 1072 1073 1074 1075 1076 1077 1078 1079 1080 1081 1082

This topic encompasses tools that are particularly important in software maintenance where existing software is being modified. Program understanding and reverse engineering are the main maintenance tasks, tools are useful. Tools can assist in human comprehension of programs. Examples include program slicers, which select only parts of a program affected by a change; static analyzers, which allow general viewing and summaries of a program content; dynamic analyzers, which allow the maintainer to trace the execution path of a program; data flow analyzers, which allow the maintainer to track all possible data flows of a program; cross-referencers, which generate indices of program components; and dependency analyzers, which help maintainers analyze and understand the interrelationships between components of a program. Reverse engineering tools assist the process by working backwards from an existing product to create artifacts such as specification and design descriptions, which can then be transformed to generate a new product from an old one. Maintainers also use software test, software configuration management, software documentation, and software measurement tools.

1040 5. Software Maintenance Tools 1041 (1, c14) (2, c6s4)

1083 RECOMMENDED REFERENCES 1084 SOFTWARE MAINTENANCE 1085

FOR

IEEE 2012 SWEBOK Guide V3 Alpha Version

14

1086 1. P. Grubb and A.A. Takang, Software 1087 Maintenance: Concepts and Practice, 1088 World Scientific Publishing: River 1089 Edge, NJ, 2003. 1090 2. IEEE/ISO/IEC Std. 14764-2006, "Software 1091 Engineering - Software Lifecycle 1092 Processes - Maintenance," IEEE, 2006. 1102 1103

1093 3. IEEE/ISO/IEC Std. 24765, "Systems and 1094 Software Engineering - Vocabulary," 1095 IEEE, 2010. 1096 4. H.M. Sneed, "Offering Software Maintenance 1097 as an Offshore Service," IEEE Int'l 1098 Conf. Software Maintenance, IEEE CS 1099 Press, 2008, pp. 15. 1100 1101

IEEE 2012 SWEBOK Guide V3 Alpha Version

15

1104

MATRIX OF TOPICS VS. REFERENCE MATERIAL


(Sneed 2008) all (IEEE/ISO/I EC 24765 2010) (IEEE/ISO/I EC 14764 2006) (Grubb and Takang 2003) c1s2, c2s2 c1s3 c1s5 c4s3,c5s5.2 c3s5 c3, c6s2 c3s3.1, c4s3 c6 c6s2.2.2 c5s2.5 c6s8, c3s4 c9 c13s3 c12s5.5 c4 c4s5, c10s4 c5 c7s.2.3 c5 c10 c7s2.4 c12s5.6 c12s5.5 c6s5 c12, c12s3.1 c12

1. Software Maintenance Fundamentals 1.1 Definitions and Terminology 1.2 Nature of Maintenance 1.3 Need for Maintenance 1.4 Majority of Maintenance Costs 1.5 Evolution of Software 1.6 Categories of Maintenance 2. Key Issues in Software Maintenance 2.1 Technical Issues Limited understanding Testing Impact analysis Maintainability 2.2 Management Issues Alignment with organizational objectives Staffing Process Organizational aspects of maintenance Outsourcing/Offshoring 2.3 Maintenance Cost Estimation Cost estimation Parametric models Experience 2.4 Software Maintenance Measurement Specific Measures 3. Maintenance Process c7s4.1 C3

IEEE 2012 SWEBOK Guide V3 Alpha Version

16

3.1 Maintenance Processes 3.2 Maintenance Activities Unique Activities Supporting Activities Maintenance Planning Activities Software Configuration Management Software Quality 4. Techniques for Maintenance 4.1 Program Comprehension 4.2 Reengineering 4.3 Reverse Engineering 4.4 Migration 4.5 Retirement 5. Software Maintenance Tools

s5.5

c5 c5, c5s3.3.2 c6s8.2, c7s3.3 c3s10, c6s9, c7s2, c7s3 c4s1, c5, c6s7 c7s2, c7s.3 c5s1.2.3 c6s5,c6s7, c6s8

c5

c6,c7 c9

c11 c12s5.3

c6,c14s5 c7 c6s2 c5s5 c5s6 c6s4 c14 c7, c14s5

1105 1106 1107 1108

1109

IEEE 2012 SWEBOK Guide V3 Alpha Version

(Sneed 2008)

(IEEE/ISO/I EC 24765 2010)

(IEEE/ISO/I EC 14764 2006)

(Grubb and Takang 2003)

17

1110

APPENDIX A. LIST OF FURTHER READINGS 1115 2. M. Kajko-Mattsson, "Towards a business 1116 maintenance model," IEEE Intl Conf. 1117 Software Maintenance, 2001, pp. 500 1118 509.

1111 1. A. April, A. Abran, Software Maintenance 1112 Management: Evaluation and 1113 Continuous Improvement, Wiley-IEEE 1114 Computer Society Press, 2008. 1119

IEEE 2012 SWEBOK Guide V3 Alpha Version

18

Das könnte Ihnen auch gefallen