12/08/2003 16:11:05
Analysis Group Stats
Possible Problems
1 4-290 . source/pr-app/pr-app-PWR123/pwr-04.c FATAL Compile Error Missing curly brace LE breaks path near: /* LE SV TOC-008 1 2 5-1448 . source/pr-app/pr-app-PWR123/pwr-05.c FATAL Compile Error Missing curly brace LE breaks path near: /* LE SV TOC-008 1 3 5-1563 . FATAL Compile Error Missing curly brace LE breaks path near: /* LE SV TOC-008 1 4 5-1917 . FATAL Compile Error Missing curly brace LE breaks path near: /* LE SV TOC-008 1 5 5-2252 . FATAL Compile Error Missing curly brace LE breaks path near: /* LE SV TOC-008 1 6 6-1208 . source/pr-app/pr-app-PWR123/pwr-06.c FATAL Compile Error Missing curly brace LE breaks path near: /* LE SV TOC-008 1 7 6-683 . FATAL Compile Error Missing curly brace LE breaks path near: /* LE SV TOC-008 1 Summary: 7 out of 4957 LOC = 0.14% or 3 out of 16 files = 18.75% 0.14 18.75
BEGIN PROLOGUE CLASSIFICATION FILE NAME ABSTRACT HISTORY CCCQ_VER END PROLOGUE
Looks good no header c findings :)
PVL 1 source/pr-app/pr-app-PWR123/pwr-02.h OOPs No Header Summary: 1 out of 8 files = 12.5% 12.5
Looks good no header a findings :)
1 source/pr-app/pr-app-PWR123/pwr-02.h File s_ marking wrong or Header Classification blank PVL Summary: 1 out of 16 files = 6.25% 6.25
1 1-128 . source/pr-app/pr-app-PWR123/pwr-01.c Classified text in wrong file name: // (P) this is really improtant PVL 2 1-1308 . Classified text in wrong file name: // (P) this is really improtant 3 1-502 . Classified text in wrong file name: halt ; 4 1-871 . Classified text in wrong file name: /* LE SV TOC-2414 this is a pwr-01.7.16 req to halt */ 5 2-1062 . source/pr-app/pr-app-PWR123/pwr-02.c Classified text in wrong file name: // (P) this is really improtant PVL 6 2-658 . Classified text in wrong file name: halt ; 7 2-942 . Classified text in wrong file name: halt ; 8 4-1053 . source/pr-app/pr-app-PWR123/pwr-04.c Classified text in wrong file name: // (P) this is really improtant PVL 9 4-1897 . Classified text in wrong file name: halt ; 10 4-827 . Classified text in wrong file name: halt ; 11 5-1333 . source/pr-app/pr-app-PWR123/pwr-05.c Classified text in wrong file name: halt ; PVL 12 5-858 . Classified text in wrong file name: /* LE SV TOC-2505 this is a pwr-05.5.27 req to halt */ 13 6-302 . source/pr-app/pr-app-PWR123/pwr-06.c Classified text in wrong file name: // (P) this is really improtant PVL 14 7-426 . source/pr-app/pr-app-PWR123/pwr-07.c Classified text in wrong file name: halt ; PVL 15 7-86 . Classified text in wrong file name: halt ; 16 7-918 . Classified text in wrong file name: halt ; Summary: 16 out of 4957 LOC = 0.32% or 6 out of 16 files = 37.5% 0.32 37.5
C files1 2-92 . source/pr-app/pr-app-PWR123/pwr-02.c // ? ?? go see ws PVL 2 4-1120 . source/pr-app/pr-app-PWR123/pwr-04.c // TBD - what do I do now PVL 3 4-1326 . // ? ?? go see ws 4 4-1910 . // ? ?? go see ws 5 4-2227 . // TBD - what do I do now 6 4-299 . // TBS - I need to figure this out 7 5-1002 . source/pr-app/pr-app-PWR123/pwr-05.c // ? ?? go see ws PVL 8 6-216 . source/pr-app/pr-app-PWR123/pwr-06.c // ? ?? go see ws PVL 9 6-933 . // TBS - I need to figure this out 10 8-146 . source/pr-app/pr-app-PWR123/pwr-08.c // ? ?? go see ws PVL
H files
Assembly files
other files
Summary: 10 out of 4957 LOC = 0.2% or 5 out of 16 files = 31.25% 0.2 31.25
Looks good no bad fixed keyword findings :)C files
Summary: 0 out of 4957 LOC = 0% or 0 out of 16 files = 0% 0 0
1 1-244 . source/pr-app/pr-app-PWR123/pwr-01.c # ifdef LAZY PVL 2 1-248 . #endif 3 3-782 . source/pr-app/pr-app-PWR123/pwr-03.c # ifdef LAZY PVL 4 3-786 . #endif 5 6-557 . source/pr-app/pr-app-PWR123/pwr-06.c # ifdef LAZY PVL 6 6-561 . #endif 7 7-646 . source/pr-app/pr-app-PWR123/pwr-07.c # ifdef LAZY PVL 8 7-650 . #endif 9 7-809 . # ifdef LAZY 10 7-813 . #endif Summary: 10 out of 4957 LOC = 0.2% or 4 out of 16 files = 25% 0.2 25
1 2-843 . source/pr-app/pr-app-PWR123/pwr-02.c Missing curly brace if (veg) looked as far as 850 PVL 2 4-1180 . source/pr-app/pr-app-PWR123/pwr-04.c Missing curly brace if (veg) looked as far as 1185 PVL 3 4-389 . Missing curly brace if (veg) looked as far as 394 Summary: 3 out of 4957 LOC = 0.06% or 2 out of 16 files = 12.5% 0.06 12.5
1 1-1137 . source/pr-app/pr-app-PWR123/pwr-01.c Missing default PVL 2 1-725 . Missing default 3 2-341 . source/pr-app/pr-app-PWR123/pwr-02.c Missing default PVL 4 3-385 . source/pr-app/pr-app-PWR123/pwr-03.c Missing default PVL 5 3-718 . Missing default 6 4-1366 . source/pr-app/pr-app-PWR123/pwr-04.c Missing default PVL 7 4-449 . Missing default 8 5-216 . source/pr-app/pr-app-PWR123/pwr-05.c Missing default PVL 9 7-453 . source/pr-app/pr-app-PWR123/pwr-07.c Missing default PVL 10 7-533 . Missing default Summary: 10 out of 4957 LOC = 0.2% or 6 out of 16 files = 37.5% 0.2 37.5
1 1-540 . source/pr-app/pr-app-PWR123/pwr-01.c Missing SwError PVL 2 1-755 . Missing SwError 3 2-656 . source/pr-app/pr-app-PWR123/pwr-02.c Missing SwError PVL 4 4-1284 . source/pr-app/pr-app-PWR123/pwr-04.c Missing SwError PVL 5 4-1895 . Missing SwError 6 4-2144 . Missing SwError 7 4-825 . Missing SwError 8 4-84 . Missing SwError 9 5-1183 . source/pr-app/pr-app-PWR123/pwr-05.c Missing SwError PVL 10 5-1331 . Missing SwError 11 5-807 . Missing SwError 12 7-424 . source/pr-app/pr-app-PWR123/pwr-07.c Missing SwError PVL 13 7-627 . Missing SwError Summary: 13 out of 4957 LOC = 0.26% or 5 out of 16 files = 31.25% 0.26 31.25
1 1-1698 . source/pr-app/pr-app-PWR123/pwr-01.c Missing break in case PVL 2 2-347 . source/pr-app/pr-app-PWR123/pwr-02.c Missing break in case PVL 3 2-399 . Missing break in case 4 3-391 . source/pr-app/pr-app-PWR123/pwr-03.c Missing break in case PVL 5 4-1372 . source/pr-app/pr-app-PWR123/pwr-04.c Missing break in case PVL 6 4-455 . Missing break in case 7 4-968 . Missing break in case 8 5-1481 . source/pr-app/pr-app-PWR123/pwr-05.c Missing break in case PVL 9 5-2325 . Missing break in case 10 5-703 . Missing break in case 11 7-459 . source/pr-app/pr-app-PWR123/pwr-07.c Missing break in case PVL Summary: 11 out of 4957 LOC = 0.22% or 6 out of 16 files = 37.5% 0.22 37.5
1 2-343 . source/pr-app/pr-app-PWR123/pwr-02.c Nested switch PVL 2 3-387 . source/pr-app/pr-app-PWR123/pwr-03.c Nested switch PVL 3 4-1368 . source/pr-app/pr-app-PWR123/pwr-04.c Nested switch PVL 4 4-451 . Nested switch 5 7-455 . source/pr-app/pr-app-PWR123/pwr-07.c Nested switch PVL Summary: 5 out of 4957 LOC = 0.1% or 4 out of 16 files = 25% 0.1 25
1 2-645 . source/pr-app/pr-app-PWR123/pwr-02.c Stacked case statements PVL 2 2-646 . Stacked case statements 3 2-649 . Stacked case statements 4 2-650 . Stacked case statements 5 4-1884 . source/pr-app/pr-app-PWR123/pwr-04.c Stacked case statements PVL 6 4-1885 . Stacked case statements 7 4-1888 . Stacked case statements 8 4-1889 . Stacked case statements 9 4-814 . Stacked case statements 10 4-815 . Stacked case statements 11 4-818 . Stacked case statements 12 4-819 . Stacked case statements 13 5-1320 . source/pr-app/pr-app-PWR123/pwr-05.c Stacked case statements PVL 14 5-1321 . Stacked case statements 15 5-1324 . Stacked case statements 16 5-1325 . Stacked case statements 17 7-413 . source/pr-app/pr-app-PWR123/pwr-07.c Stacked case statements PVL 18 7-414 . Stacked case statements 19 7-417 . Stacked case statements 20 7-418 . Stacked case statements Summary: 20 out of 4957 LOC = 0.4% or 4 out of 16 files = 25% 0.4 25
1 source/pr-app/pr-app-PWR123/pwr-08.c PVL Summary: 1 out of 16 files = 6.25% 6.25
1 source/pr-app/pr-app-PWR123/pwr-01.c 13 PVL 2 source/pr-app/pr-app-PWR123/pwr-02.c 6 PVL 3 source/pr-app/pr-app-PWR123/pwr-03.c 8 PVL 4 source/pr-app/pr-app-PWR123/pwr-04.c 11 PVL 5 source/pr-app/pr-app-PWR123/pwr-05.c 14 PVL 6 source/pr-app/pr-app-PWR123/pwr-06.c 9 PVL 7 source/pr-app/pr-app-PWR123/pwr-07.c 8 PVL Summary: 7 out of 16 files = 43.75% 43.75
1 source/pr-app/pr-app-PWR123/pwr-01.c Error: File with 720 LOC detected PVL 2 source/pr-app/pr-app-PWR123/pwr-03.c Error: File with 558 LOC detected PVL 3 source/pr-app/pr-app-PWR123/pwr-04.c Error: File with 1035 LOC detected PVL 4 source/pr-app/pr-app-PWR123/pwr-05.c Error: File with 1010 LOC detected PVL 5 source/pr-app/pr-app-PWR123/pwr-06.c Error: File with 587 LOC detected PVL Summary: 1 out of 16 files = 6.25% 6.25
1 source/pr-app/pr-app-PWR123/pwr-01.c 720 PVL 2 source/pr-app/pr-app-PWR123/pwr-02.c 462 PVL 3 source/pr-app/pr-app-PWR123/pwr-03.c 558 PVL 4 source/pr-app/pr-app-PWR123/pwr-04.c 1035 PVL 5 source/pr-app/pr-app-PWR123/pwr-05.c 1010 PVL 6 source/pr-app/pr-app-PWR123/pwr-06.c 587 PVL 7 source/pr-app/pr-app-PWR123/pwr-07.c 446 PVL Summary: 7 out of 70 Functions = 10% or 7 out of 16 files = 43.75% 10 43.75
Looks good no lt LOC per file findings :)Summary: 0 out of 70 Functions = 0% or 0 out of 16 files = 0% 0 0
1 1-1397 . source/pr-app/pr-app-PWR123/pwr-01.c B dead_block = C * D; PVL 2 1-1454 . A /* dead_code = A * B; */ 3 2-130 . source/pr-app/pr-app-PWR123/pwr-02.c B dead_block = E * F; */ PVL 4 2-159 . B dead_block = C * D; 5 2-632 . B dead_block = E * F; */ 6 2-680 . B dead_block = E * F; */ 7 2-954 . B dead_block = C * D; 8 3-1190 . source/pr-app/pr-app-PWR123/pwr-03.c A /* dead_code = A * B; */ PVL 9 3-1226 . B dead_code = B - C; 10 3-1270 . B dead_code = D + E; 11 3-135 . B dead_code = D + E; 12 3-239 . B dead_block = C * D; 13 3-280 . B dead_code = B - C; 14 3-611 . B dead_code = B - C; 15 4-2018 . source/pr-app/pr-app-PWR123/pwr-04.c B dead_block = C * D; PVL 16 4-438 . B dead_code = B - C; 17 4-661 . B dead_code = B - C; 18 5-1281 . source/pr-app/pr-app-PWR123/pwr-05.c B dead_block = E * F; */ PVL 19 5-1440 . B dead_block = C * D; 20 5-1795 . B dead_code = B - C; 21 5-1971 . A /* dead_code = A * B; */ 22 5-2282 . B dead_code = D + E; 23 5-2318 . B dead_code = D + E; 24 5-880 . A /* dead_code = A * B; */ 25 6-1296 . source/pr-app/pr-app-PWR123/pwr-06.c A /* dead_code = A * B; */ PVL 26 6-548 . A /* dead_code = A * B; */ 27 6-864 . B dead_code = B - C; 28 7-232 . source/pr-app/pr-app-PWR123/pwr-07.c B dead_block = E * F; */ PVL 29 7-769 . B dead_block = E * F; */ 30 8-110 . source/pr-app/pr-app-PWR123/pwr-08.c B dead_code = B - C; PVL 31 8-92 . B dead_block = C * D; Summary: 31 out of 4957 LOC = 0.62% or 8 out of 16 files = 50% 0.62 50
Looks good no log event findings :)Summary: 0 out of 4957 LOC = 0% or 0 out of 16 files = 0% 0 0
Looks good no length sets to consider :)Summary: 0 out of 4957 LOC = 0% or 0 out of 16 files = 0% 0 0
1 1-1107 . source/pr-app/pr-app-PWR123/pwr-01.c do Loop do forever; PVL 2 5-269 . source/pr-app/pr-app-PWR123/pwr-05.c do Loop do forever; PVL 3 6-585 . source/pr-app/pr-app-PWR123/pwr-06.c do Loop do forever; PVL Summary: 3 out of 4957 LOC = 0.06% or 3 out of 16 files = 18.75% 0.06 18.75
1 2-313 . source/pr-app/pr-app-PWR123/pwr-02.c goto Statement goto error; PVL 2 4-500 . source/pr-app/pr-app-PWR123/pwr-04.c goto Statement goto error; PVL 3 5-346 . source/pr-app/pr-app-PWR123/pwr-05.c goto Statement goto error; PVL 4 6-436 . source/pr-app/pr-app-PWR123/pwr-06.c goto Statement goto error; PVL 5 7-720 . source/pr-app/pr-app-PWR123/pwr-07.c goto Statement goto error; PVL Summary: 5 out of 4957 LOC = 0.1% or 5 out of 16 files = 31.25% 0.1 31.25
Looks good no q-operator sets to consider :)Summary: 0 out of 4957 LOC = 0% or 0 out of 16 files = 0% 0 0
1 1-1299 . source/pr-app/pr-app-PWR123/pwr-01.c send_buffer = (U16 *) malloc(size+1); PVL 2 1-1445 . free( FreePtr); 3 1-326 . FreePtr = HmiStringPtr; 4 2-280 . source/pr-app/pr-app-PWR123/pwr-02.c FreePtr = HmiStringPtr; PVL 5 2-608 . send_buffer = (U16 *) malloc(size+1); 6 3-682 . source/pr-app/pr-app-PWR123/pwr-03.c free( FreePtr); PVL 7 4-1116 . source/pr-app/pr-app-PWR123/pwr-04.c FreePtr = HmiStringPtr; PVL 8 4-1627 . FreePtr = HmiStringPtr; 9 4-891 . send_buffer = (U16 *) malloc(size+1); 10 5-1228 . source/pr-app/pr-app-PWR123/pwr-05.c send_buffer = (U16 *) malloc(size+1); PVL 11 5-1266 . send_buffer = (U16 *) malloc(size+1); 12 5-1380 . free( FreePtr); 13 6-1298 . source/pr-app/pr-app-PWR123/pwr-06.c free( FreePtr); PVL 14 6-157 . send_buffer = (U16 *) malloc(size+1); 15 6-792 . FreePtr = HmiStringPtr; 16 7-335 . source/pr-app/pr-app-PWR123/pwr-07.c FreePtr = HmiStringPtr; PVL Summary: 16 out of 4957 LOC = 0.32% or 7 out of 16 files = 43.75% 0.32 43.75
1 2-216 . source/pr-app/pr-app-PWR123/pwr-02.c A = (long) B + C; PVL 2 4-1408 . source/pr-app/pr-app-PWR123/pwr-04.c A = (long) B + C; PVL 3 4-1924 . A = (long) B + C; 4 4-2011 . A = (float) B + C; 5 4-348 . A = (float) B + C; 6 4-567 . A = (long) B + C; 7 4-571 . A = (long) B + C; 8 4-961 . A = (long) B + C; 9 5-1407 . source/pr-app/pr-app-PWR123/pwr-05.c A = (long) B + C; PVL 10 5-2261 . A = (float) B + C; 11 5-263 . A = (int) B + C; 12 5-631 . A = (long) B + C; 13 6-160 . source/pr-app/pr-app-PWR123/pwr-06.c A = (int) B + C; PVL 14 6-652 . A = (float) B + C; 15 7-1012 . source/pr-app/pr-app-PWR123/pwr-07.c A = (float) B + C; PVL 16 7-576 . A = (int) B + C; 17 7-91 . A = (int) B + C; 18 7-945 . A = (long) B + C; 19 8-51 . source/pr-app/pr-app-PWR123/pwr-08.c A = (long) B + C; PVL Summary: 19 out of 4957 LOC = 0.38% or 6 out of 16 files = 37.5% 0.38 37.5
Looks good no missing func hdr sets to consider :)Summary: 0 out of 4957 LOC = 0% or 0 out of 16 files = 0% 0 0 Analysis Summary
menu Files With Problems:source/pr-app/pr-app-PWR123/pwr-01.c 22source/pr-app/pr-app-PWR123/pwr-02.c 27source/pr-app/pr-app-PWR123/pwr-03.c 16source/pr-app/pr-app-PWR123/pwr-04.c 56source/pr-app/pr-app-PWR123/pwr-05.c 43source/pr-app/pr-app-PWR123/pwr-06.c 26source/pr-app/pr-app-PWR123/pwr-07.c 36source/pr-app/pr-app-PWR123/pwr-08.c 4
Details Report
1 1 Source: source/pr-app/pr-app-PWR123/pwr-01.c Note: OK Classification MarkingNote: 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-336 pwr.1.3 1-424 pwr.1.4 1-478 pwr.1.5 1-502 halt; Attention: Classified text in wrong file name: 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-1299 send_buffer = (U16 *) malloc(size+1); Attention: Storage 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-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 Source Lines 1761 Logical 57 SemiColons 663 LOC 720 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 MarkingNote: Good Header Source Lines 22 Logical 0 SemiColons 1 LOC 1 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 MarkingNote: Good Header 2-15 pwr.2.1 2-73 pwr.2.2 2-92 // ??? go see ws Attention: Possible problem Keyword ?? 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-313 Warning: goto Statement 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-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-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-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-954 dead_block = C * D; Attention: Dead Code 2-1062 // (P) this is really improtant Attention: Classified text in wrong file name: (P) Source Lines 1130 Logical 33 SemiColons 429 LOC 462 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 blankAttention: OOPs No Header Source Lines 5 Logical 0 SemiColons 1 LOC 1 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 MarkingNote: 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-682 free(FreePtr); Attention: Storage 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-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 Source Lines 1306 Logical 55 SemiColons 503 LOC 558 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 MarkingNote: Good Header Source Lines 30 Logical 0 SemiColons 9 LOC 9 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 MarkingNote: 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-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-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-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-850 pwr.4.6 4-891 send_buffer = (U16 *) malloc(size+1); Attention: Storage 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-1053 // (P) this is really improtant Attention: Classified text in wrong file name: (P) 4-1116 FreePtr = HmiStringPtr; Attention: Storage FreePtr = HmiStringPtr; 4-1120 // TBD - what do I do now Attention: Possible problem Keyword TBD 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-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-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-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-1910 // ??? go see ws Attention: Possible problem Keyword ?? 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 Source Lines 2311 Logical 80 SemiColons 955 LOC 1035 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 MarkingNote: Good Header Source Lines 29 Logical 0 SemiColons 8 LOC 8 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 MarkingNote: 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-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-880 /* dead_code = A * B; */ Attention: Dead Code 5-935 pwr.5.6 5-1002 // ??? go see ws Attention: Possible problem Keyword ?? 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-1266 send_buffer = (U16 *) malloc(size+1); Attention: Storage 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-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-1380 free(FreePtr); Attention: Storage 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 Source Lines 2348 Logical 65 SemiColons 945 LOC 1010 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 MarkingNote: Good Header Source Lines 28 Logical 0 SemiColons 7 LOC 7 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 MarkingNote: 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-160 A = (int)B + C; Attention: Recasting (int) 6-204 pwr.6.3 6-216 // ??? go see ws Attention: Possible problem Keyword ?? 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-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-712 pwr.6.6 6-792 FreePtr = HmiStringPtr; Attention: Storage 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-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); Source Lines 1311 Logical 18 SemiColons 569 LOC 587 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 MarkingNote: Good Header Source Lines 28 Logical 0 SemiColons 7 LOC 7 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 MarkingNote: Good Header 7-15 pwr.7.1 7-86 halt; Attention: Classified text in wrong file name: 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-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-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-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-769 dead_block = E * F; */ Attention: Dead Code 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-945 A = (long)B + C; Attention: Recasting (long) 7-1000 pwr.7.8 7-1012 A = (float)B + C; Attention: Recasting (float) Source Lines 1092 Logical 25 SemiColons 421 LOC 446 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 MarkingNote: Good Header Source Lines 23 Logical 0 SemiColons 2 LOC 2 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 MarkingNote: 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-110 dead_code = B - C; Attention: Dead Code 8-146 // ??? go see ws Attention: Possible problem Keyword ?? Source Lines 217 Logical 0 SemiColons 96 LOC 96 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 MarkingNote: Good Header Source Lines 29 Logical 0 SemiColons 8 LOC 8 16 16 Result: result/source/pr-app/pr-app-PWR123/pwr-08.h
2 2 Source: source/pr-app/pr-app-PWR123/pwr-01.h Note: OK Classification MarkingNote: Good Header Source Lines 22 Logical 0 SemiColons 1 LOC 1 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 MarkingNote: Good Header 2-15 pwr.2.1 2-73 pwr.2.2 2-92 // ??? go see ws Attention: Possible problem Keyword ?? 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-313 Warning: goto Statement 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-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-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-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-954 dead_block = C * D; Attention: Dead Code 2-1062 // (P) this is really improtant Attention: Classified text in wrong file name: (P) Source Lines 1130 Logical 33 SemiColons 429 LOC 462 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 blankAttention: OOPs No Header Source Lines 5 Logical 0 SemiColons 1 LOC 1 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 MarkingNote: 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-682 free(FreePtr); Attention: Storage 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-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 Source Lines 1306 Logical 55 SemiColons 503 LOC 558 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 MarkingNote: Good Header Source Lines 30 Logical 0 SemiColons 9 LOC 9 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 MarkingNote: 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-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-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-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-850 pwr.4.6 4-891 send_buffer = (U16 *) malloc(size+1); Attention: Storage 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-1053 // (P) this is really improtant Attention: Classified text in wrong file name: (P) 4-1116 FreePtr = HmiStringPtr; Attention: Storage FreePtr = HmiStringPtr; 4-1120 // TBD - what do I do now Attention: Possible problem Keyword TBD 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-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-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-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-1910 // ??? go see ws Attention: Possible problem Keyword ?? 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 Source Lines 2311 Logical 80 SemiColons 955 LOC 1035 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 MarkingNote: Good Header Source Lines 29 Logical 0 SemiColons 8 LOC 8 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 MarkingNote: 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-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-880 /* dead_code = A * B; */ Attention: Dead Code 5-935 pwr.5.6 5-1002 // ??? go see ws Attention: Possible problem Keyword ?? 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-1266 send_buffer = (U16 *) malloc(size+1); Attention: Storage 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-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-1380 free(FreePtr); Attention: Storage 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 Source Lines 2348 Logical 65 SemiColons 945 LOC 1010 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 MarkingNote: Good Header Source Lines 28 Logical 0 SemiColons 7 LOC 7 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 MarkingNote: 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-160 A = (int)B + C; Attention: Recasting (int) 6-204 pwr.6.3 6-216 // ??? go see ws Attention: Possible problem Keyword ?? 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-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-712 pwr.6.6 6-792 FreePtr = HmiStringPtr; Attention: Storage 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-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); Source Lines 1311 Logical 18 SemiColons 569 LOC 587 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 MarkingNote: Good Header Source Lines 28 Logical 0 SemiColons 7 LOC 7 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 MarkingNote: Good Header 7-15 pwr.7.1 7-86 halt; Attention: Classified text in wrong file name: 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-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-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-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-769 dead_block = E * F; */ Attention: Dead Code 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-945 A = (long)B + C; Attention: Recasting (long) 7-1000 pwr.7.8 7-1012 A = (float)B + C; Attention: Recasting (float) Source Lines 1092 Logical 25 SemiColons 421 LOC 446 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 MarkingNote: Good Header Source Lines 23 Logical 0 SemiColons 2 LOC 2 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 MarkingNote: 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-110 dead_code = B - C; Attention: Dead Code 8-146 // ??? go see ws Attention: Possible problem Keyword ?? Source Lines 217 Logical 0 SemiColons 96 LOC 96 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 MarkingNote: Good Header Source Lines 29 Logical 0 SemiColons 8 LOC 8 16 16 Result: result/source/pr-app/pr-app-PWR123/pwr-08.h
This report identifies potential problems with the software. There is a stats, problems, and details area. Examine the stats and compare them against previous runs of this report. The problems area identifies potential issues with the software. Use the links in this area to perform further analysis and verification of a potential problem. Use the details area to gauge the level of potential issues with a module. This is the same information as the more compact problems area, but the visualization may be more appropriate when making module decisions. Description 8 Master Directories