Juliet Java 1.3 with extra support Test suite #109
DownloadDescription
A collection of Java test cases updated from Juliet 1.2
Documentation
Displaying test cases 20926 - 20950 of 28881 in total
-
CWE: 789 Uncontrolled Memory Allocation BadSource: random Set data to a random value GoodSource: A hardcoded non-zero, non-min, non-max, even number BadSink: ArrayList Create an ArrayList using data as the initial size Flow Variant: 14 Control flow: if(IO.staticFive==5) and if(IO.staticFive!=5)
-
CWE: 789 Uncontrolled Memory Allocation BadSource: random Set data to a random value GoodSource: A hardcoded non-zero, non-min, non-max, even number BadSink: ArrayList Create an ArrayList using data as the initial size Flow Variant: 15 Control flow: switch(6)
-
CWE: 789 Uncontrolled Memory Allocation BadSource: random Set data to a random value GoodSource: A hardcoded non-zero, non-min, non-max, even number BadSink: ArrayList Create an ArrayList using data as the initial size Flow Variant: 16 Control flow: while(true)
-
CWE: 789 Uncontrolled Memory Allocation BadSource: random Set data to a random value GoodSource: A hardcoded non-zero, non-min, non-max, even number BadSink: ArrayList Create an ArrayList using data as the initial size Flow Variant: 17 Control flow: for loops
-
CWE: 789 Uncontrolled Memory Allocation BadSource: random Set data to a random value GoodSource: A hardcoded non-zero, non-min, non-max, even number Sinks: ArrayList BadSink : Create an ArrayList using data as the initial size Flow Variant: 21 Control flow: Flow controlled by value of a priv...
-
CWE: 789 Uncontrolled Memory Allocation BadSource: random Set data to a random value GoodSource: A hardcoded non-zero, non-min, non-max, even number Sinks: ArrayList BadSink : Create an ArrayList using data as the initial size Flow Variant: 22 Control flow: Flow controlled by value of a publ...
-
CWE: 789 Uncontrolled Memory Allocation BadSource: random Set data to a random value GoodSource: A hardcoded non-zero, non-min, non-max, even number Sinks: ArrayList BadSink : Create an ArrayList using data as the initial size Flow Variant: 31 Data flow: make a copy of data within the same m...
-
CWE: 789 Uncontrolled Memory Allocation BadSource: random Set data to a random value GoodSource: A hardcoded non-zero, non-min, non-max, even number BadSink: ArrayList Create an ArrayList using data as the initial size Flow Variant: 41 Data flow: data passed as an argument from one method to ...
-
CWE: 789 Uncontrolled Memory Allocation BadSource: random Set data to a random value GoodSource: A hardcoded non-zero, non-min, non-max, even number BadSink: ArrayList Create an ArrayList using data as the initial size Flow Variant: 42 Data flow: data returned from one method to another in th...
-
CWE: 789 Uncontrolled Memory Allocation BadSource: random Set data to a random value GoodSource: A hardcoded non-zero, non-min, non-max, even number Sinks: ArrayList BadSink : Create an ArrayList using data as the initial size Flow Variant: 45 Data flow: data passed as a private class member...
-
CWE: 789 Uncontrolled Memory Allocation BadSource: random Set data to a random value GoodSource: A hardcoded non-zero, non-min, non-max, even number BadSink: ArrayList Create an ArrayList using data as the initial size Flow Variant: 51 Data flow: data passed as an argument from one function t...
-
CWE: 789 Uncontrolled Memory Allocation BadSource: random Set data to a random value GoodSource: A hardcoded non-zero, non-min, non-max, even number Sinks: ArrayList BadSink : Create an ArrayList using data as the initial size Flow Variant: 52 Data flow: data passed as an argument from one m...
-
CWE: 789 Uncontrolled Memory Allocation BadSource: random Set data to a random value GoodSource: A hardcoded non-zero, non-min, non-max, even number Sinks: ArrayList BadSink : Create an ArrayList using data as the initial size Flow Variant: 53 Data flow: data passed as an argument from one m...
-
CWE: 789 Uncontrolled Memory Allocation BadSource: random Set data to a random value GoodSource: A hardcoded non-zero, non-min, non-max, even number Sinks: ArrayList BadSink : Create an ArrayList using data as the initial size Flow Variant: 54 Data flow: data passed as an argument from one m...
-
CWE: 789 Uncontrolled Memory Allocation BadSource: random Set data to a random value GoodSource: A hardcoded non-zero, non-min, non-max, even number Sinks: ArrayList BadSink : Create an ArrayList using data as the initial size Flow Variant: 61 Data flow: data returned from one method to anot...
-
CWE: 789 Uncontrolled Memory Allocation BadSource: random Set data to a random value GoodSource: A hardcoded non-zero, non-min, non-max, even number Sinks: ArrayList BadSink : Create an ArrayList using data as the initial size Flow Variant: 66 Data flow: data passed in an array from one meth...
-
CWE: 789 Uncontrolled Memory Allocation BadSource: random Set data to a random value GoodSource: A hardcoded non-zero, non-min, non-max, even number Sinks: ArrayList BadSink : Create an ArrayList using data as the initial size Flow Variant: 67 Data flow: data passed in a class from one metho...
-
CWE: 789 Uncontrolled Memory Allocation BadSource: random Set data to a random value GoodSource: A hardcoded non-zero, non-min, non-max, even number BadSink: ArrayList Create an ArrayList using data as the initial size Flow Variant: 68 Data flow: data passed as a member variable in the a clas...
-
CWE: 789 Uncontrolled Memory Allocation BadSource: random Set data to a random value GoodSource: A hardcoded non-zero, non-min, non-max, even number Sinks: ArrayList BadSink : Create an ArrayList using data as the initial size Flow Variant: 71 Data flow: data passed as an Object reference ar...
-
CWE: 789 Uncontrolled Memory Allocation BadSource: random Set data to a random value GoodSource: A hardcoded non-zero, non-min, non-max, even number Sinks: ArrayList BadSink : Create an ArrayList using data as the initial size Flow Variant: 72 Data flow: data passed in a Vector from one meth...
-
CWE: 789 Uncontrolled Memory Allocation BadSource: random Set data to a random value GoodSource: A hardcoded non-zero, non-min, non-max, even number Sinks: ArrayList BadSink : Create an ArrayList using data as the initial size Flow Variant: 73 Data flow: data passed in a LinkedList from one ...
-
CWE: 789 Uncontrolled Memory Allocation BadSource: random Set data to a random value GoodSource: A hardcoded non-zero, non-min, non-max, even number Sinks: ArrayList BadSink : Create an ArrayList using data as the initial size Flow Variant: 74 Data flow: data passed in a HashMap from one met...
-
CWE: 789 Uncontrolled Memory Allocation BadSource: random Set data to a random value GoodSource: A hardcoded non-zero, non-min, non-max, even number Sinks: ArrayList BadSink : Create an ArrayList using data as the initial size Flow Variant: 75 Data flow: data passed in a serialized object fr...
-
CWE: 789 Uncontrolled Memory Allocation BadSource: random Set data to a random value GoodSource: A hardcoded non-zero, non-min, non-max, even number Sinks: ArrayList BadSink : Create an ArrayList using data as the initial size Flow Variant: 81 Data flow: data passed in a parameter to an abst...
-
CWE: 789 Uncontrolled Memory Allocation BadSource: random Set data to a random value GoodSource: A hardcoded non-zero, non-min, non-max, even number BadSink: HashMap Create a HashMap using data as the initial size Flow Variant: 01 Baseline