Project: chardet

Language python
OSS-Fuzz project link
Build status: Fuzzers succeeding: Build log
Build status: Code coverage succeeding: Build log
Build status: Fuzz Introspector succeeding: Build log
Fuzzer count 1
Lines of code 1533
Lines covered 1432
Code coverage 93.41%
Code coverage report Report link
Static reachability 37.60%
Fuzz Introspector report Report link (from 2024-05-20)

Historical progression

Functions of interest to fuzz

This section outlines functions that may be of interest to fuzz. They are based on ranking functions that have a lot of complexity but currently exhibit low code coverage. The complexity is calculated based on the function itself as well as the functions called by the given function, i.e. the tree of code that the function triggers.


This is only a minor amount of introspection information available for this project. Please consult the Fuzz Introspector report for more information, e.g. the introspection table of all functions in the target project available here.

Function name Function source file Accumulated cyclomatic complexity Code coverage
chardet.cli.chardetect.main chardet.cli.chardetect 272 0.0%
chardet.detect_all chardet 271 0.0%
chardet.detect chardet 251 0.0%
chardet.metadata.languages.Language.__repr__ chardet.metadata.languages 6 0.0%
chardet.universaldetector.UniversalDetector.input_state chardet.universaldetector 3 0.0%
chardet.universaldetector.UniversalDetector.has_win_bytes chardet.universaldetector 3 0.0%
chardet.universaldetector.UniversalDetector.charset_probers chardet.universaldetector 3 0.0%
chardet.utf1632prober.UTF1632Prober.language chardet.utf1632prober 3 0.0%
chardet.jpcntx.JapaneseContextAnalysis.get_order chardet.jpcntx 3 0.0%
chardet.chardistribution.CharDistributionAnalysis.get_order chardet.chardistribution 3 0.0%