adplus-dvertising
frame-decoration

Question

Using notions of local and global data flow, Shepperd defines the ‘complexity’ of a module M as

a.

Complexity(M) = fan-in(M) x fan-out(M)

b.

Complexity(M) = fan-in(M) / fan-out(M)

c.

Complexity(M) = fan-out(M) / fan-in(M)

d.

Complexity(M) = (fan-in(M) x fan-out(M))^2

Posted under Software Engineering

Answer: (d).Complexity(M) = (fan-in(M) x fan-out(M))^2 Explanation:The complexity of a module M is defined as Complexity(M) = (fan-in(M) x fan-out(M))^2 where, fan-in(M) is the number of (local and global) flows whose sink is M, and fan-out(M) is the number of (local and global) flows whose source is M.

Engage with the Community - Add Your Comment

Confused About the Answer? Ask for Details Here.

Know the Explanation? Add it Here.

Q. Using notions of local and global data flow, Shepperd defines the ‘complexity’ of a module M as

Similar Questions

Discover Related MCQs

Q. Who proposed the information flow measure?

Q. What is the purpose of the information flow metric?

Q. What is the relationship between information-flow metric and the abstract data type architectural style?

Q. How does the choice of measure affect the grouping of elements?

Q. What is WMC(Weighted Methods per Class) in the context of object-oriented metrics?

Q. What does DIT stand for in the context of object-oriented metrics?

Q. What is the formula for WMC(Weighted Methods per Class)?

Q. What is the purpose of WMC in object-oriented metrics?

Q. What does the DIT(Depth of Inheritance Tree) value depend on?

Q. What does a high value of NOC suggest in Object-Oriented Metrics?

Q. What does CBO measure in Object-Oriented Metrics?

Q. What is the objective of Demeter's Law in Object-Oriented Metrics?

Q. What is used to calculate the complexity of a method in WMC(Weighted Methods per Class)?

Q. What is the purpose of counting each entry in the class interface in WMC(Weighted Methods per Class) calculation?

Q. What is the relationship between classes in an object-oriented design?

Q. What is the purpose of DIT(Depth of Inheritance Tree) in object-oriented systems?

Q. What is NOC in the context of object-oriented systems?

Q. What is CBO in the context of object-oriented systems?

Q. What is the definition of afferent coupling (Ca) in the context of package level coupling measures?

Q. What is the significance of the ratio I in package level coupling measures?