SlideShare ist ein Scribd-Unternehmen logo
1 von 22
©Ian Sommerville 2000 Software Engineering, 6th edition. Chapter 28 Slide 1
Software Re-engineering
©Ian Sommerville 2000 Software Engineering, 6th edition. Chapter 28 Slide 2
Software re-engineering
Reorganising and modifying
existing software systems to make
them more maintainable
©Ian Sommerville 2000 Software Engineering, 6th edition. Chapter 28 Slide 3
Re-structuring or re-writing part or all of a
legacy system without changing its
functionality
Applicable where some but not all sub-systems
of a larger system require frequent
maintenance
Re-engineering involves adding effort to make
them easier to maintain. The system may be re-
structured and re-documented
System re-engineering
©Ian Sommerville 2000 Software Engineering, 6th edition. Chapter 28 Slide 4
When system changes are mostly confined to
part of the system then re-engineer that part
When hardware or software support becomes
obsolete
When tools to support re-structuring are
available
When to re-engineer
©Ian Sommerville 2000 Software Engineering, 6th edition. Chapter 28 Slide 5
Re-engineering advantages
Reduced risk
• There is a high risk in new software development. There may
be development problems, staffing problems and specification
problems
Reduced cost
• The cost of re-engineering is often significantly less than the
costs of developing new software
©Ian Sommerville 2000 Software Engineering, 6th edition. Chapter 28 Slide 6
Forward engineering and re-engineering
©Ian Sommerville 2000 Software Engineering, 6th edition. Chapter 28 Slide 7
The re-engineering process
©Ian Sommerville 2000 Software Engineering, 6th edition. Chapter 28 Slide 8
Re-engineering cost factors
The quality of the software to be re-engineered
The tool support available for re-engineering
The extent of the data conversion which is
required
The availability of expert staff for re-engineering
©Ian Sommerville 2000 Software Engineering, 6th edition. Chapter 28 Slide 9
Source code translation
Involves converting the code from one language
(or language version) to another e.g. FORTRAN
to C
May be necessary because of:
• Hardware platform update
• Staff skill shortages
• Organisational policy changes
Only realistic if an automatic translator is
available
©Ian Sommerville 2000 Software Engineering, 6th edition. Chapter 28 Slide 10
The program translation process
©Ian Sommerville 2000 Software Engineering, 6th edition. Chapter 28 Slide 11
Reverse engineering
Analysing software with a view to understanding
its design and specification
May be part of a re-engineering process but may
also be used to re-specify a system for re-
implementation
Builds a program data base and generates
information from this
Program understanding tools (browsers, cross-
reference generators, etc.) may be used in this
process
©Ian Sommerville 2000 Software Engineering, 6th edition. Chapter 28 Slide 12
The reverse engineering process
©Ian Sommerville 2000 Software Engineering, 6th edition. Chapter 28 Slide 13
Reverse engineering
Reverse engineering often precedes re-
engineering but is sometimes worthwhile in its
own right
• The design and specification of a system may be reverse
engineered so that they can be an input to the requirements
specification process for the system’s replacement
• The design and specification may be reverse engineered to
support program maintenance
©Ian Sommerville 2000 Software Engineering, 6th edition. Chapter 28 Slide 14
Program structure improvement
Maintenance tends to corrupt the structure of a
program. It becomes harder and harder to
understand
The program may be automatically restructured
to remove unconditional branches
Conditions may be simplified to make them more
readable
©Ian Sommerville 2000 Software Engineering, 6th edition. Chapter 28 Slide 15
Spaghetti logic
©Ian Sommerville 2000 Software Engineering, 6th edition. Chapter 28 Slide 16
Structured control logic
©Ian Sommerville 2000 Software Engineering, 6th edition. Chapter 28 Slide 17
Condition simplification
-- Complex condition
if not (A > B and (C < D or not ( E > F) ) )...
-- Simplified condition
if (A <= B and (C>= D or E > F)...
©Ian Sommerville 2000 Software Engineering, 6th edition. Chapter 28 Slide 18
Restructuring problems
Problems with re-structuring are:
• Loss of comments
• Loss of documentation
• Heavy computational demands
Restructuring doesn’t help with poor
modularisation where related components are
dispersed throughout the code
©Ian Sommerville 2000 Software Engineering, 6th edition. Chapter 28 Slide 19
Program modularisation
The process of re-organising a program so that
related program parts are collected together in a
single module
Usually a manual process that is carried out by
program inspection and re-organisation
©Ian Sommerville 2000 Software Engineering, 6th edition. Chapter 28 Slide 20
Module types
Data abstractions
• Abstract data types where datastructures and associated
operations are grouped
Hardware modules
• All functions required to interface with a hardware unit
Functional modules
• Modules containing functions that carry out closely related
tasks
Process support modules
• Modules where the functions support a business process or
process fragment
©Ian Sommerville 2000 Software Engineering, 6th edition. Chapter 28 Slide 21
Data re-engineering
Involves analysing and reorganising the data
structures (and sometimes the data values) in a
program
May be part of the process of migrating from a
file-based system to a DBMS-based system or
changing from one DBMS to another
Objective is to create a managed data
environment
©Ian Sommerville 2000 Software Engineering, 6th edition. Chapter 28 Slide 22
Data problems
Data naming problems
• Names may be hard to understand. The same data may have
different names in different programs
Field length problems
• The same item may be assigned different lengths in different
programs
Record organisation problems
• Records representing the same entity may be organised
differently in different programs
Hard-coded literals
No data dictionary

Weitere ähnliche Inhalte

Was ist angesagt?

Software Re-engineering Forward & Reverse Engineering
Software Re-engineering Forward & Reverse EngineeringSoftware Re-engineering Forward & Reverse Engineering
Software Re-engineering Forward & Reverse EngineeringAli Raza
 
Software reverse engineering
Software reverse engineeringSoftware reverse engineering
Software reverse engineeringParminder Singh
 
Software Engineering Unit 1
Software Engineering Unit 1Software Engineering Unit 1
Software Engineering Unit 1Abhimanyu Mishra
 
Software Maintenance and Evolution
Software Maintenance and EvolutionSoftware Maintenance and Evolution
Software Maintenance and Evolutionkim.mens
 
Software testing tools and its taxonomy
Software testing tools and its taxonomySoftware testing tools and its taxonomy
Software testing tools and its taxonomyHimanshu
 
Maintenance & Re-Engineering of Software
Maintenance & Re-Engineering of SoftwareMaintenance & Re-Engineering of Software
Maintenance & Re-Engineering of SoftwareAdeel Riaz
 
Maintenance, Re-engineering &Reverse Engineering in Software Engineering
Maintenance,Re-engineering &Reverse Engineering in Software EngineeringMaintenance,Re-engineering &Reverse Engineering in Software Engineering
Maintenance, Re-engineering &Reverse Engineering in Software EngineeringManish Kumar
 
Software Testing Strategies
Software Testing StrategiesSoftware Testing Strategies
Software Testing StrategiesNayyabMirTahir
 
Advanced topics in software engineering
Advanced topics in software engineeringAdvanced topics in software engineering
Advanced topics in software engineeringRupesh Vaishnav
 
Planning the development process
Planning the development processPlanning the development process
Planning the development processSiva Priya
 
software cost factor
software cost factorsoftware cost factor
software cost factorAbinaya B
 
Estimating Software Maintenance Costs
Estimating Software Maintenance CostsEstimating Software Maintenance Costs
Estimating Software Maintenance Costslalithambiga kamaraj
 
Component Based Software Engineering
Component Based Software EngineeringComponent Based Software Engineering
Component Based Software EngineeringSatishDabhi1
 
Ch25-Software Engineering 9
Ch25-Software Engineering 9Ch25-Software Engineering 9
Ch25-Software Engineering 9Ian Sommerville
 
Software Configuration Management (SCM)
Software Configuration Management (SCM)Software Configuration Management (SCM)
Software Configuration Management (SCM)Nishkarsh Gupta
 
Software reuse ppt.
Software reuse ppt.Software reuse ppt.
Software reuse ppt.Sumit Biswas
 
Software engineering study materials
Software engineering study materialsSoftware engineering study materials
Software engineering study materialssmruti sarangi
 

Was ist angesagt? (20)

Software Re-engineering Forward & Reverse Engineering
Software Re-engineering Forward & Reverse EngineeringSoftware Re-engineering Forward & Reverse Engineering
Software Re-engineering Forward & Reverse Engineering
 
Software re engineering
Software re engineeringSoftware re engineering
Software re engineering
 
Software reverse engineering
Software reverse engineeringSoftware reverse engineering
Software reverse engineering
 
Software Engineering Unit 1
Software Engineering Unit 1Software Engineering Unit 1
Software Engineering Unit 1
 
Software Maintenance and Evolution
Software Maintenance and EvolutionSoftware Maintenance and Evolution
Software Maintenance and Evolution
 
Software testing tools and its taxonomy
Software testing tools and its taxonomySoftware testing tools and its taxonomy
Software testing tools and its taxonomy
 
Maintenance & Re-Engineering of Software
Maintenance & Re-Engineering of SoftwareMaintenance & Re-Engineering of Software
Maintenance & Re-Engineering of Software
 
Maintenance, Re-engineering &Reverse Engineering in Software Engineering
Maintenance,Re-engineering &Reverse Engineering in Software EngineeringMaintenance,Re-engineering &Reverse Engineering in Software Engineering
Maintenance, Re-engineering &Reverse Engineering in Software Engineering
 
Software Testing Strategies
Software Testing StrategiesSoftware Testing Strategies
Software Testing Strategies
 
Advanced topics in software engineering
Advanced topics in software engineeringAdvanced topics in software engineering
Advanced topics in software engineering
 
Planning the development process
Planning the development processPlanning the development process
Planning the development process
 
software cost factor
software cost factorsoftware cost factor
software cost factor
 
Estimating Software Maintenance Costs
Estimating Software Maintenance CostsEstimating Software Maintenance Costs
Estimating Software Maintenance Costs
 
Component Based Software Engineering
Component Based Software EngineeringComponent Based Software Engineering
Component Based Software Engineering
 
Software engineering
Software engineeringSoftware engineering
Software engineering
 
Ch25-Software Engineering 9
Ch25-Software Engineering 9Ch25-Software Engineering 9
Ch25-Software Engineering 9
 
Software Configuration Management (SCM)
Software Configuration Management (SCM)Software Configuration Management (SCM)
Software Configuration Management (SCM)
 
Software reuse ppt.
Software reuse ppt.Software reuse ppt.
Software reuse ppt.
 
Software engineering study materials
Software engineering study materialsSoftware engineering study materials
Software engineering study materials
 
Software Evolution
Software EvolutionSoftware Evolution
Software Evolution
 

Ähnlich wie Software reengineering

about how software prototyping helps in SDLC
about how software prototyping helps in SDLCabout how software prototyping helps in SDLC
about how software prototyping helps in SDLCshettyplacement08
 
Software Prototyping
Software PrototypingSoftware Prototyping
Software PrototypingZafar Ayub
 
Software Engineering - Ch17
Software Engineering - Ch17Software Engineering - Ch17
Software Engineering - Ch17Siddharth Ayer
 
regeeggregretgregrgrrgfergregrgregregrwgreger
regeeggregretgregrgrrgfergregrgregregrwgregerregeeggregretgregrgrrgfergregrgregregrwgreger
regeeggregretgregrgrrgfergregrgregregrwgregerhovoda5119
 
Ch2.Part2.Modified.ppt
Ch2.Part2.Modified.pptCh2.Part2.Modified.ppt
Ch2.Part2.Modified.pptMelisa521270
 
Project Management.pdf
Project Management.pdfProject Management.pdf
Project Management.pdfHughMungus22
 
project managnement.ppt
project managnement.pptproject managnement.ppt
project managnement.pptssuser8c0d24
 
Software Maintenance with detailed description
Software Maintenance with detailed descriptionSoftware Maintenance with detailed description
Software Maintenance with detailed descriptionSaileshSingh27
 
Unit-3-Risk-mgmt.ppt
Unit-3-Risk-mgmt.pptUnit-3-Risk-mgmt.ppt
Unit-3-Risk-mgmt.pptjoshimeet479
 
Rekayasa-Perangkat-Lunak-Pertemuan-13.ppt
Rekayasa-Perangkat-Lunak-Pertemuan-13.pptRekayasa-Perangkat-Lunak-Pertemuan-13.ppt
Rekayasa-Perangkat-Lunak-Pertemuan-13.pptKSekar6
 
Rekayasa-Perangkat-Lunak-Pertemuan-2.pdf
Rekayasa-Perangkat-Lunak-Pertemuan-2.pdfRekayasa-Perangkat-Lunak-Pertemuan-2.pdf
Rekayasa-Perangkat-Lunak-Pertemuan-2.pdfIntanPurnamasari425310
 

Ähnlich wie Software reengineering (20)

ch28-software-reengineering.ppt
ch28-software-reengineering.pptch28-software-reengineering.ppt
ch28-software-reengineering.ppt
 
ch14.ppt
ch14.pptch14.ppt
ch14.ppt
 
Evolution-2.ppt
Evolution-2.pptEvolution-2.ppt
Evolution-2.ppt
 
about how software prototyping helps in SDLC
about how software prototyping helps in SDLCabout how software prototyping helps in SDLC
about how software prototyping helps in SDLC
 
Software Prototyping
Software PrototypingSoftware Prototyping
Software Prototyping
 
Lecture-17.ppt
Lecture-17.pptLecture-17.ppt
Lecture-17.ppt
 
Software Engineering - Ch17
Software Engineering - Ch17Software Engineering - Ch17
Software Engineering - Ch17
 
Software Processes
Software ProcessesSoftware Processes
Software Processes
 
regeeggregretgregrgrrgfergregrgregregrwgreger
regeeggregretgregrgrrgfergregrgregregrwgregerregeeggregretgregrgrrgfergregrgregregrwgreger
regeeggregretgregrgrrgfergregrgregregrwgreger
 
0273710133 pp01v2
0273710133 pp01v20273710133 pp01v2
0273710133 pp01v2
 
Ch5
Ch5Ch5
Ch5
 
Ch2.Part2.Modified.ppt
Ch2.Part2.Modified.pptCh2.Part2.Modified.ppt
Ch2.Part2.Modified.ppt
 
Project Management.pdf
Project Management.pdfProject Management.pdf
Project Management.pdf
 
Se-Lecture-6.ppt
Se-Lecture-6.pptSe-Lecture-6.ppt
Se-Lecture-6.ppt
 
project managnement.ppt
project managnement.pptproject managnement.ppt
project managnement.ppt
 
Software Maintenance with detailed description
Software Maintenance with detailed descriptionSoftware Maintenance with detailed description
Software Maintenance with detailed description
 
Unit-3-Risk-mgmt.ppt
Unit-3-Risk-mgmt.pptUnit-3-Risk-mgmt.ppt
Unit-3-Risk-mgmt.ppt
 
Project Scheduling, Planning and Risk Management
Project Scheduling, Planning and Risk ManagementProject Scheduling, Planning and Risk Management
Project Scheduling, Planning and Risk Management
 
Rekayasa-Perangkat-Lunak-Pertemuan-13.ppt
Rekayasa-Perangkat-Lunak-Pertemuan-13.pptRekayasa-Perangkat-Lunak-Pertemuan-13.ppt
Rekayasa-Perangkat-Lunak-Pertemuan-13.ppt
 
Rekayasa-Perangkat-Lunak-Pertemuan-2.pdf
Rekayasa-Perangkat-Lunak-Pertemuan-2.pdfRekayasa-Perangkat-Lunak-Pertemuan-2.pdf
Rekayasa-Perangkat-Lunak-Pertemuan-2.pdf
 

Mehr von gourav kottawar

operator overloading & type conversion in cpp
operator overloading & type conversion in cppoperator overloading & type conversion in cpp
operator overloading & type conversion in cppgourav kottawar
 
constructor & destructor in cpp
constructor & destructor in cppconstructor & destructor in cpp
constructor & destructor in cppgourav kottawar
 
classes & objects in cpp
classes & objects in cppclasses & objects in cpp
classes & objects in cppgourav kottawar
 
working file handling in cpp overview
working file handling in cpp overviewworking file handling in cpp overview
working file handling in cpp overviewgourav kottawar
 
pointers, virtual functions and polymorphisms in c++ || in cpp
pointers, virtual functions and polymorphisms in c++ || in cpppointers, virtual functions and polymorphisms in c++ || in cpp
pointers, virtual functions and polymorphisms in c++ || in cppgourav kottawar
 
exception handling in cpp
exception handling in cppexception handling in cpp
exception handling in cppgourav kottawar
 
cpp input & output system basics
cpp input & output system basicscpp input & output system basics
cpp input & output system basicsgourav kottawar
 
operator overloading & type conversion in cpp over view || c++
operator overloading & type conversion in cpp over view || c++operator overloading & type conversion in cpp over view || c++
operator overloading & type conversion in cpp over view || c++gourav kottawar
 
constructor & destructor in cpp
constructor & destructor in cppconstructor & destructor in cpp
constructor & destructor in cppgourav kottawar
 
classes & objects in cpp overview
classes & objects in cpp overviewclasses & objects in cpp overview
classes & objects in cpp overviewgourav kottawar
 
SQL || overview and detailed information about Sql
SQL || overview and detailed information about SqlSQL || overview and detailed information about Sql
SQL || overview and detailed information about Sqlgourav kottawar
 
SQL querys in detail || Sql query slides
SQL querys in detail || Sql query slidesSQL querys in detail || Sql query slides
SQL querys in detail || Sql query slidesgourav kottawar
 
Rrelational algebra in dbms overview
Rrelational algebra in dbms overviewRrelational algebra in dbms overview
Rrelational algebra in dbms overviewgourav kottawar
 
overview of database concept
overview of database conceptoverview of database concept
overview of database conceptgourav kottawar
 
Relational Model in dbms & sql database
Relational Model in dbms & sql databaseRelational Model in dbms & sql database
Relational Model in dbms & sql databasegourav kottawar
 
DBMS information in detail || Dbms (lab) ppt
DBMS information in detail || Dbms (lab) pptDBMS information in detail || Dbms (lab) ppt
DBMS information in detail || Dbms (lab) pptgourav kottawar
 

Mehr von gourav kottawar (20)

operator overloading & type conversion in cpp
operator overloading & type conversion in cppoperator overloading & type conversion in cpp
operator overloading & type conversion in cpp
 
constructor & destructor in cpp
constructor & destructor in cppconstructor & destructor in cpp
constructor & destructor in cpp
 
classes & objects in cpp
classes & objects in cppclasses & objects in cpp
classes & objects in cpp
 
expression in cpp
expression in cppexpression in cpp
expression in cpp
 
basics of c++
basics of c++basics of c++
basics of c++
 
working file handling in cpp overview
working file handling in cpp overviewworking file handling in cpp overview
working file handling in cpp overview
 
pointers, virtual functions and polymorphisms in c++ || in cpp
pointers, virtual functions and polymorphisms in c++ || in cpppointers, virtual functions and polymorphisms in c++ || in cpp
pointers, virtual functions and polymorphisms in c++ || in cpp
 
exception handling in cpp
exception handling in cppexception handling in cpp
exception handling in cpp
 
cpp input & output system basics
cpp input & output system basicscpp input & output system basics
cpp input & output system basics
 
operator overloading & type conversion in cpp over view || c++
operator overloading & type conversion in cpp over view || c++operator overloading & type conversion in cpp over view || c++
operator overloading & type conversion in cpp over view || c++
 
constructor & destructor in cpp
constructor & destructor in cppconstructor & destructor in cpp
constructor & destructor in cpp
 
basics of c++
basics of c++basics of c++
basics of c++
 
classes & objects in cpp overview
classes & objects in cpp overviewclasses & objects in cpp overview
classes & objects in cpp overview
 
expression in cpp
expression in cppexpression in cpp
expression in cpp
 
SQL || overview and detailed information about Sql
SQL || overview and detailed information about SqlSQL || overview and detailed information about Sql
SQL || overview and detailed information about Sql
 
SQL querys in detail || Sql query slides
SQL querys in detail || Sql query slidesSQL querys in detail || Sql query slides
SQL querys in detail || Sql query slides
 
Rrelational algebra in dbms overview
Rrelational algebra in dbms overviewRrelational algebra in dbms overview
Rrelational algebra in dbms overview
 
overview of database concept
overview of database conceptoverview of database concept
overview of database concept
 
Relational Model in dbms & sql database
Relational Model in dbms & sql databaseRelational Model in dbms & sql database
Relational Model in dbms & sql database
 
DBMS information in detail || Dbms (lab) ppt
DBMS information in detail || Dbms (lab) pptDBMS information in detail || Dbms (lab) ppt
DBMS information in detail || Dbms (lab) ppt
 

Kürzlich hochgeladen

1029 - Danh muc Sach Giao Khoa 10 . pdf
1029 -  Danh muc Sach Giao Khoa 10 . pdf1029 -  Danh muc Sach Giao Khoa 10 . pdf
1029 - Danh muc Sach Giao Khoa 10 . pdfQucHHunhnh
 
Introduction to Nonprofit Accounting: The Basics
Introduction to Nonprofit Accounting: The BasicsIntroduction to Nonprofit Accounting: The Basics
Introduction to Nonprofit Accounting: The BasicsTechSoup
 
BAG TECHNIQUE Bag technique-a tool making use of public health bag through wh...
BAG TECHNIQUE Bag technique-a tool making use of public health bag through wh...BAG TECHNIQUE Bag technique-a tool making use of public health bag through wh...
BAG TECHNIQUE Bag technique-a tool making use of public health bag through wh...Sapna Thakur
 
1029-Danh muc Sach Giao Khoa khoi 6.pdf
1029-Danh muc Sach Giao Khoa khoi  6.pdf1029-Danh muc Sach Giao Khoa khoi  6.pdf
1029-Danh muc Sach Giao Khoa khoi 6.pdfQucHHunhnh
 
Sports & Fitness Value Added Course FY..
Sports & Fitness Value Added Course FY..Sports & Fitness Value Added Course FY..
Sports & Fitness Value Added Course FY..Disha Kariya
 
BASLIQ CURRENT LOOKBOOK LOOKBOOK(1) (1).pdf
BASLIQ CURRENT LOOKBOOK  LOOKBOOK(1) (1).pdfBASLIQ CURRENT LOOKBOOK  LOOKBOOK(1) (1).pdf
BASLIQ CURRENT LOOKBOOK LOOKBOOK(1) (1).pdfSoniaTolstoy
 
The Most Excellent Way | 1 Corinthians 13
The Most Excellent Way | 1 Corinthians 13The Most Excellent Way | 1 Corinthians 13
The Most Excellent Way | 1 Corinthians 13Steve Thomason
 
APM Welcome, APM North West Network Conference, Synergies Across Sectors
APM Welcome, APM North West Network Conference, Synergies Across SectorsAPM Welcome, APM North West Network Conference, Synergies Across Sectors
APM Welcome, APM North West Network Conference, Synergies Across SectorsAssociation for Project Management
 
Paris 2024 Olympic Geographies - an activity
Paris 2024 Olympic Geographies - an activityParis 2024 Olympic Geographies - an activity
Paris 2024 Olympic Geographies - an activityGeoBlogs
 
Kisan Call Centre - To harness potential of ICT in Agriculture by answer farm...
Kisan Call Centre - To harness potential of ICT in Agriculture by answer farm...Kisan Call Centre - To harness potential of ICT in Agriculture by answer farm...
Kisan Call Centre - To harness potential of ICT in Agriculture by answer farm...Krashi Coaching
 
Class 11th Physics NEET formula sheet pdf
Class 11th Physics NEET formula sheet pdfClass 11th Physics NEET formula sheet pdf
Class 11th Physics NEET formula sheet pdfAyushMahapatra5
 
Q4-W6-Restating Informational Text Grade 3
Q4-W6-Restating Informational Text Grade 3Q4-W6-Restating Informational Text Grade 3
Q4-W6-Restating Informational Text Grade 3JemimahLaneBuaron
 
Z Score,T Score, Percential Rank and Box Plot Graph
Z Score,T Score, Percential Rank and Box Plot GraphZ Score,T Score, Percential Rank and Box Plot Graph
Z Score,T Score, Percential Rank and Box Plot GraphThiyagu K
 
Advanced Views - Calendar View in Odoo 17
Advanced Views - Calendar View in Odoo 17Advanced Views - Calendar View in Odoo 17
Advanced Views - Calendar View in Odoo 17Celine George
 
Student login on Anyboli platform.helpin
Student login on Anyboli platform.helpinStudent login on Anyboli platform.helpin
Student login on Anyboli platform.helpinRaunakKeshri1
 
IGNOU MSCCFT and PGDCFT Exam Question Pattern: MCFT003 Counselling and Family...
IGNOU MSCCFT and PGDCFT Exam Question Pattern: MCFT003 Counselling and Family...IGNOU MSCCFT and PGDCFT Exam Question Pattern: MCFT003 Counselling and Family...
IGNOU MSCCFT and PGDCFT Exam Question Pattern: MCFT003 Counselling and Family...PsychoTech Services
 
Presentation by Andreas Schleicher Tackling the School Absenteeism Crisis 30 ...
Presentation by Andreas Schleicher Tackling the School Absenteeism Crisis 30 ...Presentation by Andreas Schleicher Tackling the School Absenteeism Crisis 30 ...
Presentation by Andreas Schleicher Tackling the School Absenteeism Crisis 30 ...EduSkills OECD
 
Holdier Curriculum Vitae (April 2024).pdf
Holdier Curriculum Vitae (April 2024).pdfHoldier Curriculum Vitae (April 2024).pdf
Holdier Curriculum Vitae (April 2024).pdfagholdier
 
Interactive Powerpoint_How to Master effective communication
Interactive Powerpoint_How to Master effective communicationInteractive Powerpoint_How to Master effective communication
Interactive Powerpoint_How to Master effective communicationnomboosow
 
Beyond the EU: DORA and NIS 2 Directive's Global Impact
Beyond the EU: DORA and NIS 2 Directive's Global ImpactBeyond the EU: DORA and NIS 2 Directive's Global Impact
Beyond the EU: DORA and NIS 2 Directive's Global ImpactPECB
 

Kürzlich hochgeladen (20)

1029 - Danh muc Sach Giao Khoa 10 . pdf
1029 -  Danh muc Sach Giao Khoa 10 . pdf1029 -  Danh muc Sach Giao Khoa 10 . pdf
1029 - Danh muc Sach Giao Khoa 10 . pdf
 
Introduction to Nonprofit Accounting: The Basics
Introduction to Nonprofit Accounting: The BasicsIntroduction to Nonprofit Accounting: The Basics
Introduction to Nonprofit Accounting: The Basics
 
BAG TECHNIQUE Bag technique-a tool making use of public health bag through wh...
BAG TECHNIQUE Bag technique-a tool making use of public health bag through wh...BAG TECHNIQUE Bag technique-a tool making use of public health bag through wh...
BAG TECHNIQUE Bag technique-a tool making use of public health bag through wh...
 
1029-Danh muc Sach Giao Khoa khoi 6.pdf
1029-Danh muc Sach Giao Khoa khoi  6.pdf1029-Danh muc Sach Giao Khoa khoi  6.pdf
1029-Danh muc Sach Giao Khoa khoi 6.pdf
 
Sports & Fitness Value Added Course FY..
Sports & Fitness Value Added Course FY..Sports & Fitness Value Added Course FY..
Sports & Fitness Value Added Course FY..
 
BASLIQ CURRENT LOOKBOOK LOOKBOOK(1) (1).pdf
BASLIQ CURRENT LOOKBOOK  LOOKBOOK(1) (1).pdfBASLIQ CURRENT LOOKBOOK  LOOKBOOK(1) (1).pdf
BASLIQ CURRENT LOOKBOOK LOOKBOOK(1) (1).pdf
 
The Most Excellent Way | 1 Corinthians 13
The Most Excellent Way | 1 Corinthians 13The Most Excellent Way | 1 Corinthians 13
The Most Excellent Way | 1 Corinthians 13
 
APM Welcome, APM North West Network Conference, Synergies Across Sectors
APM Welcome, APM North West Network Conference, Synergies Across SectorsAPM Welcome, APM North West Network Conference, Synergies Across Sectors
APM Welcome, APM North West Network Conference, Synergies Across Sectors
 
Paris 2024 Olympic Geographies - an activity
Paris 2024 Olympic Geographies - an activityParis 2024 Olympic Geographies - an activity
Paris 2024 Olympic Geographies - an activity
 
Kisan Call Centre - To harness potential of ICT in Agriculture by answer farm...
Kisan Call Centre - To harness potential of ICT in Agriculture by answer farm...Kisan Call Centre - To harness potential of ICT in Agriculture by answer farm...
Kisan Call Centre - To harness potential of ICT in Agriculture by answer farm...
 
Class 11th Physics NEET formula sheet pdf
Class 11th Physics NEET formula sheet pdfClass 11th Physics NEET formula sheet pdf
Class 11th Physics NEET formula sheet pdf
 
Q4-W6-Restating Informational Text Grade 3
Q4-W6-Restating Informational Text Grade 3Q4-W6-Restating Informational Text Grade 3
Q4-W6-Restating Informational Text Grade 3
 
Z Score,T Score, Percential Rank and Box Plot Graph
Z Score,T Score, Percential Rank and Box Plot GraphZ Score,T Score, Percential Rank and Box Plot Graph
Z Score,T Score, Percential Rank and Box Plot Graph
 
Advanced Views - Calendar View in Odoo 17
Advanced Views - Calendar View in Odoo 17Advanced Views - Calendar View in Odoo 17
Advanced Views - Calendar View in Odoo 17
 
Student login on Anyboli platform.helpin
Student login on Anyboli platform.helpinStudent login on Anyboli platform.helpin
Student login on Anyboli platform.helpin
 
IGNOU MSCCFT and PGDCFT Exam Question Pattern: MCFT003 Counselling and Family...
IGNOU MSCCFT and PGDCFT Exam Question Pattern: MCFT003 Counselling and Family...IGNOU MSCCFT and PGDCFT Exam Question Pattern: MCFT003 Counselling and Family...
IGNOU MSCCFT and PGDCFT Exam Question Pattern: MCFT003 Counselling and Family...
 
Presentation by Andreas Schleicher Tackling the School Absenteeism Crisis 30 ...
Presentation by Andreas Schleicher Tackling the School Absenteeism Crisis 30 ...Presentation by Andreas Schleicher Tackling the School Absenteeism Crisis 30 ...
Presentation by Andreas Schleicher Tackling the School Absenteeism Crisis 30 ...
 
Holdier Curriculum Vitae (April 2024).pdf
Holdier Curriculum Vitae (April 2024).pdfHoldier Curriculum Vitae (April 2024).pdf
Holdier Curriculum Vitae (April 2024).pdf
 
Interactive Powerpoint_How to Master effective communication
Interactive Powerpoint_How to Master effective communicationInteractive Powerpoint_How to Master effective communication
Interactive Powerpoint_How to Master effective communication
 
Beyond the EU: DORA and NIS 2 Directive's Global Impact
Beyond the EU: DORA and NIS 2 Directive's Global ImpactBeyond the EU: DORA and NIS 2 Directive's Global Impact
Beyond the EU: DORA and NIS 2 Directive's Global Impact
 

Software reengineering

  • 1. ©Ian Sommerville 2000 Software Engineering, 6th edition. Chapter 28 Slide 1 Software Re-engineering
  • 2. ©Ian Sommerville 2000 Software Engineering, 6th edition. Chapter 28 Slide 2 Software re-engineering Reorganising and modifying existing software systems to make them more maintainable
  • 3. ©Ian Sommerville 2000 Software Engineering, 6th edition. Chapter 28 Slide 3 Re-structuring or re-writing part or all of a legacy system without changing its functionality Applicable where some but not all sub-systems of a larger system require frequent maintenance Re-engineering involves adding effort to make them easier to maintain. The system may be re- structured and re-documented System re-engineering
  • 4. ©Ian Sommerville 2000 Software Engineering, 6th edition. Chapter 28 Slide 4 When system changes are mostly confined to part of the system then re-engineer that part When hardware or software support becomes obsolete When tools to support re-structuring are available When to re-engineer
  • 5. ©Ian Sommerville 2000 Software Engineering, 6th edition. Chapter 28 Slide 5 Re-engineering advantages Reduced risk • There is a high risk in new software development. There may be development problems, staffing problems and specification problems Reduced cost • The cost of re-engineering is often significantly less than the costs of developing new software
  • 6. ©Ian Sommerville 2000 Software Engineering, 6th edition. Chapter 28 Slide 6 Forward engineering and re-engineering
  • 7. ©Ian Sommerville 2000 Software Engineering, 6th edition. Chapter 28 Slide 7 The re-engineering process
  • 8. ©Ian Sommerville 2000 Software Engineering, 6th edition. Chapter 28 Slide 8 Re-engineering cost factors The quality of the software to be re-engineered The tool support available for re-engineering The extent of the data conversion which is required The availability of expert staff for re-engineering
  • 9. ©Ian Sommerville 2000 Software Engineering, 6th edition. Chapter 28 Slide 9 Source code translation Involves converting the code from one language (or language version) to another e.g. FORTRAN to C May be necessary because of: • Hardware platform update • Staff skill shortages • Organisational policy changes Only realistic if an automatic translator is available
  • 10. ©Ian Sommerville 2000 Software Engineering, 6th edition. Chapter 28 Slide 10 The program translation process
  • 11. ©Ian Sommerville 2000 Software Engineering, 6th edition. Chapter 28 Slide 11 Reverse engineering Analysing software with a view to understanding its design and specification May be part of a re-engineering process but may also be used to re-specify a system for re- implementation Builds a program data base and generates information from this Program understanding tools (browsers, cross- reference generators, etc.) may be used in this process
  • 12. ©Ian Sommerville 2000 Software Engineering, 6th edition. Chapter 28 Slide 12 The reverse engineering process
  • 13. ©Ian Sommerville 2000 Software Engineering, 6th edition. Chapter 28 Slide 13 Reverse engineering Reverse engineering often precedes re- engineering but is sometimes worthwhile in its own right • The design and specification of a system may be reverse engineered so that they can be an input to the requirements specification process for the system’s replacement • The design and specification may be reverse engineered to support program maintenance
  • 14. ©Ian Sommerville 2000 Software Engineering, 6th edition. Chapter 28 Slide 14 Program structure improvement Maintenance tends to corrupt the structure of a program. It becomes harder and harder to understand The program may be automatically restructured to remove unconditional branches Conditions may be simplified to make them more readable
  • 15. ©Ian Sommerville 2000 Software Engineering, 6th edition. Chapter 28 Slide 15 Spaghetti logic
  • 16. ©Ian Sommerville 2000 Software Engineering, 6th edition. Chapter 28 Slide 16 Structured control logic
  • 17. ©Ian Sommerville 2000 Software Engineering, 6th edition. Chapter 28 Slide 17 Condition simplification -- Complex condition if not (A > B and (C < D or not ( E > F) ) )... -- Simplified condition if (A <= B and (C>= D or E > F)...
  • 18. ©Ian Sommerville 2000 Software Engineering, 6th edition. Chapter 28 Slide 18 Restructuring problems Problems with re-structuring are: • Loss of comments • Loss of documentation • Heavy computational demands Restructuring doesn’t help with poor modularisation where related components are dispersed throughout the code
  • 19. ©Ian Sommerville 2000 Software Engineering, 6th edition. Chapter 28 Slide 19 Program modularisation The process of re-organising a program so that related program parts are collected together in a single module Usually a manual process that is carried out by program inspection and re-organisation
  • 20. ©Ian Sommerville 2000 Software Engineering, 6th edition. Chapter 28 Slide 20 Module types Data abstractions • Abstract data types where datastructures and associated operations are grouped Hardware modules • All functions required to interface with a hardware unit Functional modules • Modules containing functions that carry out closely related tasks Process support modules • Modules where the functions support a business process or process fragment
  • 21. ©Ian Sommerville 2000 Software Engineering, 6th edition. Chapter 28 Slide 21 Data re-engineering Involves analysing and reorganising the data structures (and sometimes the data values) in a program May be part of the process of migrating from a file-based system to a DBMS-based system or changing from one DBMS to another Objective is to create a managed data environment
  • 22. ©Ian Sommerville 2000 Software Engineering, 6th edition. Chapter 28 Slide 22 Data problems Data naming problems • Names may be hard to understand. The same data may have different names in different programs Field length problems • The same item may be assigned different lengths in different programs Record organisation problems • Records representing the same entity may be organised differently in different programs Hard-coded literals No data dictionary