Upgrade to Pro — share decks privately, control downloads, hide ads and more …

231116_ATD_Mastering_Broken_Windows_Theory_in_Software_Development

mkwrd
November 16, 2023

 231116_ATD_Mastering_Broken_Windows_Theory_in_Software_Development

The material used in Agile Testing Days 2023.
About the basics of Broken Windows Theory and practice in an agile organisation.
日本語ではありません。

mkwrd

November 16, 2023
Tweet

More Decks by mkwrd

Other Decks in Technology

Transcript

  1. Mastering Broken Windows Theory
    in Software Development
    Masanori Kawarada (Mark Ward), 2023-11-16,

    25 min talk for "Conf in a Conf Session" in Agile Testing Days 2023
    Revisit the Basic Theory as You May or May Not Know


    @mkwrd

    View full-size slide

  2. Masanori Kawarada

    (Mark Ward)
    @mkwrd
    •QA Brain


    ‣ Software Engineering Journeyman with 10+ Years Experience


    ‣ Quality, Agile Development, and Culture


    ‣ Developer in Scrum, Quality Advisor, Global Quality Evangelist,

    Conference Speaker, Translator, Writer, and Organizer of Markin' Quality


    •MBA Certi
    fi
    ed in GLOBIS University, 2022


    ‣ Considering how QA Engineer as the Bridge between Business and Technology


    •International Conference Lover 💖
    From Japan 🇯🇵

    View full-size slide

  3. Broken Windows Theory
    @mkwrd
    • https://en.wikipedia.org/wiki/Broken_windows_theory

    View full-size slide

  4. Quiz: Next Broken Windows
    Which Area Will You Find Next Broken Windows in?
    Area A Area B
    @mkwrd

    View full-size slide

  5. Quiz: Next Broken Windows
    Yeah, Excellent!! But Why?
    Area B
    @mkwrd

    View full-size slide

  6. •Devastation Spreading to Its Surroundings If Left Unchecked


    ‣ One broken window lowers the moral and causes community disorder.


    ‣ To prevent, they have to crack down on every breach of order.


    •Studies in Criminology


    ‣ Philip Zimbardo, 1969


    ‣ George L. Kelling and James Q. Wilson, 1982


    ‣ George L. Kelling and Catharine Coles, 1996
    Broken Windows Theory
    @mkwrd

    View full-size slide

  7. •The United States: Zero-Tolerance Policing


    ‣ Reducing Violent Crimes Drastically in New York (Critised as It's too Excessive)


    •Japan's Police Agency: Enforce Parking Violations


    ‣ Reducing Crimes by 15% over Two Years in An Area of Sapporo City


    •Tokyo Disney Resort: Environmental Maintenance


    ‣ Improving Employee and Visitor Etiquette by thorough

    environmental maintenance like cleanliness and repairing
    Applied in Real Life
    @mkwrd

    View full-size slide

  8. @mkwrd
    How about the Broken Windows Theory

    Applied in Software Development?


    🤔
    Although it's interesting theory, but ...

    View full-size slide

  9. •Software Entropy: Nature's Tendency toward Disorder


    ‣ "When disorder increases in software, programmers call it 'software rot.'"


    ‣ Technical Debt won't be paid back, can spread uncontrollably, told in 2019 ver.


    •"Tip 4: Don't Live with Broken Windows"


    ‣ "Bad designs, wrong decisions, or poor code" ...


    ‣ Any Disorder should be
    fi
    xed as soon as possible.


    ‣ "Tip 5" in 2019 ver.
    "The Pragmatic Programmer" (1999)
    @mkwrd
    • You should read "20th Anniversary Edition" (2019 ver.)


    • This session is based on the 1st edition (1999 ver.)

    View full-size slide

  10. •William Levén et al. (2021)


    ‣ Investigating the causal relationship between the Technical Debt
    density of a system and the propensity of developers to introduce
    new Technical Debt during the extension of that system


    •Terese Besker et al. (2022)


    ‣ With at least 95% credible intervals, signi
    fi
    cant effects of
    Technical Debt level on the subjects’ tendency to re-produce
    and introduce other code smells
    Other Recent Studies
    @mkwrd
    Technical Debts Reproduce Technical Debts

    View full-size slide

  11. "OESFX)VOUBOE%BWJE5IPNBT
    +VTUUFMMZPVSTFMG /PCSPLFOXJOEPXT
    l
    @mkwrd

    View full-size slide

  12. @mkwrd
    How Can Be Done Practically?

    It's IMPOSSIBLE to Go without Broken Windows.


    🤔
    Although the principle says so ...

    View full-size slide

  13. •Discussion about a few Broken Windows in real projects

    to
    fi
    nd out how to
    fi
    x them
    Challenges in The Book
    @mkwrd
    • You should read "20th Anniversary Edition" (2019 ver.)


    • This session is based on the 1st edition (1999 ver.)
    •Consideration how to
    fi
    nd when a window
    fi
    rst
    gets broken, how to react, and what should be
    done if the result is caused by someone else's
    decision or a management edict
    First Step: Find a Broken Window Sooner

    View full-size slide

  14. •De
    fi
    ning Broken Windows as Unrecognised Errors in Production


    ‣ Can't be Perfectly Avoided "Technical Debt" or Other Broken Windows Things


    ‣ Focused on "All Errors Identi
    fi
    ed"


    •30 Mins Meeting to Watch Errors Every Week


    ‣ Sentry, the Error Monitoring Platform, Collecting All Errors in Production


    ‣ Lead by QA Team at First, but Held by Scrum Teams Now


    ‣ Feeling Effective to Expand Scrum Teams in Other Domains
    "No More Broken Windows" Activity
    @mkwrd

    View full-size slide

  15. •Pros


    ‣ Minimum Habit of Coping Errors in Each Scrum Team


    ‣ Cultivating Mindset to See What Happens in Production


    •Cons


    ‣ Some Members Unable to Participate Every Week


    ‣ Losing The Way Sometimes due to Not All Errors Resolvable
    Takeaways of The Activity in 3 Months
    @mkwrd
    Iceberg Model
    • https://www.change-agent.jp/en/systemsthinking/approach/the_iceberg_model.html

    View full-size slide

  16. •Broken Windows Theory Basics


    ‣ Versatile, Proven Theory from Criminology


    •Broken Windows Theory in Software Development


    ‣ Fruitful Learnings from the Classic, "The Pragmatic Programmer"


    •Real Example with Pros and Cons


    ‣ De
    fi
    ning Your "Broken Windows" for Practical Measures


    ‣ Identifying Pros and Cons to Improve the Activity
    Summary
    @mkwrd

    View full-size slide

  17. Mastering Broken Windows Theory
    in Software Development
    Masanori Kawarada (Mark Ward), 2023-11-16,

    25 min talk for "Conf in a Conf Session" in Agile Testing Days 2023
    Revisit the Basic Theory as You May or May Not Know


    @mkwrd

    View full-size slide