Dataset: Characterizing Smart Contracts Vulnerabilities and Bugs: An Empirical Study
收藏资源简介:
Dataset: Characterizing Smart Contracts Vulnerabilities and Bugs: An Empirical Study This Dataset includes the following: 1. "Vulnerabilities categories card labeling.xml" file that represents the data for Categories of vulnerabilities in Smart Contracts (RQ1).<br> 2. "Impact cards labeling.xml" file that represents the data for Impact of Vulnerabilities and Bugs in smart contracts(RQ2).<br> 3. "Fix Time Duration.xml" file that shows the Vulnerabilities Fixing Duration in smart contracts(RQ3).<br> 4. "Defined 34 Vulnerabilities.pdf" this file shows the 34 vulnerabilities and bugs that we defined and identify from real-world smart contracts<br> on Stack Overflow and developers are facing in their smart contracts' source codes. ------<br> XML files structure:<br> The XML files can be opened used any text editor (e.g. notepad++) or any code editor (e.g. Visual Studio Code). 1. Each file has a root that is <Card_Table></Card_Table> which contains all the cards we labeled. <br> 2. Each card is represented by the <Card></Card> and contains the following:<br> - The main Tag marked by <Tag> that was used to search and collect the card from StackOverflow. <br> - The URL marked by <URL> of the post on StackOverflow which contains all the information of the post (i.e., the question information, the answers, comments, votes, post and answer times)<br> - The other tages marked by <OtherTags> that shows all the tags used in the post. <br> - The first expert labeling for the categories of vulnerabilities in each card is represented by <FirstExpertCategoryLabel>.<br> - The second expert labeling for the categories of vulnerabilities in each card is represented by <SecondExpertCategoryLabel>.<br> - The <CategoryAgreement> used to calculate the inter-rater agreement between the two labelers. <br> - The first expert labeling for the impact of vulnerabilities in each card is represented by <FirstExpertImpactLabel>.<br> - The second expert labeling for the impact of vulnerabilities in each card is represented by </SecondExpertImpactLabel>.<br> - The <PostTime> shows the time at which the post was created on StackOverflow.<br> - The <CorrectAnswerTime> shows the time at which the correct answer of the card was posted on StackOverflow.<br> - Finally, the <FixTimeDurationDAYS> shows the fix time duration of each card in days, we calculated it based on the differnce between the <CorrectAnswerTime> and the <PostTime>. <br>



