Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Add package/folder derived relations between files #25

Open
h0bb3 opened this issue Apr 5, 2021 · 3 comments
Open

Add package/folder derived relations between files #25

h0bb3 opened this issue Apr 5, 2021 · 3 comments
Labels
enhancement New feature or request

Comments

@h0bb3
Copy link
Owner

h0bb3 commented Apr 5, 2021

The physical relations between files are actually missing. We could add relations reflecting this i.e:

pysical_horizontal: between files in the same directory
pysical_vertical: for files in the same parent-child directory

as folder structure is often an important part of the mapping there is a fair chance that this will improve the performance of both CDA and HuGMe

@h0bb3 h0bb3 added the enhancement New feature or request label Apr 5, 2021
@h0bb3
Copy link
Owner Author

h0bb3 commented Apr 5, 2021

possibly also add physical_defined_in for c++ like file pairs i.e. .cpp - .h

@h0bb3
Copy link
Owner Author

h0bb3 commented Apr 6, 2021

one should note that such dependencies are not part of the violations computation in for example HuGMe

@h0bb3
Copy link
Owner Author

h0bb3 commented Apr 8, 2021

working on this and results seem promising. Red is original countAttract, green is countAttract with the physical dependencies (file dependencies), blue is naive bayes using CDA, file names and architecture keywords
image

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request
Projects
None yet
Development

No branches or pull requests

1 participant