My try:
Contribution in the order - WMC, CBO, RFC
Default constructor- 0, 1,
getWordSet() - 1, 1,
getSnowballWordSet() - 1, 1,
getBufferedReader() - 3, 2,
Total - 5, 5,
While calculating the Response for a class (RFC) for the above methods, the formula is: RFC = RS,
where RS = sets of all methods called by method or sets of all methods.
How can I implement the formula for a recursive code?
Aucun commentaire:
Enregistrer un commentaire