rayhanur-rahman / SLIC-Ansible

6 stars 3 forks source link

Answer to RQ2 and RQ3 #10

Closed akondrahman closed 5 years ago

akondrahman commented 5 years ago

Next steps:

Need it by May 05.

rayhanur-rahman commented 5 years ago

RQ2: https://github.com/brokenquark/SLIC-Ansible/blob/master/occurence-density-proportion.csv RQ3: https://github.com/brokenquark/SLIC-Ansible/blob/master/V1_TEST_AUTHOR_ANSIBLE-2.csv Ansible Smell Count in two different formats: https://github.com/brokenquark/SLIC-Ansible/blob/master/ansible-smell-count.csv https://github.com/brokenquark/SLIC-Ansible/blob/master/ansible-smell-count-different-format.csv

akondrahman commented 5 years ago

Label files properly ... 'occurrence-density-proportion' for both GitHub and Openstack repos.

akondrahman commented 5 years ago

Combined smell density calculation is wrong ... it should be

(total smell count in all files / (total lines of code in all files / 1000) )

akondrahman commented 5 years ago

Also double check proportion calculation. This is the formula:

((no. of files with at least one dataset) / (all files in dataset)) * 100

rayhanur-rahman commented 5 years ago

Link: https://github.com/brokenquark/SLIC-Ansible/blob/master/RQ2/data.txt

akondrahman commented 5 years ago

New tasks:

rayhanur-rahman commented 5 years ago

It will take time, because I never downloaded openstack repo. Just parsed the ymls. Hopefully tonight.

rayhanur-rahman commented 5 years ago
  • Write a paragraph of 4-5 sentences on why security smell frequency is 10x lower for Openstack than GithUb.

I have fixed the density calculation. There was a silly mistake. Do I need to explain why openstack has fewer occurance? Now they are reasonably comparable with github.

RQ3 for openstack is available now