An Experimental Investigation on the Innate Relationship between Quality and Refactoring