Archive scanning

Hi. I have some questions about the AV component.
Does it scan archives that have been compressed multiple times (archive inside an archive inside an archive and so on) and how deep does it go?
What kind of archive types are supported?
And does the scanner recognise the archive type based on the file header or on the file ending?