SQL Inventory

List of all SQL mentioned in the code..

ValueCountFile:Line
"
            SELECT MAX(revision) AS max
            FROM run
        "
1
  • /code/Cram/PHPUnit/CoverageDatabase.php
"
            SELECT DISTINCT file.code_full_file_name AS file,
                test_file.code_full_file_name AS test
            FROM test
                JOIN code_method m ON (m.code_method_id = test.code_method_id)
                JOIN code_class c ON (c.code_class_id = m.code_class_id)
                JOIN code_file test_file ON (test_file.code_file_id = c.code_file_id)
                JOIN code_coverage cov ON (cov.test_id = test.test_id)
                JOIN code_line l ON (l.code_line_id = cov.code_line_id)
                JOIN code_file file ON (file.code_file_id = l.code_file_id)
            WHERE test.run_id = 
{$run_id}
        "
1
  • /code/Cram/PHPUnit/CoverageDatabase.php
"
            SELECT MAX(run_id)
            FROM run
            WHERE revision = 
{$revision}
        "
1
  • /code/Cram/PHPUnit/CoverageDatabase.php