Project: psycopg2

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 1
Lines of code 625
Lines covered 296
Code coverage 47.36%
Code coverage report Report link
Static reachability 2.72%
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
psycopg2.pool.ThreadedConnectionPool.__init__ psycopg2.pool 61 0.0%
psycopg2.pool.ThreadedConnectionPool.getconn psycopg2.pool 60 0.0%
psycopg2.extras.execute_values psycopg2.extras 58 0.0%
psycopg2._range.RangeCaster._from_db psycopg2._range 57 5.882%
psycopg2.extras.register_composite psycopg2.extras 53 0.0%
psycopg2.extras.register_hstore psycopg2.extras 48 0.0%
psycopg2.extras.CompositeCaster._from_db psycopg2.extras 46 0.0%
psycopg2.pool.AbstractConnectionPool._connect psycopg2.pool 46 0.0%
psycopg2.connect psycopg2 40 0.0%
psycopg2.extras.ReplicationCursor.start_replication psycopg2.extras 34 0.0%