Template:Developers/Write a Report
From Gramps
A good way to learn the Gramps codebase is by writing a small report.
Reports are plugins that can be distributed separately as unofficial Addons/plugins; see Addons development.
Documentation for writing reports can be found in the Database API and Report API. There is also a Report writing tutorial and a technical description of report generation.