Logical operators should be avoided
Files should not be executable
The EntityManager should not be flushed within a loop