Enabled code rating and duplication detection