github / github/codeql-cli-binaries

Provide tools to analyze the files in a database.

Ouverte
#13 2 commentaires 1 réaction 0 personnes assignées Voir sur GitHub
CLI enhancement
Langage dominant
Aucune donnée de langage
Étoiles
1k
Forks
184
Métriques de merge des PR
Aucune PR mergée en 30 j

Description

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.

Guide de contribution

Ouvrir le guide de contribution

Piste de recherche

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.

Rédigé par le modèle d'indexation à partir du texte de l'issue.

Évaluation

Stack technique
cpp
Domaine
devtools
Type d'issue
Fonctionnalité
Difficulté
5/5
Temps estimé
Plus d'une semaine
Activité
À l'abandon
Clarté
Plutôt claire
Accessibilité débutants
30/100

Recevez les nouvelles issues par e-mail

Un résumé court des issues GitHub adaptées aux débutants.