DB.pm -- defines/exports all constants and subroutines related to database backends.
This module defines all database-related properties. Every property is initialized with a default value, which can be overriden by setting the corresponding environment variable.
DB_DIR
The directory of the database storing all results (BASE_DIR/result_db)
TAB_REV_PAIRS
The name of the database table for the results of analyzing all revision pairs (rev_pairs)
TAB_TRIGGER
The name of the database table for the results of analyzing triggering tests (trigger)
TAB_BUG_DETECTION
The name of the database table for the results of running bug detection analysis (bug_detection)
TAB_MUTATION
The name of the database table for the results of running mutation analysis (mutation)
TAB_COVERAGE
The name of the database table for the results of running coverage analysis (coverage)
TAB_CODE_EVOLUTION
The name of the database table for the results of running code evolution analysis (code_evolution)
TAB_REVIEW
The name of the database table for the results of patch review (review)
TAB_FIX
The name of the database table for the results of fixing automatically generated test cases (fix)
get_db_handle(table [, db_dir])
Connect to database and return database handle -- this subroutine will initialize the database and the requested table
if necessary.
get_tab_columns(table)
Returns a list of column names for table
or undef
if this table does not exist.