The PL/SQL User guide appendix E has some useful information on PL/SQL limits.

It suggests that the approximate limit on PL/SQL package spec, object type spec, standalone subprogram, or anonymous block is 6,000,000 lines of code.