@@ -512,7 +512,6 @@ impl Loc for JavaCode {
512512
513513 let ( start, end) = init ( node, stats, is_func_space, is_unit) ;
514514 let kind_id : Java = node. object ( ) . kind_id ( ) . into ( ) ;
515- println ! ( "KINDID {}" , kind_id. to_string( ) ) ;
516515 match kind_id {
517516 Program => { }
518517 Comment => {
@@ -535,7 +534,6 @@ impl Loc for JavaCode {
535534 | ThrowStatement
536535 | TryStatement
537536 | UpdateExpression => {
538- println ! ( " lloc increased by {}" , kind_id. to_string( ) ) ;
539537 stats. logical_lines += 1 ;
540538 }
541539 For => {
@@ -546,7 +544,6 @@ impl Loc for JavaCode {
546544 {
547545 // handle for(int i:arr)
548546 // otherwise the statements in the for are counted elsewhere
549- println ! ( " lloc increased by {}" , kind_id. to_string( ) ) ;
550547 stats. logical_lines += 1 ;
551548 }
552549 }
@@ -1742,7 +1739,7 @@ mod tests {
17421739 loc,
17431740 [
17441741 ( sloc, 11 , usize ) , // The number of lines is 11
1745- ( ploc, 6 , usize ) , // The number of code lines is 5
1742+ ( ploc, 6 , usize ) , // The number of code lines is 6
17461743 ( lloc, 1 , usize ) , // The number of statements is 1
17471744 ( cloc, 5 , usize ) , // The number of comments is 5
17481745 ( blank, 1 , usize ) // The number of blank lines is 1
0 commit comments