SAMATE Logo NIST Logo The SAMATE Project Department of Homeland Security

View/Download Test Cases

Test Suite #104: ITC-Benchmarks

Results: 100 test cases in 5 pages. Pages: 1 2 3 4 5
Go to page:

Select Test Case ID(up) Submission Date Language Type of Artifact Status Description Weakness Bad
Good
Mixed
1993302016-07-22CSource CodeCandidate Defect Type: Numerical defects. Defect Sub-type: Division by ...CWE-369: Divide By Zero
CWE-476: NULL Pointer Dereference
Good test case
1993292016-07-22CSource CodeCandidate Defect Type: Numerical defects. Defect Sub-type: Division by ...CWE-369: Divide By Zero
CWE-476: NULL Pointer Dereference
Bad test case
1993282016-07-22CSource CodeCandidate Defect Type: Pointer related defects. Defect Sub-type: ...CWE-476: NULL Pointer Dereference
CWE-561: Dead Code
CWE-628: Function Call with Incorrectly Specified Arguments
CWE-685: Function Call With Incorrect Number of Arguments
CWE-686: Function Call With Incorrect Argument Type
Good test case
1993272016-07-22CSource CodeCandidate Defect Type: Pointer related defects. Defect Sub-type: ...CWE-476: NULL Pointer Dereference
CWE-561: Dead Code
CWE-628: Function Call with Incorrectly Specified Arguments
CWE-685: Function Call With Incorrect Number of Arguments
CWE-686: Function Call With Incorrect Argument Type
Bad test case
1993262016-07-22CSource CodeCandidate Defect Type: Inappropriate code. Defect Sub-type: Unused ...CWE-563: Assignment to Variable without Use ('Unused Variable')
Good test case
1993252016-07-22CSource CodeCandidate Defect Type: Inappropriate code. Defect Sub-type: Unused ...CWE-563: Assignment to Variable without Use ('Unused Variable')
Bad test case
1993242016-07-22CSource CodeCandidate Defect Type: Concurrency defects. Defect Sub-type: Unlock ...CWE-832: Unlock of a Resource that is not Locked
Good test case
1993232016-07-22CSource CodeCandidate Defect Type: Concurrency defects. Defect Sub-type: Unlock ...CWE-413: Improper Resource Locking
CWE-832: Unlock of a Resource that is not Locked
Bad test case
1993222016-07-22CSource CodeCandidate Defect Type: Misc defects. Defect Sub-type: Uninitialized ...CWE-457: Use of Uninitialized Variable
CWE-561: Dead Code
Good test case
1993212016-07-22CSource CodeCandidate Defect Type: Misc defects. Defect Sub-type: Uninitialized ...CWE-457: Use of Uninitialized Variable
CWE-561: Dead Code
Bad test case
1993202016-07-22CSource CodeCandidate Defect Type: Pointer related defects. Defect Sub-type: UninitializedpCWE-476: NULL Pointer Dereference
CWE-824: Access of Uninitialized Pointer
Good test case
1993192016-07-22CSource CodeCandidate Defect Type: Pointer related defects. Defect Sub-type: UninitializedpCWE-476: NULL Pointer Dereference
CWE-824: Access of Uninitialized Pointer
Bad test case
1993182016-07-22CSource CodeCandidate Defect Type: Resource management defects. Defect Sub-type: ...CWE-457: Use of Uninitialized Variable
CWE-476: NULL Pointer Dereference
CWE-561: Dead Code
Good test case
1993172016-07-22CSource CodeCandidate Defect Type: Resource management defects. Defect Sub-type: ...CWE-457: Use of Uninitialized Variable
CWE-465: Pointer Issues
CWE-476: NULL Pointer Dereference
CWE-824: Access of Uninitialized Pointer
Bad test case
1993162016-07-22CSource CodeCandidate Defect Type: Static memory defects. Defect Sub-type: Static ...CWE-124: Buffer Underwrite ('Buffer Underflow')
Good test case
1993152016-07-22CSource CodeCandidate Defect Type: Static memory defects. Defect Sub-type: Static ...CWE-124: Buffer Underwrite ('Buffer Underflow')
Bad test case
1993142016-07-22CSource CodeCandidate Defect Type: Stack related defects. Defect Sub-type: Stack underrun.DCWE-121: Stack-based Buffer Overflow
CWE-124: Buffer Underwrite ('Buffer Underflow')
Good test case
1993132016-07-22CSource CodeCandidate Defect Type: Stack related defects. Defect Sub-type: Stack underrun..CWE-121: Stack-based Buffer Overflow
CWE-124: Buffer Underwrite ('Buffer Underflow')
CWE-561: Dead Code
CWE-835: Loop with Unreachable Exit Condition ('Infinite Loop')
Bad test case
1993122016-07-22CSource CodeCandidate Defect Type: Stack related defects. Defect Sub-type: Stack overflow.DCWE-398: Indicator of Poor Code Quality
Good test case
1993112016-07-22CSource CodeCandidate Defect Type: Stack related defects. Defect Sub-type: Stack overflow. CWE-398: Indicator of Poor Code Quality
Bad test case
1 2 3 4 5
Total of selected test cases: 100
Total pages: 5