• DocumentCode
    2539164
  • Title

    Measuring the impact of friends on the internal attributes of software systems

  • Author

    English, Michael ; Buckley, Jim ; Cahill, Tony ; Lynch, Kristian

  • Author_Institution
    Dept. of Comput. Sci. & Inf. Syst., Limerick Univ., Ireland
  • fYear
    2005
  • fDate
    30 Sept.-1 Oct. 2005
  • Firstpage
    151
  • Lastpage
    160
  • Abstract
    Differing views have been expressed on the appropriateness of the friend construct in the design and implementation of object-oriented software in C++. However, little empirical analysis of its usage in the development of systems has taken place. This paper describes an empirical study of the top 100 most downloaded open-source software systems from sourceforge.net, to assess the design implications of the use of the friend construct. On a larger cohort of systems our results provide further evidence that classes declared as friends are coupling hotspots. Our findings also indicate that class size does not seem to have the confounding effect on this relationship that has been suggested in previous research. In addition, there seems to be no indication that friendship is used as an alternative to inheritance although a small number of systems seem to use friendship as an alternative to multiple inheritance and vice versa.
  • Keywords
    C language; object-oriented programming; public domain software; software development management; C++; object-oriented software; open-source software systems; sourceforge.net; Computer science; Encapsulation; Information systems; Open source software; Performance evaluation; Productivity; Protection; Size measurement; Software measurement; Software systems;
  • fLanguage
    English
  • Publisher
    ieee
  • Conference_Titel
    Source Code Analysis and Manipulation, 2005. Fifth IEEE International Workshop on
  • Print_ISBN
    0-7695-2292-0
  • Type

    conf

  • DOI
    10.1109/SCAM.2005.16
  • Filename
    1541167