Understanding Documentation Use Through Log Analysis: A Case Study of Four Cloud Services

Knowledge Worker Tools & WorkflowsPrototyping & User TestingSoftware Engineers & DevelopersHCI Researchers

Title of the Paper

Understanding Documentation Use Through Log Analysis: An Exploratory Case Study of Four Cloud Services

Paper Information

  • Subject Area: Software Engineering, Analysis of Cloud Service Documentation Usage
  • Keywords: Documentation, Log analysis, Empirical study, Design review, API adoption, Mixed methods

Research Background and Problem

  • Identified Issues or Challenges: The current design of software documentation has room for improvement. Developers need efficient access to information about third-party libraries and services. However, existing research primarily focuses on qualitative methods, such as laboratory studies and interviews, with limited attention to how developers actually use documentation.
  • Significance of the Problem: Software documentation is critical for developers' learning and productivity. Improving documentation design can enhance development efficiency and user experience.
  • Research Motivation and Related Work:
    • Many studies on documentation focus on defining best practices but lack detailed quantitative analyses of user behavior.
    • Current documentation design and evaluation often rely on qualitative studies with limited samples, failing to capture large-scale user behavior data.
    • Analyzing page logs of documentation usage could provide new perspectives for design audits and documentation improvement.

Solution

  • Research Methodology:
    • A two-phase mixed-methods approach: exploratory cluster analysis and hypothesis testing.
    • Analysis of documentation page access logs from four Google Cloud services, covering over 100,000 users.
  • Innovative Aspects of the Solution:
    • Introducing large-scale log analysis as a complement to qualitative research.
    • Using automatic clustering and statistical regression to reveal correlations between page access behavior and user characteristics.
  • Implementation Steps and Key Techniques:
    • Data preprocessing: Classifying documentation types and extracting user behavior based on features like access time.
    • Phase 1: Using automatic clustering (k-means and MeanShift) to explore user documentation usage patterns.
    • Phase 2: Constructing hypotheses based on literature and validating the influence of user characteristics on documentation usage behavior through multivariate regression analysis.

Research Findings

  • Specific Findings:
    1. Identified four typical documentation usage patterns:
      • Product Explorers: Brief visits to introductory pages.
      • Documentation Explorers: Accessing various types of documentation with short dwell times.
      • Task-Oriented Users: Long visits to specific types of pages.
      • Versatile Users: Long dwell times across multiple types of pages.
    2. Significant correlations exist between user characteristics and documentation usage patterns.
    3. Documentation types (e.g., "guide" documentation) are also correlated with subsequent API usage.
  • Advantages Over Existing Solutions:
    • Broad data coverage, including real user behavior.
    • Ability to identify micro-level developer behavior patterns and inform documentation design improvements.
  • Experimental or Evaluation Results:
    • Regression analysis shows that developer experience levels significantly influence the types of documentation accessed.
    • Users who access "guide" documentation are more likely to make subsequent API calls (strong correlation).
  • Limitations and Future Directions:
    • Limitations:
      • The dataset only includes one month of user behavior, making it difficult to capture long-term trends.
      • Data preprocessing may be constrained by privacy protection policies, and fine-grained behavior data has not yet been analyzed.
    • Future Directions:
      • Further study of user behavior by integrating documentation structure and content.
      • Exploring automated personalized documentation recommendation systems to meet diverse user needs.

Discussion and Recommendations

  • Insights from Analysis:
    • Log analysis can uncover previously unexamined user groups and atypical behavior patterns.
    • Identifies the alignment between user behavior and product-level needs.
  • Design Recommendations:
    1. Clearly label the target audience for documentation to improve developers' efficiency in selecting the right resources.
    2. Repeat or cross-link critical information to reduce the risk of missing key details.
    3. Provide product-specific prioritized documentation recommendations, especially for new users.
    4. Emphasize "guide" documentation to promote API adoption.
  • Long-Term Vision:
    • Design dynamic documentation recommendations: Develop adaptive content recommendation systems based on user access logs.
    • Improve search mechanisms within documentation: Optimize search results by incorporating user behavior patterns.
    • Documentation information filtering: Automatically adjust displayed content for users with different experience levels.

Conclusion

Through large-scale log analysis, the authors demonstrate the feasibility of uncovering documentation usage patterns and applying these insights to optimize design. This method complements traditional qualitative approaches and provides new practical and theoretical support for improving documentation design.

Quick Actions

Share

Share this page

ios_share

https://hci.top/en/papers/chi/147074/2024

AdRecommended

Learn AI Coding at CodeNow

open_in_newOpen DOI Link
DOI: https://doi.org/10.1145/3613904.3642721
At a Glance

Paper Snapshot

fact_check
dataset
Source
CHI
calendar_month
Year
2024
emoji_events
Award
No award tagged
group
Authors
4 authors
sell
Subtopics
Knowledge Worker Tools & Workflows, Prototyping & User Testing
work
Professions
Software Engineers & Developers, HCI Researchers
article
Content Status
Full text indexed
hub
Related Papers
10 related papers