Project: black

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 3
Lines of code 18193
Lines covered 6192
Code coverage 34.04%
Code coverage report Report link
Static reachability 31.32%
Fuzz Introspector report Report link (from 2024-04-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
black.patched_main black 1404 16.66%
black.main black 1398 0.0%
black.reformat_one black 1070 0.0%
black.reformat_code black 982 0.0%
black.format_file_in_place black 969 0.0%
black.format_stdin_to_stdout black 944 0.0%
...fuzz_format_filecontents.TestOneInput ...fuzz_format_filecontents 928 0.0%
...fuzz_raw_format_filecontents.TestOneInput ...fuzz_raw_format_filecontents 922 0.0%
black.format_ipynb_string black 909 0.0%
black.format_cell black 886 0.0%