A coding session is any period of time in which you were active in your code editor.
Events that count toward your coding activity include focusing your editor, opening and closing files, and opening a new project. All events that count toward active code time, such as adding or removing a line, also count toward code time—active code time is a subset of code time.