Docsity

Analyzing Communication Effort in Software Development: Interactions & Distance, Study notes of Software Development

Toggle sidebar
bg1
1
Communication and Organization in Software
Development:
An Empirical Study
Carolyn B. Seaman
Victor R. Basili
University of Maryland
Institute for Advanced Computer Studies
Computer Science Department
College Park, MD, USA
Abstract
The empirical study described in this paper addresses the issue of communication among
members of a software development organization. The independent variables are various
attributes of organizational structure. The dependent variable is the effort spent on
sharing information which is required by the software development process in use. The
research questions upon which the study is based ask whether or not these attributes of
organizational structure have an effect on the amount of communication effort expended.
In addition, there are a number of blocking variables which have been identified. These
are used to account for factors other than organizational structure which may have an
effect on communication effort. The study uses both quantitative and qualitative methods
for data collection and analysis. These methods include participant observation, structured
interviews, and graphical data presentation. The results of this study indicate that several
attributes of organizational structure do affect communication effort, but not in a simple,
straightforward way. In particular, the distances between communicators in the reporting
structure of the organization, as well as in the physical layout of offices, affects how
quickly they can share needed information, especially during meetings. These results
provide a better understanding of how organizational structure helps or hinders
communication in software development.
1. Introduction
Software development managers strive to control all of the factors that might impact the
success of their projects. However, the state of the art is such that not all of these factors
have been identified, much less understood well enough to be controlled, predicted, or
manipulated. One factor that has been identified [Curtis88] but is still not well understood
is information flow. It is clear that information flow impacts productivity (because
developers spend time communicating) as well as quality (because developers need
information from each other in order to carry out their tasks well). The study described in
this paper addresses the productivity aspects of communication by empirically studying the
organizational and process characteristics which influence the amount of effort software
developers spend in communication activities. This is a first step towards providing
management support for control of communication effort.
This research also arises out of an interest in the organizational structure of software
enterprises and how it affects the way software is developed. Development processes
affect, and are affected by, the organizational structure in which they are executed.
This work was supported in part IBM's Centre for Advanced Studies, and by NASA grant NSG-5123.
pf3
pf4
pf5
pf8
pf9
pfa
pfd
pfe
pff
pf12
pf13
pf14
pf15
pf16
pf17
pf18
pf19
pf1a
pf1b
pf1c
pf1d
pf1e
pf1f
pf20
pf21
pf22
pf23
pf24

Partial preview of the text

Download Analyzing Communication Effort in Software Development: Interactions & Distance and more Study notes Software Development in PDF only on Docsity!

Communication and Organization in Software

Development:

An Empirical Study

Carolyn B. Seaman

Victor R. Basili

University of Maryland Institute for Advanced Computer Studies Computer Science Department College Park, MD, USA

Abstract

The empirical study described in this paper addresses the issue of communication among members of a software development organization. The independent variables are various attributes of organizational structure. The dependent variable is the effort spent on sharing information which is required by the software development process in use. The research questions upon which the study is based ask whether or not these attributes of organizational structure have an effect on the amount of communication effort expended. In addition, there are a number of blocking variables which have been identified. These are used to account for factors other than organizational structure which may have an effect on communication effort. The study uses both quantitative and qualitative methods for data collection and analysis. These methods include participant observation, structured interviews, and graphical data presentation. The results of this study indicate that several attributes of organizational structure do affect communication effort, but not in a simple, straightforward way. In particular, the distances between communicators in the reporting structure of the organization, as well as in the physical layout of offices, affects how quickly they can share needed information, especially during meetings. These results provide a better understanding of how organizational structure helps or hinders communication in software development.

1. Introduction

Software development managers strive to control all of the factors that might impact the success of their projects. However, the state of the art is such that not all of these factors have been identified, much less understood well enough to be controlled, predicted, or manipulated. One factor that has been identified [Curtis88] but is still not well understood is information flow. It is clear that information flow impacts productivity (because developers spend time communicating) as well as quality (because developers need information from each other in order to carry out their tasks well). The study described in this paper addresses the productivity aspects of communication by empirically studying the organizational and process characteristics which influence the amount of effort software developers spend in communication activities. This is a first step towards providing management support for control of communication effort.

