Dr Kettani, Spring 2002 Software Engineering IIFrom Sommerville, 6th edition Software change l Managing the processes of software system change.

Slides:



Advertisements
Similar presentations
Chapter 27 Software Change.
Advertisements

Chapter 27 Software Change.
Chapter 11 Software Evolution
1 / 24 CS 425/625 Software Engineering Software Evolution Based on Chapter 21 of the textbook [SE-8] Ian Sommerville, Software Engineering, 8 th Ed., Addison-Wesley,
Software Configuration Management
Software Evolution Managing the processes of software system change
Modified from Sommerville’s originalsSoftware Engineering, 7th edition. Chapter 21 Slide 1 Software evolution.
Modified from Sommerville’s originalsSoftware Engineering, 7th edition. Chapter 21 Slide 1 Software evolution.
Software evolution.
Software evolution.
Software maintenance Managing the processes of system change.
 2004 by SEC Chapter 9 Software Maintenance. 2  2004 by SEC 9.1 Software Evolution.
Chapter 9 – Software Evolution Lecture 1 1Chapter 9 Software evolution.
©Ian Sommerville 2000 Software Engineering, 6th edition. Chapter 27Slide 1 Chapter 27 Software Change.
©Ian Sommerville 2004Software Engineering, 7th edition. Chapter 12 Slide 1 Distributed Systems Design 1.
Chapter 9 – Software Evolution and Maintenance
Lecture # 22 Software Evolution
Software evolution. Objectives l To explain why change is inevitable if software systems are to remain useful l To discuss software maintenance and maintenance.
Software change  Managing the processes of software system change.
©Ian Sommerville 2000 Software Engineering, 6th edition. Chapter 27Slide 1 Software change l Managing the processes of software system change.
Software Engineering Lecture 20 Software Maintenance.
Chapter 9 – Software Evolution 1Chapter 9 Software evolution CS 425 November 12, 2013 Ian Sommerville, Software Engineering, 9 th Edition Pearson Education,
Chapter 3: Software Maintenance Process Omar Meqdadi SE 3860 Lecture 3 Department of Computer Science and Software Engineering University of Wisconsin-Platteville.
©Ian Sommerville 2000 Software Engineering, 6th edition. Chapter 27Slide 1 Software change l Managing the processes of software system change.
©Ian Sommerville 2004 Software Engineering. Chapter 21Slide 1 Chapter 21 Software Evolution.
Manag ing Software Change CIS 376 Bruce R. Maxim UM-Dearborn.
Software evolution l Software evolution is the term used in software engineering (specifically software maintenance) to refer to the process of developing.
Lecture 1 Chapter 9 Software evolution1. Topics covered Evolution processes Change processes for software systems Program evolution dynamics Understanding.
Lecture 14 Maintaining the System and Managing Software Change SFDV Principles of Information Systems.
©Ian Sommerville 2004Software Engineering, 7th edition. Chapter 21 Slide 1 Software evolution 1.
Software Evolution Program evolution dynamics Software maintenance Complexity and Process metrics Evolution processes 1.
©Ian Sommerville 1995/2000 (Modified by Spiros Mancoridis 1999) Software Engineering, 6th edition. Chapters 26,27,28 Slide 1 Legacy Systems l Older software.
Chapter 9 – Software Evolution Chapter 9 Software Evolution1.
HNDIT23082 Lecture 06:Software Maintenance. Reasons for changes Errors in the existing system Changes in requirements Technological advances Legislation.
Chapter 9 – Software Evolution 1Chapter 9 Software evolution.
Chapter 9 – Software Evolution 1Chapter 9 Software evolution.
Chapter 9 – Software Evolution Lecture 1 Chapter 9 Software evolution1.
Chapter 2: Software Maintenance Omar Meqdadi SE 3860 Lecture 2 Department of Computer Science and Software Engineering University of Wisconsin-Platteville.
1 Software Maintenance The process of changing the system after it has been delivered and in operation Software change is inevitable –New requirements.
©Ian Sommerville 2004Software Engineering, 7th edition. Chapter 21 Slide 1 Software evolution 2.
Chapter 9 – Software Evolution Chapter 9 Software Evolution130/10/2014.
©Ian Sommerville 2004Software Engineering, 7th edition. Chapter 21 Slide 1 Software evolution.
Chapter 9 – Software Evolution 1Chapter 9 Software evolution.
Chapter 9 – Software Evolution 1Chapter 9 Software evolution CS 425 November 12, 2012 Ian Sommerville, Software Engineering, 9 th Edition Pearson Education,
©Ian Sommerville 2004Software Engineering, 7th edition. Chapter 21 Slide 1 Software evolution.
Software change Software change is inevitable –New requirements emerge when the software is used –The business environment changes –Errors must be repaired.
© SERG Reverse Engineering (Software Maintenance & Reengineering) Software Maintenance Managing the processes of system change.
1 / 14 CS 425/625 Software Engineering Software Change Based on Chapter 27 of the textbook [SE-6] Ian Sommerville, Software Engineering, 6 th Ed., Addison-Wesley,
Software Development Module Code: CST 240 Chapter 6: Software Maintenance Al Khawarizmi International College, AL AIN, U.A.E Lecturer: Karamath Ateeq.
Laurea Triennale in Informatica – Corso di Ingegneria del Software I – A.A. 2006/2007 Andrea Polini XVI. Software Evolution.
Software Configuration Management
Overview Software Maintenance and Evolution Definitions
Chapter 9 – Software Evolution
Chapter 18 Maintaining Information Systems
Chapter 9 – Software Evolution
Software Engineering (CSI 321)
Chapter 9 – Software Evolution
CS 425/625 Software Engineering Software Evolution
Software Testing and Maintenance Maintenance and Evolution Overview
Legacy Systems Older software systems that remain vital to an organisation.
Chapter 9 – Software Evolution and Maintenance
Chapter 9 Software Maintenance
IS301 – Software Engineering V:
Chapter 27 Software Change.
Chapter 9 – Software Evolution
Chapter 8 Software Evolution.
Lecture 06:Software Maintenance
Chapter 9 – Software Evolution
Chapter 9 – Software Evolution
Presentation transcript:

