visualisations

39
Visualizing what’s happening on our project Mark Needham

Upload: mark-needham

Post on 10-May-2015

2.126 views

Category:

Technology


1 download

DESCRIPTION

Different visualisations from our project

TRANSCRIPT

Page 1: Visualisations

Visualizing what’s happening on our project

Mark Needham

Page 2: Visualisations

Why?

Curious to see the trend with lines of

code

Do the same people pair with

each other?

How big are our commits?

How many people work on an average

story?

Do people work in the same area of

the code?

Page 3: Visualisations

Breakable Toys

“Budget for failure by designing and building toy systems that are similar to the systems you build at work in toolset but not in scope.”

Page 4: Visualisations

Demo of the graphs

Page 5: Visualisations

The evolution of the code

Humble Shell Scripts

Hacked together web app

Page 6: Visualisations

The humble shell script

Page 7: Visualisations

Jetty Web Server

Text files

JSON

Page 8: Visualisations

node.js server

JSON

Page 9: Visualisations

step

mongodb

expressexpresso

jade

underscore

npm

nodemon

Page 10: Visualisations

Getting git commits

Page 11: Visualisations

Parsing git commits

Alex/Charles #0 Added functional ML test

Mark/Pat: some other shizzleLiz/Marc: important stuff

Mark/Liz: a very long, and weird message

[“Alex”, “Charles”]

[ “Mark”, “Liz”]

[ “Mark”, “Pat”]

[ “Liz”, “Marc”]

Page 12: Visualisations

Parsing git commits

Page 13: Visualisations

Unit Testing!

Page 14: Visualisations

Parsing git commits

Page 15: Visualisations

Parsing git commits

#fail

Page 16: Visualisations

Parsing git commits

Alex/Charles #0 Added functional ML test

Mark/Pat: some other shizzleLiz/Marc: important stuff

Mark/Liz: a very long, and weird message

{ “Alex” : 1, “Charles” : 1, “Mark” : 2, “Added” : 1, “some” : 1, “important” : 1 }

Page 17: Visualisations

Parsing git commits

Page 18: Visualisations

Parsing git commits

Page 19: Visualisations

Parsing git commits

Uday/Liz: Did some stuff with mark logic

?

Page 20: Visualisations

Parsing git commits

Uday/Liz: Did some stuff with mark logic

{ “Mark” : 1, “Uday” : 1, “Liz” : 1, “did” : 1 }

Page 21: Visualisations

Parsing git commits

Uday/Liz: Did some stuff with mark logic

{ “Mark” : 1, “Uday” : 1, “Liz” : 1, “did” : 1 }#fail

Page 22: Visualisations

Calculating lines of code

Page 23: Visualisations

Abusing node

Page 24: Visualisations

Abusing node

$ curl http://localhost:3000/git/updatecurl: (52) Empty reply from server

Page 25: Visualisations

Faking HTTP responses

Page 26: Visualisations

git log -l30000 --no-merges --ignore-all-space --shortstat --ignore-all-space --pretty="format:%cd%n%s" --find-copies

Parsing git extended history

Page 27: Visualisations

git log -l30000 --no-merges --ignore-all-space --shortstat --ignore-all-space --pretty="format:%cd%n%s" --find-copies

Parsing git extended history

Page 28: Visualisations

Parsing git extended history

Page 29: Visualisations

Parsing git extended history

Page 30: Visualisations

Protovis

RGraph

Graphing libraries

Page 31: Visualisations

Protovis

RGraph

Graphing libraries

Page 32: Visualisations

High Charts

Page 33: Visualisations

High Charts

Page 34: Visualisations

Protovis

Page 35: Visualisations

Protovis

Page 36: Visualisations

The Pair Stair

Page 37: Visualisations

What did we learn from these graphs?

Who rotates pairs

regularly

Whether people are avoiding

working on XQuery

Who started off working on a

particular feature

When the build

breaks most

frequently

When/What the big code changes were

Page 38: Visualisations

Gaming the system

Page 39: Visualisations

The End

Mark Needham@markhneedham