Rosetta Code/Tasks sorted by average lines of code

From Rosetta Code
Note that it is not necessarily the case that this task represents a sensible concept for Rosetta Code, as it may well be promoting an anti-pattern.

As such, please do not attempt it until discussion fully resolves this issue.

Rosetta Code/Tasks sorted by average lines of code is a draft programming task. It is not yet considered ready to be promoted as a complete task, for reasons that should be found in its talk page.

Tasks in Rosetta Code in generally are simple tasks, yet they still lie in a range of complexity spectrum. By sorting tasks in term of its complexity, a new code contributer may find himself more comfortable to submit code in order from simple task to more complex one. An intuitive complexity indicator may be the average number of lines of code for the tasks.

Task:
Sort the tasks in Rosetta Code in ascending order of average lines of code. Some issues to be aware of:

  1. It may be difficult to identify a code block from raw html source;
  2. Some languages may provide multiple demonstrations, average should be made per demonstration rather than per language.
  3. Warning: this task may cause heavy traffic load of the site, please be cautious.