Integrate vulnerability

integrate the vulnerability visualization applications 
why? I do not see an advantage to moving <needed args> into a function that is outside of the if statement?