This research also arises out of an interest in the organizational structure of software enterprises and how it affects the way software is developed. Development processes affect, and are affected by, the organizational structure in which they are executed.

This work was supported in part IBM's Centre for Advanced Studies, and by NASA grant NSG-5123.

Communication in software development is one area in which organizational and process issues are intertwined. A process requires that certain types of information be shared between developers and other process participants, thus making information processing demands on the development organization. The organizational structure, then, can either facilitate or hinder the efficient flow of that information.

The empirical study described here aims to identify the organizational characteristics which affect process communication effort, and to determine the degree of effect. The dependent variable in this study is communication effort, defined as the total effort expended to share some type of information. The dependent variables are organizational distance, physical distance, and familiarity. All three of these are measures of the organizational structure, defined as the network of relationships between members of the software development organization. The types of relationships upon which these measures are based are, respectively, official relationships, physical proximity, and past and present working relationships.

The study combines quantitative and qualitative research methods. Qualitative methods are designed to make sense of data represented as words and pictures, not numbers [Gilgun92]. Qualitative methods are especially useful when no well-grounded theories or hypotheses have previously been put forth in an area of study. Quantitative methods are generally targeted towards numerical results, and are often used to confirm or test previously formulated hypotheses. They can be used in exploratory studies, but only where well-defined quantitative variables are being studied. We combine these paradigms in order to flexibly explore an area with little previous work, as well as to provide quantified insight that can help support the management of software development projects.

The purpose of this report is twofold. First, we wish to describe the methods we have used to carry out this study, so that other researchers can consider their appropriateness for investigating this area. Second, we wish to present a set of useful results, in order for practitioners and others to gain more understanding of communication and organizational issues in software development projects. In the subsections which follow, the specific problem addressed by this study is presented, as well as the research questions and some definitions of terms. In section 2, the related work in the literature is outlined. Our research methods are described in detail in section 3, and section 4 presents our results. In section 5, some of the limitations of this study are presented and packaged as experience to be used in future efforts to address this issue. Finally, section 6 discusses and summarizes the results of the study.

1. 1. Problem Statement

Software development organizations do not currently know how to ensure an efficient flow of information among developers. They do not know how to assess, with any certainty, the information flow requirements of the development processes they choose. In addition, they do not have a deep understanding of how their organizational context affects the level of effort needed to meet the process's communication requirements.

The lack of understanding of communication issues has several consequences. First of all, managers have no way to account for communication costs in their project planning, or to balance those costs with the benefits of communication. Additionally, they do not know how to identify or solve communication problems when they arise. Finally, we cannot begin to learn from experience about communication issues until we identify the important variables that affect communication efficiency.

information. For example, the handoff of a coded component from a developer to a tester is an interaction. One developer asking for advice from an expert, no matter how crucial that advice may be, is not an interaction according to our definition. An interaction begins when some party requests information (or when a party begins preparation of unrequested information) and ends after the information has been received and understood sufficiently for it to be used (e.g. read). qualitative data - data represented as words and pictures, not numbers [Gilgun92]. Qualitative analysis consists of methods designed to make sense of qualitative data. quantitative data - data represented as numbers or discrete categories which can be directly mapped onto a numeric scale. Quantitative analysis consists of methods designed to summarize quantitative data. participant observation - research that involves social interaction between the researcher and informants in the milieu of the latter, during which data are systematically and unobtrusively collected [Taylor84]. structured interviewing - a focused conversation whose purpose is to elicit responses from the interviewee to questions put by the interviewer [Lincoln85]. coding - a systematic way of developing and refining interpretations of a set of data [Taylor84]. In this work, coding refers specifically to the process of extracting specific pieces of information from qualitative data in order to provide values for quantitative research variables. triangulation - the validation of a data item with the use of a second data source, a second data collection mechanism, or a second researcher [Lincoln85]. member checking - the practice of presenting analysis results to members of the studied organization in order to verify the researcher's conclusions against the subjects' reality [Lincoln85].

