Mohammad Ghafari


I am a Senior Lecturer in the School of Computer Science. From 2016 to mid-2020, I was a senior researcher in the Institute of Computer Science at the University of Bern, Switzerland. I obtained my Ph.D. from Politecnico di Milano, Italy in 2015.

I am passionate about Empirical Software Engineering, and my expertise is at the confluence of program analysis, mining software repositories, and security. I've conducted several projects with industry and am keen to work on problems that arise from practice.

A complete list of my publications is available on Google Scholar.

Research | Current

My overarching research agenda is to support developers in building a high-quality software. Currently, I am focused on developing tools and techniques that tame security for mainstream developers.

Teaching | Current

  • COMPSCI 101: Principles of Programming
  • COMPSCI 732/SOFTENG 750: Software Tools and Techniques
  • SOFTENG 325: Software Architecture
  • ENGGEN 131: Introduction to Engineering Computation and Software Development


New Staff Network Coordinator in the School of Computer Science

Contact details

Primary office location

SCIENCE CENTRE 303 - Bldg 303
Level 4, Room 401
New Zealand

Social links