Nothing Special   »   [go: up one dir, main page]

skip to main content
10.1109/ICPC.2008.29guideproceedingsArticle/Chapter ViewAbstractPublication PagesConference Proceedingsacm-pubtype
Article

On the Use of Domain Terms in Source Code

Published: 10 June 2008 Publication History

Abstract

Information about the problem domain of the software and the solution it implements is often embedded by developers in comments and identifiers. When using software developed by others or when are new to a project, programmers know little about how domain information is reflected in the source code. Programmers often learn about the domain from external sources such as books, articles, etc. Hence, it is important to use in comments and identifiers terms that are commonly known in the domain literature, as it is likely that programmers will use such terms when searching the source code. The paper presents a case study that investigated how domain terms are used in comments and identifiers. The study focused on three research questions: (1) to what degree are domain terms found in the source code of software from a particular problem domain?; (2) which is the preponderant source of domain terms: identifiers or comments?; and (3) to what degree are domain terms shared between several systems from the same problem domain? Within the studied software, we found that in average: 42% of the domain terms were used in the source code; 23% of the domain terms used in the source code are present in comments only, whereas only 11% in the identifiers alone, and there is a 63% agreement in the use of domain terms between any two software systems.

Cited By

View all
  • (2020)Linguistic Documentation of Software HistoryProceedings of the 28th International Conference on Program Comprehension10.1145/3387904.3389288(386-390)Online publication date: 13-Jul-2020
  • (2018)The effect of poor source code lexicon and readability on developers' cognitive loadProceedings of the 26th Conference on Program Comprehension10.1145/3196321.3196347(286-296)Online publication date: 28-May-2018
  • (2018)Program understanding using ontologies and dynamic analysisProceedings of the 33rd Annual ACM Symposium on Applied Computing10.1145/3167132.3167298(1552-1559)Online publication date: 9-Apr-2018
  • Show More Cited By
  1. On the Use of Domain Terms in Source Code

    Recommendations

    Comments

    Please enable JavaScript to view thecomments powered by Disqus.

    Information & Contributors

    Information

    Published In

    cover image Guide Proceedings
    ICPC '08: Proceedings of the 2008 The 16th IEEE International Conference on Program Comprehension
    June 2008
    280 pages
    ISBN:9780769531762

    Publisher

    IEEE Computer Society

    United States

    Publication History

    Published: 10 June 2008

    Author Tags

    1. comments
    2. domain terms
    3. identifiers
    4. source code

    Qualifiers

    • Article

    Contributors

    Other Metrics

    Bibliometrics & Citations

    Bibliometrics

    Article Metrics

    • Downloads (Last 12 months)0
    • Downloads (Last 6 weeks)0
    Reflects downloads up to 23 Nov 2024

    Other Metrics

    Citations

    Cited By

    View all
    • (2020)Linguistic Documentation of Software HistoryProceedings of the 28th International Conference on Program Comprehension10.1145/3387904.3389288(386-390)Online publication date: 13-Jul-2020
    • (2018)The effect of poor source code lexicon and readability on developers' cognitive loadProceedings of the 26th Conference on Program Comprehension10.1145/3196321.3196347(286-296)Online publication date: 28-May-2018
    • (2018)Program understanding using ontologies and dynamic analysisProceedings of the 33rd Annual ACM Symposium on Applied Computing10.1145/3167132.3167298(1552-1559)Online publication date: 9-Apr-2018
    • (2017)Improved query reformulation for concept location using CodeRank and document structuresProceedings of the 32nd IEEE/ACM International Conference on Automated Software Engineering10.5555/3155562.3155618(428-439)Online publication date: 30-Oct-2017
    • (2017)Identifying class name inconsistency in hierarchyProceedings of the 12th edition of the International Workshop on Smalltalk Technologies10.1145/3139903.3139920(1-8)Online publication date: 4-Sep-2017
    • (2014)Studying software evolution using topic modelsScience of Computer Programming10.5555/2748144.274839980:PB(457-479)Online publication date: 1-Feb-2014
    • (2014)How should we measure functional sameness from program source code? an exploratory study on Java methodsProceedings of the 22nd ACM SIGSOFT International Symposium on Foundations of Software Engineering10.1145/2635868.2635886(294-305)Online publication date: 11-Nov-2014
    • (2014)A three-layer model of source code comprehensionProceedings of the 7th India Software Engineering Conference10.1145/2590748.2590758(1-10)Online publication date: 19-Feb-2014
    • (2013)Reusability of open-source program codeACM SIGSOFT Software Engineering Notes10.1145/2492248.249227638:4(1-5)Online publication date: 12-Jul-2013
    • (2011)Toward an understanding of the relationship between the identifier and comment lexiconsProceedings of the 49th annual ACM Southeast Conference10.1145/2016039.2016138(342-343)Online publication date: 24-Mar-2011
    • Show More Cited By

    View Options

    View options

    Media

    Figures

    Other

    Tables

    Share

    Share

    Share this Publication link

    Share on social media