2. Related Work

The work proposed in this document is supported by the literature in three basic ways. First of all, the research questions in section 1.2 have been raised in various forms in the literature. The relationship between communication and organizational structure (in organizations in general) is a strong theme running through the organization theory literature, from classic organization theory [Galbraith77, March58], to organizational growth [Stinchcombe90], to the study of technological organizations [Allen85], to business process reengineering [Davenport90, Hammer90]. This relationship has not been explored in detail in software development organizations. However, several studies have provided evidence of the relevance of both organizational structure (along with other "non-technical" factors) and communication in software development. In particular, at least one study [Curtis88, Krasner87] points to the three aspects of organizational structure which we address in our research questions.

Second, our chosen dependent and independent variables have all appeared in some form in the literature. Our dependent variable, Communication Effort, has been defined to include both technical and managerial communication, to reflect only that communication required by the development process, but to include all such process communication. These decisions are based on results presented in the organization theory [Ebadi84, MaloneSmith88] and empirical software engineering literature [Ballman94, Bradac94, Perry94]. The three independent variables also appear in these two areas of literature. Organization theory points to the benefits of organizational and physical proximity of communicators [Allen85, Mintzberg79], while empirical software engineering has shown the drawbacks of organizational and physical distance [Curtis88]. The idea of "familiarity"

is referred to in a more general way in the literature. Both areas refer to the importance of various types of relationships between communicators [Allen85, Curtis88]. In particular, a software development study [Krasner87] has discovered the importance of "shared internal representations", which have led to our particular definition of Familiarity.

Third, the literature in many areas has helped shape the design of the proposed study by providing methods and experience. The choice and definition of the unit of analysis, the interaction (section 3.2), has been influenced by the organization theory [Ebadi84, Liker86] and empirical software engineering literature [Perry94]. The scope of the study, in terms of the types of communication studied, has also been influenced by this literature. Data collection and analysis methods have come directly from the literature in empirical methods [Lincoln85, Taylor84].

Despite the considerable support in the literature, there are several significant issues which are not addressed there. Probably the most important is that of intervening, or blocking, variables. Our own experience and intuition strongly suggest that the influence of organizational structure on communication effort is neither direct nor exclusive. There are other factors that affect the amount of time and effort an interaction takes. We have relied on our own experience, and on conversations with many experienced managers, developers, and researchers at the study site, to identify these factors.

Another issue which is not resolved in the literature is a satisfactory way of modeling a process in terms of its individual interactions. In many cases, a process model or definition document will be written in such a way that the required interactions (as defined in section 1.3) are clearly defined. But even when this is the case, it is not clear that the model accurately reflects reality. What rules exist for separating one interaction from another? The breakdown of interactions presented in section 3.3.3 went through a number of iterations until we found a model that both reflected reality and which facilitated the collection of data.

From research questions to variables to research design, the proposed work is supported in the literature. We have extended the current state of the literature not only by combining pieces that have not previously been combined, but also by adding new approaches that were necessary to adequately address the issues of interest.

3. Research Methods

This empirical study examines the role of organizational structure in process communication among software developers. This section explains in detail the methods we employed to investigate this issue. In the subsections which follow, we first present an overview of the research plan and a discussion of our unit of analysis. Then we describe the setting of the study. Finally, the details of data collection, coding, and analysis are presented.

3. 1. Overview

Our research design combines qualitative and quantitative methods. There are a number of ways in which such methods have been combined in studies in the literature. The practice adopted for this study is to use qualitative methods to collect data which is then quantified, or coded, into variables which are then analyzed using quantitative methods. Examples of this practice are found in [Sandelowski92, Schilit82, Schneider85].

Another possible complication with this unit of analysis is the problem of independence. Any analysis method that attempts to describe a relationship between variables has an underlying requirement that the values (of variables) associated with one data point are not in any way dependent on the values associated with another data point. It can be argued that, since different interactions can involve the same people, they may not be independent. It's not clear, however, that independence has this meaning when the unit of analysis is not a person. It can be argued that the properties of people that are relevant in our context are represented as variables, and thus any dependence between two data points simply means that they share the same values for some variables. In any case, this issue should be taken into account when assessing the results reported in section 4.

