aboutcode-org / aboutcode-org/scancode-toolkit

progress bar displays wrong results

Open
#3,344 2 comments 2 reactions 0 assignees View on GitHub
bug
Dominant language
Python
Stars
2.6k
Forks
791
Avg merge
1d 12h
Merged PRs (30d)
5

Description

### 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.

Contributor guide

Open the contributing guide

Assessment

This issue has not been assessed yet.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.