File: czechnames.expect

package info (click to toggle)
splint 3.1.2.dfsg1-2
  • links: PTS, VCS
  • area: main
  • in suites: jessie, jessie-kfreebsd, squeeze, wheezy
  • size: 12,908 kB
  • ctags: 15,816
  • sloc: ansic: 150,306; yacc: 3,463; sh: 3,426; makefile: 2,218; lex: 412
file content (43 lines) | stat: -rw-r--r-- 2,332 bytes parent folder | download | duplicates (8)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43

Finished checking --- no warnings

czechnames.c:5:5: Variable michelob_light name violates Czech naming
    convention.  Czech prefix michelob is not the name of a type.
  Variable name is not consistent with Czech naming convention. (Use either
  -czechvars or -namechecks to inhibit warning)
czechnames.c:26:5: Function budweiser name is not consistent with Czech naming
                      convention.  Accessible types: pivo
  Function or iterator name is not consistent with Czech naming convention.
  (Use either -czechfcns or -namechecks to inhibit warning)

Finished checking --- 2 code warnings, as expected

czechnames.c:26:5: Function budweiser name is not consistent with Czech naming
                      convention.  Accessible types: pivo
  Function or iterator name is not consistent with Czech naming convention.
  (Use either -czechfcns or -namechecks to inhibit warning)

Finished checking --- 1 code warning, as expected

czechnames.c:4:5: Variable pivo_pyet name violates Czech naming convention.
    Czech prefix pivo names an abstract type that is not accessible.
  Use +accessczech to allow access to type <t> in functions named <t>_<name>.
czechnames.c:5:5: Variable michelob_light name violates Czech naming
    convention.  Czech prefix michelob is not the name of a type.
  Variable name is not consistent with Czech naming convention. (Use either
  -czechvars or -namechecks to inhibit warning)
czechnames.c:8:17: Constant pivo_devenast name violates Czech naming
    convention. Czech prefix pivo names an abstract type that is not
    accessible.
  Use +accessczech to allow access to type <t> in functions named <t>_<name>.
czechnames.c:11:6: Function pivo_yedno name violates Czech naming convention.
    Czech prefix pivo names an abstract type that is not accessible.
  Use +accessczech to allow access to type <t> in functions named <t>_<name>.
czechnames.c: (in function pivo_yedno)
czechnames.c:15:11: Left operand of == is abstract type (pivo): p == 1
  An abstraction barrier is broken. If necessary, use /*@access <type>@*/ to
  allow access to an abstract type. (Use -abstract to inhibit warning)
czechnames.c:26:5: Function budweiser name is not consistent with Czech naming
                      convention.  Accessible types: pivo

Finished checking --- 6 code warnings, as expected