Improving Software Processes: Unit-05
Improving Software Processes: Unit-05
Unit-05
REUSE:
Organizations that translates reusable components into commercial products has thefollowing
characteristics:
- They have an economic motivation for continued support.
- They take ownership of improving product quality, adding new features andtransitioning to
new technologies.
They have a sufficiently broad customer base to be profitable
- It is an Organization’s policies, procedures, and practices for pursuing a software intensive line
of business.
- The focus of this process is of organizational economics, long-term strategies, anda software
ROI.
2) Macro process:
- A project’s policies, and practices for producing a complete software product within certain
cost, schedule, and quality constraints.
- The focus of the macro process is on creating an sufficient instance of the
Meta process for a specific set of constraints.
3) Micro process:
- A projects team’s policies, procedures, and practices for achieving an artifact of a software
process.
- The focus of the micro process is on achieving an intermediate product baseline with sufficient
functionality as economically and rapidly as practical.
The objective of process improvement is to maximize the allocation of resources to productive
activities and minimize the impact of overhead activities on resources such as personnel,
computers, and schedule.
- Project Manager
- Software Architect
Important Project Manager Skills:
Hiring skills. Few decisions are as important as hiring decisions. Placing the right personin
the right job seems obvious but is surprisingly hard to achieve.
Customer-interface skill. Avoiding adversarial relationships among stake-holders is a
prerequisite for success.
Decision-making skill. TheMillion books written about management have failed to provide a
clear definition of this attribute. We all know a good leader when we run into one, and decision-
making skill seems obvious despite its intangible definition.
Team-building skill. Teamwork requires that a manager establish trust, motivate progress,
exploit eccentric prima donnas, transition average people into top performers, eliminate misfits,
and consolidate diverse opinions into a team direction.
Selling skill. Successful project managers must sell all stakeholders (including themselves) on
decisions and priorities, sell candidates on job positions, sell changes to the status quo in the face
of resistance, and sell achievements against objectives. In practice, selling requires continuous
negotiation, compromise, and empathy.
Important Software Architect Skills:
• Technical Skills: the most important skills for an architect. These must include skills in both,
the problem domain and the solution domain
• People Management Skills: must ensure that all people understand and implement the
architecture in exactly the way he has conceptualized it. This calls for a lot of people
management skills and patience.
• Role Model: must be a role model for the software engineers – they would emulate all good
(and also all bad !) things that the architect does
The primary goal here is to achieving a good solution with minimum no of iterations and
eliminating scrap and rework to the possible extent.
Focus on driving requirements and critical use cases early in the life cycle.
Use metrics and indicators to measure the progress and quality of the architecture .
- Over the past two decades software development is a re-engineering process.Now it is replaced
by advanced software engineering technologies.
- This transition is was motivated by the unsatisfactory demand for the softwareand reduced cost.
THE PRINCIPLES OF CONVENTIONAL SOFTWARE ENGINEERING
Based on many years of software development experience, the softwareindustry proposed so
many principles (nearly 201 by – Davis’s). Of which
Davis’s top 30 principles are:
1) Make quality #1: Quality must be quantified and mechanisms put into place to motivate its
achievement.
2) High-quality software is possible: In order to improve the quality of the product we need to
involving the customer, select the prototyping, simplifying design, conducting inspections, and
hiring the best people.
3) Give products to customers early: No matter how hard you try to learn user’s needs during
the requirements phase, the most effective way to determine real needs is to give users a product
and let them play with it.
4) Determine the problem before writing the requirements: Whenever a problem is raised
most engineers provide a solution. Before we try to solve a problem, be sure to explore all the
alternatives and don’t be blinded by theunderstandable solution.
5) Evaluate design alternatives: After the requirements are greed upon, we must examine a
variety of architectures and algorithms and choose the one which is not used earlier.
6) Use an appropriate process model: For every project, there are so many prototypes (process
models). So select the best one that is exactly suitable to our project.
7) Use different languages for different phases: Our industry’s main aim is to provide simple
solutions to complex problems. In order to accomplish this goal choose different languages for
different modules/phases if required.
8) Minimize intellectual distance: We have to design the structure of a software is as close as
possible to the real-world structure.
9) Put techniques before tools: An un disciplined software engineer with a tool becomes a
dangerous, undisciplined software engineer.
10) Get it right before you make it faster: It is very easy to make a working program run faster
than it is to make a fast program work. Don’t worry about optimization during initial coding.
11) Inspect the code: Examine the detailed design and code is a much better wayto find the
errors than testing.
12) Good management is more important than good technology
13) People are the key to success: Highly skilled people with appropriateexperience, talent, and
training are key. The right people with insufficient tools,languages, and process will succeed.
14) Follow with care: Everybody is doing something but does not make it right for you. It may
be right, but you must carefully assess its applicability to your environment.
15) Take responsibility: When a bridge collapses we ask “what did the engineer do wrong?”.
Similarly if the software fails, we ask the same. So the fact is in every engineering discipline, the
best methods can be used to produce poor resultsand the most out of date methods to produce
stylish design.
16) Understand the customer’s priorities. It is possible the customer wouldtolerate 90% of the
functionality delivered late if they could have 10% of it ontime.
17) The more they see, the more they need. The more functionality (or performance) you
provide a user, the more functionality (or performance) the user wants.
18) Plan to throw one away .One of the most important critical success factors is whether or not
a product is entirely new. Such brand-new applications,architectures, interfaces, or algorithms
rarely work the first time.
19) Design for change. The architectures, components, and specification techniques you use
must accommodate change.
20) Design without documentation is not design. I have often heard software engineers say, “I
have finished the design. All that is left is the documentation.”
21. Use tools, but be realistic. Software tools make their users more efficient.
22. Avoid tricks. Many programmers love to create programs with tricksconstructsthat perform
a function correctly, but in an obscure way. Show theworld how smart you are by avoiding tricky
code.
23. Encapsulate. Information-hiding is a simple, proven concept that results insoftware that is
easier to test and much easier to maintain.
24. Use coupling and cohesion. Coupling and cohesion are the best ways tomeasure software’s
inherent maintainability and adaptability.
25. Use the McCabe complexity measure. Although there are many metrics available to report
the inherent complexity of software, none is as intuitive and easy to use as Tom McCabe’s.
26. Don’t test your own software. Software developers should never be the primary testers of
their own software.
27. Analyze causes for errors. It is far more cost-effective to reduce the effect of an error by
preventing it than it is to find and fix it. One way to do this is to analyze the causes of errors as
they are detected.
28. Realize that software’s entropy increases. Any software system that
undergoes continuous change will grow in complexity and become more and more disorganized.
29. People and time are not interchangeable. Measuring a project solely byperson-months
makes little sense.
30) Expert excellence. Your employees will do much better if you have high expectations for
them.
1) Base the process on an architecture-first approach: (Central design element)- Design and
integration first, then production and test
5) Enhance change freedom through tools that support round-trip engineering: (The automation
element)- Complementary tools, integrated environment
Round-trip engineering is the environment support necessary to automate and synchronize
engineering information in different formats. Change freedom is necessary in an iterative
process.
7) Instrument the process for objective quality control and progress assessment:
- Life-cycle assessment of the progress and quality of all intermediate product must be integrated
into the process.- The best assessment mechanisms are well-defined measures derived directly
from the evolving engineering artifacts and integrated into all activities and teams.
9) Plan intermediate releases in groups of usage scenarios with evolving levels of detail:
No single process is suitable for all software developments. The process must ensure that there is
economy of scale and ROI.