  Software development organisations strive to maintain their effectiveness
while the complexity of the systems they develop continues to grow. To tackle
this challenge, organisations tend to be organised into small teams working
with components that can be developed separately. Here, organisations must
design their architecture and organisational structures in a way that enables
communication and minimises dependencies, and helps teams reduce code and
architectural degradation. Ensuring that each small independent team is
responsible for components they primarily contribute is one approach to
achieving this goal. This study aims at understanding the impact of ownership
and contribution alignment on accumulation of code technical debt and how
abrupt changes in team constellation affect teams' effectiveness in managing
TD. We conducted an embedded case study in a company developing a very large
software system, analysing ten components belonging to 1 team. During the
studied period, the team was split into two, and the components owned by them
were distributed between the two new teams. With high degrees of contribution
alignment, we noticed a negative correlation between contribution alignment and
TD Density before the team split. In 4 components, this correlation is
statistically significant. This means a higher contribution alignment degree
implies a lower TD Density. After the split, we observe a negative correlation
in 3 components. The positive correlation observed in the other 5 components
could be attributed to low contribution alignment, leading to difficulties in
managing TD. Our findings suggest that contribution alignment can be important
in controlling TD in software development organisations. Making teams
responsible for the quality of components they have more expertise over and
minimising dependencies between teams can help organisations mitigate the
growth of TD.
