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 18942
Lines covered 6520
Code coverage 34.42%
Code coverage report Report link
Static reachability 30.30%
Fuzz Introspector report Report link (from 2024-07-25)

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 1398 16.66%
black.main black 1392 0.0%
black.reformat_one black 1064 0.0%
black.reformat_code black 976 0.0%
black.format_file_in_place black 963 0.0%
black.format_stdin_to_stdout black 938 0.0%
...fuzz_format_filecontents.TestOneInput ...fuzz_format_filecontents 922 0.0%
...fuzz_raw_format_filecontents.TestOneInput ...fuzz_raw_format_filecontents 916 0.0%
black.format_file_contents black 907 0.0%
black.format_ipynb_string black 903 0.0%