Lintian is a comprehensive package checker for Debian packages.

It tries to check for

It is maintained by the lintian team

The Lintian User manual is available online

Derivatives (Vendors) use it. this guide describes how to setup a Lintian vendor profile and have Lintian recognise the release name of the distro.