I have a system which reads strings from the parameters of a GET request, then parses and sends the data along through a very large and complex codebase, which I can't reasonably wrap my head around. These parameters were originally generated from integers at the client, so at it would have been valid to parse these string parameters into ints, since the business rules guaranteed this.
The client has been changed to build URLs with strings and ints for GET parameters.
Can anyone suggest a method for browsing through all execution paths of a code base and finding out if these string parameters are ever parsed to ints? Would this be an appropriate application for reflection? Although I know there probably is no bullet proof way to do this, solutions that cover the majority of cases would be wonderful.
I am programming VB.NET/C# and .NET4