SlideShare une entreprise Scribd logo
1  sur  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

Contenu connexe

Tendances

Reverse Engineering
Reverse EngineeringReverse Engineering
Reverse EngineeringRehan Saeed
 
LEGACY SYSTEM In Software Engineering By NADEEM AHMED
LEGACY SYSTEM In Software Engineering By NADEEM AHMED LEGACY SYSTEM In Software Engineering By NADEEM AHMED
LEGACY SYSTEM In Software Engineering By NADEEM AHMED NA000000
 
Maintenance & Re-Engineering of Software
Maintenance & Re-Engineering of SoftwareMaintenance & Re-Engineering of Software
Maintenance & Re-Engineering of SoftwareAdeel Riaz
 
Bse 3105 lecture 4-software re-engineering
Bse 3105  lecture 4-software re-engineeringBse 3105  lecture 4-software re-engineering
Bse 3105 lecture 4-software re-engineeringAlonzee Tash
 
Migrating Interactive Legacy Systems To Web Services
Migrating Interactive Legacy Systems To Web ServicesMigrating Interactive Legacy Systems To Web Services
Migrating Interactive Legacy Systems To Web ServicesPorfirio Tramontana
 
Software Engineering (Introduction to Software Engineering)
Software Engineering (Introduction to Software Engineering)Software Engineering (Introduction to Software Engineering)
Software Engineering (Introduction to Software Engineering)ShudipPal
 
Chapter 5 - Data Compression
Chapter 5 - Data CompressionChapter 5 - Data Compression
Chapter 5 - Data CompressionPratik Pradhan
 
verification and validation
verification and validationverification and validation
verification and validationDinesh Pasi
 
10 software maintenance
10 software maintenance10 software maintenance
10 software maintenanceakiara
 
Capability Maturity Model (CMM) in Software Engineering
Capability Maturity Model (CMM) in Software EngineeringCapability Maturity Model (CMM) in Software Engineering
Capability Maturity Model (CMM) in Software EngineeringFaizanAhmad340414
 
Software engineering project management
Software engineering project managementSoftware engineering project management
Software engineering project managementjhudyne
 
Software Re-Engineering in Software Engineering SE28
Software Re-Engineering in Software Engineering SE28Software Re-Engineering in Software Engineering SE28
Software Re-Engineering in Software Engineering SE28koolkampus
 
Ch9-Software Engineering 9
Ch9-Software Engineering 9Ch9-Software Engineering 9
Ch9-Software Engineering 9Ian Sommerville
 

Tendances (20)

Reverse Engineering
Reverse EngineeringReverse Engineering
Reverse Engineering
 
LEGACY SYSTEM In Software Engineering By NADEEM AHMED
LEGACY SYSTEM In Software Engineering By NADEEM AHMED LEGACY SYSTEM In Software Engineering By NADEEM AHMED
LEGACY SYSTEM In Software Engineering By NADEEM AHMED
 
Software Evolution
Software EvolutionSoftware Evolution
Software Evolution
 
Maintenance & Re-Engineering of Software
Maintenance & Re-Engineering of SoftwareMaintenance & Re-Engineering of Software
Maintenance & Re-Engineering of Software
 
Software maintenance
Software maintenanceSoftware maintenance
Software maintenance
 
Bse 3105 lecture 4-software re-engineering
Bse 3105  lecture 4-software re-engineeringBse 3105  lecture 4-software re-engineering
Bse 3105 lecture 4-software re-engineering
 
Migrating Interactive Legacy Systems To Web Services
Migrating Interactive Legacy Systems To Web ServicesMigrating Interactive Legacy Systems To Web Services
Migrating Interactive Legacy Systems To Web Services
 
Software Engineering (Introduction to Software Engineering)
Software Engineering (Introduction to Software Engineering)Software Engineering (Introduction to Software Engineering)
Software Engineering (Introduction to Software Engineering)
 
Chapter 5 - Data Compression
Chapter 5 - Data CompressionChapter 5 - Data Compression
Chapter 5 - Data Compression
 
Software maintenance
Software maintenanceSoftware maintenance
Software maintenance
 
System Analysis and Design
System Analysis and DesignSystem Analysis and Design
System Analysis and Design
 
verification and validation
verification and validationverification and validation
verification and validation
 
