How a review works
Flagging a finding
- Click a line to select it, press and drag to select a block, or Shift-click to extend. On the keyboard, Tab to a file's changes, move with the arrow keys, hold Shift to select a block and press Enter to flag it.
- Search by CWE number, name or plain words in the "Weakness" box, or press "Browse the list by family" if you know the kind of fault, not its name.
- Pick the closest match. The named weakness, an accepted alternative or one in the same family counts.
Selection size
A selection more than four lines longer than the longest weakness is refused.
How findings are marked
Each weakness you find is worth 10 points, so full marks are 10 times the number of weaknesses. Every wrong try costs 1 point. Your score never goes below 0.
The pass mark is 80% of full marks, shown in points, such as 24 of 30.
Contesting a result
To contest your score, press the button in the bottom right corner of the challenge and send us a report.Your report reaches us with your name and email address. The privacy notice says how we use and keep them.
Finishing
A review finishes when you find the last weakness or press "I'm finished".
Passing or skipping finishes the challenge. On Beginner and Intermediate, "Try again" starts a new attempt after a skip or a failed review.
Find the fix
Some codebases let you find the fix for each weakness you found. A right answer earns a bonus point.
Read next
Cannot find the answer here? Send us the question.
