github / github/codeql

Python/JS: Running CodeQL CLI against large datasets

Offen
#9,675 2 Kommentare 0 Reaktionen 0 zugewiesene Personen Auf GitHub ansehen
question
Vorherrschende Sprache
CodeQL
Sterne
10.1k
Forks
2.1k
Ø Merge
2 T. 15 Std.
Gemergte PRs (30 T.)
141

Beschreibung

**Description of the issue**

I'm currently trying to use CodeQL CLI to run a fixed set of queries against a very large number of individual JavaScript and Python files. These files are completely independent of each other, and any dependency linkage between the individual files would be a false positive.

Currently, I am breaking these files out into folders of a certain size and running `database create` and `database analyze` against each folder. But this process is very inefficient and it seems like many steps are redundant.

**Question**
How can I make this process as efficient as possible? For example, is there a way to clear a dataset and repopulate it with new files?

Beitragsleitfaden

Beitragsleitfaden öffnen

Bewertung

Dieses Issue wurde noch nicht bewertet.

Neue Issues direkt in Ihr Postfach

Eine kurze Übersicht über anfängerfreundliche GitHub-Issues.