Docsity

Understanding Software Quality: External & Internal Characteristics and Attributes, Study notes of Applications of Computer Sciences

Partial preview of the text

Download Understanding Software Quality: External & Internal Characteristics and Attributes and more Study notes Applications of Computer Sciences in PDF only on Docsity!

Write an application that using an

animation draws a digraph

showing interdependence of all

software qualities with an illustration

each

Presented By: Priyanka Kanwar

Outline

 Software quality – definition

ISO 1986

 The totality of feature and characteristics of a product/service that

Bear on its ability to satisfy specified/implied need.

Quality Attributes

 Software quality is commonly described in terms that are known as

quality attributes

 A quality attribute is a property of a software product that will be

judged directly by stakeholders

 Quality attributes are—and should be—quantifiable in specifications

by appropriate and practical scales of measure

 Software quality attribute divides in two groups.

External and Internal

External: What a systems user is interested in; typically properties of

any single particular system.

Internal: What programmers/management are interested in; properties

of ther development of a collection of systems

Internal Characteristics

 Maintainability: Ease of modifying software for changing/adding

capabilties, improving performance.

 Flexibility: Extend of modifying system for other uses/environment

 Portability: Ease of modifying system for operating in different

environment.

 Reusability: Extend of using parts in other systems.

Hierarchical models of software

quality

 A hierarchical model of software quality is based upon a set of quality

cirteria , each of which has a set of measures.

 Quality mode are,

Bohm Model

McCall Model

ISO 1926

McCall Model Cont..

Bohm Model

Bohm Model Cont..

ISO-

 Single Model to standardize the quality factors since 1980.

 It makes easier to compare products

 It encompasses six major attributes contributing the quality:

 we have a software development process, we should apply the

software quality process to ensure the applicability and existence of

the selected qualities

 I draw the below process to analyze and plan for quality attributes, I

think this can be integrated with software quality process and apply

some checklist with each deliverable if the deliverable is fulfilling

these qualities.

Common Quality Attributes examples: Availability

 Definition:

Availability defines the proportion of time that the system is functional and working. It can be

measured as a percentage of the total system downtime over a predefined period. System errors,

infrastructure problems, malicious attacks, and system load will affect overall system availability.

 Requirements: The system should be highly available

 General scenario: 1. The system should have 99.9% available time per month with maximum

monthly 43m 49.7s downtime

2. The system should notify users if there is an issue affects the availability or may cause

downtime.

3. In case upgrade or maintenance, the maintenance window will be out of business hours.

 Metrics: The equation below is used to calculate the availability

A =MTBF / MTBF + MTTR

A: Availability MTBF: Mean Time Between Failures MTTR: Mean Time to Repair

Our target of this metrics to ensure that we will not have more 43 minutes downtime per month.

Strategies to achieve the quality metrics: 1. Using cloud technologies based on different region

as data center redundancy pattern. 2. Using redundant infrastructure components.

3. Avail availability status page, which our users can subscribe to receive availability status

reports and incidents.

 Side effects: 1. The cost of services will be higher to have a high available environment and have

redundant hardware and licenses. 2. It also has trade-offs with other quality attributes,

for example, reliability.

Performance  (^) Definition: The degree to which a system or component accomplishes its designated functions within given constraints, such as speed, accuracy, or memory usage. It refers to responsiveness, either the time required to respond to specific events or the number of events processed in a given interval of time  (^) Requirements:

  1. The system should respond to a request or event in less than 10 seconds.
  2. The system should able to handle 200 users.  (^) General scenario:
  3. The solution will be designed to handle 200 users concurrently with the average response time of 10 seconds.
  4. Caching techniques will be used to enhance response time for the same type of queries.  (^) Metrics:
  5. Latency: is the time taken to respond to any event
  6. Throughput: is the number of events that take place within a given amount of time 3.Capacity: is the total demands can be handled by the system while continuing to meet latency and throughput requirements. 4.Modes: having different resources or demand over time and system adaptation to that.  (^) Strategies to achieve the quality metrics: There are different strategies to enhance system performance, for example, caching techniques, data partitioning, load balancing, scalability, First Things First (FTF)  (^) Side effects : Performance has a lot of tradeoffs, and relation with other quality attributes, for example, dependability. Also, special testing procedures shall be available to test the performance, for example, load testing.