clonebench / BigCloneBench

108 stars 20 forks source link

how to use this dataset? #6

Open FlyGreyWolf opened 4 years ago

FlyGreyWolf commented 4 years ago

how to use this dataset?

YHX-X commented 2 years ago

how to use this dataset?

Hello, I encountered the same problem, bigclonebench.pgsql cannot be opened with pgadmin4, how did you open it? Looking forward to your reply, thank you

Xiaoven commented 5 months ago

I reached out to the BigCloneEval developers for assistance, and with their guidance, I successfully connected to the H2 database using the following command:

java -cp h2-*.jar org.h2.tools.Console -url "jdbc:h2:absolute_path_to/BigCloneEval/bigclonebenchdb/bcb" -user sa -password “"

where bcb is the database name (for absolute_path_to/BigCloneEval/bigclonebenchdb/bcb.h2.db)

The command will open a page as below:

image