aboutcode-org / aboutcode-org/scancode-toolkit

progress bar displays wrong results

Aperta
#3,344 2 commenti 2 reazioni 0 assegnatari Vedi su GitHub
bug
Lingua principale
Python
Stelle
2.6k
Fork
791
Merge medio
1g 12h
PR unite (30g)
5

Descrizione

### Description

I often see that the number of files in the progress bar does not match with the actual amount of files and directories:

```
Setup plugins...
Collect file inventory...
Scan files for: licenses with 8 process(es)...
[####################] 2556
Scanning done.
Summary: licenses with 8 process(es)
Errors count: 0
Scan Speed: 12.77 files/sec.
Initial counts: 1536 resource(s): 1278 file(s) and 258 directorie(s)
Final counts: 1536 resource(s): 1278 file(s) and 258 directorie(s)
```

1278 + 258 is not 2556. So either this is not the number of files that is being scanned (which makes no sense) or the counter is off.

Guida per i contributori

Apri la guida per i contributori

Valutazione

Questa issue non è ancora stata valutata.

Ricevi le nuove issue nella tua casella

Un breve riepilogo di issue GitHub adatte ai principianti.