Skip to content

Commit

Permalink
remove todos
Browse files Browse the repository at this point in the history
  • Loading branch information
rmllr authored Jun 27, 2019
1 parent 96d4557 commit 4293f53
Showing 1 changed file with 0 additions and 4 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -138,7 +138,6 @@ private void computeFeatureTraces() {
.forEachRemaining(result -> {
LOGGER.info("Found " + result.get("size(featureTraces)") + " feature traces");
});
// TODO changed
// query pure and interaction (and) traces
for (String feature : SINGLE_FEATURES) {
scenarioHandler.executeQuery("MATCH (featureTrace:FeatureTrace) "
Expand All @@ -154,13 +153,11 @@ private void computeFeatureTraces() {
LOGGER.info("Found " + result.get("size(filteredfeatureTraces)") + " " + feature + " traces");
});
}
// TODO changed
// separate interaction traces
for (int i = 0; i < SINGLE_FEATURES.size(); i++) {
for (int j = i + 1; j < SINGLE_FEATURES.size(); j++) {
String feature1 = SINGLE_FEATURES.get(i);
String feature2 = SINGLE_FEATURES.get(j);
// TODO added
scenarioHandler.executeQuery("MATCH (f1:Feature{name:'" + feature1
+ "'})-[r1:HAS]->(directTrace:FeatureTrace) "
+ "MATCH (f1)-[:HAS]->(:FeatureTrace)-[:DECLARES]->(indirectTrace) "
Expand All @@ -186,7 +183,6 @@ private void computeFeatureTraces() {
for (String featureId : featuresToLocate) {
List<String> traces = new ArrayList<String>();
if (!utils.isCombinedFeature(featureId) && !featureId.contains("not")) {
// TODO changed
scenarioHandler.executeQuery(
"MATCH (:Feature{name:'" + featureId + "'})-[r:HAS{value:'pure'}]->(featureTrace:FeatureTrace) "
+ "RETURN featureTrace.value")
Expand Down

0 comments on commit 4293f53

Please sign in to comment.