aboutcode-org / aboutcode-org/scancode-toolkit

progress bar displays wrong results

Đang mở
#3,344 2 bình luận 2 reaction 0 người được giao Xem trên GitHub
bug
Ngôn ngữ chính
Python
Star
2.6k
Fork
791
Merge trung bình
1 ngày 12 giờ
Pull request đã merge (30 ngày)
5

Mô tả

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

Hướng dẫn đóng góp

Mở hướng dẫn đóng góp

Đánh giá

Issue này chưa được đánh giá.

Nhận issue mới trong hộp thư của bạn

Bản tóm tắt ngắn những issue GitHub phù hợp với người mới.