1. A method for performing static analysis of one or more query expressions embedded in programming language source code, the method comprising: extracting the one or more query expressions from the programming language source code; performing the static analysis on the extracted one or more query expressions; and reporting results of performing the static analysis on the one or more query expressions, wherein the results relate errors and warning generated by performing the static analysis to the source code from which the one or more query expressions are extracted.