1 1 Source: source/pr-app/pr-app-PWR123/pwr-01.c
Note: OK Classification Marking
Note: Good Header
1-15 pwr.1.1
1-74 pwr.1.2
1-128 // (P) this is really improtant
Attention: Classified text in wrong file name: (P)
1-244 #ifdef LAZY
Attention: Conditional Compile ifdef
1-248 #endif
Attention: Conditional Compile #endif
1-326 FreePtr = HmiStringPtr;
Attention: Storage FreePtr = HmiStringPtr;
1-326 . FreePtr = HmiStringPtr;
1-336 pwr.1.3
1-357 . rcv_buffer = (U16 *) alloc(size+1);
1-424 pwr.1.4
1-478 pwr.1.5
1-502 halt;
Attention: Classified text in wrong file name: halt
1-502 . halt;
1-540 default:
{
// missing error call
}
Attention: Missing SwError
1-646 pwr.1.6
1-725 {
case one:
{
run_this;
break;
}
case two:
{
run_this;
break;
}
// missing default
}
A = B+C;
A = B+C;
switch (pwr stuff)
Attention: Missing default
1-755 default:
{
// missing error call
}
Attention: Missing SwError
1-806 pwr.1.7
1-871 /* LE SV TOC-2414 this is a pwr-01.7.16 req to halt*/
Attention: Classified text in wrong file name: halt
1-896 pwr.1.8
1-1008 pwr.1.9
1-1107 Warning: do Loop do forever;
1-1137 {
case one:
{
run_this;
break;
}
case two:
{
run_this;
break;
}
// missing default
}
A = B+C;
A = B-C;
A = B+C;
A = B/C;
if (A ne B)
{
A = B + C;
D = E + F;
}
if (A > B)
{
A = B + C;
D = E + F;
}
if (A ne B)
{
A = B + C;
D = E + F;
}
A = B+C;
A = B-C;
A = B*C;
A = B*C;
A = B/C;
if (A ge B)
{
A = B + C;
D = E + F;
}
A = B-C;
if (A le B)
{
A = B + C;
D = E + F;
}
A = B+C;
switch (pwr stuff)
Attention: Missing default
1-1242 pwr.1.10
1-1297 . rcv_buffer = (U16 *) alloc(size+1);
1-1299 send_buffer = (U16 *) malloc(size+1);
Attention: Storage malloc(size+1);
1-1299 . send_buffer = (U16 *) malloc(size+1);
1-1308 // (P) this is really improtant
Attention: Classified text in wrong file name: (P)
1-1350 pwr.1.11
1-1397 dead_block = C * D;
Attention: Dead Code
1-1445 free(FreePtr);
Attention: Storage FreePtr);
1-1445 . free(FreePtr);
1-1454 /* dead_code = A * B; */
Attention: Dead Code
1-1486 pwr.1.12
1-1676 pwr.1.13
1-1698 // missing break
{
run_this;
// missing break
}
Attention: Missing break in case
Warning: Functions Exceed 13
Error: File with 720 LOC
1 1 Result: result/source/pr-app/pr-app-PWR123/pwr-01.c
2 2 Source: source/pr-app/pr-app-PWR123/pwr-01.h
Note: OK Classification Marking
Note: Good Header
2 2 Result: result/source/pr-app/pr-app-PWR123/pwr-01.h
3 3 Source: source/pr-app/pr-app-PWR123/pwr-02.c
Note: OK Classification Marking
Note: Good Header
2-15 pwr.2.1
2-73 pwr.2.2
2-92 // ??? go see ws
Attention: Possible problem Keyword ??
2-92 . // ??? go see ws
2-130 dead_block = E * F; */
Attention: Dead Code
2-159 dead_block = C * D;
Attention: Dead Code
2-216 A = (long)B + C;
Attention: Recasting (long)
2-258 pwr.2.3
2-280 FreePtr = HmiStringPtr;
Attention: Storage FreePtr = HmiStringPtr;
2-280 . FreePtr = HmiStringPtr;
2-313 Warning: goto Statement goto error;
2-313 . goto error;
2-341 {
case one:
{
switch (nested)
Attention: Missing default
2-343 {
{
switch (nested)
Attention: Nested switch
2-347 X = Y + Z;
X = Y + Z;
case:
Attention: Missing break in case
2-399 // missing break
{
run_this;
// missing break
}
Attention: Missing break in case
2-559 pwr.2.4
2-595 pwr.2.5
2-608 send_buffer = (U16 *) malloc(size+1);
Attention: Storage malloc(size+1);
2-608 . send_buffer = (U16 *) malloc(size+1);
2-632 dead_block = E * F; */
Attention: Dead Code
2-645 case:
case:
Attention: Stacked case statements
2-646
// stacked case statements but only if there is a new line in between
case:
Attention: Stacked case statements
2-647 . // stacked case statements but only if there is a new line in between
2-649 case:
case:
Attention: Stacked case statements
2-650 case:
case:
Attention: Stacked case statements
2-656 default:
{
halt;
}
Attention: Missing SwError
2-658 halt;
Attention: Classified text in wrong file name: halt
2-658 . halt;
2-680 dead_block = E * F; */
Attention: Dead Code
2-805 pwr.2.6
2-843if (veg)
Warning: Missing curly brace looked as far as 850
2-942 halt;
Attention: Classified text in wrong file name: halt
2-942 . halt;
2-954 dead_block = C * D;
Attention: Dead Code
2-1062 // (P) this is really improtant
Attention: Classified text in wrong file name: (P)
Warning: Functions Exceed 6
3 3 Result: result/source/pr-app/pr-app-PWR123/pwr-02.c
4 4 Source: source/pr-app/pr-app-PWR123/pwr-02.h
Attention: File s_ Marking wrong or Header Classification blank
Attention: OOPs No Header
4 4 Result: result/source/pr-app/pr-app-PWR123/pwr-02.h
5 5 Source: source/pr-app/pr-app-PWR123/pwr-03.c
Note: OK Classification Marking
Note: Good Header
3-15 pwr.3.1
3-66 pwr.3.2
3-135 dead_code = D + E;
Attention: Dead Code
3-239 dead_block = C * D;
Attention: Dead Code
3-266 pwr.3.3
3-280 dead_code = B - C;
Attention: Dead Code
3-332 pwr.3.4
3-385 {
case one:
{
switch (nested)
Attention: Missing default
3-387 {
{
switch (nested)
Attention: Nested switch
3-391 X = Y + Z;
X = Y + Z;
case:
Attention: Missing break in case
3-512 pwr.3.5
3-611 dead_code = B - C;
Attention: Dead Code
3-638 pwr.3.6
3-652 . rcv_buffer = (U16 *) alloc(size+1);
3-682 free(FreePtr);
Attention: Storage FreePtr);
3-682 . free(FreePtr);
3-718 {
case one:
{
run_this;
break;
}
case two:
{
run_this;
break;
}
// missing default
}
A = B-C;
A = B*C;
A = B-C;
if (A ge B)
{
A = B + C;
D = E + F;
}
A = B*C;
A = B*C;
A = B/C;
A = B*C;
A = B*C;
if (A > B)
{
A = B + C;
D = E + F;
}
if (A le B)
{
A = B + C;
D = E + F;
}
A = B*C;
A = B*C;
if (A >= B)
{
A = B + C;
D = E + F;
}
if (A le B)
{
A = B + C;
D = E + F;
}
A = B*C;
/* LE SV TOC-2449 this is a pwr-03.6.45 req to store*/
A = B/C;
#ifdef LAZY
// this is not nice
A = B + C;
A = B + C;
#endif
A = B*C;
switch (pwr stuff)
Attention: Missing default
3-782 #ifdef LAZY
Attention: Conditional Compile ifdef
3-786 #endif
Attention: Conditional Compile #endif
3-842 pwr.3.7
3-1025 pwr.3.8
3-1096 . rcv_buffer = (U16 *) alloc(size+1);
3-1190 /* dead_code = A * B; */
Attention: Dead Code
3-1226 dead_code = B - C;
Attention: Dead Code
3-1270 dead_code = D + E;
Attention: Dead Code
Warning: Functions Exceed 8
Error: File with 558 LOC
5 5 Result: result/source/pr-app/pr-app-PWR123/pwr-03.c
6 6 Source: source/pr-app/pr-app-PWR123/pwr-03.h
Note: OK Classification Marking
Note: Good Header
6 6 Result: result/source/pr-app/pr-app-PWR123/pwr-03.h
7 7 Source: source/pr-app/pr-app-PWR123/pwr-04.c
Note: OK Classification Marking
Note: Good Header
4-15 pwr.4.1
4-84 default:
{
// missing error call
}
Attention: Missing SwError
4-158 pwr.4.2
4-290 {
FATAL Compile Error: Missing curly brace LE breaks path
4-299 // TBS - I need to figure this out
Attention: Possible problem Keyword TBS
4-299 . // TBS - I need to figure this out
4-348 A = (float)B + C;
Attention: Recasting (float)
4-364 pwr.4.3
4-389if (veg)
Warning: Missing curly brace looked as far as 394
4-438 dead_code = B - C;
Attention: Dead Code
4-449 {
case one:
{
switch (nested)
Attention: Missing default
4-451 {
{
switch (nested)
Attention: Nested switch
4-455 X = Y + Z;
X = Y + Z;
case:
Attention: Missing break in case
4-500 Warning: goto Statement goto error;
4-500 . goto error;
4-567 A = (long)B + C;
Attention: Recasting (long)
4-571 A = (long)B + C;
Attention: Recasting (long)
4-611 pwr.4.4
4-661 dead_code = B - C;
Attention: Dead Code
4-742 pwr.4.5
4-814 case:
case:
Attention: Stacked case statements
4-815
// stacked case statements but only if there is a new line in between
case:
Attention: Stacked case statements
4-816 . // stacked case statements but only if there is a new line in between
4-818 case:
case:
Attention: Stacked case statements
4-819 case:
case:
Attention: Stacked case statements
4-825 default:
{
halt;
}
Attention: Missing SwError
4-827 halt;
Attention: Classified text in wrong file name: halt
4-827 . halt;
4-850 pwr.4.6
4-891 send_buffer = (U16 *) malloc(size+1);
Attention: Storage malloc(size+1);
4-891 . send_buffer = (U16 *) malloc(size+1);
4-961 A = (long)B + C;
Attention: Recasting (long)
4-968 // missing break
{
run_this;
// missing break
}
Attention: Missing break in case
4-989 . rcv_buffer = (U16 *) alloc(size+1);
4-1053 // (P) this is really improtant
Attention: Classified text in wrong file name: (P)
4-1116 FreePtr = HmiStringPtr;
Attention: Storage FreePtr = HmiStringPtr;
4-1116 . FreePtr = HmiStringPtr;
4-1120 // TBD - what do I do now
Attention: Possible problem Keyword TBD
4-1120 . // TBD - what do I do now
4-1139 pwr.4.7
4-1180if (veg)
Warning: Missing curly brace looked as far as 1185
4-1259 pwr.4.8
4-1284 default:
{
// missing error call
}
Attention: Missing SwError
4-1326 // ??? go see ws
Attention: Possible problem Keyword ??
4-1326 . // ??? go see ws
4-1366 {
case one:
{
switch (nested)
Attention: Missing default
4-1368 {
{
switch (nested)
Attention: Nested switch
4-1372 X = Y + Z;
X = Y + Z;
case:
Attention: Missing break in case
4-1408 A = (long)B + C;
Attention: Recasting (long)
4-1526 pwr.4.9
4-1627 FreePtr = HmiStringPtr;
Attention: Storage FreePtr = HmiStringPtr;
4-1627 . FreePtr = HmiStringPtr;
4-1815 . rcv_buffer = (U16 *) alloc(size+1);
4-1831 pwr.4.10
4-1884 case:
case:
Attention: Stacked case statements
4-1885
// stacked case statements but only if there is a new line in between
case:
Attention: Stacked case statements
4-1886 . // stacked case statements but only if there is a new line in between
4-1888 case:
case:
Attention: Stacked case statements
4-1889 case:
case:
Attention: Stacked case statements
4-1895 default:
{
halt;
}
Attention: Missing SwError
4-1897 halt;
Attention: Classified text in wrong file name: halt
4-1897 . halt;
4-1910 // ??? go see ws
Attention: Possible problem Keyword ??
4-1910 . // ??? go see ws
4-1924 A = (long)B + C;
Attention: Recasting (long)
4-2011 A = (float)B + C;
Attention: Recasting (float)
4-2018 dead_block = C * D;
Attention: Dead Code
4-2044 pwr.4.11
4-2144 default:
{
// missing error call
}
Attention: Missing SwError
4-2227 // TBD - what do I do now
Attention: Possible problem Keyword TBD
4-2227 . // TBD - what do I do now
Warning: Functions Exceed 11
Error: File with 1035 LOC
7 7 Result: result/source/pr-app/pr-app-PWR123/pwr-04.c
8 8 Source: source/pr-app/pr-app-PWR123/pwr-04.h
Note: OK Classification Marking
Note: Good Header
8 8 Result: result/source/pr-app/pr-app-PWR123/pwr-04.h
9 9 Source: source/pr-app/pr-app-PWR123/pwr-05.c
Note: OK Classification Marking
Note: Good Header
5-15 pwr.5.1
5-103 pwr.5.2
5-216 {
case one:
{
run_this;
break;
}
case two:
{
run_this;
break;
}
// missing default
}
if (A != B)
{
A = B + C;
D = E + F;
}
A = B-C;
if (A gt B)
{
A = B + C;
D = E + F;
}
A = B/C;
if (A <= B)
{
A = B + C;
D = E + F;
}
A = B/C;
if (A == B)
{
A = B + C;
D = E + F;
}
A = B*C;
A = (int)B + C;
A = B*C;
/* LE SV TOC-2496 this is a pwr-05.2.37 req to inhibit*/
A = B*C;
A = B/C;
A = 0x0009;
do forever;
if (A ge B)
{
A = B + C;
D = E + F;
}
A = B+C;
if (A != B)
{
A = B + C;
D = E + F;
}
switch (pwr stuff)
Attention: Missing default
5-263 A = (int)B + C;
Attention: Recasting (int)
5-269 Warning: do Loop do forever;
5-346 Warning: goto Statement goto error;
5-346 . goto error;
5-440 pwr.5.3
5-617 pwr.5.4
5-631 A = (long)B + C;
Attention: Recasting (long)
5-703 // missing break
{
run_this;
// missing break
}
Attention: Missing break in case
5-751 pwr.5.5
5-807 default:
{
// missing error call
}
Attention: Missing SwError
5-858 /* LE SV TOC-2505 this is a pwr-05.5.27 req to halt*/
Attention: Classified text in wrong file name: halt
5-864 . rcv_buffer = (U16 *) alloc(size+1);
5-880 /* dead_code = A * B; */
Attention: Dead Code
5-935 pwr.5.6
5-1002 // ??? go see ws
Attention: Possible problem Keyword ??
5-1002 . // ??? go see ws
5-1155 pwr.5.7
5-1183 default:
{
// missing error call
}
Attention: Missing SwError
5-1228 send_buffer = (U16 *) malloc(size+1);
Attention: Storage malloc(size+1);
5-1228 . send_buffer = (U16 *) malloc(size+1);
5-1266 send_buffer = (U16 *) malloc(size+1);
Attention: Storage malloc(size+1);
5-1266 . send_buffer = (U16 *) malloc(size+1);
5-1281 dead_block = E * F; */
Attention: Dead Code
5-1295 pwr.5.8
5-1320 case:
case:
Attention: Stacked case statements
5-1321
// stacked case statements but only if there is a new line in between
case:
Attention: Stacked case statements
5-1322 . // stacked case statements but only if there is a new line in between
5-1324 case:
case:
Attention: Stacked case statements
5-1325 case:
case:
Attention: Stacked case statements
5-1331 default:
{
halt;
}
Attention: Missing SwError
5-1333 halt;
Attention: Classified text in wrong file name: halt
5-1333 . halt;
5-1356 . rcv_buffer = (U16 *) alloc(size+1);
5-1380 free(FreePtr);
Attention: Storage FreePtr);
5-1380 . free(FreePtr);
5-1407 A = (long)B + C;
Attention: Recasting (long)
5-1417 pwr.5.9
5-1440 dead_block = C * D;
Attention: Dead Code
5-1448 {
FATAL Compile Error: Missing curly brace LE breaks path
5-1481 // missing break
{
run_this;
// missing break
}
Attention: Missing break in case
5-1548 pwr.5.10
5-1563 {
FATAL Compile Error: Missing curly brace LE breaks path
5-1666 pwr.5.11
5-1721 pwr.5.12
5-1795 dead_code = B - C;
Attention: Dead Code
5-1917 {
FATAL Compile Error: Missing curly brace LE breaks path
5-1971 /* dead_code = A * B; */
Attention: Dead Code
5-2017 pwr.5.13
5-2231 pwr.5.14
5-2252 {
FATAL Compile Error: Missing curly brace LE breaks path
5-2261 A = (float)B + C;
Attention: Recasting (float)
5-2282 dead_code = D + E;
Attention: Dead Code
5-2318 dead_code = D + E;
Attention: Dead Code
5-2325 // missing break
{
run_this;
// missing break
}
Attention: Missing break in case
Warning: Functions Exceed 14
Error: File with 1010 LOC
9 9 Result: result/source/pr-app/pr-app-PWR123/pwr-05.c
10 10 Source: source/pr-app/pr-app-PWR123/pwr-05.h
Note: OK Classification Marking
Note: Good Header
10 10 Result: result/source/pr-app/pr-app-PWR123/pwr-05.h
11 11 Source: source/pr-app/pr-app-PWR123/pwr-06.c
Note: OK Classification Marking
Note: Good Header
6-15 pwr.6.1
6-135 pwr.6.2
6-157 send_buffer = (U16 *) malloc(size+1);
Attention: Storage malloc(size+1);
6-157 . send_buffer = (U16 *) malloc(size+1);
6-160 A = (int)B + C;
Attention: Recasting (int)
6-204 pwr.6.3
6-216 // ??? go see ws
Attention: Possible problem Keyword ??
6-216 . // ??? go see ws
6-282 pwr.6.4
6-302 // (P) this is really improtant
Attention: Classified text in wrong file name: (P)
6-436 Warning: goto Statement goto error;
6-436 . goto error;
6-465 pwr.6.5
6-548 /* dead_code = A * B; */
Attention: Dead Code
6-557 #ifdef LAZY
Attention: Conditional Compile ifdef
6-561 #endif
Attention: Conditional Compile #endif
6-585 Warning: do Loop do forever;
6-652 A = (float)B + C;
Attention: Recasting (float)
6-683 {
FATAL Compile Error: Missing curly brace LE breaks path
6-703 . rcv_buffer = (U16 *) alloc(size+1);
6-712 pwr.6.6
6-792 FreePtr = HmiStringPtr;
Attention: Storage FreePtr = HmiStringPtr;
6-792 . FreePtr = HmiStringPtr;
6-864 dead_code = B - C;
Attention: Dead Code
6-906 pwr.6.7
6-933 // TBS - I need to figure this out
Attention: Possible problem Keyword TBS
6-933 . // TBS - I need to figure this out
6-1065 pwr.6.8
6-1094 pwr.6.9
6-1208 {
FATAL Compile Error: Missing curly brace LE breaks path
6-1296 /* dead_code = A * B; */
Attention: Dead Code
6-1298 free(FreePtr);
Attention: Storage FreePtr);
6-1298 . free(FreePtr);
Warning: Functions Exceed 9
Error: File with 587 LOC
11 11 Result: result/source/pr-app/pr-app-PWR123/pwr-06.c
12 12 Source: source/pr-app/pr-app-PWR123/pwr-06.h
Note: OK Classification Marking
Note: Good Header
12 12 Result: result/source/pr-app/pr-app-PWR123/pwr-06.h
13 13 Source: source/pr-app/pr-app-PWR123/pwr-07.c
Note: OK Classification Marking
Note: Good Header
7-15 pwr.7.1
7-86 halt;
Attention: Classified text in wrong file name: halt
7-86 . halt;
7-91 A = (int)B + C;
Attention: Recasting (int)
7-125 pwr.7.2
7-232 dead_block = E * F; */
Attention: Dead Code
7-297 pwr.7.3
7-335 FreePtr = HmiStringPtr;
Attention: Storage FreePtr = HmiStringPtr;
7-335 . FreePtr = HmiStringPtr;
7-413 case:
case:
Attention: Stacked case statements
7-414
// stacked case statements but only if there is a new line in between
case:
Attention: Stacked case statements
7-415 . // stacked case statements but only if there is a new line in between
7-417 case:
case:
Attention: Stacked case statements
7-418 case:
case:
Attention: Stacked case statements
7-424 default:
{
halt;
}
Attention: Missing SwError
7-426 halt;
Attention: Classified text in wrong file name: halt
7-426 . halt;
7-439 pwr.7.4
7-453 {
case one:
{
switch (nested)
Attention: Missing default
7-455 {
{
switch (nested)
Attention: Nested switch
7-459 X = Y + Z;
X = Y + Z;
case:
Attention: Missing break in case
7-512 pwr.7.5
7-533 {
case one:
{
run_this;
break;
}
case two:
{
run_this;
break;
}
// missing default
}
A = B/C;
A = 0x0007;
A = B+C;
if (A lt B)
{
A = B + C;
D = E + F;
}
if (A gt B)
{
A = B + C;
D = E + F;
}
if (A ge B)
{
A = B + C;
D = E + F;
}
A = B/C;
A = B-C;
A = B/C;
A = B-C;
A = (int)B + C;
A = B+C;
/* LE SV TOC-2540 this is a pwr-07.5.13 req to check unix*/
A = B+C;
if (A lt B)
{
A = B + C;
D = E + F;
}
if (A le B)
{
A = B + C;
D = E + F;
}
if (A != B)
{
A = B + C;
D = E + F;
}
A = B+C;
if (A == B)
{
A = B + C;
D = E + F;
}
A = B+C;
/* LE SV TOC-2541 this is a pwr-07.5.20 req to convert*/
A = B+C;
A = B+C;
A = B+C;
switch (pwr stuff)
Attention: Missing default
7-576 A = (int)B + C;
Attention: Recasting (int)
7-627 default:
{
// missing error call
}
Attention: Missing SwError
7-646 #ifdef LAZY
Attention: Conditional Compile ifdef
7-650 #endif
Attention: Conditional Compile #endif
7-720 Warning: goto Statement goto error;
7-720 . goto error;
7-769 dead_block = E * F; */
Attention: Dead Code
7-780 . rcv_buffer = (U16 *) alloc(size+1);
7-795 pwr.7.6
7-809 #ifdef LAZY
Attention: Conditional Compile ifdef
7-813 #endif
Attention: Conditional Compile #endif
7-842 pwr.7.7
7-918 halt;
Attention: Classified text in wrong file name: halt
7-918 . halt;
7-945 A = (long)B + C;
Attention: Recasting (long)
7-1000 pwr.7.8
7-1012 A = (float)B + C;
Attention: Recasting (float)
Warning: Functions Exceed 8
13 13 Result: result/source/pr-app/pr-app-PWR123/pwr-07.c
14 14 Source: source/pr-app/pr-app-PWR123/pwr-07.h
Note: OK Classification Marking
Note: Good Header
14 14 Result: result/source/pr-app/pr-app-PWR123/pwr-07.h
15 15 Source: source/pr-app/pr-app-PWR123/pwr-08.c
Note: OK Classification Marking
Note: Good Header
8-15 pwr.8.1
8-51 A = (long)B + C;
Attention: Recasting (long)
8-92 dead_block = C * D;
Attention: Dead Code
8-105 . rcv_buffer = (U16 *) alloc(size+1);
8-110 dead_code = B - C;
Attention: Dead Code
8-146 // ??? go see ws
Attention: Possible problem Keyword ??
8-146 . // ??? go see ws
15 15 Result: result/source/pr-app/pr-app-PWR123/pwr-08.c
16 16 Source: source/pr-app/pr-app-PWR123/pwr-08.h
Note: OK Classification Marking
Note: Good Header
16 16 Result: result/source/pr-app/pr-app-PWR123/pwr-08.h