andymeneely / httpd-history

An historical analysis of HTTPD and its vulnerabilities
3 stars 3 forks source link

Counterparts: Generate a random selection of commits that are not vulnerability-contributing commits #31

Closed andymeneely closed 11 years ago

andymeneely commented 11 years ago

In this study, we want to examine the churn differences between vulnerability-contributing commits (VCCs) and non-VCCs.

We need to create some random samples of non-VCCs to compare against. This random sample needs from the files that had a VCC.

That is come up a random selection of X "counterparts" that were non-VCCs, but the same file. We will then compare those in terms of churn

Make whatever tables, Java, etc you need for this.

andymeneely commented 11 years ago

Ok - current work looks good thus far. I'm almost done integrating it into my master branch. Here's some stuff to finish before closing this one:

Also, take a look at some of the stuff I did since your commits. In particular, check out my commit comments for 695736c5bf470b05cec93699efe48fffdc3b68d0. You did well on the conventions in general though.

Also, note that my changes in 061c5848caeb9d94c567fa9e6c00d1464aa5e9ec means you need to update your httpdhistory.properties

andymeneely commented 11 years ago

Also, the part about CVEToGit was re-enabled in d49ffc544c35e2301265473662593745ad5e7f61

mok4ry commented 11 years ago

In that case, and I was going back and forth on this the first time, I don't think it's worth it to have a Filepath column in the Counterparts table.

andymeneely commented 11 years ago

Agreed - we don't need it.

mok4ry commented 11 years ago

Modified code according to your comments. Changes are in my master branch.