1 1 Source: source/pr-app/pr-app-MSAW123/msaw-01.c
Note: OK Classification Marking
Note: Good Header
1-15 msaw.1.1
1-216 A = (long)B + C;
Attention: Recasting (long)
1 1 Result: result/source/pr-app/pr-app-MSAW123/msaw-01.c
2 2 Source: source/pr-app/pr-app-MSAW123/msaw-01.h
Note: OK Classification Marking
Note: Good Header
2 2 Result: result/source/pr-app/pr-app-MSAW123/msaw-01.h
3 3 Source: source/pr-app/pr-app-MSAW123/msaw-02.c
Attention: File s_ Marking wrong or Header Classification blank
your header
Attention: Possible problem Header
Possible Missing Fields BEGIN PROLOGUE CLASSIFICATION FILE NAME ABSTRACT HISTORY CCCQ_VER END PROLOGUE
Possible Extra Fields
2-13 msaw.2.1
2-165 FreePtr = HmiStringPtr;
Attention: Storage FreePtr = HmiStringPtr;
2-165 . FreePtr = HmiStringPtr;
2-217 {
case one:
{
run_this;
break;
}
case two:
{
run_this;
break;
}
// missing default
}
A = B/C;
A = B*C;
A = B/C;
if (A eq B)
{
A = B + C;
D = E + F;
}
if (A != B)
{
A = B + C;
D = E + F;
}
if (A lt B)
{
A = B + C;
D = E + F;
}
if (A ge B)
{
A = B + C;
D = E + F;
}
if (A != B)
{
A = B + C;
D = E + F;
}
if (A <= B)
{
A = B + C;
D = E + F;
}
switch (msaw stuff)
Attention: Missing default
2-350 free(FreePtr);
Attention: Storage FreePtr);
2-350 . free(FreePtr);
2-390 msaw.2.2
2-412 send_buffer = (U16 *) malloc(size+1);
Attention: Storage malloc(size+1);
2-412 . send_buffer = (U16 *) malloc(size+1);
2-490 // missing break
{
run_this;
// missing break
}
Attention: Missing break in case
2-560 // missing break
{
run_this;
// missing break
}
Attention: Missing break in case
2-596 // missing break
{
run_this;
// missing break
}
Attention: Missing break in case
3 3 Result: result/source/pr-app/pr-app-MSAW123/msaw-02.c
4 4 Source: source/pr-app/pr-app-MSAW123/msaw-02.h
Note: OK Classification Marking
Note: Good Header
4 4 Result: result/source/pr-app/pr-app-MSAW123/msaw-02.h
5 5 Source: source/pr-app/pr-app-MSAW123/msaw-03.c
Note: OK Classification Marking
Note: Good Header
3-15 msaw.3.1
3-44 halt;
Attention: Classified text in wrong file name: halt
3-44 . halt;
3-88 dead_code = D + E;
Attention: Dead Code
3-179 /* dead_code = A * B; */
Attention: Dead Code
3-335 // missing break
{
run_this;
// missing break
}
Attention: Missing break in case
3-382 msaw.3.2
3-411if (veg)
Warning: Missing curly brace looked as far as 417
3-431if (veg)
Warning: Missing curly brace looked as far as 437
3-537 Warning: goto Statement goto error;
3-537 . goto error;
3-617 dead_code = D + E;
Attention: Dead Code
3-623 dead_block = E * F; */
Attention: Dead Code
3-647 msaw.3.3
3-706 {
case one:
{
switch (nested)
Attention: Missing default
3-708 {
{
switch (nested)
Attention: Nested switch
3-712 X = Y + Z;
X = Y + Z;
case:
Attention: Missing break in case
3-841 {
case one:
{
run_this;
break;
}
case two:
{
run_this;
break;
}
// missing default
}
if (A == B)
{
A = B + C;
D = E + F;
}
A = B*C;
A = B+C;
if (A < B)
{
A = B + C;
D = E + F;
}
A = B*C;
A = B*C;
if (A ne B)
{
A = B + C;
D = E + F;
}
if (A gt B)
{
A = B + C;
D = E + F;
}
A = B-C;
A = B+C;
A = B/C;
// max LOC 62
}
/*
-----------------------------------------------------------------------------
--| NAME: msaw.3.4
Attention: Missing default
3-898 msaw.3.4
3-1024 msaw.3.5
3-1116 msaw.3.6
3-1140 dead_block = C * D;
Attention: Dead Code
3-1171 case:
case:
Attention: Stacked case statements
3-1172
// stacked case statements but only if there is a new line in between
case:
Attention: Stacked case statements
3-1173 . // stacked case statements but only if there is a new line in between
3-1175 case:
case:
Attention: Stacked case statements
3-1176 case:
case:
Attention: Stacked case statements
3-1182 default:
{
halt;
}
Attention: Missing SwError
3-1184 halt;
Attention: Classified text in wrong file name: halt
3-1184 . halt;
3-1285 {
FATAL Compile Error: Missing curly brace LE breaks path
3-1362 msaw.3.7
3-1388if (veg)
Warning: Missing curly brace looked as far as 1393
3-1503 A = (int)B + C;
Attention: Recasting (int)
3-1548 {
case one:
{
run_this;
break;
}
case two:
{
run_this;
break;
}
// missing default
}
if (A ne B)
{
A = B + C;
D = E + F;
}
A = B+C;
A = B/C;
if (A le B)
{
A = B + C;
D = E + F;
}
if (A le B)
{
A = B + C;
D = E + F;
}
if (A ge B)
{
A = B + C;
D = E + F;
}
switch (msaw stuff)
Attention: Missing default
3-1621 halt;
Attention: Classified text in wrong file name: halt
3-1621 . halt;
3-1706 msaw.3.8
3-1809 /* LE SV TOC-2228 this is a msaw-03.8.24 req to halt*/
Attention: Classified text in wrong file name: halt
3-1849 msaw.3.9
3-1913 msaw.3.10
3-1997 dead_block = C * D;
Attention: Dead Code
3-2011if (veg)
Warning: Missing curly brace looked as far as 2019
3-2033 msaw.3.11
3-2131 FreePtr = HmiStringPtr;
Attention: Storage FreePtr = HmiStringPtr;
3-2131 . FreePtr = HmiStringPtr;
3-2184 {
case one:
{
switch (nested)
Attention: Missing default
3-2186 {
{
switch (nested)
Attention: Nested switch
3-2190 X = Y + Z;
X = Y + Z;
case:
Attention: Missing break in case
3-2217 // TBD - what do I do now
Attention: Possible problem Keyword TBD
3-2217 . // TBD - what do I do now
3-2247 msaw.3.12
3-2290 /* dead_code = A * B; */
Attention: Dead Code
3-2307 /* LE SV TOC-2235 this is a msaw-03.12.12 req to halt*/
Attention: Classified text in wrong file name: halt
3-2349 dead_code = B - C;
Attention: Dead Code
Warning: Functions Exceed 12
Error: File with 1027 LOC
5 5 Result: result/source/pr-app/pr-app-MSAW123/msaw-03.c
6 6 Source: source/pr-app/pr-app-MSAW123/msaw-03.h
Note: OK Classification Marking
Note: Good Header
6 6 Result: result/source/pr-app/pr-app-MSAW123/msaw-03.h
7 7 Source: source/pr-app/pr-app-MSAW123/msaw-04.c
Note: OK Classification Marking
Note: Good Header
4-15 msaw.4.1
4-46 msaw.4.2
4-80 msaw.4.3
4-105if (veg)
Warning: Missing curly brace looked as far as 124
4-115 dead_block = E * F; */
Attention: Dead Code
4-134 A = (long)B + C;
Attention: Recasting (long)
4-220 /* LE SV TOC-2240 this is a msaw-04.3.43 req to halt*/
Attention: Classified text in wrong file name: halt
4-228 case:
case:
Attention: Stacked case statements
4-229
// stacked case statements but only if there is a new line in between
case:
Attention: Stacked case statements
4-230 . // stacked case statements but only if there is a new line in between
4-232 case:
case:
Attention: Stacked case statements
4-233 case:
case:
Attention: Stacked case statements
4-239 default:
{
halt;
}
Attention: Missing SwError
4-241 halt;
Attention: Classified text in wrong file name: halt
4-241 . halt;
4-280 msaw.4.4
4-310 // ??? go see ws
Attention: Possible problem Keyword ??
4-310 . // ??? go see ws
4-320 // TBS - I need to figure this out
Attention: Possible problem Keyword TBS
4-320 . // TBS - I need to figure this out
4-490 dead_block = E * F; */
Attention: Dead Code
4-498 // missing break
{
run_this;
// missing break
}
Attention: Missing break in case
4-560 msaw.4.5
4-674 {
case one:
{
switch (nested)
Attention: Missing default
4-676 {
{
switch (nested)
Attention: Nested switch
4-680 X = Y + Z;
X = Y + Z;
case:
Attention: Missing break in case
4-713 msaw.4.6
4-761 msaw.4.7
4-813 // (P) this is really improtant
Attention: Classified text in wrong file name: (P)
4-834 msaw.4.8
4-899 free(FreePtr);
Attention: Storage FreePtr);
4-899 . free(FreePtr);
4-932 msaw.4.9
4-1003 msaw.4.10
4-1018if (veg)
Warning: Missing curly brace looked as far as 1023
4-1064 dead_code = B - C;
Attention: Dead Code
4-1082if (veg)
Warning: Missing curly brace looked as far as 1094
4-1091 A = (long)B + C;
FATAL Compile Error: LE breaks long path
4-1092 A = (long)B + C;
Attention: Recasting (long)
4-1157 {
FATAL Compile Error: Missing curly brace LE breaks path
4-1164 // TBD - what do I do now
Attention: Possible problem Keyword TBD
4-1164 . // TBD - what do I do now
4-1203 FreePtr = HmiStringPtr;
Attention: Storage FreePtr = HmiStringPtr;
4-1203 . FreePtr = HmiStringPtr;
4-1235 msaw.4.11
4-1271 // TBD - what do I do now
Attention: Possible problem Keyword TBD
4-1271 . // TBD - what do I do now
4-1281 /* LE SV TOC-2251 this is a msaw-04.11.15 req to halt*/
Attention: Classified text in wrong file name: halt
4-1333 {
case one:
{
switch (nested)
Attention: Missing default
4-1335 {
{
switch (nested)
Attention: Nested switch
4-1339 X = Y + Z;
X = Y + Z;
case:
Attention: Missing break in case
4-1362 A = (float)B + C;
Attention: Recasting (float)
4-1445 msaw.4.12
4-1501 msaw.4.13
4-1521if (veg)
Warning: Missing curly brace looked as far as 1528
4-1581 A = (long)B + C;
Attention: Recasting (long)
4-1655 // ??? go see ws
Attention: Possible problem Keyword ??
4-1655 . // ??? go see ws
4-1688 msaw.4.14
4-1703 send_buffer = (U16 *) malloc(size+1);
Attention: Storage malloc(size+1);
4-1703 . send_buffer = (U16 *) malloc(size+1);
4-1715 halt;
Attention: Classified text in wrong file name: halt
4-1715 . halt;
4-1720 Warning: goto Statement goto error;
4-1720 . goto error;
4-1744 // TBD - what do I do now
Attention: Possible problem Keyword TBD
4-1744 . // TBD - what do I do now
Warning: Functions Exceed 14
Error: File with 710 LOC
7 7 Result: result/source/pr-app/pr-app-MSAW123/msaw-04.c
8 8 Source: source/pr-app/pr-app-MSAW123/msaw-04.h
Note: OK Classification Marking
Note: Good Header
8 8 Result: result/source/pr-app/pr-app-MSAW123/msaw-04.h