Project: pygments

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 2
Lines of code 12435
Lines covered 8858
Code coverage 71.23%
Code coverage report Report link
Static reachability 7.28%
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
pygments.cmdline.main_inner pygments.cmdline 771 0.0%
pygments.cmdline.main pygments.cmdline 751 0.0%
pygments.highlight pygments 340 0.0%
pygments.lex pygments 315 0.0%
pygments.lexer.Lexer.get_tokens pygments.lexer 309 0.0%
pygments.lexer.Lexer.get_tokens.streamer pygments.lexer 260 0.0%
pygments.formatters.html.HtmlFormatter.format_unencoded pygments.formatters.html 192 0.0%
pygments.formatters.img.ImageFormatter.__init__ pygments.formatters.img 186 0.0%
pygments.lexers.robotframework.RobotFrameworkLexer.get_tokens_unprocessed pygments.lexers.robotframework 168 10.0%
pygments.lexers.robotframework._Table._tokenize pygments.lexers.robotframework 148 0.0%