1. 20
  1.  

  2. 5

    Yep definitely. Especially non breaking operations like whitespace fixing, and factoring out magic numbers should be encouraged. Programmers shouldn’t even have to think should I or shouldn’t i? It should just be automatic. Potentially breaking changes such as splitting up large functions, factoring out duplicated code and simplifying functions should be performed too after setting up unit tests as they help any programmer maintain the code in the future and that is where the majority of time is spent. Anyone can churn out code. Writing/refactoring/fixing/maintaining code is harder.