https://github.com/evref-bl/jacoco-tagger
Tag Famix Entity based on JaCoCo report
https://github.com/evref-bl/jacoco-tagger
Last synced: 3 months ago
JSON representation
Tag Famix Entity based on JaCoCo report
- Host: GitHub
- URL: https://github.com/evref-bl/jacoco-tagger
- Owner: Evref-BL
- Created: 2024-12-11T07:28:47.000Z (7 months ago)
- Default Branch: main
- Last Pushed: 2025-03-16T22:52:29.000Z (4 months ago)
- Last Synced: 2025-03-16T23:29:42.813Z (4 months ago)
- Language: Smalltalk
- Size: 10.7 KB
- Stars: 0
- Watchers: 2
- Forks: 1
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
Awesome Lists containing this project
README
# JaCoCo-Tagger
I tag Moose entities based on a JaCoCo report.
## Usage
```st
JTTagger new "Create a tagger"
famixModel: myModel; "specify the model to tag"
import: 'JACOCO_TA_a08th02_16h05m58s_722\jacoco.xml' asFileReference. "give reference to the report to use for tagging"
```
or```st
JTTagger new "Create a tagger"
famixModel: myModel; "specify the model to tag"
importFromDirectory: 'xmlReport/'. "give reference to the report folder to use for tagging"
```Retrieve the tagged entities
```st
tag := myModel tags last.
tagged := (tag taggedEntitiesInModel: myModel).
```## Installation
```st
Metacello new
githubUser: 'Evref-BL' project: 'JaCoCo-Tagger' commitish: 'main' path: 'src';
baseline: 'JaCoCoTagger';
load
```