際際滷

際際滷Share a Scribd company logo
Code ReviewPrincipleshttp://www.flickr.com/photos/sebastian_bergmann/3991540987/
Important ObservationTime Restrictionshttp://www.flickr.com/photos/mike-bensalem/3023717032/
Psychological Barrier - IHard to concentrateFocusing for more than a few dozens of minuteswithout any recessionis hardly possiblehttp://www.flickr.com/photos/txd/2681183845/
Psychological Barrier - IIHard to understandTo read and to interpretsomebody elses logic (code)http://www.flickr.com/photos/dhammza/91435718/
Effective Code ReviewHow?Descriptive AbstractFocusTop-Down OverviewBottom-Up ReviewRead & CommunicateDrive the codeUnderstand the codeSearch for: Code SmellsViolations of OOD and OOPViolations of Code ConventionsComprehension
Descriptive Abstracthttp://www.flickr.com/photos/sskennel/2330323726/Short ExplanationsTeach and Mentor
 FocusFocus on Problematic IssuesCouldnt Make It Straighthttp://www.flickr.com/photos/horiavarlan/4259933101
Top Down OverviewGet High Level OverviewSketchesWhite BoardHigh Level Class DiagramRead (a few) Unit Testshttp://www.nasa.gov/multimedia/imagegallery/image_feature_526.html NASA
Bottom Up ReviewContinue to review the CodeReview Unit TestsReview Classes & MethodsThink about MissingUnit Testshttp://www.nasa.gov/multimedia/imagegallery/image_feature_649.htmlNASA/CXC/UMass Amherst/Q.D.Wang et al
Drive the CodeTake InitiativeBecome a DriverIs it easy to Drive?Pair ProgrammingTechniqueshttp://www.flickr.com/photos/pmarkham/3652471231/
 Understand the Code (Logic)http://www.flickr.com/photos/apperceive/3351889502/Read, Read, ReadDo you understand?
CommunicateRead the Code LoudlyAsk QuestionsThink Loudlyhttp://www.flickr.com/photos/apperceive/3351889502/
Code Smells & OO ViolationsS.O.L.I.Dhttp://www.flickr.com/photos/katerha/4526272937/Long MethodsUnreadableHard to maintainhttp://www.flickr.com/photos/king-edward/2266814656/Duplicate CodeBinding to ImplementationEncapsulation Violations
Fix Ithttp://www.flickr.com/photos/justinbaeder/183930977/The Navigator takes Commentsand makes fixes laterPair ProgrammingTechniques

More Related Content

Effective Code Review