Context-Aware Software Documentation

Software developers often do not possess the knowledge needed to understand a piece of code at hand, and the lack of code comments and outdated documentation exacerbates the problem. Asking for the help of colleagues, browsing the official documentation, or accessing online resources, such as Stack...

Full description

Saved in:
Bibliographic Details
Published in2018 IEEE International Conference on Software Maintenance and Evolution (ICSME) pp. 727 - 731
Main Author Aghajani, Emad
Format Conference Proceeding
LanguageEnglish
Published IEEE 01.09.2018
Subjects
Online AccessGet full text

Cover

Loading…
Abstract Software developers often do not possess the knowledge needed to understand a piece of code at hand, and the lack of code comments and outdated documentation exacerbates the problem. Asking for the help of colleagues, browsing the official documentation, or accessing online resources, such as Stack Overflow, can clearly help in this "code comprehension" activity that, however, still remains highly time-consuming and is not always successful. Enhancing this process has been addressed in different studies under the subject of automatic documentation of software artifacts. For example, "recommender systems" have been designed with the goal of retrieving and suggesting relevant pieces of information (e.g., Stack Overflow discussions) for a given piece of code inspected in an IDE. However, these techniques rely on limited contextual information, mainly solely source code. Our goal is to build a context-aware proactive recommender system supporting the code comprehension process. The system must be able to understand the context, consider the developer's profile, and help her by generating pieces of documentation at whatever granularity is required, e.g., going from summarizing the responsibilities implemented in a subsystem, to explaining how two classes collaborate to implement a functionality, down to documenting a single line of code. Generated documentation will be tailored for the current context (e.g., the task at hand, the developer's background knowledge, the history of interactions). In this paper we present our first steps toward our goal by introducing the ADANA project, a framework which generates fine-grained code comments for a given piece of code.
AbstractList Software developers often do not possess the knowledge needed to understand a piece of code at hand, and the lack of code comments and outdated documentation exacerbates the problem. Asking for the help of colleagues, browsing the official documentation, or accessing online resources, such as Stack Overflow, can clearly help in this "code comprehension" activity that, however, still remains highly time-consuming and is not always successful. Enhancing this process has been addressed in different studies under the subject of automatic documentation of software artifacts. For example, "recommender systems" have been designed with the goal of retrieving and suggesting relevant pieces of information (e.g., Stack Overflow discussions) for a given piece of code inspected in an IDE. However, these techniques rely on limited contextual information, mainly solely source code. Our goal is to build a context-aware proactive recommender system supporting the code comprehension process. The system must be able to understand the context, consider the developer's profile, and help her by generating pieces of documentation at whatever granularity is required, e.g., going from summarizing the responsibilities implemented in a subsystem, to explaining how two classes collaborate to implement a functionality, down to documenting a single line of code. Generated documentation will be tailored for the current context (e.g., the task at hand, the developer's background knowledge, the history of interactions). In this paper we present our first steps toward our goal by introducing the ADANA project, a framework which generates fine-grained code comments for a given piece of code.
Author Aghajani, Emad
Author_xml – sequence: 1
  givenname: Emad
  surname: Aghajani
  fullname: Aghajani, Emad
BookMark eNotjz1PwzAURQ0CibZ0R2JhYHX6nl_8NVahQKVWDIW5cmpbCqI2SoyAf08ETOdMR_dO2VnKKTB2hVAhgl2sm912VQlAUwGAhRM2t9qgJKO00YCnbCKkVpywNhdsOgyvALLWVE_YbZNTCV-FLz9dH252OZZfucuHj2NIxZUup0t2Ht3bEOb_nLGX-9Vz88g3Tw_rZrnhHWpZuAPnvAMUBmMAVO4QBUJU5LWBSAr86HLcA76NqrWGrBeSWt_WMXrhacau_7pdCGH_3ndH13_vjaTxFNEPodZBSw
CODEN IEEPAD
ContentType Conference Proceeding
DBID 6IE
6IH
CBEJK
RIE
RIO
DOI 10.1109/ICSME.2018.00090
DatabaseName IEEE Electronic Library (IEL) Conference Proceedings
IEEE Proceedings Order Plan (POP) 1998-present by volume
IEEE Xplore All Conference Proceedings
IEEE Electronic Library (IEL)
IEEE Proceedings Order Plans (POP) 1998-present
DatabaseTitleList
Database_xml – sequence: 1
  dbid: RIE
  name: IEEE/IET Electronic Library
  url: https://proxy.k.utb.cz/login?url=https://ieeexplore.ieee.org/
  sourceTypes: Publisher
