SAMATE Logo NIST Logo The SAMATE Project Department of Homeland Security

View/Download Test Cases

Results: 160 test cases in 8 pages. Pages: 1 2 3 4 5 6 7 8
Go to page:

Select Test Case ID(up) Submission Date Language Type of Artifact Status Description Weakness Bad
Good
Mixed
1559032015-10-06JavaSource CodeCandidate This test takes in integer n. The program attempts to open n ...CWE-774: Allocation of File Descriptors or Handles Without Limits or Throttling
Bad test case
1558902015-10-06JavaSource CodeCandidate This test takes a string, gets the first character, and uses a ...CWE-674: Uncontrolled Recursion
Bad test case
1558872015-10-06JavaSource CodeCandidate This test takes a number as input and calculates it's factorialiCWE-400: Uncontrolled Resource Consumption ('Resource Exhaustion')
Bad test case
1558622015-10-06JavaSource CodeCandidate This test takes a number as input and calculates it's factorialiCWE-400: Uncontrolled Resource Consumption ('Resource Exhaustion')
Bad test case
1558352015-10-06JavaSource CodeCandidate This test takes a number and attempts to determine whether it is ...CWE-834: Excessive Iteration
Bad test case
1558312015-10-06JavaSource CodeCandidate This test takes in an integer n. The integer represents the ...CWE-400: Uncontrolled Resource Consumption ('Resource Exhaustion')
Bad test case
1558032015-10-06JavaSource CodeCandidate This test takes in integer n. The program attempts to open n ...CWE-774: Allocation of File Descriptors or Handles Without Limits or Throttling
Bad test case
1557662015-10-06JavaSource CodeCandidate This test takes a string, gets the first character, and uses a ...CWE-674: Uncontrolled Recursion
Bad test case
1557632015-10-06JavaSource CodeCandidate This test takes a number as input and calculates it's factorialiCWE-400: Uncontrolled Resource Consumption ('Resource Exhaustion')
Bad test case
1557562015-10-06JavaSource CodeCandidate This test takes a string, gets the first character, and uses a ...CWE-674: Uncontrolled Recursion
Bad test case
1557142015-10-06JavaSource CodeCandidate This test takes a number from the user, and attempts to ...CWE-789: Uncontrolled Memory Allocation
Bad test case
1557092015-10-06JavaSource CodeCandidate This test takes in an integer n. The integer represents the ...CWE-400: Uncontrolled Resource Consumption ('Resource Exhaustion')
Bad test case
1556772015-10-06JavaSource CodeCandidate This test takes in integer n. The program attempts to open n ...CWE-774: Allocation of File Descriptors or Handles Without Limits or Throttling
Bad test case
1556652015-10-06JavaSource CodeCandidate This test takes a string, and reads through the string, printing outeCWE-835: Loop with Unreachable Exit Condition ('Infinite Loop')
Bad test case
1556562015-10-06JavaSource CodeCandidate This test takes in an integer n. It creates n temporary files ...CWE-459: Incomplete Cleanup
Bad test case
1556332015-10-06JavaSource CodeCandidate This test takes in integer n. The program attempts to open n ...CWE-774: Allocation of File Descriptors or Handles Without Limits or Throttling
Bad test case
1556292015-10-06JavaSource CodeCandidate This test takes a number from the user, and attempts to ...CWE-789: Uncontrolled Memory Allocation
Bad test case
1555522015-10-06JavaSource CodeCandidate This test takes in integer n. The program attempts to open n ...CWE-774: Allocation of File Descriptors or Handles Without Limits or Throttling
Bad test case
1555382015-10-06JavaSource CodeCandidate This test takes a string, and reads through the string, printing outeCWE-835: Loop with Unreachable Exit Condition ('Infinite Loop')
Bad test case
1554862015-10-06JavaSource CodeCandidate This test takes in an integer n. It creates n temporary files ...CWE-459: Incomplete Cleanup
Bad test case
1 2 3 4 5 6 7 8
Total of selected test cases: 160
Total pages: 8