SONARDOTNT-297 compute coupling measures using a decorator
refactor the ndeps decorators and fix the tests