2. Difference of SQA & SQC
CRITERIA SQA SQC
Definition SQA
is
a
set
of
defini/on
for
ensuring
quality
in
so6ware
engineering
processes
SQC
is
set
of
ac/vi/es
for
ensuring
in
so6ware
product
Focus Process
Focused Product
Focused
Orientation Preven/on
Oriented Detec/on
Oriented
Breadth Organiza/on
Wide Product/Project
Specific
Scope Relates
to
all
products
that
will
ever
be
created
by
process Relates
to
specific
product
Activities
• Process
defini/on
and
implementa/on
• Audits
• Training
• Reviews
• Tes/ng
4. Automated Test MANUAL Test
vs
Fast
More reliable
Programmable
Can be cost efficiency
Early and often feedback
Time Consuming and tedious
LESS reliable
NON Programmable
Potential huge cosT
LATE feedback
7. WHY CODE COVERAGE?
Coding Style
Coding Convention
Unit Test
Comments
Duplication
Complexity
Potential Bugs
8. CODE COVERAGE
BRANCH COVERAGE
Has
each
func/on
(or
subrou/ne)
in
the
program
been
called?
Function Coverage
Has
each
statement
in
the
program
been
executed?
Statement Coverage
Has
every
edge
in
the
program
been
executed?
Conditional Coverage
Has
each
Boolean
sub-‐expression
evaluated
both
to
true
and
false?