METHOD_0 ( ) { java . lang . String size = "foo" ; ddf . catalog . data . impl . IDENT_0 IDENT_1 = new ddf . catalog . data . impl . METHOD_1 ( ) ; IDENT_1 . METHOD_2 ( size ) ; java . lang . String result = org . codice . ddf . IDENT_2 . IDENT_3 . IDENT_4 . IDENT_5 . helper . METHOD_3 ( IDENT_1 ) ; "<AssertPlaceHolder>" ; } METHOD_3 ( ddf . catalog . data . IDENT_6 ) { java . lang . String IDENT_7 = context . METHOD_4 ( ) ; java . lang . String IDENT_8 = STRING_0 ; if ( ( ( IDENT_7 == null ) || ( ( IDENT_7 . trim ( ) . length ( ) ) == 0 ) ) || ( ( IDENT_7 . toLowerCase ( ) . indexOf ( STRING_1 ) ) >= 0 ) ) { return null ; } long size = 0 ; try { size = java . lang . Long . METHOD_5 ( IDENT_7 ) ; } catch ( java . lang . IDENT_9 IDENT_10 ) { org . codice . ddf . IDENT_2 . IDENT_3 . IDENT_4 . IDENT_11 . LOGGER . debug ( STRING_2 , org . apache . commons . lang . StringUtils . trim ( IDENT_7 ) ) ; return IDENT_7 ; } if ( size <= 0 ) { return STRING_3 ; } int IDENT_12 = ( ( int ) ( java . lang . Math . min ( java . lang . Math . METHOD_6 ( ( ( java . lang . Math . log ( size ) ) / ( java . lang . Math . log ( INT_0 ) ) ) ) , 12 ) ) ) ; char c = IDENT_8 . charAt ( IDENT_12 ) ; return ( ( ( ( java . lang . Math . METHOD_7 ( ( ( size * 100 ) / ( java . lang . Math . METHOD_8 ( INT_0 , IDENT_12 ) ) ) ) ) / 100 ) + " " ) + ( c == STRING_4 ? "" : c ) ) + STRING_5 ; }
org . junit . Assert . assertEquals ( size , result )