Dr Kettani, Spring 2002 Software Engineering IIFrom Sommerville, 6th edition Software change l Managing the processes of software system change

Dr Kettani, Spring 2002 Software Engineering IIFrom Sommerville, 6th edition Objectives l To explain different strategies for changing software systems Software maintenance Architectural evolution Software re-engineering l To explain the principles of software maintenance l To describe the transformation of legacy systems from centralised to distributed architectures

Dr Kettani, Spring 2002 Software Engineering IIFrom Sommerville, 6th edition Software change l Software change is inevitable New requirements emerge when the software is used The business environment changes Errors must be repaired New equipment must be accommodated The performance or reliability may have to be improved l A key problem for organisations is implementing and managing change to their legacy systems

Dr Kettani, Spring 2002 Software Engineering IIFrom Sommerville, 6th edition Software change strategies l Software maintenance Changes are made in response to changed requirements but the fundamental software structure is stable l Architectural transformation The architecture of the system is modified generally from a centralised architecture to a distributed architecture l Software re-engineering No new functionality is added to the system but it is restructured and reorganised to facilitate future changes l These strategies may be applied separately or together

Dr Kettani, Spring 2002 Software Engineering IIFrom Sommerville, 6th edition l Modifying a program after it has been put into use l Maintenance does not normally involve major changes to the system’s architecture l Changes are implemented by modifying existing components and adding new components to the system Software maintenance

Dr Kettani, Spring 2002 Software Engineering IIFrom Sommerville, 6th edition l The system requirements are likely to change while the system is being developed because the environment is changing. Therefore a delivered system won't meet its requirements! l Systems are tightly coupled with their environment. When a system is installed in an environment it changes that environment and therefore changes the system requirements. l Systems MUST be maintained therefore if they are to remain useful in an environment Maintenance is inevitable

Dr Kettani, Spring 2002 Software Engineering IIFrom Sommerville, 6th edition l Maintenance to repair software faults Changing a system to correct deficiencies in the way meets its requirements l Maintenance to adapt software to a different operating environment Changing a system so that it operates in a different environment (computer, OS, etc.) from its initial implementation l Maintenance to add to or modify the system’s functionality Modifying the system to satisfy new requirements Types of maintenance

Dr Kettani, Spring 2002 Software Engineering IIFrom Sommerville, 6th edition Distribution of maintenance effort

Dr Kettani, Spring 2002 Software Engineering IIFrom Sommerville, 6th edition l Usually greater than development costs (2* to 100* depending on the application) l Affected by both technical and non-technical factors l Increases as software is maintained. Maintenance corrupts the software structure so makes further maintenance more difficult. l Ageing software can have high support costs (e.g. old languages, compilers etc.) Maintenance costs

Dr Kettani, Spring 2002 Software Engineering IIFrom Sommerville, 6th edition Development/maintenance costs

Dr Kettani, Spring 2002 Software Engineering IIFrom Sommerville, 6th edition l Team stability Maintenance costs are reduced if the same staff are involved with them for some time l Contractual responsibility The developers of a system may have no contractual responsibility for maintenance so there is no incentive to design for future change l Staff skills Maintenance staff are often inexperienced and have limited domain knowledge l Program age and structure As programs age, their structure is degraded and they become harder to understand and change Maintenance cost factors

