Explaining the Contributing Factors for Vulnerability Detection in Machine Learning