• Share
  • Email
  • Embed
  • Like
  • Save
  • Private Content
Maintenance
 

Maintenance

on

  • 1,618 views

 

Statistics

Views

Total Views
1,618
Views on SlideShare
1,618
Embed Views
0

Actions

Likes
0
Downloads
11
Comments
0

0 Embeds 0

No embeds

Accessibility

Categories

Upload Details

Uploaded via as Microsoft Word

Usage Rights

© All Rights Reserved

Report content

Flagged as inappropriate Flag as inappropriate
Flag as inappropriate

Select your reason for flagging this presentation as inappropriate.

Cancel
  • Full Name Full Name Comment goes here.
    Are you sure you want to
    Your message goes here
    Processing…
Post Comment
Edit your comment

    Maintenance Maintenance Document Transcript

    • Maintenance Reasons for changes to software • Customer initiates changes due to changes in law, alterations to policy, changes to interfacing systems • Developers initiate changes due to component failure reports, detection of defects, changes to systems environment • Product support considerations: product on multiple platforms, multiple product versions, different customized product versions Laws of program evolution • Continuing change A program undergoes continuing change or becomes progressively less useful • Increasing complexity As an evolving program is changed, its complexity, which reflects deteriorating structure, increases unless work is done to reduce the same • The fundamental law of program evolution Program evolution is subject to a dynamic that makes the programming process self- regulating with statistically determinable trends • Conservation of organization stability The global activity rate in a project supporting an evolving program is statistically invariant • Conservation of familiarity The release content (changes, additions, deletions) of the successive releases of the evolving program is statistically invariant Categories of Software Maintenance Corrective Maintenance: Aims to correct errors Adaptive Maintenance: Changes the system to react to changes in the environment Preventive Maintenance: Involves documenting, commenting, or even re-implementing some part of software Perfective Maintenance: It improves the efficiency and/or effective of the system, or improves the maintainability Development time Vs Maintenance time=20:80 Problems during maintenance
    • • Often the program is written by another person • Often the program is changed by a person who did not understand it properly • Program listings are not structured • High staff turnover • Some problems become clearer only when a system is in use • Some systems are not designed for change Potential solutions to maintenance problems • Budget and effort reallocation: More time should be invested during development • Complete replacement of system: if the cost of system maintenance is high • Enhancement of existing system Software maintenance cost factors • Non-technical • Application domain • Staff stability • Program lifetime • External environment • Hardware stability • Technical • Programming language • Programming style • Programming validation and testing • Documentation Structured Vs Unstructured maintenance Structured Unstructured • Based on component level design • Based on object maintenance • Recent approach • Earlier approach • No such break-up is created • A common process framework is • Regression tests are conducted and established software is again released • Regression tests are impossible to • Software Configuration management is conduct implemented • Software Configuration management is not implemented Automated Maintenance Tools • Text Editors • File Comparators • Compilers and linkers • Debugging Tools • Cross-reference Generators • Static code Analyzers • Configuration Management Repositories Estimation of maintenance cost • COCOMO Model
    • Annual change traffic (ACT)= KLOC added + KLOC deleted KLOC total Maintenance cost=ACT * Development cost • Belady and Lehman Model M=P+K e(c-d) where M: Total effort expended on maintenance P: Productive effort that involves analysis design, coding, testing & evaluation K: An empirically determined constant c: Complexity measure due to lack of good design d: degree to which maintenance team is familiar with the software Measuring Maintenance • Environment dependent measures which describe the degree and effectiveness of maintenance • Mean time to repair • Total change implementation time to total number of changes implemented • Number of unresolved problems • Time spent on unresolved problems • Percentage of changes that introduce new faults • Number of components modified to implement a change • Internal attributes affecting maintainability • Cyclomatic number • Readability measure (fog index) • F=0.4*number of words+% of words of 3 or more syllables No. of sentences Software Rejuvenation It tries to increase the overall quality of an existing system, by looking back at it’s workproducts to try to derive additional information or to reformat them in a more understandable way. There are several aspects of software rejuvenation to consider: • Redocumentation • Restructuring: Code restructuring and Data restructuring • Reverse engineering is performed to understand Internal data structures, Database Structures, User Interfaces and Processing. • Reengineering