-
Notifications
You must be signed in to change notification settings - Fork 15
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
Use File_Level and Base_Feature with file granularity? #81
Comments
@clhunsen Could you please provide a short example? Then it would be easier for everyone to understand, I guess. It took me a few minutes to get the point... So, basically, we talk about splitting the However, for features, it is much more difficult, as we already have seen in previous work on call graphs some years ago. Here we had a lot of different splitting strategies (file-based, function-based, clustering functions into groups, ...). In the end, we should think whether a file-based splitting of the |
Right! Sorry for writing in a too confusing way. But you got the point. The same should basically apply for the Here, an example: When constructing artifact names for the vertices in the network, we augment the function data with the relative path of the file containing the current function (see Lines 1 and 2 of the table below, column project granularity).
The same holds analogously for the
I agree that it is easy to implement for the splitting strategy "file-based" (as you call it), for both |
When looking at the
File_Level
andBase_Feature
artifacts, we only look at them with project granularity, i.e., we do not distinguish the different instances by the very files they are changed in. But, in the Conway analysis, I have seen such differentiation of file and project granularity.Should we add a possibility for differentiation to the network configuration?
@ecklbarb, do you need that for your studies?
The corresponding code preventing the differentiation (for
File_Level
, at least) is the following: Here, we basically convert file granularity back to project granularity.https://github.com/se-passau/codeface-extraction-r/blob/a53d04c745add2e30cbfa0d06450485596ca071e/util-read.R#L80
The text was updated successfully, but these errors were encountered: