80 likes | 191 Views
Automated Extraction of JPF Options and Documentation. Wojciech Luks Oksana Tkachuk David Bushnell. JPF Projects Configuration. The Good Highly configurable Variety of options Variety of extension mechanisms. The Bad and The Ugly Missing documentation Mismatches between code and docs
E N D
Automated Extraction of JPF Optionsand Documentation Wojciech Luks Oksana Tkachuk David Bushnell
JPF Projects Configuration • The Good • Highly configurable • Variety of options • Variety of extension mechanisms • The Bad and The Ugly • Missing documentation • Mismatches between code and docs • Duplicate options, values
Architecture JPF Projects Wiki Pages JPF-AutoDoc-Options XML Generator (Castor) Bytecode Parser (jpf-core) Wiki Generator Static Analyzer XML
Examples: Options • Tracking 32 APIs of the Config class • Detecting mismatches
Experience • Case Studies • jpf-core • jpf-awt • jpf-bfs • Spelling errors • Double definition for an option • Limitations • Local analysis • Does not handle dynamic • Generates “dynamic” keys and values • Future work • jpf-autodoc-types • Feedback from the users
Demo • JPF-AutoDoc-Options in Action • Check out from http://code.google.com/p/jpf-autodoc-options/