Measuring Code Quality to Improve Specification Mining | Synapse