VSS Package Index Abraxas VSS Home Table of Contents
CodeCheck Voting System Standards Test Suite - v423b.c
v423b.c(1): /*
VSS 423b. Each module shall be uniquely and mnemonically named, using names that
differ by more than a single character. In addition to the unique name, the
modules shall include a set of header comments identifying the module’s
purpose, design, conditions, and version history, followed by the operational
code. Headers are optional for modules of fewer than ten executable lines
where the subject module is embedded in a larger module that has a header
containing the header information. Library modules shall also have a header
comment describing the purpose of the library and version information;
v423b.c(10): */
v423b.c(11):
Function Name: vss_423b()
v423b.c(12): vss_423b() { // good function, is similiar to module name
v423b.c(13):
v423b.c(14):
v423b.c(15):
v423b.c(16):
v423b.c(17):
v423b.c(18):
v423b.c(19):
v423b.c(20):
v423b.c(21):
v423b.c(22): }
v423b.c(23):
Function Name: test()
v423b.c(24): test() { // ok, small routine
v423b.c(25):
v423b.c(26): }
v423b.c(27):
Function Name: testfun()
v423b.c(28): testfun() { // bad this function doesn't belong here
v423b.c(29):
v423b.c(30):
v423b.c(31):
v423b.c(32):
v423b.c(33):
v423b.c(34):
v423b.c(35):
v423b.c(36):
v423b.c(37):
v423b.c(38): }
VSS Package Index Abraxas VSS Home Table of Contents
CodeCheck Copyright (c) 1988-2006 by Abraxas Software Inc. (R). All rights reserved.