To calculate the overall star rating and percentage breakdown by star, we do not use a simple average. Instead, our system considers things like how recent a review is and if the reviewer bought the item on Amazon. It also analyses reviews to verify trustworthiness.
It was good reading. You are learning from basic how vulnerabilities could affect your application. The technology mention in the book was out dated but overall it explained well. I believe reader who does not have security knowledge can understand easily.