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 14587
Lines covered 11270
Code coverage 77.26%
Code coverage report Report link
Static reachability 6.62%
Fuzz Introspector report Report link (from 2024-09-06)

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 793 0.0%
pygments.cmdline.main <builtin> 773 0.0%
pygments.formatters.img.ImageFormatter.__init__ pygments.formatters.img 186 0.0%
pygments.sphinxext.PygmentsDoc.run pygments.sphinxext 142 0.0%
pygments.lexers.make.MakefileLexer.get_tokens_unprocessed pygments.lexers.make 131 0.0%
pygments.lexers.fortran.FortranFixedLexer._lex_fortran pygments.lexers.fortran 117 14.28%
pygments.lexers.modula2.Modula2Lexer.get_tokens_unprocessed pygments.lexers.modula2 111 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%
pygments.lexers.markup.WikitextLexer.handle_syntaxhighlight pygments.lexers.markup 102 0.0%