Flay doesn't report Identical code
bundle exec flay
doesn't report when identical code is found, as it only checks if the output of the command matches 'Similar code found' but should also check for 'IDENTICAL code found'
Current offences:
1) IDENTICAL code found in :module (mass*2 = 2884)
lib/gitlab/background_migration/normalize_ldap_extern_uids_range.rb:19
lib/gitlab/ldap/dn.rb:23
2) IDENTICAL code found in :defn (mass*2 = 252)
app/models/clusters/platforms/kubernetes.rb:57
app/models/project_services/kubernetes_service.rb:106
Spotted in: https://gitlab.com/gitlab-org/gitlab-ce/-/jobs/50325786
cc @rymai @dosuken123