10 software maintenance
10 software maintenance10 software maintenance
10 software maintenance
 
Capability Maturity Model (CMM) in Software Engineering
Capability Maturity Model (CMM) in Software EngineeringCapability Maturity Model (CMM) in Software Engineering
Capability Maturity Model (CMM) in Software Engineering
 
5 chap - MAINTENANCE
5 chap - MAINTENANCE5 chap - MAINTENANCE
5 chap - MAINTENANCE
 
Software engineering project management
Software engineering project managementSoftware engineering project management
Software engineering project management
 
Software Re-Engineering in Software Engineering SE28
Software Re-Engineering in Software Engineering SE28Software Re-Engineering in Software Engineering SE28
Software Re-Engineering in Software Engineering SE28
 
Ch9-Software Engineering 9
Ch9-Software Engineering 9Ch9-Software Engineering 9
Ch9-Software Engineering 9
 
CMMI
CMMICMMI
CMMI
 
Analysis modeling
Analysis modelingAnalysis modeling
Analysis modeling
 

Similaire à 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 Maintenance and Evolution
Software Maintenance and EvolutionSoftware Maintenance and Evolution
Software Maintenance and Evolutionkim.mens
 
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
 

Similaire à 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 Maintenance and Evolution
Software Maintenance and EvolutionSoftware Maintenance and Evolution
Software Maintenance and Evolution
 
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
 

Plus de 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
 

Plus de 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
 

Dernier

URLs and Routing in the Odoo 17 Website App
URLs and Routing in the Odoo 17 Website AppURLs and Routing in the Odoo 17 Website App
URLs and Routing in the Odoo 17 Website AppCeline George
 
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
 
Activity 01 - Artificial Culture (1).pdf
Activity 01 - Artificial Culture (1).pdfActivity 01 - Artificial Culture (1).pdf
Activity 01 - Artificial Culture (1).pdfciinovamais
 
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
 
Call Girls in Dwarka Mor Delhi Contact Us 9654467111
Call Girls in Dwarka Mor Delhi Contact Us 9654467111Call Girls in Dwarka Mor Delhi Contact Us 9654467111
Call Girls in Dwarka Mor Delhi Contact Us 9654467111Sapana Sha
 
Nutritional Needs Presentation - HLTH 104
Nutritional Needs Presentation - HLTH 104Nutritional Needs Presentation - HLTH 104
Nutritional Needs Presentation - HLTH 104misteraugie
 
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
 
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
 
Arihant handbook biology for class 11 .pdf
Arihant handbook biology for class 11 .pdfArihant handbook biology for class 11 .pdf
Arihant handbook biology for class 11 .pdfchloefrazer622
 
SOCIAL AND HISTORICAL CONTEXT - LFTVD.pptx
SOCIAL AND HISTORICAL CONTEXT - LFTVD.pptxSOCIAL AND HISTORICAL CONTEXT - LFTVD.pptx
SOCIAL AND HISTORICAL CONTEXT - LFTVD.pptxiammrhaywood
 
POINT- BIOCHEMISTRY SEM 2 ENZYMES UNIT 5.pptx
POINT- BIOCHEMISTRY SEM 2 ENZYMES UNIT 5.pptxPOINT- BIOCHEMISTRY SEM 2 ENZYMES UNIT 5.pptx
POINT- BIOCHEMISTRY SEM 2 ENZYMES UNIT 5.pptxSayali Powar
 
Mastering the Unannounced Regulatory Inspection
Mastering the Unannounced Regulatory InspectionMastering the Unannounced Regulatory Inspection
Mastering the Unannounced Regulatory InspectionSafetyChain Software
 
Introduction to AI in Higher Education_draft.pptx
Introduction to AI in Higher Education_draft.pptxIntroduction to AI in Higher Education_draft.pptx
Introduction to AI in Higher Education_draft.pptxpboyjonauth
 
Separation of Lanthanides/ Lanthanides and Actinides
Separation of Lanthanides/ Lanthanides and ActinidesSeparation of Lanthanides/ Lanthanides and Actinides
Separation of Lanthanides/ Lanthanides and ActinidesFatimaKhan178732
 
Sanyam Choudhary Chemistry practical.pdf
Sanyam Choudhary Chemistry practical.pdfSanyam Choudhary Chemistry practical.pdf
Sanyam Choudhary Chemistry practical.pdfsanyamsingh5019
 
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
 
