Secure Code Warrior platform offers three difficulty levels for challenges: Easy, Medium, and Hard. Vulnerabilities themselves do not have difficulty levels, but each vulnerability is associated with challenges of different difficulty levels.
Below we will outline the changes in each stage per each difficulty.
Select Vulnerability Category:
As the difficulty increases, more possible options will be presented to choose from with only one option being correct. The following table shows the number of maximum options/categories for each difficulty level.
|Difficulty Level||Max number of options/categories to choose from|
|Easy||4 vulnerability categories|
|Medium||6 vulnerability categories|
|Hard||8 vulnerability categories|
As the difficulty increases, there will be more code blocks marked as vulnerable in different files to choose from.
|Difficulty level||Correct chunks||Incorrect chunks||Marked files|
|Easy||1||1 to 7||1 to 4|
|Medium||1||7 to 14||4 to 7|
|Hard||2||14 to 20||7 to 10|
This stage does not have a measurable difference like other stages, but the complexity will increase as the difficulty increases.
In most cases, easy challenges will have changes in one file and have one location to fix since they are simple.
Medium and hard challenges will have changes in multiple files and have multiple snippets of code in different locations to be fixed which adds to the complexity.