Software Metrics Flashcards

1
Q

what is SPI

A

software process improvement

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
2
Q

what is SEI

A

software engineering institute

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
3
Q

what is CMMI

A

capability maturity model integration

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
4
Q

what is an error vs a defect

A

error = bug found before shipping

defect = bug found after shipping

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
5
Q

3 purposes for collecting SW metrics

A
  • history of what software has been done
  • prediction and estimation
  • refinement of processes (SPI)
How well did you know this?
1
Not at all
2
3
4
5
Perfectly
6
Q

5 examples of size-oriented metrics

A
  • effort/staff hours
  • cost
  • document page count
  • error rate
  • lines of code
How well did you know this?
1
Not at all
2
3
4
5
Perfectly
7
Q

3 cons of size-oriented metrics

A
  • depends on PL used (with respect to its expressive power)
  • depends on developer coding style
  • developers can game the system
How well did you know this?
1
Not at all
2
3
4
5
Perfectly
8
Q

what are function points

A

a function oriented metric that measures a function implemented by developers on a bunch of criteria and spits out a number

a more complex function will have greater function point value

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
9
Q

3 types of OO metrics

A

of key classes

of supporting classes

of subsystems

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
10
Q

5 quality metrics

A
  • correctness (defects/KSLOC/year)
  • maintainability
  • mean time to change (MTTC = mean time to fix a bug)
  • integrity
  • usability
How well did you know this?
1
Not at all
2
3
4
5
Perfectly
11
Q

How to calculate defect removal efficiency

A

E / (E + D)

E = # of errors
D = # of defects
How well did you know this?
1
Not at all
2
3
4
5
Perfectly
12
Q

4 issues with SW process metrics

A
  • most metrics are too subjective to be reliable
  • they get in the way of building SW
  • most managers would want to use them for performance reviews
  • claimed benefits require a long baseline
How well did you know this?
1
Not at all
2
3
4
5
Perfectly
13
Q

4 necessary things to establishing a metrics baseline

A
  • metrics must be accurate
  • use must apply metrics over many projects
  • apply metrics to same kinds of data
  • the projects where metrics are applied should be similar
How well did you know this?
1
Not at all
2
3
4
5
Perfectly