






























Study with the several resources on Docsity
Earn points by helping other students or get them with a premium plan
This page cannot be seen from the preview
Don't miss anything!































Lecture 04 - 05
Dr. Mohammad Jaudet, DEE [email protected]
Pakistan Institute of Engineering and Applied Sciences
October, 2010
Outline of the Lecture 04 - 05
Software engineering (SE) is an intellectual activity and thus human-intensive Software is built to meet a certain functional goal and satisfy certain qualities Software processes also must meet certain qualities Software qualities are sometimes referred to as "ilities"
Classification of software qualities
User’s point of view of software product Reliable Efficient Easy to use Producer’s point of view of software product Verifiable Maintainable Portable Extendable
Classification of software qualities ...
Internal vs. external External -> visible to users Internal -> concern developers Product vs. process Our goal is to develop software products The process is how we do it Internal qualities affect external qualities Reliability comes from Verifiability
Representative Qualities
Correctness, Reliability & Robustness Performance Usability Maintainability Reusability Portability Understandability Interoperability Productivity Timeliness Visibility
Correctness
Correctness is a Mathematical Property that establishes the equivalence between the software and specification Software is correct if it satisfies the functional requirements specifications assuming that specification exists! More details in Chapter 6
Robustness
Reasonable behavior in circumstances not anticipated in the requirement specification incorrect input hardware failure A software generating unrecoverable runtime error during a sequence of procedures is not robust Code devoted for for robustness depends on application area Embedded systems depends on sensors but still need code for taking care of robustness Robustness also depends on correctness
Performance
Efficient use of resources memory, processing time, communication Can be verified complexity analysis performance evaluation (on a model, via simulation) Performance can affect scalability a solution that works on a small local network may not work on a large intranet Perfomance is evaluated after first initial release of the software
Verifiability
How easy it is to verify properties, e.g. Correctness Performance Verification can be done with formal and informal methods, to be discussed in Chapter 6 Mostly an internal quality but becomes quality when customer require verifiability for services provided by the software system Verifiability is contributed by: Modular design Disciplined coding practices Appropriate programming language
Maintainability
Maintainability is ease of maintenance Maintenance is changes after initial release Not so simple to be called bug fixing only Enhancing the product with features that were not available in original specifications or that were stated incorrectly Maintenance costs exceed 60% of total cost of software
Repairability & Evolvability
Maintainability can be considered as: Repairability Evolvability
Repairability
Repairability Ability to correct defects in reasonable time Repairability is a major design goal Modular design helps easier analysis & repair Avoiding complex interfaces Repairability can be improved by using High level languages Source level debuggers
Maintainability ...
More on maintainability in Chapter 4
Reusability
Existing product (or components) used (with minor modifications) to build another product (Similar to evolvability) Reusability may be applied from the whole product to a routine but more applicable to software components Unix shell is a reusable product that can be used for certain purpose with a command file Numeric Libraries are first examples of reusable components Use of Modularity enhances Reusability Use of software methodologies is considered as attempt to reuse processes to develop different products