Number of open-source code defects going down