Information hiding: Modules should be specified and designed so that the internal details of modules should be invisible or inaccessible to other modules. Hiding implies that effective modularity can be achieved by defining a set of independent modules that communicate with one another only that information necessary to achieve software function. Hiding defines and enforces access constraints to both procedural detail within a module and any local data structure used by the module.
Major benefits: reduce the change impacts in testing and maintenance.
Functional independence:
Functional independence is achieved by developing modules with “single minded” function and an “aversion” to excessive interaction with other modules. Independent modules are easier to maintain because secondary effects caused by design or code modification are limited, error propagation is reduced and reusable modules are possible.
Design modules based on independent functional features
Major benefits: effective modularity
Independence is assessed using two qualitative criteria : cohesion and coupling.
Cohesion: a natural extension of the information hiding concept a module may perform a number of tasks. A cohesive module performs a single task in a procedure with little interactions with others.
Goal: to achieve high cohesion for modules in a system.
Different types of cohesion:
- coincidentally cohesive: a set of tasks related to each other loosely.
- logical connection among processing elements ---> logically cohesive.
- data sharing among processing elements --> communication cohesion.
- order among processing elements --> procedural cohesion.
Coupling : a measure of interconnection among modules in a program structure. Coupling depends on the interface complexity between modules.
Goal: to strive for lowest possible coupling among modules.
Good coupling ---> reduce or avoid change impact and ripple effects.
---> reduce the cost in program changes, testing, maintenance
Types of coupling:
- data coupling: parameter passing or data interaction
- control coupling: share related control logical (for a control data)
- common coupling: common data sharing
- content coupling: module A use of data or control information maintained in another module.
Tuesday, June 23, 2009
Software processes: Effective Modular Design
Monday, June 22, 2009
Quick tip: What is Abstraction and how to do effective modular design ?
Abstraction is the process of taking away or removing characteristics from something in order to reduce it to a set of essential characteristics. Through the process of abstraction, a programmer hides all but the relevant data about an object in order to reduce complexity and increase efficiency. In the process of abstraction, the programmer tries to ensure that the entity is named in a manner that will make sense and that it will have all the relevant aspects included and none of the extraneous ones.
Effective Modular Design
Information hiding:
Modules should be specified and designed so that the internal details of modules should be invisible or inaccessible to other modules. Hiding implies that effective modularity can be achieved by defining a set of independent modules that communicate with one another only that information necessary to achieve software function. Hiding defines and enforces access constraints to both procedural detail within a module and any local data structure used by the module.
Major benefits: Reduces the change impacts in testing and maintenance.
Posted by
Ashish Agarwal
at
6/22/2009 12:07:00 AM
0
comments
Labels: Design, Development, Processes, Software, Tips
|
|
Friday, May 29, 2009
Benefits of Six Sigma certification (contd ..)
The previous post outlined some of the benefits that going in for Six Sigma certification entails. Here are some more benefits that are available as part of this certification:
- Six Sigma results in significant cost savings. Six Sigma lets you get more details about what is coming next, lets you prepare in more detail, there are less defects and less wastage
- The philosophy of Six Sigma is to improve customer satisfaction by preventing defects, thus resulting in greater satisfaction.
- Six Sigma initiates the practice of much enhanced vigilance about philosophy, about getting more customer satisfaction; and lead to the companies defining more measures for every element of the production / service chain
- Six Sigma training ensures that personnel are fully aware of the tools and techniques needed to improve quality, and explain the concept of variance, metrics, processes, etc to company personnel in a way that they would not have understood earlier
- The training helps people understand where all wastage happens in various processes, automatically leading to some reduction in waste
- Statistically, a company that has implemented Six Sigma is found to spend < 1% of revenue on rework compared to 10% for a company having Four Sigma
- Capacity and output are improved. As a part of reducing wastage, you can produce more correct products from the same capacity, or generate a higher level of software productivity from the same people
- Communication within the various groups is improved through the need for having better processes for all groups
Tuesday, May 26, 2009
What is Six Sigma ?
Six Sigma is an important measure of the quality of a system, being adopted by many top-class corporations the world over such as GE. Six Sigma has spawned an industry of its own, in terms of experts who go to corporations and figure out how these companies can improve their processes so as to meet Six Sigma quality standards, and there are teachers who give instructions as to how to become a Six Sigma expert. Six Sigma was initially implemented by Motorola, and is now adopted the world over. Six Sigma is primarily used in manufacturing and business practices, and seeks to improve the quality of process outputs by identifying and removing the causes of defects (errors) and variations. Six Sigmas has its own infrastructure, such as - It uses a set of quality management methods, including statistical methods, and creates a special infrastructure of people within the organization ("Black Belts" etc.) who are experts in these methods. Six Sigma was originally developed as a set of practices designed to improve manufacturing processes and eliminate defects, but its application was subsequently extended to other types of business processes as well. In Six Sigma, a defect is defined as anything that could lead to customer dissatisfaction.
Sigma (the lower-case Greek letter σ) is used to represent the standard deviation (a measure of variation) of a statistical population. The term "six sigma process" comes from the notion that if one has six standard deviations between the process mean and the nearest specification limit, there will be practically no items that fail to meet specifications.
As a comparison of the various quality norms:
Short-term sigma levels correspond to the following long-term DPMO (defective parts per million opportunities) values:
* 1 sigma = 690,000 DPMO = 31% efficiency
* 2 sigma = 308,000 DPMO = 69.2% efficiency
* 3 sigma = 66,800 DPMO = 93.32% efficiency
* 4 sigma = 6,210 DPMO = 99.379% efficiency
* 5 sigma = 230 DPMO = 99.977% efficiency
* 6 sigma = 3.4 DPMO = 99.9997% efficiency
Put another way, this reads as “3.4 defects per million opportunities to make defects”. This is a very high level of quality, and it takes a lot of effort, hard work, and process improvements to reach this level. Six Sigma is also being implemented by many software development companies for their projects.
Posted by
Ashish Agarwal
at
5/26/2009 12:13:00 AM
0
comments
Labels: Certification, Processes, Quality, Six Sigma
|
|