VSS Package Index  Abraxas VSS Home Table of Contents

Abraxas Software, Inc.


CodeCheck Voting System Standards Test Suite - v542r.c

v542r.c(1): /*
5.4.2 Assessment of Coding Conventions
r. Has functions with fewer than six levels of indented scope, counted as
follows:
v542r.c(5): */
v542r.c(6): 
v542r.c(7): 
v542r.c(8): int function_v542K()
v542r.c(9): 



Function Name: function_v542K()

v542r.c(10): {
v542r.c(11): if (a = true)
v542r.c(12): //1
v542r.c(13): {
v542r.c(14): if ( b = true )
v542r.c(15): //2
v542r.c(16): {
v542r.c(17): if ( c = true )
v542r.c(18): //3
v542r.c(19): {
v542r.c(20): if ( d = true )
v542r.c(21): //4
v542r.c(22): {
v542r.c(23): while(e > 0 )
v542r.c(24): //5
v542r.c(25): {
v542r.c(26): //code
v542r.c(27): }
v542r.c(28): }
v542r.c(29): }
v542r.c(30): }
v542r.c(31): }
v542r.c(32): }
v542r.c(33): 
v542r.c(34): int function_v542K_bad()
v542r.c(35): 



Function Name: function_v542K_bad()

v542r.c(36): {
v542r.c(37): if (a = true)
v542r.c(38): //1
v542r.c(39): {
v542r.c(40): if ( b = true )
v542r.c(41): //2
v542r.c(42): {
v542r.c(43): if ( c = true )
v542r.c(44): //3
v542r.c(45): {
v542r.c(46): if ( d = true )
v542r.c(47): //4
v542r.c(48): {
v542r.c(49): while(e > 0 )
v542r.c(50): //5
v542r.c(51): {
v542r.c(52): 	if (  f > 0 ) { exit(); }	// six, ILLEGAL
v542r.c(53): }
v542r.c(54): }
v542r.c(55): }
v542r.c(56): }
v542r.c(57): }
v542r.c(58): }

VSS Package Index  Abraxas VSS Home Table of Contents

CodeCheck Copyright (c) 1988-2006 by Abraxas Software Inc. (R). All rights reserved.