Project: pygments

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 2
Lines of code 12946
Lines covered 9328
Code coverage 72.05%
Code coverage report Report link
Static reachability 6.38%
Fuzz Introspector report Report link (from 2025-08-28)

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 747 0.0%
pygments.cmdline.main pygments.cmdline 747 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.lexers.robotframework.RobotFrameworkLexer.get_tokens_unprocessed pygments.lexers.robotframework 219 10.0%
pygments.lexers.robotframework.RowTokenizer.tokenize pygments.lexers.robotframework 200 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%