@@ -634,7 +634,7 @@ mod tests {
634634 "metrics" : { "cyclomatic" : { "sum" : 2.0 , "average" : 1.0 } ,
635635 "cognitive" : 0.0 ,
636636 "nargs" : 0. ,
637- "nexits" : 0. ,
637+ "nexits" : { "sum" : 0.0 , "average" : 0.0 } ,
638638 "halstead" : { "bugs" : 0.000_942_552_557_372_941_4 ,
639639 "difficulty" : 1.0 ,
640640 "effort" : 4.754_887_502_163_468 ,
@@ -661,7 +661,7 @@ mod tests {
661661 "metrics" : { "cyclomatic" : { "sum" : 1.0 , "average" : 1.0 } ,
662662 "cognitive" : 0.0 ,
663663 "nargs" : 0. ,
664- "nexits" : 0. ,
664+ "nexits" : { "sum" : 0.0 , "average" : 0.0 } ,
665665 "halstead" : { "bugs" : 0.000_942_552_557_372_941_4 ,
666666 "difficulty" : 1.0 ,
667667 "effort" : 4.754_887_502_163_468 ,
@@ -714,7 +714,7 @@ mod tests {
714714 "metrics" : { "cyclomatic" : { "sum" : 2.0 , "average" : 1.0 } ,
715715 "cognitive" : 0.0 ,
716716 "nargs" : 0. ,
717- "nexits" : 0. ,
717+ "nexits" : { "sum" : 0.0 , "average" : 0.0 } ,
718718 "halstead" : { "bugs" : 0.000_942_552_557_372_941_4 ,
719719 "difficulty" : 1.0 ,
720720 "effort" : 4.754_887_502_163_468 ,
@@ -763,7 +763,7 @@ mod tests {
763763 "metrics" : { "cyclomatic" : { "sum" : 2.0 , "average" : 1.0 } ,
764764 "cognitive" : 0.0 ,
765765 "nargs" : 0. ,
766- "nexits" : 0. ,
766+ "nexits" : { "sum" : 0.0 , "average" : 0.0 } ,
767767 "halstead" : { "bugs" : 0.000_942_552_557_372_941_4 ,
768768 "difficulty" : 1.0 ,
769769 "effort" : 4.754_887_502_163_468 ,
@@ -790,7 +790,7 @@ mod tests {
790790 "metrics" : { "cyclomatic" : { "sum" : 1.0 , "average" : 1.0 } ,
791791 "cognitive" : 0.0 ,
792792 "nargs" : 0. ,
793- "nexits" : 0. ,
793+ "nexits" : { "sum" : 0.0 , "average" : 0.0 } ,
794794 "halstead" : { "bugs" : 0.000_942_552_557_372_941_4 ,
795795 "difficulty" : 1.0 ,
796796 "effort" : 4.754_887_502_163_468 ,
0 commit comments