A Model for Evaluating the Vulnerability of Source Code from Its Architecture