32
Maintenance Of Software Solutions Modification of the code to meet changed requirements

Sdd Maintenance Of Software Solutions

  • Upload
    gavhays

  • View
    327

  • Download
    0

Embed Size (px)

Citation preview

Page 1: Sdd Maintenance Of Software Solutions

Maintenance Of Software Solutions

Modification of the code to meet changed requirements

Page 2: Sdd Maintenance Of Software Solutions

Syllabus

Modification of the code to meet the changed requirements. Identification of the reasons for change in code, macros and scripts. Location of section to be altered. Determining changes to be made. Implementing and testing solutions.

Page 3: Sdd Maintenance Of Software Solutions

Maintenance of Software

Maintenance of involves two major components:

Maintenance of Software Solutions

Modification of Code

Documentation of Changes

Page 4: Sdd Maintenance Of Software Solutions

What is Maintenance?

Maintenance is an ongoing process of correction and refinement.

Maintenance is required if products are to continue to meet user expectations over their lifetime.

Maintenance include: Correction of errors (bugs) Upgrades to meet new or changes in

requirements.

Page 5: Sdd Maintenance Of Software Solutions

What is Maintenance?

THREE different types of software maintenance are:

1. Corrective Maintenance – This relates to the occurrence of a bug or error. Normally, require a patch to fix and are relatively inexpensive.

Page 6: Sdd Maintenance Of Software Solutions

What is Maintenance?

2. Adaptive Maintenance – Involves changing the program to meet some change such as new hardware or OS.

Identify an actual example of adaptive maintenance.

• GST

• Wireless

Page 7: Sdd Maintenance Of Software Solutions

What is Maintenance?

3. Improvement Maintenance – Adds new functions or requirements to meet new user needs.

Page 8: Sdd Maintenance Of Software Solutions

What is Maintenance?

Maintenance requires a cyclical approach.

Developer Users

Communication

Identifying

ModifyingDocumenting

Page 9: Sdd Maintenance Of Software Solutions

What is a Patch?

Used to correct a problem in a software solution.

A patch is an actual piece of executable code that is inserted into (Patched into) an existing program.

Page 10: Sdd Maintenance Of Software Solutions

Modifications to meet changed requirements

Software solutions are continually evolving. Changes made to subsequent releases of

applications are often the result of user requests.

Remember, fulfilling the needs of end-users is the primary function of all software products.

Page 11: Sdd Maintenance Of Software Solutions

Modifications to meet changed requirements

Basically modifications can involve the following: Patches Macros Scripts Replacement modules Overhaul of code.

Page 12: Sdd Maintenance Of Software Solutions

Identification of the reasons for change in code, macros and scripts

Because custom software is written to solve a particular problem, minor changes often necessitate alterations to source code.

This may cause marco and script commands to change resulting in unexpected errors.

Other applications that are linked to a product may require an upgrade as well.

Called the Domino Effect.

Page 13: Sdd Maintenance Of Software Solutions

Identification of the reasons for change in code, macros and scripts

If upgrades or modifications are undertaken this may have an effect on other modules.

Page 14: Sdd Maintenance Of Software Solutions

Identification of the reasons for change in code, macros and scripts

Reasons for change include: Bug Fixes New hardware New software Changed user requirements Organisation restructuring

Page 15: Sdd Maintenance Of Software Solutions

Identification of the reasons for

change in code, macros and scripts

What is a Macro? A symbol, name, or key of commands that

activates a series of commands that have been recorded.

What is a Script? A list of commands that are executed with out

user interaction. Loaded automatically

Page 16: Sdd Maintenance Of Software Solutions

Discussion

Video Studio Pro uses Microsoft’s Media Player to play video sequences. Microsoft has just released a new version of Media Player that is more graphically rich in regards to the interface. Video Studio Pro does not contain sufficient space for the use of the new Media Player. Many end-users have contacted the company in regards to upgrading this problem.

Page 17: Sdd Maintenance Of Software Solutions

