Access To Foreign Data (ATFD)
The Access To Foreign Data (ATFD) is the number of attributes from unrelated classes that are accessed directly or by invoking accessor methods. High ATFD is usually associated with low cohesion and high coupling. Example: ATFD is 2 for below class. private static class KeySelector3 implements KeySelector<tuple3<integer, long,=”” string=””>, Tuple2<integer,…