Ecosyste.ms: Awesome

An open API service indexing awesome lists of open source software.

Awesome Lists | Featured Topics | Projects

https://github.com/joranhonig/tarantula

Implementation of the tarantula fault localisation algorithm
https://github.com/joranhonig/tarantula

bugs fault-localization solidity

Last synced: 15 days ago
JSON representation

Implementation of the tarantula fault localisation algorithm

Awesome Lists containing this project

README

        

# 👾 Tarantula
![Run Test 🔬 ](https://github.com/JoranHonig/tarantula/workflows/Run%20Test%20%F0%9F%94%AC/badge.svg) [![npm](https://img.shields.io/npm/v/tarantula-fl)](https://www.npmjs.com/package/tarantula-fl)
[![](https://img.shields.io/twitter/follow/JoranHonig?style=social)](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)