USAGE OF TOOL
This automated tool is used to recognize decision statements of programming languages and categorize them into the following
The user of this tool will have to decide on which program this tool has to be executed. Then the tool will work on the program decided by the user to recognize the decision statements and categorize them and gives a count of the number of decision statements encountered in the program.
The result will be
The Total number of Simple If-Then Statements Encountered :
The Total number of Nested If-Then Statements Encountered :
The Total Number of Case Statements Encountered :
The Total Number of Switch Statements Encountered :
The tool will also categorize the CASE statements into
The number of CASE statements having break statements :
The number of CASE statements not having break statements :
The tool will prompt the user asking him if he needs the test cases for the Decision Statements encountered to be generated.
If the user decides that he wants the tool to generate test cases the tool will generate the test cases and write it to sequential file PROJECT3.OUT