https://github.com/joranhonig/tarantula
Implementation of the tarantula fault localisation algorithm
https://github.com/joranhonig/tarantula
bugs fault-localization solidity
Last synced: 12 months ago
JSON representation
Implementation of the tarantula fault localisation algorithm
- Host: GitHub
- URL: https://github.com/joranhonig/tarantula
- Owner: JoranHonig
- Created: 2021-01-08T16:20:28.000Z (over 5 years ago)
- Default Branch: master
- Last Pushed: 2021-05-10T13:05:58.000Z (about 5 years ago)
- Last Synced: 2025-05-06T23:18:16.023Z (about 1 year ago)
- Topics: bugs, fault-localization, solidity
- Language: ReScript
- Homepage:
- Size: 124 KB
- Stars: 13
- Watchers: 3
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
Awesome Lists containing this project
README
# 👾 Tarantula
 [](https://www.npmjs.com/package/tarantula-fl)
[](https://twitter.com/JoranHonig)
Implementation of the tarantula fault localisation algorithm in rescript.
## ⬇ Installation
```sh
npm install tarantula-fl
```
## Example usage
```javascript
var tarantula = require('tarantula-fl')
var testData = {
testResults: tarantula.TestData.fromMocha(exampleTestResult),
coverage: tarantula.TestData.fromSolCover(exampleCoverage)
}
score = tarantula.Tarantula.tarantulaScore(testData)
```
## 🤖 Developers
- Build: `npm run build`
- Clean: `npm run clean`
- Build & watch: `npm run start`
- Test: `npm test`
## 📚 Learn More:
- [Empirical Evaluation of the Tarantula Automatic Fault-Localization Technique - James A. Jones and Mary Jean Harrold](http://spideruci.org/papers/jones05.pdf)