The following figure represents access graphs of two modules M1 and M2. The filled circles represent methods and the unfilled circles represent attributes. If method m is moved to module M2 keeping the attributes where they are, what can we say about the average cohesion and coupling between modules in the system of two modules?
1
There is no change.
2
Average cohesion goes up but coupling is reduced
3
Average cohesion goes down and coupling also reduces.
4
Average cohesion and coupling increase.