1. A method of analyzing software code written in a programming language, said programming language specifying a plurality of constructs, said method being performed in a digital processing system, said method comprising: providing, on a display unit, a visual interface designed to receive values identifying constructs of said programming language; receiving, from a user using said visual interface, a first set of values corresponding to a first construct of interest; generating, based on said first set of values, a first rule indicating a string of characters that would constitute said first construct of interest; and identifying, by applying said first rule to said software code, a plurality of blocks in said software code, wherein each of said plurality of blocks matches said string of characters indicated by said first rule, wherein said plurality of blocks respectively represent corresponding occurrences of said first construct of interest in said software code.