Deficient Documentation Detection: A Methodology to Locate Deficient Project Documentation using Topic Analysis
1. DEFICIENT DOCUMENTATION DETECTION
A Methodology to Locate Deficient Project
Documentation using Topic Analysis
Joshua Charles Campbell Department of Computing Science
Chenlei Zhang Department of Computing Science
Zhen Xu Department of Electrical and Computer Engineering
Abram Hindle Department of Computing Science
James Miller Department of Electrical and Computer Engineering
The 10th Working Conference on Mining Software Repositories
3. RESEARCH QUESTION
• Answer the question “Can we identify deficient
areas of project documentation by relating it to
Stack Overflow questions?”
• Provide a method to relate crowd-sourced
questions and project documentation.
3MSR 2013
6. PHP EXAMPLE
6
• Deficient documentation exists
• Stack Overflow question #7321289:
• “How want to apply a vignette effect to an image using PHP with
ImageMagik. I found this function but I’m not sure how to use it.”
• PHP documentation:
• Imagick::vignetteImage
• http://www.php.net/manual/en/imagick.vignetteimage.php
MSR 2013
7. PYTHON EXAMPLE
7
• Deficient documentation exists
• Stack Overflow question #5893163:
• “What is the meaning of _ after for in this code?”
MSR 2013
8. OUT-OF-SCOPE DOCUMENTATION
• Questions that related to multiple projects
• For example, questions about:
• Clear indications and links should be included
when a user should reference external project
documentation
8
HTML
MSR 2013
MySQL
9. CONCLUSION
• Developed a method for locating deficient
documented aspects in project documentation;
• Successfully located deficient project
documentation using Stack Overflow questions.
9MSR 2013