A method for executing a dynamically loaded program having a main program unit
includes executing the main unit a first time, creating at least one library file
containing only application program files loaded during the first execution, specifying
a system program file input and executing the main program unit a second time using
the system program file input and the at least one library file for dynamically
loaded program files. A method for optimizing a dynamically loaded program, the
program including a main program unit includes creating at least one library file
containing only application program files loaded during execution of the main program
unit and optimizing the program based upon a list of application program files
in the library file. A method for testing a dynamically loaded program, the program
including a main program unit includes specifying a list including at least one
application program file to be tested, creating at least one library file containing
only application program files loaded during execution of the main program unit
and indicating incomplete test coverage when at least one file in the list is not
represented in the library file.