Remove block detector to reduce UnusedCode
Remove comparaison of same line index in file to reduce UnusedCode
Remove dead branches to reduce UnusedCode