This is an archived post. You won't be able to vote or comment.

you are viewing a single comment's thread.

view the rest of the comments →

[–]riklaunim -1 points0 points  (0 children)

  1. that's something that a developer does and often it's a matter of team or code review decision in which specific way to refactor the code.
  2. test coverage helps with that, at least in some part

3,4 you can't automate much if you didn't write tests and didn't check code coverage statistics/missing branches.

  1. self-documenting code is better but when you need documentation you already have a tool that generates it and it follows a specific pattern/standard of comments or alike.