DeliveryMethod fulltext_linktorsrc
Discipline Computer Science
EISBN 9781538678701
1538678705
EISSN 2576-3148
EndPage 731
ExternalDocumentID 8530093
Genre orig-research
GroupedDBID 6IE
6IF
6IH
6IK
6IL
6IM
6IN
AAJGR
AAWTH
ADZIZ
ALMA_UNASSIGNED_HOLDINGS
BEFXN
BFFAM
BGNUA
BKEBE
BPEOZ
CBEJK
CHZPO
IPLJI
OCL
RIE
RIL
RIO
RNS
ID FETCH-LOGICAL-i175t-a0aada01281fe016acf210f63d780f360df6357010dbf6b9839d253bdb4ffd2d3
IEDL.DBID RIE
IngestDate Wed Aug 27 02:51:16 EDT 2025
IsPeerReviewed false
IsScholarly false
Language English
LinkModel DirectLink
MergedId FETCHMERGED-LOGICAL-i175t-a0aada01281fe016acf210f63d780f360df6357010dbf6b9839d253bdb4ffd2d3
PageCount 5
ParticipantIDs ieee_primary_8530093
PublicationCentury 2000
PublicationDate 2018-Sep
PublicationDateYYYYMMDD 2018-09-01
PublicationDate_xml – month: 09
  year: 2018
  text: 2018-Sep
PublicationDecade 2010
PublicationTitle 2018 IEEE International Conference on Software Maintenance and Evolution (ICSME)
PublicationTitleAbbrev ICSM
PublicationYear 2018
Publisher IEEE
Publisher_xml – name: IEEE
SSID ssj0054734
ssj0002685658
Score 1.7178507
Snippet Software developers often do not possess the knowledge needed to understand a piece of code at hand, and the lack of code comments and outdated documentation...
SourceID ieee
SourceType Publisher
StartPage 727
SubjectTerms Cloning
context-aware
Data mining
Documentation
Knowledge based systems
program comprehension
recommender system
Recommender systems
Software
software documentation
Task analysis
Title Context-Aware Software Documentation
URI https://ieeexplore.ieee.org/document/8530093
hasFullText 1
inHoldings 1
isFullTextHit
isPrint
link http://utb.summon.serialssolutions.com/2.0.0/link/0/eLvHCXMwjV1LSwMxEB7anjxVbcU3e-jRbGOSTbNHqS1VqAi10FvJE0Ropewi-OtNsrstiAdvIYeQB8nMl_nmG4CBFVRLZgSiKtOIOZ4j30MQMSTXzlKmechGnr_w2ZI9r7JVC-72uTDW2kg-s2loxli-2eoyfJUNvWkJCLwNbQ_cqlyt_X8K4SLjB6XwUFKXNWFJnA-fxov5JDC5AnUSxxf4UEwl2pJpF-bNLCoKyUdaFirV378EGv87zWPoH7L2kte9PTqBlt2cQrcp25DUt7gHg6hI5QHvw5fc2WThH-LYeKxHjmfVh-V08jaeobpYAnr3HkCBJJbSyBgYc9b7cVI7j-Ycp2YksKMcGxek5zz8MspxlXvHyJCMKqOYc4YYegadzXZjzyHBORlJkRnMnAiCfHKEpYcV-l5mwg-jLqAXFr3-rPQw1vV6L__uvoKjsO0VL-saOsWutDfekBfqNp7gDxalnCM
linkProvider IEEE
linkToHtml http://utb.summon.serialssolutions.com/2.0.0/link/0/eLvHCXMwjV1NawIxEB2sPbQn22rpd_fgsdE0m43ZY7GKtq4UVPAm-YRS0CIrhf76JtlVofTQW8ghJAzJzMu8eQPQNDxWgmqOYpkoRC1LkZshiGiSKmtiqpivRs7GbDCjL_NkXoGHXS2MMSaQz0zLD0MuX6_Uxn-VtZ1r8Qj8AA6d309IUa21-1EhjCdsrxXum-rSbWISp-1hd5L1PJfLkydxeIP37VSCN-nXINvuoyCRfLQ2uWyp718Sjf_d6Ak09nV70dvOI51CxSzPoLZt3BCV97gOzaBJ5SDv05dYm2jinuIweC5XDtZqwKzfm3YHqGyXgN5dDJAjgYXQIqTGrHGRnFDW4TnLYt3h2MYMa-vF5xwA09IymbrQSJMkllpSazXR8TlUl6uluYAIp6QjeKIxtdxL8okOFg5YqEeRcLeMvIS6P_Tis1DEWJTnvfp7-h6OBtNstBgNx6_XcOxNULC0bqCarzfm1rn1XN4Fa_4Ac2afbQ
openUrl ctx_ver=Z39.88-2004&ctx_enc=info%3Aofi%2Fenc%3AUTF-8&rfr_id=info%3Asid%2Fsummon.serialssolutions.com&rft_val_fmt=info%3Aofi%2Ffmt%3Akev%3Amtx%3Abook&rft.genre=proceeding&rft.title=2018+IEEE+International+Conference+on+Software+Maintenance+and+Evolution+%28ICSME%29&rft.atitle=Context-Aware+Software+Documentation&rft.au=Aghajani%2C+Emad&rft.date=2018-09-01&rft.pub=IEEE&rft.eissn=2576-3148&rft.spage=727&rft.epage=731&rft_id=info:doi/10.1109%2FICSME.2018.00090&rft.externalDocID=8530093