aboutcode-org / aboutcode-org/scancode-toolkit

SCTK returns "C" rather than "C++" for the Primary Language of whisper.cpp

Open
#3,868 4 comments 0 reactions 1 assignee Claimed by @RajX-dev View on GitHub
bug
Dominant language
Python
Stars
2.6k
Forks
791
Avg merge
1d 12h
Merged PRs (30d)
5

Description

A recent scan of whisper.cpp-1.6.2.tar.gz from https://github.com/ggerganov/whisper.cpp/archive/refs/tags/v1.6.2.tar.gz returned a Primary Language of "C". (Scan results attached.) Given the name of the project, whisper.cpp, that seems very odd to me. Also please note that GitHub https://github.com/ggerganov/whisper.cpp/tree/v1.6.2 shows the following Language breakdown:
C++ 74.1%
C 16.2%
Cuda 4.4%
Metal 1.6%
Objective-C 1.5%
CMake 0.6%
Other 1.6%

This example alone is probably not a serious bug, but may be worth investigating.

[whisper.cpp-1.6.2.tar.gz_scan.zip](https://github.com/user-attachments/files/16354900/whisper.cpp-1.6.2.tar.gz_scan.zip)

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.