CPC G06F 8/71 (2013.01) [G06F 8/30 (2013.01); G06F 11/3636 (2013.01)] | 17 Claims |
1. A system comprising:
a storage device storing a code artifact; and
a processor to execute processor-executable program code stored on the storage device to cause the system to:
identify the code artifact;
determine logical entities of the code artifact;
determine references between the logical entities of the code artifact;
based on the determined references, identify at least one non-referenced method of the code artifact, where the at least one non-referenced method is referenced by no logical entities of the code artifact;
identify at least one non-executed method of the at least one non-referenced method which was not executed by a production system, by searching a code execution trace for each of the at least one non-referenced method; and
automatically modify the code artifact to remove the at least one non-executed method of the at least one non-referenced method.
|