186k views
4 votes
Halstead's source code metrics are based on the number of...?

1) Modules in the program.
2) Operands in the program.
3) Operators in the program.
4) Volume elements in the program.
5) b and c.

User RSTM
by
8.8k points

1 Answer

3 votes

Final answer:

Halstead's source code metrics are based on the number of operators and operands in the program.

Step-by-step explanation:

Halstead's source code metrics are based on the number of operators and operands in the program. These metrics were developed by Maurice Halstead in the 1970s as a way to measure the complexity and understandability of software. The four metrics used in Halstead's method are: program length (the total number of operators and operands), program vocabulary (the number of unique operators and operands), program volume (a measure of the program's size), and program difficulty (a measure of the program's complexity).

User Gustavo Gradvohl
by
8.5k points