3. 3. Study Setting

This study took place at IBM Software Solutions Laboratory in Toronto, Canada. The development project studied was DB2, a commercial database system with several versions for different platforms. During the month of June 1994, data was collected from (mostly design and code) reviews in Toronto. Ten reviews were directly observed, which involved about 100 interactions. These observations were followed up with interviews with review participants in November 1994, and in April 1995. The review process was chosen for study because it is well-defined in the DB2 project, it involves a lot of communication between participants, and much of it is observable.

A three-part model of the DB2 development environment was built. The model had several purposes. First, it was used to better understand the DB2 review process and the people involved. Also, it served as a vehicle with which to communicate with developers and others from whom we were collecting information. Finally, it was used as a framework in which to organize the data.

Recall that the issue which motivates this work is the relationship between development organizations and processes. Information flow is one area in which organizational and process issues come together. To reflect this, the model of the DB2 environment is organized in three parts. One part corresponds to the development process under study, one to the organizational structure in which that process is executed, and one to the intersection between the two, which is modeled as a set of interactions. In section 1.3, we defined an interaction, as it is used here, as an instance of communication in which two or more process participants must share some piece of information in order to carry out their process responsibilities. The three parts of the model are described in sections 3.3. through 3.3.3.

3.3.1. Process

The work that goes into each release of DB2 is divided into line items , each of which corresponds to a single enhancement, or piece of functionality. Work on a line item may involve modification of any number of software components. For each line item, reviews are conducted of each major artifact (requirements, design, code, and test cases). In this study, we observed and measured reviews of all types, but mostly design and code.

The review process consists of the following general steps:

Planning - The Author and Line Item Owner (often the same person) decide who should be asked to review the material. The Author then schedules the review meeting and distributes the material to be reviewed.

Preparation - All Reviewers read and review the material. Some Reviewers write comments on the review material, which they later give to the Author. The Chief Reviewer sometimes checks with each Reviewer before the meeting to make sure they have reviewed the material. Review Meeting - There are a number of different ways to work through the material during the meeting, and to record the defects. In some cases, the Moderator records all defects raised on Major Defect Forms, which were given to the Author at the end of the meeting. In other reviews, the Moderator does not use the forms, but writes down detailed notes of all defects, questions, and comments made. In still others, the Moderator takes only limited notes and each Reviewer is expected to provide written comments to the Author. In all cases, the Reviewers make a consensus decision about whether a re-review is required. Also, at the end of the meeting, the Moderator fills out most of the Review Summary Form and gives it to the Chief Reviewer. Rework - The Author performs all the required rework. Follow up - The Chief Reviewer is responsible for making sure that the rework is reviewed in some manner. This could take place in an informal meeting between the Author, Chief Reviewer, and sometimes the Line Item Owner. In other cases, the Author simply gives the Chief Reviewer the reworked material and the Chief Reviewer reviews it at his or her convenience. After the rework is reviewed, the Chief Reviewer completes the Review Summary Form and submits it to the Release Team.

3.3.2. Organization

The formal DB2 organization has a basic hierarchical structure. First-line managers are of three types. Technical managers manage small teams of programmers who are responsible for maintaining specific collections of software components. Groups of developers reporting to a technical manager may be further divided by component and Task Leaders may be assigned to head each subgroup. Product managers are responsible for managing releases of DB2 products. Teams reporting to product managers coordinate all the activities required to get a release out the door. Support managers manage teams that provide support services, like system test, to all the other teams. There is one second-line manager responsible for all DB2 development.

Development Manager

Technical Manager

Product Manager

Support Manager

Technical Manager

Developer Developer

Developer

Developer Developer

Task Leader

Figure 1. Example reporting relationships.

The part of the three-part model which depicts the organizational structure of the DB2 team consists of a set of simple graphs. Each graph shows a different perspective on the organizational structure. In each, the nodes are the people that constitute the team or are

interactions constitute the overlap, or relationship, between the DB2 process and organization.

