Analysis of source code metrics from ns-2 and ns-3 network simulators