SAMATE Logo NIST Logo The SAMATE Project Department of Homeland Security

View/Download Test Cases

Results: 476 test cases in 24 pages. Pages: First << ... 12 13 14 15 16 17 18 19 20 ... >> Last
Go to page:

Select Test Case ID(down) Submission Date Language Type of Artifact Status Description Weakness Bad
Good
Mixed
1558542015-10-06JavaSource CodeCandidate This test takes in an integer n. It creates n temporary files ...CWE-459: Incomplete Cleanup
Bad test case
1558562015-10-06JavaSource CodeCandidate This test takes in an integer n. The integer represents the ...CWE-400: Uncontrolled Resource Consumption ('Resource Exhaustion')
Bad test case
1558722015-10-06JavaSource CodeCandidate This test takes a number as input and calculates it's factorialiCWE-400: Uncontrolled Resource Consumption ('Resource Exhaustion')
Bad test case
1558852015-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
1558912015-10-06JavaSource CodeCandidate This test takes a number and attempts to determine whether it is ...CWE-834: Excessive Iteration
Bad test case
1558922015-10-06JavaSource CodeCandidate This test takes in an integer n. The integer represents the ...CWE-400: Uncontrolled Resource Consumption ('Resource Exhaustion')
Bad test case
1558952015-10-06JavaSource CodeCandidate This test takes a string, gets the first character, and uses a ...CWE-674: Uncontrolled Recursion
Bad test case
1559122015-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
1559292015-10-06JavaSource CodeCandidate This test takes a string, gets the first character, and uses a ...CWE-674: Uncontrolled Recursion
Bad test case
1559412015-10-06JavaSource CodeCandidate This test takes in an integer n. It creates n temporary files ...CWE-459: Incomplete Cleanup
Bad test case
1559432015-10-06JavaSource CodeCandidate This test takes in an integer n. It creates n temporary files ...CWE-459: Incomplete Cleanup
Bad test case
1559442015-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
1559452015-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
1559462015-10-06JavaSource CodeCandidate This test takes a number and attempts to determine whether it is ...CWE-834: Excessive Iteration
Bad test case
1559632015-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
1559772015-10-06JavaSource CodeCandidate This test takes a string, gets the first character, and uses a ...CWE-674: Uncontrolled Recursion
Bad test case
1559922015-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
1560162015-10-06JavaSource CodeCandidate This test creates a connection to the MySQL database,. and ...CWE-089: Improper Neutralization of Special Elements used in an SQL Command ('SQL Injection')
Bad test case
1560302015-10-06JavaSource CodeCandidate This test creates a connection to the PGSQL database,. and ...CWE-089: Improper Neutralization of Special Elements used in an SQL Command ('SQL Injection')
Bad test case
1560342015-10-06JavaSource CodeCandidate This test creates a connection to the PGSQL database,. and ...CWE-089: Improper Neutralization of Special Elements used in an SQL Command ('SQL Injection')
Bad test case
First << ... 12 13 14 15 16 17 18 19 20 ... >> Last
Total of selected test cases: 476
Total pages: 24

Contact: :: Created: Jan. 2006 :: Updated: Nov. 2017 :: Version: 4.9