Tag code dependency mapping