Safe Delete Internal Subprogram

Description:  Refactoring to delete un-referenced internal subprograms.If the subprogram has only internal  references then delete the subprogram in all cases.If the particular subprogram happens to be the  only internal subprogram then remove the contains statement and any access statement.

State: Implemeted         Author:  Abhishek Sharma      Version:  Planned in Photran 7

Code Example:

program test
    y = 3
    j = 4

    stop
    contains

    subroutine dummy
    integer ::j   
    end subroutine

end program

    program test
    y = 3
    j = 4

    stop






end program

ScreenShots

                
 
HTML Comment Box is loading comments...