20.01.2014 Views

thesis - Faculty of Information and Communication Technologies ...

thesis - Faculty of Information and Communication Technologies ...

thesis - Faculty of Information and Communication Technologies ...

SHOW MORE
SHOW LESS

Create successful ePaper yourself

Turn your PDF publications into a flip-book with our unique Google optimized e-Paper software.

10<br />

12<br />

14<br />

16<br />

18<br />

20<br />

22<br />

24<br />

26<br />

28<br />

30<br />

32<br />

34<br />

36<br />

38<br />

40<br />

Chapter 6. Change Dynamics<br />

100%<br />

90%<br />

80%<br />

70%<br />

% Classes<br />

60%<br />

50%<br />

40%<br />

30%<br />

20%<br />

10%<br />

0%<br />

1<br />

4<br />

6<br />

8<br />

Release Sequence Number<br />

Unchanged Modified Deleted<br />

Figure 6.1: Change evolution in the Hibernate framework. This graph<br />

illustrates change property captured by Equation 6.2.9.<br />

our observations for Hibernate framework <strong>and</strong> illustrates the change<br />

evolution.<br />

An interesting observation was that in 12 (30%) systems, at least once<br />

in their lifetime, we noticed the percentage <strong>of</strong> unchanged classes dropping<br />

to zero, indicating that every class in the system was modified between<br />

two releases. Upon closer investigation, we noticed that this was<br />

caused by the developers modifying their package names. In Java, the<br />

st<strong>and</strong>ard coding convention is to embed the organisation name within<br />

the package name (for example, org.apache.wicket.Page indicates that<br />

this is a project managed by Apache). When projects move between<br />

organisations (or) get adopted by commercial sponsors they tend to rename<br />

all classes which causes the unchanged class count to drop to<br />

zero. Further, we also had a few instances (25 versions), where developers<br />

renamed some <strong>of</strong> the packages, but left many with the older<br />

names. When they partially renamed, we noticed that the number <strong>of</strong><br />

unchanged classes was mostly under 10%.<br />

148

Hooray! Your file is uploaded and ready to be published.

Saved successfully!

Ooh no, something went wrong!