wogscpar / SZZUnleashed

An implementation of the SZZ algorithm, i.e., an approach to identify bug-introducing commits.
MIT License
109 stars 75 forks source link

For help, -xmx64g and ran szz for 5 days without getting any results #30

Open qingdujun opened 4 years ago

qingdujun commented 4 years ago

I refer to it and ran the SZZ program for 5 days without getting any results.

java -Xmx64g -jar ${JAR_PATH}/szz_find_bug_introducers-0.1.jar -d 1 -i ${ISSUE_LIST_PA TH}/hadoop.json -r ${REPOS_PATH}/hadoop/

$ tree hadoop/
hadoop/
├── issues
│   ├── fix_and_introducers_pairs_0.json
│   ├── fix_and_introducers_pairs_1.json
│   ├── fix_and_introducers_pairs_2.json
│   ├── fix_and_introducers_pairs_3.json
│   ├── fix_and_introducers_pairs_4.json
│   ├── fix_and_introducers_pairs_5.json
│   ├── fix_and_introducers_pairs_6.json
│   └── fix_and_introducers_pairs_7.json
└── results
    ├── result0
    │   ├── annotations.json
    │   └── commits.json
    ├── result1
    │   ├── annotations.json
    │   └── commits.json
    ├── result2
    │   └── commits.json
    ├── result3
    │   └── commits.json
    ├── result4
    │   ├── annotations.json
    │   └── commits.json
    ├── result5
    │   ├── annotations.json
    │   └── commits.json
    ├── result6
    │   ├── annotations.json
    │   └── commits.json
    └── result7
        ├── annotations.json
        └── commits.json

10 directories, 22 files
$ free -g
              total        used        free      shared  buff/cache   available
Mem:             32           32           0           0           0          0
Swap:             41           28           13

and nohup.out

[main] INFO Main - Checking available processors...
[main] INFO Main - Found 8 processes!
[Thread-0] INFO parser.GitParserThread - Started process...
[Thread-3] INFO parser.GitParserThread - Started process...
[Thread-4] INFO parser.GitParserThread - Started process...
[Thread-5] INFO parser.GitParserThread - Started process...
[Thread-6] INFO parser.GitParserThread - Started process...
[Thread-7] INFO parser.GitParserThread - Started process...
[Thread-8] INFO parser.GitParserThread - Started process...
[Thread-9] INFO parser.GitParserThread - Started process...
[Thread-8] INFO parser.GitParserThread - Found 1839 number of commits.
[Thread-8] INFO parser.GitParserThread - Checking each commits diff...
[Thread-8] INFO parser.GitParserThread - Parsing difflines for all found commits.
[Thread-9] INFO parser.GitParserThread - Found 1926 number of commits.
[Thread-9] INFO parser.GitParserThread - Checking each commits diff...
[Thread-9] INFO parser.GitParserThread - Parsing difflines for all found commits.
[Thread-3] INFO parser.GitParserThread - Found 1949 number of commits.
[Thread-3] INFO parser.GitParserThread - Checking each commits diff...
[Thread-3] INFO parser.GitParserThread - Parsing difflines for all found commits.
[Thread-6] INFO parser.GitParserThread - Found 1977 number of commits.
[Thread-6] INFO parser.GitParserThread - Checking each commits diff...
[Thread-6] INFO parser.GitParserThread - Parsing difflines for all found commits.
[Thread-4] INFO parser.GitParserThread - Found 2015 number of commits.
[Thread-4] INFO parser.GitParserThread - Checking each commits diff...
[Thread-4] INFO parser.GitParserThread - Parsing difflines for all found commits.
[Thread-7] INFO parser.GitParserThread - Found 1941 number of commits.
[Thread-7] INFO parser.GitParserThread - Checking each commits diff...
[Thread-7] INFO parser.GitParserThread - Parsing difflines for all found commits.
[Thread-5] INFO parser.GitParserThread - Found 2047 number of commits.
[Thread-5] INFO parser.GitParserThread - Checking each commits diff...
[Thread-5] INFO parser.GitParserThread - Parsing difflines for all found commits.
[Thread-0] INFO parser.GitParserThread - Found 1973 number of commits.
[Thread-0] INFO parser.GitParserThread - Checking each commits diff...
[Thread-0] INFO parser.GitParserThread - Parsing difflines for all found commits.
[Thread-3] INFO parser.GitParserThread - Saving parsed commits to file
[Thread-8] INFO parser.GitParserThread - Saving parsed commits to file
[Thread-9] INFO parser.GitParserThread - Saving parsed commits to file
[Thread-0] INFO parser.GitParserThread - Saving parsed commits to file
[Thread-4] INFO parser.GitParserThread - Saving parsed commits to file
[Thread-6] INFO parser.GitParserThread - Saving parsed commits to file
[Thread-7] INFO parser.GitParserThread - Saving parsed commits to file
[Thread-5] INFO parser.GitParserThread - Saving parsed commits to file
[Thread-3] INFO parser.GitParserThread - Building line mapping graph.
[Thread-7] INFO parser.GitParserThread - Building line mapping graph.
[Thread-4] INFO parser.GitParserThread - Building line mapping graph.
[Thread-8] INFO parser.GitParserThread - Building line mapping graph.
[Thread-6] INFO parser.GitParserThread - Building line mapping graph.
[Thread-9] INFO parser.GitParserThread - Building line mapping graph.
[Thread-5] INFO parser.GitParserThread - Building line mapping graph.
[Thread-0] INFO parser.GitParserThread - Building line mapping graph.
[Thread-3] INFO parser.GitParserThread - Saving results to file
[Thread-3] INFO parser.GitParserThread - Trying to find potential bug introducing commits...
[Thread-6] INFO parser.GitParserThread - Saving results to file
[Thread-6] INFO parser.GitParserThread - Trying to find potential bug introducing commits...
[Thread-8] INFO parser.GitParserThread - Saving results to file
[Thread-8] INFO parser.GitParserThread - Trying to find potential bug introducing commits...
[Thread-0] INFO parser.GitParserThread - Saving results to file
[Thread-0] INFO parser.GitParserThread - Trying to find potential bug introducing commits...
[Thread-9] INFO parser.GitParserThread - Saving results to file
[Thread-9] INFO parser.GitParserThread - Trying to find potential bug introducing commits...
[Thread-7] INFO parser.GitParserThread - Saving results to file
[Thread-7] INFO parser.GitParserThread - Trying to find potential bug introducing commits...
Hareem-E-Sahar commented 2 years ago

@qingdujun did you find a workaround?