Each interaction has a set of participants. Interactions also have a mode of interaction, which restricts which participants interact with which others. If an interaction is multidirectional , then the set of participants is considered one large set, and all participants interact with all other participants. Information flows in all directions between all participants. If an interaction is unidirectional or bidirectional , then the participants are divided into two sets. Participants in one set interact only with those in the other set. In the case of unidirectional interactions, information flows from one set to the other. In bidirectional interactions, information flows in both directions.

Below are the types of interactions we have identified as potentially occuring during any review. Type names are meant to describe the information that is shared during the interaction:

choose_participants - the Author and Line Item Owner choose the Reviewers review_material - the Author gives the material to be reviewed to the Reviewers preparation_done - the Chief Reviewer asks each Reviewer if they have completed reviewing the material schedule_meeting - the Author schedules the review meeting at a time convenient to all Reviewers commented_material - one or more Reviewers give copies of the reviewed material, with their written comments on it, to the Author comments - the Moderator gives the comments he or she has recorded during the review meeting to the Author summary_form - the Moderator gives the partially completed Review Summary Form to the Chief Reviewer summary_form_rework - the Chief Reviewer gives the completed Review Summary Form to the Release Team questions - Reviewers raise and discuss questions with the Author during the review meeting defects - Reviewers raise and discuss defects with the Author during the review meeting discussion - Reviewers and the Author discuss various issues related to the line item during the review meeting re-review_decision - all Reviewers decide whether or not a re-review is required rework - the Author, Line Item Owner, and Chief Reviewer review the rework

Not all of the interactions listed above occurred during all reviews. Those that did occur, however, are represented just once for that review. For example, there is only one questions interaction for each review meeting. Although a number of questions may have been raised and discussed, they all involve the same set of people, use the same communication media, and refer to the same document (the design or code being reviewed). Thus all of the independent variables have the same values for each question raised. Consequently, for notational and computational convenience, we have modeled the questions interaction as a single interaction per review. The same is true for the defects and discussion interactions.

These identified interactions constitute the unit of analysis for this study, as explained in section 3.2. That is, each data point corresponds to an interaction of one of the types listed above. In addition, the type of an interaction (e.g. defects , rework , etc.) is one of the variables we shall use in the analysis of the data.

3. 4. Data Collection

The data for this study were collected during an initial visit to IBM in Toronto in June 1994, two follow-up visits in November 1994 and April 1995, and several email communications in between the visits. The data collection procedures included gathering of official documents, participant observation [Taylor84], and structured interviews [Lincoln85]. The observations and interviews were guided by a number of forms, or instruments. All of these procedures and instruments are discussed in the following sections.

Checklist for observing reviews:

R e l e a s e : Line Item: Review type: D a t e : A u t h o r ( s ) :

M o d e r a t o r : Chief Reviewer: R e v i e w e r s :

**Total prep: Meeting length:

participants:

Amount reviewed: Is this a re-review? Is a re-review planned? D e f e c t s : FPFS HLD LLD CODE TPLAN TCASES M a j o r M i n o r**

Time to: read (1 person on average): fill out summary form: q u e s t i o n s : discuss errors: other discussion:

Log (on other side) Categories of time: Questions (Q) Error discussion (E) Other discussion (D) Summary form (SUM) Administration (A)

N o t e s :

Figure 4. The observation checklist

Interview Guide for John Doe, MM/DD/YY

  1. How much of your prep time is spent filling out the defect form? Recording minor defects?
  2. How much time is taken up by scheduling and distributing materials?
  3. How long was the followup meeting?
  4. Do you work much with the other participants, aside from reviews?

Figure 5. Example interview guide.

The initial interviews were conducted within a few days of each DB2 review. Other interviews took place in November 1994, and April 1995. One goal of each interview was to elicit information about interactions that were part of the review process but that took place outside the review meeting (and thus were not observed). The interviews also served to clarify some interactions that went on during the meeting, and to triangulate data that had been collected during the meeting. Before each interview, the interviewer constructed an interview form, or guide [Taylor84], which included questions meant to elicit the information sought in that interview. These forms were not shown to the interviewee, but were used as a guide and for recording answers and comments. Figure 5 shows an example of such a guide. For each review, at least one Author and, with one exception, the Chief Reviewer was interviewed. As well, in most cases, several other Reviewers were interviewed.

