check github lines calculation