Buggy code:
public final class AccessTest extends BaseJDBCTestCase { private static final String [ ] MODIFIED_DB_PROPS = new String [ ] { "derby.storage.pageSize" , "derby.storage.minimumRecordSize" , "derby.storage.pageReservedSpace" } ; public AccessTest ( String name ) { } public static Test suite ( ) { } protected void tearDown ( ) throws Exception { } public void testQualifierSkipLOLB ( ) throws Exception { } public void testCSBug2590 ( ) throws Exception { } public void testCSBug735 ( ) throws Exception { } public void test_conglomDirectory ( ) throws Exception { } public void testPartialRowRTStats ( ) throws Exception { } private void assertStatsOK ( Statement st , String expectedScan , String expTableInIndexScan , String expIndexInIndexScan , String expBits , String expNumCols , String expDelRowsV , String expPages , String expRowsQ , String expRowsV , String expScanType , String expStartPosition , String expStopPosition , String expQualifier , String expQualifierInfo ) throws SQLException { } private void runQueriesNormal ( Statement st ) throws SQLException { } private void runQueriesWithIndex ( Statement st ) throws SQLException { } private void runQueriesWithDeletedRows ( Statement st ) throws SQLException { } private void runQueriesWithIndexDeletedRows ( Statement st ) throws SQLException { } private void doQuery1 ( Statement st ) throws SQLException { } private void doQuery2 ( Statement st ) throws SQLException { } private void doQuery3 ( Statement st ) throws SQLException { } private void doQuery4 ( Statement st ) throws SQLException { } private void doQuery5 ( Statement st ) throws SQLException { } private void doQuery6 ( Statement st ) throws SQLException { } private void doQuery ( Statement st , String query , String [ ] expColNames , String [ ] [ ] expRS ) throws SQLException { } public void testCostingCoveredQuery ( ) throws Exception { } public void testKeyTooBigError ( ) throws Exception { } public void testSpaceForUpdate ( ) throws Exception { } public void testLoadLongColumnsCreateIndex ( ) throws Exception { } public void testCS1346 ( ) throws Exception { } public void testCS1346b ( ) throws Exception { } public void testCS1552 ( ) throws Exception { } public void testCS2241 ( ) throws Exception { } private void reclaimTest ( String createIndex , String expectedError ) throws SQLException { } public void testReclaimDeletedRowsDuringSplit ( ) throws Exception { } public void testReclaimDeletedRowsUniqueIndex ( ) throws Exception { } private void setupForReclaim2 ( Statement st ) throws SQLException { } private void reclaimDeletedRows2 ( boolean toCommit ) throws SQLException { } public void testUncommittedDeletesNotReclaimed ( ) throws Exception { } public void testCommittedDeletesReclaim ( ) throws Exception { } public void testAllUncommittedReclaim ( ) throws Exception { } public void testCS2778 ( ) throws Exception { } public void testCS3149 ( ) throws Exception { } public void testCS3368_3370 ( ) throws Exception { } private void checkSpaceTable ( Statement st , String expValue ) throws SQLException { } private void doTestCaseCS4595A ( Statement st , String indexOrConstraint ) throws SQLException { } private void doTestCaseCS4595B ( Statement st , String indexOrConstraint ) throws SQLException { ResultSet rs = null ; String [ ] expColNames ; String indexName ; if ( indexOrConstraint . equals ( "Index" ) ) indexName = "FOOX" ; else indexName = null ; commit ( ) ; assertUpdateCount ( st , 1 , "update<seq2seq4repair_space>foo<seq2seq4repair_space>set<seq2seq4repair_space>b<seq2seq4repair_space>=<seq2seq4repair_space>2<seq2seq4repair_space>where<seq2seq4repair_space>a<seq2seq4repair_space>=<seq2seq4repair_space>1" ) ; assertStatsOK ( st , indexOrConstraint , "FOO" , indexName , "All" , "2" , "0" , "1" , "1" , "1" , "btree" , ">=<seq2seq4repair_space>on<seq2seq4repair_space>first<seq2seq4repair_space>1<seq2seq4repair_space>column(s)." , "><seq2seq4repair_space>on<seq2seq4repair_space>first<seq2seq4repair_space>1<seq2seq4repair_space>column(s)." , "None" , null ) ; st . execute ( "delete<seq2seq4repair_space>from<seq2seq4repair_space>foo<seq2seq4repair_space>where<seq2seq4repair_space>a<seq2seq4repair_space>=<seq2seq4repair_space>1" ) ; assertStatsOK ( st , indexOrConstraint , "FOO" , indexName , "{0,<seq2seq4repair_space>1}" , "2" , "0" , "1" , "1" , "1" , "btree" , ">=<seq2seq4repair_space>on<seq2seq4repair_space>first<seq2seq4repair_space>1<seq2seq4repair_space>column(s)." , "><seq2seq4repair_space>on<seq2seq4repair_space>first<seq2seq4repair_space>1<seq2seq4repair_space>column(s)." , "None" , null ) ; rs = st . executeQuery ( "select<seq2seq4repair_space>*<seq2seq4repair_space>from<seq2seq4repair_space>foo<seq2seq4repair_space>where<seq2seq4repair_space>a<seq2seq4repair_space>=<seq2seq4repair_space>2" ) ; JDBC . assertEmpty ( rs ) ; assertStatsOK ( st , indexOrConstraint , "FOO" , indexName , "All" , "2" , "0" , null , "0" , "0" , "btree" , ">=<seq2seq4repair_space>on<seq2seq4repair_space>first<seq2seq4repair_space>1<seq2seq4repair_space>column(s)." , "><seq2seq4repair_space>on<seq2seq4repair_space>first<seq2seq4repair_space>1<seq2seq4repair_space>column(s)." , "None" , null ) ; rs = st . executeQuery ( "select<seq2seq4repair_space>a<seq2seq4repair_space>from<seq2seq4repair_space>foo<seq2seq4repair_space>where<seq2seq4repair_space>a<seq2seq4repair_space>=<seq2seq4repair_space>2" ) ; expColNames = new String [ ] { "A" } ; JDBC . assertColumnNames ( rs , expColNames ) ; JDBC . assertDrainResults ( rs , 0 ) ; assertStatsOK ( st , indexOrConstraint , "FOO" , indexName , "{0}" , "1" , "0" , null , "0" , "0" , "btree" , ">=<seq2seq4repair_space>on<seq2seq4repair_space>first<seq2seq4repair_space>1<seq2seq4repair_space>column(s)." , "><seq2seq4repair_space>on<seq2seq4repair_space>first<seq2seq4repair_space>1<seq2seq4repair_space>column(s)." , "None" , null ) ; rs = st . executeQuery ( "select<seq2seq4repair_space>a<seq2seq4repair_space>from<seq2seq4repair_space>foo<seq2seq4repair_space>where<seq2seq4repair_space>a<seq2seq4repair_space>=<seq2seq4repair_space>2" ) ; expColNames = new String [ ] { "A" } ; JDBC . assertColumnNames ( rs , expColNames ) ; JDBC . assertDrainResults ( rs , 0 ) ; <START_BUG> assertStatsOK ( st , indexOrConstraint , "FOO" , indexName , "{0}" , "1" , "0" , "1" , "0" , "0" , "btree" , ">=<seq2seq4repair_space>on<seq2seq4repair_space>first<seq2seq4repair_space>1<seq2seq4repair_space>column(s)." , "><seq2seq4repair_space>on<seq2seq4repair_space>first<seq2seq4repair_space>1<seq2seq4repair_space>column(s)." , "None" , null ) ; <END_BUG> st . execute ( "drop<seq2seq4repair_space>table<seq2seq4repair_space>foo" ) ; } public void testCS4595A_UniqueIndex ( ) throws Exception { } public void testCS4595B_UniqueIndex ( ) throws Exception { } public void testCS4595A_PrimaryKey ( ) throws Exception { } public void testCS4595B_PrimaryKey ( ) throws Exception { } public void testCaseCS4595A_NonUniqueIndex ( ) throws Exception { } public void testCaseCS4595B_NonUniqueIndex ( ) throws Exception { } public void testQualifiers ( ) throws Exception { } }

Fix:
assertStatsOK ( st , indexOrConstraint , "FOO" , indexName , "{0}" , "1" , "0" , null , "0" , "0" , "btree" , ">=<seq2seq4repair_space>on<seq2seq4repair_space>first<seq2seq4repair_space>1<seq2seq4repair_space>column(s)." , "><seq2seq4repair_space>on<seq2seq4repair_space>first<seq2seq4repair_space>1<seq2seq4repair_space>column(s)." , "None" , null ) ;