All Downloads are FREE. Search and download functionalities are using the official Maven repository.

test.resources.reporting.muto.html Maven / Gradle / Ivy

The newest version!

Overview

Errors 92.85714% (26)Failures 0.0% (0)Passed 7.142857% (2)Undefined 0.0% (0)Total Status Overview

Rule Set

Rule Name Errors Detected
com.github.mkolisnyk.muto.generator.rules.BlockCleanMutationRule 104

Result Statistics

Rule Name Errors Detected
com.github.mkolisnyk.muto.data.MutationLocationTest 0
com.github.mkolisnyk.muto.generator.MutationStrategyTest 104

Affected Tests Rating

Test Class Name Test Name Errors Detected
com.github.mkolisnyk.muto.data.MutationLocationTest testEqualsDifferentObjectOfTheSameTypeShouldReturnFalse 0
com.github.mkolisnyk.muto.data.MutationLocationTest testEqualsDifferentObjectTypeShouldReturnFalse 0
com.github.mkolisnyk.muto.data.MutationLocationTest testEqualsNullObjectTypeShouldReturnFalse 0
com.github.mkolisnyk.muto.data.MutationLocationTest testEqualsSameObjectShouldReturnTrue 0
com.github.mkolisnyk.muto.data.MutationLocationTest testEqualsSimilarObjectShouldReturnTrue 0
com.github.mkolisnyk.muto.data.MutationLocationTest testHashCode 0
com.github.mkolisnyk.muto.generator.MutationStrategyTest testEmptyStrategy 52
com.github.mkolisnyk.muto.generator.MutationStrategyTest testReset 52

Result Details

Evergreen Tests

Test Class Name Test Name Errors Detected
com.github.mkolisnyk.muto.data.MutationLocationTest testHashCode 0
com.github.mkolisnyk.muto.data.MutationLocationTest testEqualsNullObjectTypeShouldReturnFalse 0
com.github.mkolisnyk.muto.data.MutationLocationTest testEqualsDifferentObjectOfTheSameTypeShouldReturnFalse 0
com.github.mkolisnyk.muto.data.MutationLocationTest testEqualsSameObjectShouldReturnTrue 0
com.github.mkolisnyk.muto.data.MutationLocationTest testEqualsDifferentObjectTypeShouldReturnFalse 0
com.github.mkolisnyk.muto.data.MutationLocationTest testEqualsSimilarObjectShouldReturnTrue 0

Passed Runs

Rule Name Mutated File Change Location Changed Fragment
com.github.mkolisnyk.muto.generator.rules.BlockCleanMutationRule C:\Dev\Work\muto\target\muto\workspace\src\main\java\com\github\mkolisnyk\muto\generator\rules\BlockCleanMutationRule.java from position 435 to 706 int depth = 0; for (int i = 0; i <= position; i++) { if (input.charAt(i) == '{') { depth++; } else if (input.charAt(i) == '}') { depth--; } } return depth;
com.github.mkolisnyk.muto.generator.rules.BlockCleanMutationRule C:\Dev\Work\muto\target\muto\workspace\src\main\java\com\github\mkolisnyk\muto\generator\rules\BlockCleanMutationRule.java from position 435 to 706 int depth = 0; for (int i = 0; i <= position; i++) { if (input.charAt(i) == '{') { depth++; } else if (input.charAt(i) == '}') { depth--; } } return depth;

Failed/Errored Runs