Accessible design: Minimum effort, maximum impact
Accessible design: Minimum effort, maximum impactAccessible design: Minimum effort, maximum impact
Accessible design: Minimum effort, maximum impactdawncurless
 
Hybridoma Technology ( Production , Purification , and Application )
Hybridoma Technology  ( Production , Purification , and Application  ) Hybridoma Technology  ( Production , Purification , and Application  )
Hybridoma Technology ( Production , Purification , and Application ) Sakshi Ghasle
 

Dernier (20)

URLs and Routing in the Odoo 17 Website App
URLs and Routing in the Odoo 17 Website AppURLs and Routing in the Odoo 17 Website App
URLs and Routing in the Odoo 17 Website App
 
Mattingly "AI & Prompt Design: The Basics of Prompt Design"
Mattingly "AI & Prompt Design: The Basics of Prompt Design"Mattingly "AI & Prompt Design: The Basics of Prompt Design"
Mattingly "AI & Prompt Design: The Basics of Prompt Design"
 
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
 
Activity 01 - Artificial Culture (1).pdf
Activity 01 - Artificial Culture (1).pdfActivity 01 - Artificial Culture (1).pdf
Activity 01 - Artificial Culture (1).pdf
 
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
 
Call Girls in Dwarka Mor Delhi Contact Us 9654467111
Call Girls in Dwarka Mor Delhi Contact Us 9654467111Call Girls in Dwarka Mor Delhi Contact Us 9654467111
Call Girls in Dwarka Mor Delhi Contact Us 9654467111
 
Nutritional Needs Presentation - HLTH 104
Nutritional Needs Presentation - HLTH 104Nutritional Needs Presentation - HLTH 104
Nutritional Needs Presentation - HLTH 104
 
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 ...
 
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
 
Arihant handbook biology for class 11 .pdf
Arihant handbook biology for class 11 .pdfArihant handbook biology for class 11 .pdf
Arihant handbook biology for class 11 .pdf
 
SOCIAL AND HISTORICAL CONTEXT - LFTVD.pptx
SOCIAL AND HISTORICAL CONTEXT - LFTVD.pptxSOCIAL AND HISTORICAL CONTEXT - LFTVD.pptx
SOCIAL AND HISTORICAL CONTEXT - LFTVD.pptx
 
POINT- BIOCHEMISTRY SEM 2 ENZYMES UNIT 5.pptx
POINT- BIOCHEMISTRY SEM 2 ENZYMES UNIT 5.pptxPOINT- BIOCHEMISTRY SEM 2 ENZYMES UNIT 5.pptx
POINT- BIOCHEMISTRY SEM 2 ENZYMES UNIT 5.pptx
 
Mastering the Unannounced Regulatory Inspection
Mastering the Unannounced Regulatory InspectionMastering the Unannounced Regulatory Inspection
Mastering the Unannounced Regulatory Inspection
 
Introduction to AI in Higher Education_draft.pptx
Introduction to AI in Higher Education_draft.pptxIntroduction to AI in Higher Education_draft.pptx
Introduction to AI in Higher Education_draft.pptx
 
Separation of Lanthanides/ Lanthanides and Actinides
Separation of Lanthanides/ Lanthanides and ActinidesSeparation of Lanthanides/ Lanthanides and Actinides
Separation of Lanthanides/ Lanthanides and Actinides
 
Sanyam Choudhary Chemistry practical.pdf
Sanyam Choudhary Chemistry practical.pdfSanyam Choudhary Chemistry practical.pdf
Sanyam Choudhary Chemistry practical.pdf
 
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
 
Accessible design: Minimum effort, maximum impact
Accessible design: Minimum effort, maximum impactAccessible design: Minimum effort, maximum impact
Accessible design: Minimum effort, maximum impact
 
Hybridoma Technology ( Production , Purification , and Application )
Hybridoma Technology  ( Production , Purification , and Application  ) Hybridoma Technology  ( Production , Purification , and Application  )
Hybridoma Technology ( Production , Purification , and Application )
 
Staff of Color (SOC) Retention Efforts DDSD
Staff of Color (SOC) Retention Efforts DDSDStaff of Color (SOC) Retention Efforts DDSD
Staff of Color (SOC) Retention Efforts DDSD
 

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