mineSStuBs | Hosts our tool for mining simple stupid '' bugs
kandi X-RAY | mineSStuBs Summary
kandi X-RAY | mineSStuBs Summary
mineSStuBs is a Java library typically used in Financial Services, Banks, Payments applications. mineSStuBs has no bugs, it has no vulnerabilities, it has a Permissive License and it has low support. However mineSStuBs build file is not available. You can download it from GitHub.
The ManySStuBs4J corpus is a collection of simple fixes to Java bugs, designed for evaluating program repair techniques. We collect all bug-fixing changes using the SZZ heuristic, and then filter these to obtain a data set of small bug fix changes. These are single statement fixes, classified where possible into one of 16 syntactic templates which we call SStuBs. The dataset contains simple statement bugs mined from open-source Java projects hosted in GitHub. There are two variants of the dataset. One mined from the 100 Java Maven Projects and one mined from the top 1000 Java Projects. A project's popularity is determined by computing the sum of z-scores of its forks and watchers. We kept only bug commits that contain only single statement changes and ignore stylistic differences such as spaces or empty as well as differences in comments. Some single statement changes can be caused by refactorings, like changing a variable name rather than bug fixes. We attempted to detect and exclude refactorings such as variable, function, and class renamings, function argument renamings or changing the number of arguments in a function. The commits are classified as bug fixes or not by checking if the commit message contains any of a set of predetermined keywords such as bug, fix, fault etc. We evaluated the accuracy of this method on a random sample of 100 commits that contained SStuBs from the smaller version of the dataset and found it to achieve a satisfactory 94% accuracy. This method has also been used before to extract bug datasets (Ray et al., 2015; Tufano et al., 2018) where it achieved an accuracy of 96% and 97.6% respectively. The bugs are stored in a JSON file (each version of the dataset has each own instance of this file). Any bugs that fit one of 16 patterns are also annotated by which pattern(s) they fit in a separate JSON file (each version of the dataset has each own instance of this file). We refer to bugs that fit any of the 16 patterns as simple stupid bugs (SStuBs).
The ManySStuBs4J corpus is a collection of simple fixes to Java bugs, designed for evaluating program repair techniques. We collect all bug-fixing changes using the SZZ heuristic, and then filter these to obtain a data set of small bug fix changes. These are single statement fixes, classified where possible into one of 16 syntactic templates which we call SStuBs. The dataset contains simple statement bugs mined from open-source Java projects hosted in GitHub. There are two variants of the dataset. One mined from the 100 Java Maven Projects and one mined from the top 1000 Java Projects. A project's popularity is determined by computing the sum of z-scores of its forks and watchers. We kept only bug commits that contain only single statement changes and ignore stylistic differences such as spaces or empty as well as differences in comments. Some single statement changes can be caused by refactorings, like changing a variable name rather than bug fixes. We attempted to detect and exclude refactorings such as variable, function, and class renamings, function argument renamings or changing the number of arguments in a function. The commits are classified as bug fixes or not by checking if the commit message contains any of a set of predetermined keywords such as bug, fix, fault etc. We evaluated the accuracy of this method on a random sample of 100 commits that contained SStuBs from the smaller version of the dataset and found it to achieve a satisfactory 94% accuracy. This method has also been used before to extract bug datasets (Ray et al., 2015; Tufano et al., 2018) where it achieved an accuracy of 96% and 97.6% respectively. The bugs are stored in a JSON file (each version of the dataset has each own instance of this file). Any bugs that fit one of 16 patterns are also annotated by which pattern(s) they fit in a separate JSON file (each version of the dataset has each own instance of this file). We refer to bugs that fit any of the 16 patterns as simple stupid bugs (SStuBs).
Support
Quality
Security
License
Reuse
Support
mineSStuBs has a low active ecosystem.
It has 24 star(s) with 16 fork(s). There are 8 watchers for this library.
It had no major release in the last 6 months.
There are 3 open issues and 3 have been closed. On average issues are closed in 1 days. There are 7 open pull requests and 0 closed requests.
It has a neutral sentiment in the developer community.
The latest version of mineSStuBs is current.
Quality
mineSStuBs has no bugs reported.
Security
mineSStuBs has no vulnerabilities reported, and its dependent libraries have no vulnerabilities reported.
License
mineSStuBs is licensed under the Apache-2.0 License. This license is Permissive.
Permissive licenses have the least restrictions, and you can use them in most projects.
Reuse
mineSStuBs releases are not available. You will need to build from source code and install.
mineSStuBs has no build file. You will be need to create the build yourself to build the component from source.
Installation instructions, examples and code snippets are available.
Top functions reviewed by kandi - BETA
kandi has reviewed mineSStuBs and discovered the below as its top functions. This is intended to give you an instant insight into mineSStuBs implemented functionality, and help decide if they suit your requirements.
- Main method
- Generate the SSTU files from the git repository
- Analyze the AST to spot refactoring
- Processes the specified patch
- Stores a stemmer
- Assigns the suffix
- The step 5
- Main step
- Main entry point
- Returns the name of the head
- Determines whether a method declaration is modified
- Compares two ASTNode objects
- Get the first node in two nodes
- Get the first node difference between two nodes
- Create a patch from a given patch string
- Count difference between two strings
- Visit a method call
- Visit a simple name
- Checks if the left - hand side of a node is a change field
- Checks to see if the given patch is non - one line change
Get all kandi verified functions for this library.
mineSStuBs Key Features
No Key Features are available at this moment for mineSStuBs.
mineSStuBs Examples and Code Snippets
No Code Snippets are available at this moment for mineSStuBs.
Community Discussions
No Community Discussions are available at this moment for mineSStuBs.Refer to stack overflow page for discussions.
Community Discussions, Code Snippets contain sources that include Stack Exchange Network
Vulnerabilities
No vulnerabilities reported
Install mineSStuBs
The tool can also easily be installed and built from source via maven. Maven will download all the required dependencies. Many thanks to Martin Monperrus for his help with this. Important: A Maven version >= 3.2.3 is required since 15 January 2020 and onwards Maven will download the dependencies and build the project with the command:.
Support
For any new features, suggestions and bugs create an issue on GitHub.
If you have any questions check and ask questions on community page Stack Overflow .
Find more information at:
Reuse Trending Solutions
Find, review, and download reusable Libraries, Code Snippets, Cloud APIs from over 650 million Knowledge Items
Find more librariesStay Updated
Subscribe to our newsletter for trending solutions and developer bootcamps
Share this Page