Book a Demo

Author Topic: Creating a code miner database  (Read 7842 times)

amyers

  • EA Novice
  • *
  • Posts: 4
  • Karma: +0/-0
    • View Profile
Creating a code miner database
« on: December 03, 2021, 01:14:18 am »
The documentation has information about telling EA where a code miner database is, but I can't find any information on how to actually create one from my codebase.  DuckDuckGo'ing for code miner doesn't turn up any relevant hits.
How do I create and maintain a database to use with code miner?
« Last Edit: December 03, 2021, 01:50:10 am by amyers »

amyers

  • EA Novice
  • *
  • Posts: 4
  • Karma: +0/-0
    • View Profile
Re: Creating a code miner database
« Reply #1 on: December 03, 2021, 04:00:03 am »
I have tried to create a database through the analyzer scripts interface, but it doesn't seem to have done anything except turn the text on the compile button gray.

Can't seem to attach a screenshot.  This is a Java project.  I selected "Use Directory" and "Process Subdirectories", Source is the top level of the project.  Set the path to the database.  Clicked compile.

amyers

  • EA Novice
  • *
  • Posts: 4
  • Karma: +0/-0
    • View Profile
Re: Creating a code miner database
« Reply #2 on: December 03, 2021, 04:08:42 am »
Huh, okay, tried a few more times, starting with smaller directories, and it worked.  Tried again with the whole project and now it's working.  :o