Computer program code which is a candidate for Web enablement or stored
procedures is identified. Source code corresponding to computer program code is
scanned and parsed to determine static information concerning the computer program
code. The static information is stored in a database. Dynamic information concerning
the computer program code during an execution of the computer program code is also
collected and stored in the database. Responsive to the static information and
dynamic information stored in the database, relationships and dependencies are
then developed and stored in the database. The database may then be queried to
produce a set of potential candidates of computer program code meeting a constraint
of the query. If insufficient candidates are returned by the query, then the query
constraint may be relaxed, and the query repeated.