3. 5. Measures

This section describes the procedures used to transform the data collected, as described in the last section, into quantitative variables. First the list of variables is presented, then the details of how the information from documents, observations, and interviews is coded to evaluate these variables.

3.5.1. Variables

The variables chosen for analysis, listed in Table 1, fall into three categories. First is the dependent variable, Communication Effort. Secondly, there is a set of independent variables which represent the issues of interest for this study, i.e., organizational structure. Several different measures have been chosen which capture different relevant properties of organizational structure. Finally, there is a large set of variables which are believed to have an effect on communication effort, but which are not the primary concern of this study. If these variables are not taken into account, they threaten to confound the results by hiding the effects of the organizational structure variables.

The dependent variable, labelled CE (for Communication Effort), is the amount of effort, in person-minutes, expended to complete an interaction. This is a positive, continuous, ratio- scaled variable and is calculated for each interaction.

There are four organizational structure variables. They are measured in terms of the set of participants in an interaction. The first two, XOD and MOD, are closely related. They are both based on Organizational Distance , which quantifies the degree of management structure between two members of the organization. Using a graph as shown in Figure 1, the shortest path between each pair of interaction participants is calculated. If a shortest path value is 4 or less, then this value is the Organizational Distance between that pair of participants. If it is more than 4, then the Organizational Distance for the pair is 5.

Note that this definition of Organizational Distance does not assume that the management structure is strictly hierarchical. Choosing the shortest path between each pair of participants allows for the possibility that more than one path exists, as might be the case in a matrix organization. It should also be noted that the links representing management relationships are not weighted in any way. One enhancement of this measure would be the addition of weights to differentiate different types of reporting relationships.

The higher values of Organizational Distance have been combined into one category for two reasons. First of all, the data showed that most pairs of interaction participants had an Organizational Distance of 4 or less. Also, it was impossible to calculate Organizational Distance accurately between some very distant pairs of participants. For example, reviews sometimes included a Reviewer from another IBM company. In these cases, the management links to the outside Reviewer were not well defined. Any pair that included that participant would then have an Organizational Distance of 5.

XOD and MOD are both aggregate measures of Organizational Distance. They differ in the way that Organizational Distance values for individual pairs of participants are aggregated into a value for an entire set of participants. XOD is defined as the maximum Organizational Distance, and MOD is the median Organizational Distance, among all pairs of participants in an interaction. Therefore, XOD would be high for those interactions in which even just one participant is organizationally distant from the others. MOD would be high only for those interactions in which at many of the participants are organizationally distant. The median was chosen for MOD because the shortest path values for each pair of participants are ordinal, not interval, and so the mean is not appropriate.

The two other organizational variables are Familiarity ( Fam ) and Physical Distance ( Phys ). They are also based on pairs of interaction participants, and rely on graphs like those shown in Figures 2 and 3. They are both ordinal. Their levels are shown in Table 1. Familiarity reflects the degree to which the participants in an interaction work together or have worked together outside the review, and thus presumably share common internal representations of the work being done. The familiarity measure also attempts to capture the important informal networks. Physical Distance reflects the number of physical boundaries (walls, buildings, cities) between the interaction participants.

Levels Variable Name Label C o d e^ M e a n i n g^ Data Source(s) Information size Size 1 very small observation; 6/ (ordinal) 2 <= 3 pages interviews; Review 3 < 1 KLOC or 4-9 pages Summary Forms 4 1-2 KLOC or 10-25 pages 5 > 2 KLOC or > 25 pages Technicality Tech 1 non-technical dictated by type of (ordinal) 2 mixed interaction 3 technical Complexity Comp 1 very easy 6/94 interviews (ordinal) 2 easier than average 3 average 4 more difficult than average 5 very difficult Structure Struct 1 highly structured observation (ordinal) 2 mixed 3 unstructured Information Use Use 1 informational dictated by type of (nominal) 2 decisional interaction 3 directional 4 functional Interaction Type Type see Section 3.3.