Rule Name Mutated File Change Location Changed Fragment Affected Tests
com.github.mkolisnyk.muto.generator.rules.BlockCleanMutationRule C:\Dev\Work\muto\target\muto\workspace\src\main\java\com\github\mkolisnyk\muto\generator\rules\BlockCleanMutationRule.java from position 435 to 706 int depth = 0; for (int i = 0; i <= position; i++) { if (input.charAt(i) == '{') { depth++; } else if (input.charAt(i) == '}') { depth--; } } return depth; -
com.github.mkolisnyk.muto.generator.rules.BlockCleanMutationRule C:\Dev\Work\muto\target\muto\workspace\src\main\java\com\github\mkolisnyk\muto\generator\rules\BlockCleanMutationRule.java from position 1578 to 1716 if (depthAtPosition(input, i) == depth - 1) { end = i - 1; break; } -
com.github.mkolisnyk.muto.generator.rules.BlockCleanMutationRule C:\Dev\Work\muto\target\muto\workspace\src\main\java\com\github\mkolisnyk\muto\generator\rules\BlockCleanMutationRule.java from position 1758 to 1922 location = new MutationLocation(start, end); location.setMatchedText(input.substring(start + 1, end + 1)); -
com.github.mkolisnyk.muto.generator.rules.BlockCleanMutationRule C:\Dev\Work\muto\target\muto\workspace\src\main\java\com\github\mkolisnyk\muto\generator\rules\BlockCleanMutationRule.java from position 2343 to 2876 /*if (location == null) { location = new MutationLocation(-1, -1); depth++; }*/ while (depth <= maxDepth) { location = this.nextBlockOnLevel(input, location.getEndPosition() + 1, depth); if (location == null) { location = new MutationLocation(-1, -1); depth++; } else { break; } } -
com.github.mkolisnyk.muto.generator.rules.BlockCleanMutationRule C:\Dev\Work\muto\target\muto\workspace\src\main\java\com\github\mkolisnyk\muto\generator\rules\BlockCleanMutationRule.java from position 2914 to 3135 result = result.substring(0, location.getStartPosition() + 1) + result.substring(location.getEndPosition() + 1); this.setLocation(location); // -
com.github.mkolisnyk.muto.generator.rules.BlockCleanMutationRule C:\Dev\Work\muto\target\muto\workspace\src\main\java\com\github\mkolisnyk\muto\generator\rules\BlockCleanMutationRule.java from position 3484 to 3615 if (input.toCharArray()[i] == '{') { count++; } } return count; -
com.github.mkolisnyk.muto.generator.rules.BlockCleanMutationRule C:\Dev\Work\muto\target\muto\workspace\src\main\java\com\github\mkolisnyk\muto\generator\rules\BlockCleanMutationRule.java from position 545 to 620 ') { depth++; } else if (input.charAt(i) == ' -
com.github.mkolisnyk.muto.generator.rules.BlockCleanMutationRule C:\Dev\Work\muto\target\muto\workspace\src\main\java\com\github\mkolisnyk\muto\generator\rules\BlockCleanMutationRule.java from position 625 to 665 depth--; -
com.github.mkolisnyk.muto.generator.rules.BlockCleanMutationRule C:\Dev\Work\muto\target\muto\workspace\src\main\java\com\github\mkolisnyk\muto\generator\rules\BlockCleanMutationRule.java from position 1444 to 1510 start = i; break; -
com.github.mkolisnyk.muto.generator.rules.BlockCleanMutationRule C:\Dev\Work\muto\target\muto\workspace\src\main\java\com\github\mkolisnyk\muto\generator\rules\BlockCleanMutationRule.java from position 1637 to 1705 end = i - 1; break; -
com.github.mkolisnyk.muto.generator.rules.BlockCleanMutationRule C:\Dev\Work\muto\target\muto\workspace\src\main\java\com\github\mkolisnyk\muto\generator\rules\BlockCleanMutationRule.java from position 2382 to 2480 location = new MutationLocation(-1, -1); depth++; -
com.github.mkolisnyk.muto.generator.rules.BlockCleanMutationRule C:\Dev\Work\muto\target\muto\workspace\src\main\java\com\github\mkolisnyk\muto\generator\rules\BlockCleanMutationRule.java from position 826 to 999 int max = 0; for (int i = 0; i < input.length(); i++) { max = Math.max(max, depthAtPosition(input, i)); } return max; -
com.github.mkolisnyk.muto.generator.rules.BlockCleanMutationRule C:\Dev\Work\muto\target\muto\workspace\src\main\java\com\github\mkolisnyk\muto\generator\rules\BlockCleanMutationRule.java from position 2524 to 2865 location = this.nextBlockOnLevel(input, location.getEndPosition() + 1, depth); if (location == null) { location = new MutationLocation(-1, -1); depth++; } else { break; } -
com.github.mkolisnyk.muto.generator.rules.BlockCleanMutationRule C:\Dev\Work\muto\target\muto\workspace\src\main\java\com\github\mkolisnyk\muto\generator\rules\BlockCleanMutationRule.java from position 3530 to 3585 ') { count++; } -
com.github.mkolisnyk.muto.generator.rules.BlockCleanMutationRule C:\Dev\Work\muto\target\muto\workspace\src\main\java\com\github\mkolisnyk\muto\generator\rules\BlockCleanMutationRule.java from position 549 to 589 depth++; -
com.github.mkolisnyk.muto.generator.rules.BlockCleanMutationRule C:\Dev\Work\muto\target\muto\workspace\src\main\java\com\github\mkolisnyk\muto\generator\rules\BlockCleanMutationRule.java from position 2686 to 2796 location = new MutationLocation(-1, -1); depth++; -
com.github.mkolisnyk.muto.generator.rules.BlockCleanMutationRule C:\Dev\Work\muto\target\muto\workspace\src\main\java\com\github\mkolisnyk\muto\generator\rules\BlockCleanMutationRule.java from position 2804 to 2850 break; -
com.github.mkolisnyk.muto.generator.rules.BlockCleanMutationRule C:\Dev\Work\muto\target\muto\workspace\src\main\java\com\github\mkolisnyk\muto\generator\rules\BlockCleanMutationRule.java from position 3534 to 3574 count++; -
com.github.mkolisnyk.muto.generator.rules.BlockCleanMutationRule C:\Dev\Work\muto\target\muto\workspace\src\main\java\com\github\mkolisnyk\muto\generator\rules\BlockCleanMutationRule.java from position -1 to -1 -
com.github.mkolisnyk.muto.generator.rules.BlockCleanMutationRule C:\Dev\Work\muto\target\muto\workspace\src\main\java\com\github\mkolisnyk\muto\generator\rules\BlockCleanMutationRule.java from position 1239 to 1955 MutationLocation location = null; int start = -1; int end = -1; for (int i = startPos; i < input.length(); i++) { if (depthAtPosition(input, i) == depth) { start = i; break; } } for (int i = start; i < input.length(); i++) { if (depthAtPosition(input, i) == depth - 1) { end = i - 1; break; } } if (end > start && start > 0) { location = new MutationLocation(start, end); location.setMatchedText(input.substring(start + 1, end + 1)); } return location; -
com.github.mkolisnyk.muto.generator.rules.BlockCleanMutationRule C:\Dev\Work\muto\target\muto\workspace\src\main\java\com\github\mkolisnyk\muto\generator\rules\BlockCleanMutationRule.java from position 2125 to 3166 String result = input; int maxDepth = this.maxDepth(input); int depth = 1; MutationLocation location = new MutationLocation(-1, -1); for (int i = 0; i <= position; i++) { /*if (location == null) { location = new MutationLocation(-1, -1); depth++; }*/ while (depth <= maxDepth) { location = this.nextBlockOnLevel(input, location.getEndPosition() + 1, depth); if (location == null) { location = new MutationLocation(-1, -1); depth++; } else { break; } } } //if (location != null) { result = result.substring(0, location.getStartPosition() + 1) + result.substring(location.getEndPosition() + 1); this.setLocation(location); //} return result; -
com.github.mkolisnyk.muto.generator.rules.BlockCleanMutationRule C:\Dev\Work\muto\target\muto\workspace\src\main\java\com\github\mkolisnyk\muto\generator\rules\BlockCleanMutationRule.java from position 3257 to 3340 String result = transform(input, position); return result; -
com.github.mkolisnyk.muto.generator.rules.BlockCleanMutationRule C:\Dev\Work\muto\target\muto\workspace\src\main\java\com\github\mkolisnyk\muto\generator\rules\BlockCleanMutationRule.java from position 3408 to 3618 int count = 0; for (int i = 0; i < input.length(); i++) { if (input.toCharArray()[i] == '{') { count++; } } return count; } -
com.github.mkolisnyk.muto.generator.rules.BlockCleanMutationRule C:\Dev\Work\muto\target\muto\workspace\src\main\java\com\github\mkolisnyk\muto\generator\rules\BlockCleanMutationRule.java from position 506 to 676 if (input.charAt(i) == '{') { depth++; } else if (input.charAt(i) == '}') { depth--; } -
com.github.mkolisnyk.muto.generator.rules.BlockCleanMutationRule C:\Dev\Work\muto\target\muto\workspace\src\main\java\com\github\mkolisnyk\muto\generator\rules\BlockCleanMutationRule.java from position 900 to 971 max = Math.max(max, depthAtPosition(input, i)); -
com.github.mkolisnyk.muto.generator.rules.BlockCleanMutationRule C:\Dev\Work\muto\target\muto\workspace\src\main\java\com\github\mkolisnyk\muto\generator\rules\BlockCleanMutationRule.java from position 1389 to 1521 if (depthAtPosition(input, i) == depth) { start = i; break; } -





© 2015 - 2024 Weber Informatics LLC | Privacy Policy