Skip to content

Commit

Permalink
Merge changes from @pmop
Browse files Browse the repository at this point in the history
  • Loading branch information
pmop committed Jun 19, 2019
2 parents 3e4f965 + 1f945a0 commit 47783d0
Show file tree
Hide file tree
Showing 528 changed files with 91,852 additions and 31,873 deletions.
5 changes: 4 additions & 1 deletion .gitignore
Original file line number Diff line number Diff line change
Expand Up @@ -42,4 +42,7 @@ buildNumber.properties
/.settings/

examples/session1/classes/
examples/session1/result/
examples/session1/result/

#Idea Files
.idea/
1 change: 1 addition & 0 deletions examples/aois/classes/test.txt
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@

Empty file.
40 changes: 40 additions & 0 deletions examples/aois/result/ClassId_0/original/ClassId_0.java
Original file line number Diff line number Diff line change
@@ -0,0 +1,40 @@
// This is a mutant program.
// Author : ysma

import java.util.*;


public class ClassId_0
{

int field = 5;

public ClassId_0()
{
}

public int should_trigger_aois3( int param )
{
param *= field;
return param;
}

public int should_trigger_aois4( int param )
{
param *= field;
return param;
}

public int should_trigger_aois3a( int param )
{
param = param * field;
return param;
}

public int should_trigger_aois4a( int param )
{
param = param * field;
return param;
}

}
Original file line number Diff line number Diff line change
@@ -0,0 +1,47 @@
// This is a mutant program.
// Author : ysma

import java.util.*;


/** @ContextInfo(
MutationOperatorGroup=AOIS
Before=field
After=++field
MutatedLine=-1
AstContext=null
)*/
public class ClassId_0
{

int field = 5;

public ClassId_0()
{
}

public int should_trigger_aois3( int param )
{
param *= ++field;
return param;
}

public int should_trigger_aois4( int param )
{
param *= field;
return param;
}

public int should_trigger_aois3a( int param )
{
param = param * field;
return param;
}

public int should_trigger_aois4a( int param )
{
param = param * field;
return param;
}

}
Original file line number Diff line number Diff line change
@@ -0,0 +1,47 @@
// This is a mutant program.
// Author : ysma

import java.util.*;


/** @ContextInfo(
MutationOperatorGroup=AOIS
Before=field
After=--field
MutatedLine=-1
AstContext=null
)*/
public class ClassId_0
{

int field = 5;

public ClassId_0()
{
}

public int should_trigger_aois3( int param )
{
param *= --field;
return param;
}

public int should_trigger_aois4( int param )
{
param *= field;
return param;
}

public int should_trigger_aois3a( int param )
{
param = param * field;
return param;
}

public int should_trigger_aois4a( int param )
{
param = param * field;
return param;
}

}
Original file line number Diff line number Diff line change
@@ -0,0 +1,47 @@
// This is a mutant program.
// Author : ysma

import java.util.*;


/** @ContextInfo(
MutationOperatorGroup=AOIS
Before=field
After=field++
MutatedLine=-1
AstContext=null
)*/
public class ClassId_0
{

int field = 5;

public ClassId_0()
{
}

public int should_trigger_aois3( int param )
{
param *= field++;
return param;
}

public int should_trigger_aois4( int param )
{
param *= field;
return param;
}

public int should_trigger_aois3a( int param )
{
param = param * field;
return param;
}

public int should_trigger_aois4a( int param )
{
param = param * field;
return param;
}

}
Original file line number Diff line number Diff line change
@@ -0,0 +1,47 @@
// This is a mutant program.
// Author : ysma

import java.util.*;


/** @ContextInfo(
MutationOperatorGroup=AOIS
Before=field
After=field--
MutatedLine=-1
AstContext=null
)*/
public class ClassId_0
{

int field = 5;

public ClassId_0()
{
}

public int should_trigger_aois3( int param )
{
param *= field--;
return param;
}

public int should_trigger_aois4( int param )
{
param *= field;
return param;
}

public int should_trigger_aois3a( int param )
{
param = param * field;
return param;
}

public int should_trigger_aois4a( int param )
{
param = param * field;
return param;
}

}
Original file line number Diff line number Diff line change
@@ -0,0 +1,47 @@
// This is a mutant program.
// Author : ysma

import java.util.*;


/** @ContextInfo(
MutationOperatorGroup=AOIS
Before=param
After=--param
MutatedLine=-1
AstContext=null
)*/
public class ClassId_0
{

int field = 5;

public ClassId_0()
{
}

public int should_trigger_aois3( int param )
{
param *= field;
return param;
}

public int should_trigger_aois4( int param )
{
param *= field;
return param;
}

public int should_trigger_aois3a( int param )
{
param = --param * field;
return param;
}

public int should_trigger_aois4a( int param )
{
param = param * field;
return param;
}

}
Original file line number Diff line number Diff line change
@@ -0,0 +1,47 @@
// This is a mutant program.
// Author : ysma

import java.util.*;


/** @ContextInfo(
MutationOperatorGroup=AOIS
Before=param
After=param++
MutatedLine=-1
AstContext=null
)*/
public class ClassId_0
{

int field = 5;

public ClassId_0()
{
}

public int should_trigger_aois3( int param )
{
param *= field;
return param;
}

public int should_trigger_aois4( int param )
{
param *= field;
return param;
}

public int should_trigger_aois3a( int param )
{
param = param++ * field;
return param;
}

public int should_trigger_aois4a( int param )
{
param = param * field;
return param;
}

}
Original file line number Diff line number Diff line change
@@ -0,0 +1,47 @@
// This is a mutant program.
// Author : ysma

import java.util.*;


/** @ContextInfo(
MutationOperatorGroup=AOIS
Before=param
After=param--
MutatedLine=-1
AstContext=null
)*/
public class ClassId_0
{

int field = 5;

public ClassId_0()
{
}

public int should_trigger_aois3( int param )
{
param *= field;
return param;
}

public int should_trigger_aois4( int param )
{
param *= field;
return param;
}

public int should_trigger_aois3a( int param )
{
param = param-- * field;
return param;
}

public int should_trigger_aois4a( int param )
{
param = param * field;
return param;
}

}
Loading

0 comments on commit 47783d0

Please sign in to comment.