Code Smell Detection: towards a Machine Learning-based Approach