Decaying Socio-Technical Congruence as a Method to Account for Architectural Changes Patrick Wagstrom, James Herbsleb, and Kathleen Carley Institute for Software Research School of Computer Science Carnegie Mellon University {pwagstro,jdh,carley}@cs.cmu.edu Abstract While the above statements may be true for almost any team, they are particularly relevant for Software The socio-technical metric (STC) [1,2] relates the Engineering teams, which frequently face additional coordination activities on a team to the coordination challenges. Software engineering projects often are requirements generated by the interaction of poorly specified, long lived, and face unforeseen dependencies between tasks and assignment of tasks. difficulties. In this paper we extend STC to include a decay factor One important way that software engineering to account for changes in network structure over time. differentiates itself from traditional engineering is the We evaluate the changes in a large Open Source long life of the projects and the need to support the community and find that small amounts of decay project on changing platforms over long time periods. increase the overall explanatory power of the metric While many complex engineering projects, such as the across a broad spectrum of projects and larger NASA space shuttle receive incremental updates over amounts of decay may be beneficial for projects with the course of their lifetime, their domain is generally large changes in requirements and communication fixed. A space shuttle is designed to take into account patterns. the forces of earth and space to safely provide transit for a crew of astronauts. While electronics upgrades 1. Introduction and small advancements in materials may make their way into refits of the shuttle, it will not be refit to work Functionally, many teams serve as information on another planet, to move astronauts around the globe, processing entities that manage an incoming stream of or to land on the surface of the moon[8]. information, parsing and delivering the information to Software, on the other hand, frequently faces relevant team members and then doing work based on changing requirements. The operating systems that the the combination of new and existing information [3,4]. software runs on are constantly being upgraded, As the team evolves, ad-hoc communication channels introducing small changes to APIs, program timing, emerge, allowing information to flow more easily and and the rights allowed to the program. Devices on the easing the coordination difficulties that the team may platform also change, sometimes requiring difficult face [5,6]. These communication channels often arise work-arounds when upgraded versions of the software as a response to technical constraints inherent in the are released. New programming languages, libraries, task and the task’s network of dependencies. As these and even programming paradigms are constantly being technical constraints linking components of the task developed that can dramatically improve the program change, the team must alter their communication should project developers and maintainers choose to patterns to ensure they can continue to complete their update and re-write their code to utilize these libraries. task efficiently. However, even a small change in the However, rather than re-writing the program, software technical constraints of the system can have potentially engineers are expected, to a degree, to maintain widespread changes on the coordination requirements compatibility with older legacy systems[9]. of the team, rendering old communication channels While there exists a handful of projects that obsolete and forcing the team to develop new channels developers hand-off after release, the majority of for information[7]. projects utilize the same team for multiple releases over a period of years. This paper examines the effects of STC on long lived software engineering projects to following formula can be used to calculate overall understand how architectural changes affect the STC STC. metric. We propose an adaptation to STC calculation ∑ʚ Ȁ ®ʛ that implements a decay factor in communication and ͍͎̽ Ɣ ∑ ® coordination requirements. We evaluate the metric against several projects from a single community and For a single point in time, this formulation is quite then discuss the larger implications of allowing useful, but it loses some usefulness when aggregating communication and networks to decay over time. data over a longer period. This is primarily because over the life of a long-lived project changes in 2. Socio-Technical Congruence architecture, team structure, and task dependencies will begin to accumulate[9]. For example, while Windows The Socio-Technical Congruence metric as Vista inherits portions of the code from Windows 95 proposed by Cataldo et. al. assess the fit of an and before, there is little doubt that the dependencies organization’s actual coordination to the set of and the team structure have varied dramatically since coordination requirements found in artifacts of the that point. The work necessary to update the code for project [1,2]. In a nutshell, the metric works as changes in architecture is frequently referred to as follows: refactoring and often causes dramatic changes in the For a given organization three different networks structure of the code and the social structure of the are collected in matrix form. The first is a task team developing the code[11,12]. assignment network, , that maps individuals to tasks To account for this, we propose adding a decay ° in the organization. Within a software development factor to the collected networks , , and . This ° ° organization these tasks may be files, individual factor, , is scaled between 0 and 1, where 0 indicates requirements, bug reports, or any other notion of a full decay, relying only the current data, and 1 work item. Next, a task dependency network, , is indicates no decay. Thus, at a time period the ° ͝ collected that maps dependencies between different networks may be formulated as follows, where , , ¹ Ê tasks. For example if task A requires task B to be and Ê represent the contribution to the networks only completed before proceeding, an edge would appear in from time period ͞. the network between A and B. Using these networks $ matrix multiplications is used to get the coordination Ɣ ȕ $ͯ%¹ requirements network, , between individuals in the ¿ À ® %Ͱͤ network. This combination of networks in matrix form $ is largely based off the model combining relationships $ͯ% proposed by Carley and Krackhardt in their PCANS °¿ Ɣ ȕ ÊÀ %Ͱͤ model of interaction [10]. $ ɑ $ͯ% ® Ɣ ° Ɛ ° Ɛ ° This multiplication is done to get at the sometimes ° ¿ Ɣ ȕ Ê À %Ͱͤ hidden dependencies between individuals within an This addition of a decay factor allows older task organization. Often times individuals are aware of the dependencies, task assignments and observed other people working on a component, or those communications to be slowly removed from the individuals who have worked on the component in the network over time. By applying the decay factor to all past, but they are not aware the way that their work three networks, it is possible that the value of socio- impacts individuals that work on tasks which are technical congruence at each time period can vary dependent on their tasks. either positively or negatively. The final network collected is a network representing actual coordination within the 3. Description of Data organization, . Examples of this network may be co-attendance at meetings, shared geographic To test the viability of STC within a real world locations, or archives of email messages. The socio- project, it was necessary to locate a large community technical congruence for the organization is then the with significant history and ample available data. This proportion of edges present in that are also present ® was found in the GNOME project, a large Open Source in . As the metric does not take into account edge project that seeks to create a completely free (as in weights, it is possible to dichotomize all networks such money cost and liberty) desktop environment for Linux that edges with positive weights are set to 1 and all and Unix-like operating systems[13,14]. One aspect of other edges have weights of 0. In such a case, the GNOME that makes it interesting is that although the community is working to build a coherent product, the activity, contributions from 10 or more developers, a GNOME desktop environment, functionally it is publicly accessible bug tracker, and publicly accessible comprised of numerous smaller projects that are each mailing lists were selected for analysis. given the freedom to operate relatively independently Each of the networks for the project was generated from one another[15]. as follows. Within the community, the concept of a The community is comprised of independent task was mapped to individual files in the project volunteers, students, and professional software version control system repository. The task developers. It has a moderate amount of commercial assignment matrix, , was generated by examining ° support, however commercial firms do not directly the version control system archive for each file adding chart the direction of the community. Each project in an edge between an individual and the file if the the community is allowed to largely govern itself. individual had made changes to that file and committed There is a small board that coordinates major events in those changes back to the repository. Task the community, such as software releases and the dependencies between files, , were generated ° annual conferences. through an examination of logical coupling. If two For this paper, the complete version control history files were committed together to the version control of the community was collected, spanning from the system then an edge was added between those start of the project until the end of 2007. In addition a files[18]. This method that has previously shown to complete copy of the community’s bug tracker be useful in the generation of networks for STC database was obtained (many thanks to the system analysis [1,2].
Details
-
File Typepdf
-
Upload Time-
-
Content LanguagesEnglish
-
Upload UserAnonymous/Not logged-in
-
File Pages8 Page
-
File Size-