shy942 / QueryReformulation

A bug localization technique that applies historical data and query reformulation.
http://homepage.usask.ca/~shy942/queryreform
0 stars 0 forks source link

File can not be found #6

Open shy942 opened 8 years ago

shy942 commented 8 years ago

During inspecting change sets collected from git, I can see that many files do not exist in the corpus i.e., in the project's source code directory. I also could not find them on online git repository of that project. Do you have any idea why is this happening?

masud-technope commented 8 years ago

Are they selected during commit? On Sep 3, 2016 9:48 AM, "Shamima Yeasmin" notifications@github.com wrote:

During inspecting change sets collected from git, I can see that many files do not exist in the corpus i.e., in the project's source code directory. I also could not find them on online git repository of that project. Do you have any idea why is this happening?

— You are receiving this because you are subscribed to this thread. Reply to this email directly, view it on GitHub https://github.com/shy942/QueryReformulation/issues/6, or mute the thread https://github.com/notifications/unsubscribe-auth/ABxFpHf4x8H-pXkfyxs53io6XPHmzRn5ks5qmNHzgaJpZM4J0Mk6 .

shy942 commented 8 years ago

Hmm I extracted them from commit message. I am going to show you an example.

shy942 commented 8 years ago

For example, from git commit messages I can see Bug ID #204304 has change sets which contain this file bundles/org.eclipse.ui.workbench/Eclipse UI/org/eclipse/ui/internal/QuitAction.java. But when I am going through project repo then I can see that such file does not exist. I have no idea what is happening here.

masud-technope commented 8 years ago

It can happen because some later commits might have deleted that file. You have to discard such files from the gold changeset for a fair experiment. Now, if some testcase does not contain any existing file, you have to discard the testcase as well.

shy942 commented 8 years ago

Thank you. I am going to do this.

On Sat, Sep 3, 2016 at 2:48 AM, Masud Rahman notifications@github.com wrote:

It can happen because some later commits might have deleted that file. You have to discard such files from the gold changeset for a fair experiment. Now, if some testcase does not contain any existing file, you have to discard the testcase as well.

— You are receiving this because you authored the thread. Reply to this email directly, view it on GitHub https://github.com/shy942/QueryReformulation/issues/6#issuecomment-244535194, or mute the thread https://github.com/notifications/unsubscribe-auth/AI1Q-w6FsZVLd3UtRTVbZF6gQzrWP--Eks5qmTR7gaJpZM4J0Mk6 .

Shamima Yeasmin Ph.D Student Department of Computer Science University of Saskatchewan