I'm looking for open freely available data sets related to software development quality: code quality, defect rates, comparison across programming languages. Where/how can I find such data sets?

3 Answers 3


Here are a few sources to take a look through:

EDIT: there are also a number of academic papers on this topic that you might want to skim to see if they reference specific data sets or sources.


Note: This answer only covers a particular aspect of code quality.

OpenHub (ex Ohloh) contains 666,192 projects and mentions for each one:

  • The number of comment lines
  • The total number of lines
  • The programming language used (or proportions if several used)

So, you can use that data to compute the comment/code ratio for many programming languages.

License: CC-BY


Some of the projects listed under the data sets section of dspinelli's awesome list for mining software repositories (MSR) stuff might be useful. Some examples (additional information found on the GitHub list and through the links themselves):

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service and acknowledge you have read our privacy policy.

Not the answer you're looking for? Browse other questions tagged or ask your own question.