github / github/codeql-cli-binaries

Provide tools to analyze the files in a database.

Aperta
#13 2 commenti 1 reazione 0 assegnatari Vedi su GitHub
CLI enhancement
Lingua principale
Nessun dato sulla lingua
Stelle
1k
Fork
184
Metriche di merge delle PR
Nessuna PR unita negli ultimi 30g

Descrizione

Recently, I tried to use CodeQL to analyze my project, and all the steps succeeded without any warnings. However, after running some queries I realized that it was missing most of the files.

As a user, it would be nice to be able to list the files that are included in the database with just a command.

After talking with @adityasharad , he suggested using a simple query that just lists all the files:

```
/**
* @description "List all the files"
* @id debug.listfiles
* @kind problem
* @name list-files
* @tags maintanability
* @problem.severity recommendation
**/
import cpp

from File f
select f, "This file is in the repo"
```

It would be nice to have something like that built into the application.

Guida per i contributori

Apri la guida per i contributori

Direzione di ricerca

Start with the CodeQL CLI and the simple `debug.listfiles` query shown in the issue; compare its output with the files included in the database. Define a built-in command that lists those files and verify that it exposes files currently omitted from analysis.

Scritto dal modello di indicizzazione a partire dal testo della issue.

Valutazione

Stack tecnologico
cpp
Ambito
devtools
Tipo di issue
Funzionalità
Difficoltà
5/5
Tempo stimato
Più di una settimana
Stato di attività
Ferma
Chiarezza
Abbastanza chiara
Idoneità per principianti
30/100

Ricevi le nuove issue nella tua casella

Un breve riepilogo di issue GitHub adatte ai principianti.