When you die, does Allah judge you by last minutes action before you die or overall during your life time?
For example: You always pray salaat regular since you were a child and never missed a salaat. Now you are age of 30 - you just committed a major sin such as adultery and passed away after few hours.