Table 1. Variables used in this study

The set of blocking variables is large. The first is the size of the set of interaction participants. This variable, labelled N , is simply the number of people who expend effort in an interaction.

Another blocking variable is skill level, K. This variable reflects the level of skill possessed by the person most responsible for an activity, relative to the skills required to complete the activity. The assumption is that the more skilled a person is, the less he or she will depend on other people, and consequently the less time he or she will spend in communication. Many very simple interactions have a high (3) value for K , because such interactions do not require much skill. For other interactions, which are more technical in nature, K is set equal to the skill level of the Chief Reviewer.

We also wish to block according to the type of communication media used in an interaction. Three different parts of an interaction have been identified that require (potentially different) communication media. The first is the medium used to request information. Since many interactions involve unsolicited information, there is no request and thus no medium for this purpose. In the interactions we studied, when such a request was made, it was made either verbally or via email. Thus this variable, labelled Mr , is coded as either a 0 (n/a), 1 (verbal), or 2 (email).

The second part of an interaction which is affected by the choice of communication medium is the preparation of the information to be shared. In the interactions studied, information was prepared in one of five different ways. Some information required simply the completion of a paper form. Other information was to be shared verbally, and required only that the sender prepare his or her thoughts. In this case, written notes might be prepared, but were not shared with other participants in the interaction. The third preparation medium is the writing of a brief, informal message. Fourth is the preparation of a formal document which follows a defined format and structure. Finally, some interactions required the information in the form of an unstructured document. The

blocking variable Mp , the medium used to prepare the information to be shared, is coded as a 1 (form), 2 (verbal), 3 (message), 4 (structured document), or 5 (unstructured document).

Finally, an interaction requires a communication medium to transfer the information between participants. The "transfer" media that were used in the interactions studied were face-to-face meetings, conference calls, video conferences, electronic transfer (email, ftp, etc.), paper, and normal phone calls. These values of the variable, labelled Mt are coded with numbers 1 through 6, respectively.

The last few blocking variables concern properties of the information that is to be shared in an interaction. The first of these variables is the amount of information. The information in most interactions studied was represented by the material that was being reviewed. In some cases, this material was code, measured in LOC, and in others it was a design document, measured in pages. In order to collapse these two "size" measures, we have created an ordinal scale, shown in Table 1, under "Information Size". The first level refers to interactions where the information shared is very simple, e.g. the answer to a "yes or no" question. These interactions are normally part of the managerial tasks surrounding a review. The second level is also used in some managerial interactions that involve a bit more information, e.g. a review summary form, and also reviews of small design documents. The last three levels each correspond to both a number of lines of code and a number of pages. The two definitions of each level were considered roughly equivalent by a number of experienced reviewers. The boundaries between these levels were chosen based on the data, which naturally fell into these groups. The amount of information in an interaction is labelled Size.

The second information characteristic is the degree of technicality of the information. This variable, labelled Tech , is coded as 1 for non-technical (managerial or logistical) information, 2 for information which is mixed, and 3 for purely technical information.

Information complexity, Comp , is coded on a five-point subjective scale, based on the answers to questions put to developers about the comparative complexity of the material being reviewed. Comp ranges from very easy (1) to very hard (5). This variable is meant to capture how much difficulty interaction participants would have in understanding the information. Information in managerial or logistical interactions is generally not very complex (usually 1). Review materials, however, vary over the entire range.

The degree of structure that the information exhibits, labelled Struct , reflects whether or not the information follows some predefined format or is in some language more precise than English. Source code, for example, is highly structured (1), as is information on a form. Questions and discussion are unstructured (3). Design documents, which are written with a predefined template, are in between (2).

