If the missing link is between an aspx page and vb.net class:
The web part of the project is analyzed before the data layer and hence the links are missing.
In the above screen shot link is expected between rpt1_ItemDataBound to getJobVoteData_Appt, we can see that there is no link between the two because the problem comes from the fact that the dependency from CampaignManager.Web (rpt1_ItemDataBound) toward CampaignManager.Data (getJobVoteData_Appt) is a project reference. If it is replaced by an assembly reference then the link will appear after a reanalysis. When there is a dependency between 2 analyzed projects, then it should be an assembly reference instead of a project reference, otherwise some links between objects of these projects could be missing. This is a limitation of the analyzer. This issue has been fixed in 7.3.6.
If the missing link is between two .Net methods
Check if the called method parameters are resolved
The StartImportation method is calling the CloseGlobalConnection method, and we can see here that there is no link between the two. This can be due to the fact that a method parameter has not been resolved by the analyzer. Here is the definition of the CloseGlobalConnection method:
public static void CloseGlobalConnection(IDataConnection conn, string connId = "")
Check in the analysis log file for warnings such as :
For VB: error BC30002: Type ' IDataConnection' is not defined.
For C#: error CS0246: The type or namespace name ' IDataConnection ' could not be found (are you missing a using directive or an assembly reference?)
If you have any warning like this one in the project you are analyzing, it confirms that the parameter was not resolved. Because of a missing file, missing assembly, or missing dependency in configuration.