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 14583
Lines covered 11269
Code coverage 77.27%
Code coverage report Report link
Static reachability 7.23%
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
pygments.cmdline.main_inner pygments.cmdline 790 0.0%
pygments.cmdline.main pygments.cmdline 770 0.0%
pygments.formatters.img.ImageFormatter.__init__ pygments.formatters.img 186 0.0%
pygments.lexers.make.MakefileLexer.get_tokens_unprocessed pygments.lexers.make 156 0.0%
pygments.sphinxext.PygmentsDoc.run pygments.sphinxext 142 0.0%
pygments.lexers.modula2.Modula2Lexer.get_tokens_unprocessed pygments.lexers.modula2 142 0.0%
pygments.lexers.fortran.FortranFixedLexer._lex_fortran pygments.lexers.fortran 142 14.28%
pygments.lexers.markup.WikitextLexer.handle_syntaxhighlight pygments.lexers.markup 133 0.0%
pygments.lexers._postgres_builtins.update_myself pygments.lexers._postgres_builtins 111 0.0%
pygments.lexers.textfmts.NotmuchLexer._highlight_code pygments.lexers.textfmts 108 11.11%