Dr Kettani, Spring 2002 Software Engineering IIFrom Sommerville, 6th edition Evolutionary software l Rather than think of separate development and maintenance phases, evolutionary software is software that is designed so that it can continuously evolve throughout its lifetime

Dr Kettani, Spring 2002 Software Engineering IIFrom Sommerville, 6th edition The maintenance process

Dr Kettani, Spring 2002 Software Engineering IIFrom Sommerville, 6th edition Change requests l Change requests are requests for system changes from users, customers or management l In principle, all change requests should be carefully analysed as part of the maintenance process and then implemented l In practice, some change requests must be implemented urgently Fault repair Changes to the system’s environment Urgently required business changes

Dr Kettani, Spring 2002 Software Engineering IIFrom Sommerville, 6th edition Change implementation

Dr Kettani, Spring 2002 Software Engineering IIFrom Sommerville, 6th edition Emergency repair

Dr Kettani, Spring 2002 Software Engineering IIFrom Sommerville, 6th edition Maintenance prediction

Dr Kettani, Spring 2002 Software Engineering IIFrom Sommerville, 6th edition Change prediction l Predicting the number of changes requires and understanding of the relationships between a system and its environment l Tightly coupled systems require changes whenever the environment is changed l Factors influencing this relationship are Number and complexity of system interfaces Number of inherently volatile system requirements The business processes where the system is used

Dr Kettani, Spring 2002 Software Engineering IIFrom Sommerville, 6th edition Complexity metrics l Predictions of maintainability can be made by assessing the complexity of system components l Studies have shown that most maintenance effort is spent on a relatively small number of system components l Complexity depends on Complexity of control structures Complexity of data structures Procedure and module size

Dr Kettani, Spring 2002 Software Engineering IIFrom Sommerville, 6th edition Process metrics l Process measurements may be used to assess maintainability Number of requests for corrective maintenance Average time required for impact analysis Average time taken to implement a change request Number of outstanding change requests l If any or all of these is increasing, this may indicate a decline in maintainability

Dr Kettani, Spring 2002 Software Engineering IIFrom Sommerville, 6th edition Architectural evolution l There is a need to convert many legacy systems from a centralised architecture to a client-server architecture l Change drivers Hardware costs. Servers are cheaper than mainframes User interface expectations. Users expect graphical user interfaces Distributed access to systems. Users wish to access the system from different, geographically separated, computers

Dr Kettani, Spring 2002 Software Engineering IIFrom Sommerville, 6th edition Distribution factors

Dr Kettani, Spring 2002 Software Engineering IIFrom Sommerville, 6th edition Legacy system structure l Ideally, for distribution, there should be a clear separation between the user interface, the system services and the system data management l In practice, these are usually intermingled in older legacy systems

Dr Kettani, Spring 2002 Software Engineering IIFrom Sommerville, 6th edition Legacy system structures

Dr Kettani, Spring 2002 Software Engineering IIFrom Sommerville, 6th edition Layered distribution model

Dr Kettani, Spring 2002 Software Engineering IIFrom Sommerville, 6th edition Legacy system distribution

Dr Kettani, Spring 2002 Software Engineering IIFrom Sommerville, 6th edition Distribution options l The more that is distributed from the server to the client, the higher the costs of architectural evolution l The simplest distribution model is UI distribution where only the user interface is implemented on the server l The most complex option is where the server simply provides data management and application services are implemented on the client

Dr Kettani, Spring 2002 Software Engineering IIFrom Sommerville, 6th edition Distribution option spectrum

Dr Kettani, Spring 2002 Software Engineering IIFrom Sommerville, 6th edition User interface distribution l UI distribution takes advantage of the local processing power on PCs to implement a graphical user interface l Where there is a clear separation between the UI and the application then the legacy system can be modified to distribute the UI l Otherwise, screen management middleware can translate text interfaces to graphical interfaces

Dr Kettani, Spring 2002 Software Engineering IIFrom Sommerville, 6th edition User interface distribution

Dr Kettani, Spring 2002 Software Engineering IIFrom Sommerville, 6th edition UI migration strategies

Dr Kettani, Spring 2002 Software Engineering IIFrom Sommerville, 6th edition Key points l Software change strategies include software maintenance, architectural evolution and software re-engineering l Lehman’s Laws are invariant relationships that affect the evolution of a software system l Maintenance types are Maintenance for repair Maintenance for a new operating environment Maintenance to implement new requirements

Dr Kettani, Spring 2002 Software Engineering IIFrom Sommerville, 6th edition Key points l The costs of software change usually exceed the costs of software development l Factors influencing maintenance costs include staff stability, the nature of the development contract, skill shortages and degraded system structure l Architectural evolution is concerned with evolving centralised to distributed architectures l A distributed user interface can be supported using screen management middleware