Guest User

Untitled

a guest
Dec 17th, 2018
94
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 2.29 KB | None | 0 0
  1. # Peer Code Reviews
  2.  
  3. #### How to review
  4.  
  5. - Each submission has a goal, so as a reviewer your aim is to:
  6. 1. Answer the question: 'Does this work show evidence of progress towards the goal?'
  7. 2. Provide reasons you think it does, or feedback what can be improved upon.
  8. - Try to review to the standard that the code is at: no need to make line edits if there are a lot of style violations.
  9. - Try to leave **at most** 3 specific overall targets for the developer to focus on
  10. - Don't spend too long reviewing the code. 15 mins is probably too much.
  11.  
  12. #### Checklist
  13.  
  14. Here's a list of things you might want to look at when reviewing.
  15.  
  16. ## Testing
  17.  
  18. - [ ] Testing against the specs/acceptance criteria if given
  19. - [ ] Passing tests, no flaky tests (mocking time, mocking randomness, etc..)
  20. - [ ] Coverage > 95%
  21. - [ ] Feature test
  22. - [ ] Is it the first test they wrote (BDD)?
  23. - [ ] Unit tests
  24. - [ ] Are they isolated?
  25. - [ ] Are mocks used properly? Dependency injection
  26. - [ ] Are third party libraries + language internals mocked?
  27. - [ ] Are unhappy paths and edge cases tested?
  28.  
  29. ## Readability
  30.  
  31. - [ ] Is there a linter? Does it pass?
  32. - [ ] Clear class/method/variable/test names
  33. - [ ] Names are not abbreviated
  34. - [ ] Code is easy to understand (speaks for itself)
  35.  
  36. ## Design
  37.  
  38. - [ ] Single Responsibility
  39. - [ ] Not heavily coupled
  40. - [ ] No repetition of code
  41. - [ ] Only outputs/prints in one clearly identified method (View in MVC)
  42. - [ ] Where are objects instantiated?
  43. - [ ] Is the code inefficient (slow or memory intensive)?
  44. - [ ] Consistent style of programming (Is the code solving the same problem in the same way in different classes?)
  45. - [ ] Is one class is significantly longer than all the others
  46.  
  47. ## Repository & README
  48.  
  49. - [ ] Is there a clear name for the repo?
  50. - [ ] Is there a README?
  51. - [ ] README starts with a clear explanation of the programme for the casual reader/recruiter.
  52. - [ ] No Jargon
  53. - [ ] README describes how to install your programme and its dependencies
  54. - [ ] README describes how to use it - maybe includes a screenshot
  55. - [ ] README describes their approach and strategy for solving the problem
  56. - [ ] README has reasonable spelling and grammar
  57. - [ ] Is there a LICENCE? On purpose?
  58. - [ ] Is the repo organised?
  59.  
  60. ## Commits
  61.  
  62. - [ ] Clear commit messages
  63. - [ ] Tests with the code committed at the same time
Add Comment
Please, Sign In to add comment