1 / 6

T-76.115 Project Sotanorsu

Personal Assignment Static Methods Esa Puttonen 13.11.2003. T-76.115 Project Sotanorsu. Overview. Assignment: Use some forms of static analysis to decrease the number of bugs in your software. Static methods literature.

Download Presentation

T-76.115 Project Sotanorsu

An Image/Link below is provided (as is) to download presentation Download Policy: Content on the Website is provided to you AS IS for your information and personal use and may not be sold / licensed / shared on other websites without getting consent from its author. Content is provided to you AS IS for your information and personal use only. Download presentation by click this link. While downloading, if for some reason you are not able to download a presentation, the publisher may have deleted the file from their server. During download, if you can't get a presentation, the file might be deleted by the publisher.

E N D

Presentation Transcript


  1. Personal Assignment Static Methods Esa Puttonen 13.11.2003 T-76.115 Project Sotanorsu

  2. Overview • Assignment:Use some forms of static analysis to decrease the number of bugs in your software

  3. Static methods literature • Chidamber, S.R., Darcy, D.P. & Kemerer, C.F. 1998, "Managerial use of metrics for object-oriented software: an exploratory analysis", Software Engineering, IEEE Transactions on, vol. 24, no. 8, pp. 629-639. • Chidamber, S.R., Darcy, D.P. & Kemerer, C.F. 1998, "Managerial use of metrics for object-oriented software: an exploratory analysis", Software Engineering, IEEE Transactions on, vol. 24, no. 8, pp. 629-639.

  4. Static analyzers • JavaNCSS • Simple, fast, little functionality • CCCC, FindBugs • C-oriented, problems in compilation • Jlint • Lots of features, fast • http://artho.com/jlint/

  5. Jlint • Operates on class-files • Syntax verification • Missing breaks in switch-statements • Suspicious precedences etc. • Semantic verification • Local and global data flow analysis -> eliminate redundant operations • Lock dependancy graph -> avoid deadlocks and race conditions etc.

  6. Deployment of the practice • Run Jlint, when the end of an iteration is near • Identify potential bugs • Identify potential targets for refactoring

More Related