The impact of the problem on the analysis can be wrong links or missing links, due to wrong resolution.
- class A is defined in both files C:\Folder_One\A.java and C:\Folder_Two\A.java
- class B is defined in both files C:\Folder_One\B.java and C:\Folder_Two\B.java
- class B has a method bMethod referring to class A.
The analyzer will resolve with the first matching object encountered. The result will be the following :
- Both methods bMethod will have a link to the same class A (the one defined in folder Folder_One)
- No link to the second class A (the one defined in folder Folder_Two)
Functionally speaking this is not correct. We should have :
- Method bMethod from class B defined in folder FolderOne should have a link to class A defined in folder FolderOne
- Method bMethod from class B defined in folder FolderTwo should have a link to class A defined in folder FolderTwo
This is a limitation of the analyzer.