Response Questions

1.) Identify what the company could do to solve this problem.

2.) How could this problem be avoided in the future.

Page 18: Sdd Maintenance Of Software Solutions

Response Answers

1.) Creation of a patch that will enable changes in software and hardware requirements. For example freeing up space to process the new interface.

2.) This problem could be avoided by creating their own media player then they dictate the upgrades.

Page 19: Sdd Maintenance Of Software Solutions

Identification of section to be altered

Once a decision has been made, the location of the section to be altered needs to be determined.

Structure diagrams and data flow diagrams will assist in locating module requiring modification.

Once the module has been identified the programmer can analyse the IPO charts, algorithms and source code to gain a understanding.

Page 20: Sdd Maintenance Of Software Solutions

Identification of section to be altered

Two approaches that will help in deciding what exactly has to be changed, include: Communication between users and the

modification team. Thorough understanding of the original code

through study of the original documentation.

Page 21: Sdd Maintenance Of Software Solutions

Identification of section to be altered

Identify FOUR examples of communication methods that would be used to promote communication between the users and the modification team.

Page 22: Sdd Maintenance Of Software Solutions

Identification of section to be altered

Answers:

1. Interviews

2. Observations

3. Questionnaires

4. Research

Page 23: Sdd Maintenance Of Software Solutions

Identification of section to be altered

Outline what documentation a modification team may analyse in order to gain an understanding of a software solution.

Page 24: Sdd Maintenance Of Software Solutions

Identification of section to be altered

Answers:

1. Objectives

2. Data Flow Diagram

3. System Flowcharts

4. Algorithms

5. Source Code

6. Code Comments

Page 25: Sdd Maintenance Of Software Solutions

Determining Changes to be made

Once the module and code have been located it is now time make the appropriate changes.

Depending on the nature of the modification, changes may be required to data structures, files and the user interface.

Consequences of modifications must be investigated thoroughly.

Page 26: Sdd Maintenance Of Software Solutions

Determining Changes to be made

It may be important to analyse modifications regarding the following criteria:

1. Priority – (Are they urgent)

2. Extent – (Number of changes to be made)

3. Personnel – (Who will do the changes)

4. Expertise – (Are their enough skills evident to make the changes)

5. Downtime

Page 27: Sdd Maintenance Of Software Solutions

Implementing and testing the solution

Once the changes have been completed they need to be implemented and tested.

Changes to modules that alter parameters will require modifications to each higher-level calling module.

Page 28: Sdd Maintenance Of Software Solutions

Activity 1

Identify THREE factors that could help make a program easier to maintain.

Page 29: Sdd Maintenance Of Software Solutions

Activity 1

Answer

1. Module Independence – The ability to change one component of the program without affecting other modules.

2. Internal Documentation – Good structure and use of intrinsic documentation.

3. Program Testing – The better the testing , the fewer errors that will eventuate.

Page 30: Sdd Maintenance Of Software Solutions

Activity 2

A software company produces a product that automates recorded keeping in doctors surgeries. As part of the contract the company provides an annual update of the program. The company has maintained a database of support calls to identify the modifications needed for each upgrade.

Page 31: Sdd Maintenance Of Software Solutions

Activity 2

The table below lists the top 10 issues:

Issue Frequency Issue Frequency

Need to link members of the same family. 65 Cancelled appointments are not made available immediately.

29

No report available to list frequency of drug prescription by a doctor.

59 Need to minimise application so other programs can be used.

24

Standard HP printer driver not accessible. 56 Individual patient records can only be viewed one terminal at a time.

18

Unable to import drug references from a new health department database.

39 Program crashes once two referrals are printed for one patient.

17

Scheduling of doctors does not take into account multiple surgery locations within one practice.

38 Loss of network connection is not notified until save operation is initiated.

15

Page 32: Sdd Maintenance Of Software Solutions

Activity 2

Categorise each of the ten issues as either bugs in the application, hardware issues or changes to program requirements.