Project: pyyaml

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 3732
Lines covered 2888
Code coverage 77.38%
Code coverage report Report link
Static reachability 4.47%
Fuzz Introspector report Report link (from 2025-07-23)

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
yaml.scanner.Scanner.check_token yaml.scanner 303 0.0%
yaml.scanner.Scanner.peek_token yaml.scanner 299 0.0%
yaml.scanner.Scanner.get_token yaml.scanner 299 0.0%
yaml.scanner.Scanner.fetch_more_tokens yaml.scanner 289 0.0%
yaml.emitter.Emitter.emit yaml.emitter 264 0.0%
yaml.emitter.Emitter.expect_first_block_mapping_key yaml.emitter 185 0.0%
yaml.emitter.Emitter.expect_flow_mapping_key yaml.emitter 183 0.0%
yaml.emitter.Emitter.expect_first_flow_mapping_key yaml.emitter 182 0.0%
yaml.emitter.Emitter.expect_block_mapping_key yaml.emitter 182 0.0%
yaml.emitter.Emitter.expect_first_block_sequence_item yaml.emitter 179 0.0%