@@ -442,7 +442,6 @@ impl Loc for JavaCode {
442442
443443 let ( start, end) = init ( node, stats, is_func_space, is_unit) ;
444444 let kind_id : Java = node. object ( ) . kind_id ( ) . into ( ) ;
445- println ! ( "KINDID {}" , kind_id. to_string( ) ) ;
446445 match kind_id {
447446 Program => { }
448447 Comment => {
@@ -465,7 +464,6 @@ impl Loc for JavaCode {
465464 | ThrowStatement
466465 | TryStatement
467466 | UpdateExpression => {
468- println ! ( " lloc increased by {}" , kind_id. to_string( ) ) ;
469467 stats. logical_lines += 1 ;
470468 }
471469 For => {
@@ -476,7 +474,6 @@ impl Loc for JavaCode {
476474 {
477475 // handle for(int i:arr)
478476 // otherwise the statements in the for are counted elsewhere
479- println ! ( " lloc increased by {}" , kind_id. to_string( ) ) ;
480477 stats. logical_lines += 1 ;
481478 }
482479 }
@@ -1500,7 +1497,7 @@ mod tests {
15001497 loc,
15011498 [
15021499 ( sloc, 11 , usize ) , // The number of lines is 11
1503- ( ploc, 6 , usize ) , // The number of code lines is 5
1500+ ( ploc, 6 , usize ) , // The number of code lines is 6
15041501 ( lloc, 1 , usize ) , // The number of statements is 1
15051502 ( cloc, 5 , usize ) , // The number of comments is 5
15061503 ( blank, 1 , usize ) // The number of blank lines is 1
0 commit comments