Project: black

Language python
OSS-Fuzz project link
Project repository 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 15273
Lines covered 5041
Code coverage 33.01%
Code coverage report Report link
Static reachability 30.51%
Fuzz Introspector report Report link (from 2025-09-27)

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 1436 16.66%
black.main black 1430 0.0%
black.reformat_one black 1101 0.0%
black.reformat_code black 1013 0.0%
black.format_file_in_place black 999 0.0%
black.format_stdin_to_stdout black 975 0.0%
...fuzz_format_filecontents.TestOneInput ...fuzz_format_filecontents 958 0.0%
...fuzz_raw_format_filecontents.TestOneInput ...fuzz_raw_format_filecontents 952 0.0%
black.format_file_contents black 943 0.0%
black.format_ipynb_string black 939 0.0%