The use to which it is to be put after the interaction is another characteristic of information. That is, we want to record the purpose of the interaction and the reason the information needs to be shared. This variable also gives some indication of the importance of the information. This variable, labelled Use , has the value 1 if the purpose of the interaction is general information, and it is not clear what specific activities or decisions will be affected by this information in the future. A value of 2 indicates that the information will be used to help make a decision. Some information is used to influence how and which activities are performed (3). This is often logistical information, for example a deadline. Finally, information can be used as input to an activity (4), for example a design document as input to the implementation activity.

dependent, and blocking variables. In addition, we recorded for each data point what type of interaction it corresponded to, which review that interaction was a part of, and the nature of the material being reviewed (code, design, etc.).

The data analysis involved the construction of histograms to display the distributions of individual variables, and scatterplots to illustrate the relationships between pairs of variables. Blocking variables were used in a limited way to explore whether or not relationships between variables held under different conditions. Part of the analysis also involved blocking the data by interaction type.

Our analysis method basically consisted of creating subsets of data based on the values of one or more variables, then creating histograms and scatterplots based on those subsets. The subsets of interactions that we analyzed are:

  • the entire set of interactions
  • high effort interactions ( CE >250 and CE >500)
  • technical interactions which take place during the review meeting ( questions , defects , and discussion ).
  • by technicality
  • by complexity
  • by degree of structure
  • by size of information
  • by skill level
  • by number of participants
  • by interaction type
  • by line item
  • by combinations of the organizational variables (e.g. low Physical Distance and high MOD )

For each of these subsets, a histogram showing the distribution of CE was generated, as well as scatterplots showing the relationships between CE and each organizational variable ( MOD , XOD , Physical Distance, and Familiarity). To test these relationships, Spearman correlation coefficients were calculated. In addition, the distributions of other variables were analyzed for some of the subsets. For example, we looked at the distribution of interaction types among the high-effort interactions. Also, for both the data set as a whole and for the high-effort interactions, we studied the distributions of all variables. Another two-variable relationships that we explored with scatterplots is the relationship between CE and the number of participants ( N ). For this relationship, we grouped the data by line item to see which line items required more Communication Effort overall, and which required more effort per participant. We also ran ANOVAs (Analysis of Variance tests) on some combinations of variables for some subsets, but there was not enough data to yield meaningful results. Mann-Whitney tests were also used to test some special hypotheses about combined effects of Organizational Distance. The strongest and most interesting of our findings are presented in the next section.

4. Results

The results of our study are presented in four subsections. First, we give an overall characterization of the data collected by looking at each variable in isolation. Then we present some findings concerning the relationships between the dependent variable (Communication Effort) and the various organizational independent variables. We call these relationships "global" because they hold in the data set as a whole. In section 4.3, we

examine those interactions that required the most Communication Effort more closely. Finally, in section 4.4, we divide the data by type of interaction to see what patterns emerge for different types.

4. 1 Data Characterization

We begin by characterizing the data collected. In particular, we will examine the distributions of values of the variables studied. First, as can be seen in Figure 6, the distribution of the dependent variable, Communication Effort, is highly skewed towards the low end. The box plot at the top shows another view of this distribution. The box itself is bounded by the 25th and 75th quantiles. The diamond indicates the mean of the data. 90% of the interactions had a CE of less than 600 person-minutes.The maximum amount of effort any interaction required was 1919 person-minutes, and the minimum was 3 person-minutes. The median was 38 and the mean was about 190.

10

20

30

40

50

0 500 1000 1500 2000

Figure 6. Distribution of Communication Effort (in person-minutes) over all 100 interactions

MOD XOD

Level Count Cum % Count Cum %

1 32 32 23 23 2 29 61 1 24 3 6 67 0 24 4 27 94 33 57 5 6 100 43 100

Table 2. Frequency table for median (MOD) and maximum (XOD) Organizational Distance

It is also useful to look at the distribution of the independent variables. Table 2 shows the numbers and cumulative percentages of data points at each level of MOD and XOD (recall that there are exactly 100 data points, so simple percentages are not shown). About 60% of the interactions had a median Organizational Distance ( MOD ) of 2 or less, while more than three quarters had a maximum Organizational Distance ( XOD ) of 4 or higher. If we look at MOD and XOD together, as in Table 3, we see that most of the data falls into three categories: