Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Fixed instrumentation issues, Added xml, comparison of surefire vs our results #9

Open
wants to merge 26 commits into
base: collect_stats
Choose a base branch
from
Open
Show file tree
Hide file tree
Changes from all commits
Commits
Show all changes
26 commits
Select commit Hold shift + click to select a range
47bfdd9
Updated README.md and pom.xml to fix testrunner issue
pioushasan2305 Dec 29, 2022
9df3449
Listed all methods under the tests and represented as XML file
pioushasan2305 Dec 29, 2022
4269ec5
Renamed temporary text file and fixed typo in function name
pioushasan2305 Dec 30, 2022
9ee8203
XML serialize deserialize via Jackson mapper,created maven surefire r…
pioushasan2305 Jan 15, 2023
2c888b4
Fixed id format issue in xml file
pioushasan2305 Jan 17, 2023
e795e62
method shown in linked-list type of structure
pioushasan2305 Jan 22, 2023
3c24b81
Added transitive method with fully qualified name and created tree li…
pioushasan2305 Jan 27, 2023
c14a352
fixed tracing bug for couting time
pioushasan2305 Jan 31, 2023
ce0a045
upgraded to version 1.2 of testrunner and changed example.sh for wildfly
pioushasan2305 Feb 5, 2023
b2e2bdd
updated example.sh for wildfly
pioushasan2305 Feb 5, 2023
11837ab
Run just the one of the failing test by itself without any test and w…
pioushasan2305 Feb 13, 2023
b91e357
fixed instrumentation getting exception
pioushasan2305 Feb 23, 2023
c1b09a4
fixed several instrument issues
pioushasan2305 Mar 3, 2023
e2bd0cf
changed xml
pioushasan2305 Mar 19, 2023
32d19d7
addded xml with only instrumentation and without running
pioushasan2305 Mar 23, 2023
6564048
generate result with only instrumentation
pioushasan2305 Mar 27, 2023
f764d38
changed xml view a bit
pioushasan2305 Mar 29, 2023
f830414
generated xml for changed part
pioushasan2305 Mar 30, 2023
8992778
fixed insertion from static analysis
pioushasan2305 Apr 2, 2023
c1d320d
fixed file change for insertion deletion
pioushasan2305 Apr 4, 2023
1ab9fa2
changes for fixing deletion
pioushasan2305 Apr 5, 2023
550596a
fixed fining changed between two versions
pioushasan2305 Apr 7, 2023
b834f0c
added loop control
pioushasan2305 Apr 12, 2023
a348646
added condition control with a small bug
pioushasan2305 Apr 15, 2023
05becad
added sttaic analysis option
pioushasan2305 Apr 28, 2023
868f403
added methodlIst csv
pioushasan2305 Jun 2, 2023
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
9 changes: 3 additions & 6 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -21,12 +21,9 @@ export JAVA_HOME=/usr/lib/jvm/java-1.8.0-openjdk-amd64/
You can see whether the setup was successful or not by seeing the text files under `logs/`.

If your setup is failed due to `testrunner-maven-plugin` you can solve this error by do the followings.
- First clone the repo ```https://github.com/ReedOei/testrunner``` to your local machine
- Run ```mvn install``` inside the ```testrunner``` directory
- Upload the `testrunner-maven-plugin` to your local `.m2` folder using the command inside `testrunner-maven-plugin/target`
```
mvn install:install-file -Dfile=testrunner-maven-plugin-0.1-SNAPSHOT.jar -DgroupId=com.reedoei -DartifactId=testrunner-maven-plugin -Dversion=0.1-SNAPSHOT -Dpackaging=jar -DgeneratePom=true
```
1. First clone the repo ```https://github.com/ReedOei/testrunner``` to your local machine
2. Run ```mvn install``` inside the ```testrunner``` directory

## Relevant contents of this directory
- ```setup.sh``` main script to setup the metadata needed for the regression testing algorithms (Step 1)
- ```compute-deps.sh``` main script to compute dependencies for the regression testing algorithms (Step 2)
Expand Down
73 changes: 63 additions & 10 deletions dt-impact-tracer/pom.xml
Original file line number Diff line number Diff line change
Expand Up @@ -38,6 +38,9 @@
<manifest>
<mainClass>TestMethodPrinter</mainClass>
</manifest>
<manifest>
<mainClass>com.fasterxml.jackson</mainClass>
</manifest>
</archive>
<descriptorRefs>
<descriptorRef>jar-with-dependencies</descriptorRef>
Expand All @@ -59,7 +62,7 @@
<repositories>
<repository>
<id>maven-central</id>
<url>http://repo1.maven.org/maven2</url>
<url>https://repo1.maven.org/maven2</url>
</repository>
<repository>
<id>soot-snapshot</id>
Expand All @@ -70,14 +73,44 @@

<dependencies>
<dependency>
<groupId>com.reedoei</groupId>
<groupId>edu.illinois.cs</groupId>
<artifactId>testrunner-maven-plugin</artifactId>
<version>0.1-SNAPSHOT</version>
<version>1.2.1</version>
</dependency>
<dependency>
<groupId>edu.illinois.cs</groupId>
<artifactId>testrunner-running</artifactId>
<version>1.2.1</version>
</dependency>
<dependency>
<groupId>edu.illinois.cs</groupId>
<artifactId>testrunner-testing</artifactId>
<version>1.2.1</version>
</dependency>
<dependency>
<groupId>edu.illinois.cs</groupId>
<artifactId>testrunner-core-plugin</artifactId>
<version>1.2.1</version>
</dependency>
<dependency>
<groupId>ca.mcgill.sable</groupId>
<groupId>org.soot-oss</groupId>
<artifactId>soot</artifactId>
<version>3.2.0</version>
<version>4.3.0</version>
</dependency>
<dependency>
<groupId>org.ow2.asm</groupId>
<artifactId>asm</artifactId>
<version>9.2</version>
</dependency>
<dependency>
<groupId>org.ow2.asm</groupId>
<artifactId>asm-commons</artifactId>
<version>9.2</version>
</dependency>
<dependency>
<groupId>org.ow2.asm</groupId>
<artifactId>asm-tree</artifactId>
<version>9.2</version>
</dependency>
<dependency>
<groupId>org.hamcrest</groupId>
Expand All @@ -91,6 +124,11 @@
<version>4.12</version>
<scope>test</scope>
</dependency>
<dependency>
<groupId>com.reedoei</groupId>
<artifactId>eunomia</artifactId>
<version>1.4.1</version>
</dependency>
<dependency>
<groupId>java_cup</groupId>
<artifactId>java_cup</artifactId>
Expand All @@ -113,11 +151,6 @@
<artifactId>dom4j</artifactId>
<version>2.1.0</version>
</dependency>
<dependency>
<groupId>com.reedoei</groupId>
<artifactId>eunomia</artifactId>
<version>1.3.2</version>
</dependency>
<dependency>
<groupId>com.google.code.gson</groupId>
<artifactId>gson</artifactId>
Expand All @@ -138,6 +171,26 @@
<artifactId>commons-csv</artifactId>
<version>1.4</version>
</dependency>
<dependency>
<groupId>com.fasterxml.jackson.dataformat</groupId>
<artifactId>jackson-dataformat-xml</artifactId>
<version>2.11.0</version>
</dependency>
<dependency>
<groupId>com.fasterxml.jackson.core</groupId>
<artifactId>jackson-databind</artifactId>
<version>2.11.0</version>
</dependency>
<dependency>
<groupId>com.fasterxml.jackson.core</groupId>
<artifactId>jackson-core</artifactId>
<version>2.11.0</version>
</dependency>
<dependency>
<groupId>com.fasterxml.jackson.core</groupId>
<artifactId>jackson-annotations</artifactId>
<version>2.11.0</version>
</dependency>
</dependencies>
</project>

Loading