Direct reactions and hauser-feshbach theory II numerical methods and statistical tests