optimize analyse-module: remove unuseful depend modules, which not used in factory param