-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathchecks
665 lines (640 loc) · 39 KB
/
checks
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
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
159
160
161
162
163
164
165
166
167
168
169
170
171
172
173
174
175
176
177
178
179
180
181
182
183
184
185
186
187
188
189
190
191
192
193
194
195
196
197
198
199
200
201
202
203
204
205
206
207
208
209
210
211
212
213
214
215
216
217
218
219
220
221
222
223
224
225
226
227
228
229
230
231
232
233
234
235
236
237
238
239
240
241
242
243
244
245
246
247
248
249
250
251
252
253
254
255
256
257
258
259
260
261
262
263
264
265
266
267
268
269
270
271
272
273
274
275
276
277
278
279
280
281
282
283
284
285
286
287
288
289
290
291
292
293
294
295
296
297
298
299
300
301
302
303
304
305
306
307
308
309
310
311
312
313
314
315
316
317
318
319
320
321
322
323
324
325
326
327
328
329
330
331
332
333
334
335
336
337
338
339
340
341
342
343
344
345
346
347
348
349
350
351
352
353
354
355
356
357
358
359
360
361
362
363
364
365
366
367
368
369
370
371
372
373
374
375
376
377
378
379
380
381
382
383
384
385
386
387
388
389
390
391
392
393
394
395
396
397
398
399
400
401
402
403
404
405
406
407
408
409
410
411
412
413
414
415
416
417
418
419
420
421
422
423
424
425
426
427
428
429
430
431
432
433
434
435
436
437
438
439
440
441
442
443
444
445
446
447
448
449
450
451
452
453
454
455
456
457
458
459
460
461
462
463
464
465
466
467
468
469
470
471
472
473
474
475
476
477
478
479
480
481
482
483
484
485
486
487
488
489
490
491
492
493
494
495
496
497
498
499
500
501
502
503
504
505
506
507
508
509
510
511
512
513
514
515
516
517
518
519
520
521
522
523
524
525
526
527
528
529
530
531
532
533
534
535
536
537
538
539
540
541
542
543
544
545
546
547
548
549
550
551
552
553
554
555
556
557
558
559
560
561
562
563
564
565
566
567
568
569
570
571
572
573
574
575
576
577
578
579
580
581
582
583
584
585
586
587
588
589
590
591
592
593
594
595
596
597
598
599
600
601
602
603
604
605
606
607
608
609
610
611
612
613
614
615
616
617
618
619
620
621
622
623
624
625
626
627
628
629
630
631
632
633
634
635
636
637
638
639
640
641
642
643
644
645
646
647
648
649
650
651
652
653
654
655
656
657
658
659
660
661
662
663
664
665
========== base_converters.c ==========
base_converters.c:4: ERROR: code indent should use tabs where possible
base_converters.c:4: WARNING: please, no spaces at the start of a line
base_converters.c:7: ERROR: code indent should use tabs where possible
base_converters.c:7: WARNING: please, no spaces at the start of a line
base_converters.c:8: ERROR: code indent should use tabs where possible
base_converters.c:8: WARNING: please, no spaces at the start of a line
base_converters.c:23: ERROR: code indent should use tabs where possible
base_converters.c:23: WARNING: please, no spaces at the start of a line
base_converters.c:25: WARNING: please, no spaces at the start of a line
base_converters.c:26: WARNING: please, no spaces at the start of a line
base_converters.c:27: WARNING: please, no spaces at the start of a line
base_converters.c:29: WARNING: please, no spaces at the start of a line
base_converters.c:30: ERROR: code indent should use tabs where possible
base_converters.c:30: WARNING: please, no spaces at the start of a line
base_converters.c:32: WARNING: please, no spaces at the start of a line
base_converters.c:33: ERROR: code indent should use tabs where possible
base_converters.c:33: WARNING: please, no spaces at the start of a line
base_converters.c:34: ERROR: code indent should use tabs where possible
base_converters.c:34: WARNING: please, no spaces at the start of a line
base_converters.c:36: WARNING: please, no spaces at the start of a line
base_converters.c:37: WARNING: please, no spaces at the start of a line
base_converters.c:38: ERROR: code indent should use tabs where possible
base_converters.c:39: ERROR: code indent should use tabs where possible
base_converters.c:39: WARNING: please, no spaces at the start of a line
base_converters.c:39: WARNING: suspect code indent for conditional statements (8, 12)
base_converters.c:40: ERROR: code indent should use tabs where possible
base_converters.c:40: WARNING: please, no spaces at the start of a line
base_converters.c:42: ERROR: code indent should use tabs where possible
base_converters.c:43: ERROR: code indent should use tabs where possible
base_converters.c:43: WARNING: please, no spaces at the start of a line
base_converters.c:43: WARNING: suspect code indent for conditional statements (8, 12)
base_converters.c:44: ERROR: code indent should use tabs where possible
base_converters.c:44: WARNING: please, no spaces at the start of a line
base_converters.c:45: ERROR: code indent should use tabs where possible
base_converters.c:45: WARNING: please, no spaces at the start of a line
base_converters.c:46: ERROR: code indent should use tabs where possible
base_converters.c:46: WARNING: please, no spaces at the start of a line
base_converters.c:47: ERROR: code indent should use tabs where possible
base_converters.c:47: WARNING: please, no spaces at the start of a line
base_converters.c:48: ERROR: code indent should use tabs where possible
base_converters.c:48: WARNING: please, no spaces at the start of a line
base_converters.c:49: WARNING: please, no spaces at the start of a line
base_converters.c:51: WARNING: please, no spaces at the start of a line
base_converters.c:52: WARNING: please, no spaces at the start of a line
base_converters.c:54: WARNING: please, no spaces at the start of a line
base_converters.c:70: ERROR: code indent should use tabs where possible
base_converters.c:70: WARNING: please, no spaces at the start of a line
base_converters.c:72: WARNING: please, no spaces at the start of a line
base_converters.c:73: WARNING: please, no spaces at the start of a line
base_converters.c:75: WARNING: please, no spaces at the start of a line
base_converters.c:76: ERROR: code indent should use tabs where possible
base_converters.c:76: WARNING: please, no spaces at the start of a line
base_converters.c:78: WARNING: please, no spaces at the start of a line
base_converters.c:79: ERROR: code indent should use tabs where possible
base_converters.c:79: WARNING: please, no spaces at the start of a line
base_converters.c:80: ERROR: code indent should use tabs where possible
base_converters.c:80: WARNING: please, no spaces at the start of a line
base_converters.c:82: WARNING: please, no spaces at the start of a line
base_converters.c:83: WARNING: please, no spaces at the start of a line
base_converters.c:84: ERROR: code indent should use tabs where possible
base_converters.c:84: WARNING: please, no spaces at the start of a line
base_converters.c:84: WARNING: suspect code indent for conditional statements (8, 12)
base_converters.c:85: ERROR: code indent should use tabs where possible
base_converters.c:85: WARNING: please, no spaces at the start of a line
base_converters.c:86: ERROR: code indent should use tabs where possible
base_converters.c:86: WARNING: please, no spaces at the start of a line
base_converters.c:87: ERROR: code indent should use tabs where possible
base_converters.c:87: WARNING: please, no spaces at the start of a line
base_converters.c:88: ERROR: code indent should use tabs where possible
base_converters.c:88: WARNING: please, no spaces at the start of a line
base_converters.c:89: ERROR: code indent should use tabs where possible
base_converters.c:89: WARNING: please, no spaces at the start of a line
base_converters.c:89: WARNING: suspect code indent for conditional statements (8, 12)
base_converters.c:90: ERROR: code indent should use tabs where possible
base_converters.c:90: WARNING: please, no spaces at the start of a line
base_converters.c:92: ERROR: code indent should use tabs where possible
base_converters.c:92: WARNING: please, no spaces at the start of a line
base_converters.c:92: WARNING: suspect code indent for conditional statements (8, 12)
base_converters.c:93: ERROR: code indent should use tabs where possible
base_converters.c:93: WARNING: please, no spaces at the start of a line
base_converters.c:94: ERROR: code indent should use tabs where possible
base_converters.c:94: WARNING: please, no spaces at the start of a line
base_converters.c:95: ERROR: code indent should use tabs where possible
base_converters.c:95: WARNING: please, no spaces at the start of a line
base_converters.c:96: ERROR: code indent should use tabs where possible
base_converters.c:96: WARNING: please, no spaces at the start of a line
base_converters.c:97: ERROR: code indent should use tabs where possible
base_converters.c:97: WARNING: please, no spaces at the start of a line
base_converters.c:98: ERROR: code indent should use tabs where possible
base_converters.c:98: WARNING: please, no spaces at the start of a line
base_converters.c:98: WARNING: suspect code indent for conditional statements (8, 12)
base_converters.c:99: ERROR: code indent should use tabs where possible
base_converters.c:99: WARNING: please, no spaces at the start of a line
base_converters.c:100: WARNING: please, no spaces at the start of a line
base_converters.c:102: WARNING: please, no spaces at the start of a line
base_converters.c:103: WARNING: please, no spaces at the start of a line
base_converters.c:105: WARNING: please, no spaces at the start of a line
total: 36 errors, 61 warnings, 106 lines checked
convert_sbase
convert_ubase
========== convert_c_percent_p.c ==========
convert_c_percent_p.c:4: ERROR: code indent should use tabs where possible
convert_c_percent_p.c:4: WARNING: please, no spaces at the start of a line
convert_c_percent_p.c:6: ERROR: code indent should use tabs where possible
convert_c_percent_p.c:6: WARNING: please, no spaces at the start of a line
convert_c_percent_p.c:8: ERROR: code indent should use tabs where possible
convert_c_percent_p.c:8: WARNING: please, no spaces at the start of a line
convert_c_percent_p.c:23: ERROR: code indent should use tabs where possible
convert_c_percent_p.c:23: WARNING: please, no spaces at the start of a line
convert_c_percent_p.c:25: WARNING: please, no spaces at the start of a line
convert_c_percent_p.c:26: WARNING: please, no spaces at the start of a line
convert_c_percent_p.c:28: WARNING: please, no spaces at the start of a line
convert_c_percent_p.c:29: WARNING: please, no spaces at the start of a line
convert_c_percent_p.c:31: WARNING: please, no spaces at the start of a line
convert_c_percent_p.c:33: WARNING: please, no spaces at the start of a line
convert_c_percent_p.c:34: WARNING: please, no spaces at the start of a line
convert_c_percent_p.c:35: WARNING: please, no spaces at the start of a line
convert_c_percent_p.c:37: WARNING: please, no spaces at the start of a line
convert_c_percent_p.c:53: ERROR: code indent should use tabs where possible
convert_c_percent_p.c:53: WARNING: please, no spaces at the start of a line
convert_c_percent_p.c:55: WARNING: please, no spaces at the start of a line
convert_c_percent_p.c:56: WARNING: please, no spaces at the start of a line
convert_c_percent_p.c:58: WARNING: please, no spaces at the start of a line
convert_c_percent_p.c:59: WARNING: please, no spaces at the start of a line
convert_c_percent_p.c:60: WARNING: please, no spaces at the start of a line
convert_c_percent_p.c:62: WARNING: please, no spaces at the start of a line
convert_c_percent_p.c:63: WARNING: please, no spaces at the start of a line
convert_c_percent_p.c:64: WARNING: please, no spaces at the start of a line
convert_c_percent_p.c:66: WARNING: please, no spaces at the start of a line
convert_c_percent_p.c:82: ERROR: code indent should use tabs where possible
convert_c_percent_p.c:82: WARNING: please, no spaces at the start of a line
convert_c_percent_p.c:84: WARNING: please, no spaces at the start of a line
convert_c_percent_p.c:85: WARNING: please, no spaces at the start of a line
convert_c_percent_p.c:86: WARNING: please, no spaces at the start of a line
convert_c_percent_p.c:88: WARNING: please, no spaces at the start of a line
convert_c_percent_p.c:90: WARNING: please, no spaces at the start of a line
convert_c_percent_p.c:91: WARNING: please, no spaces at the start of a line
convert_c_percent_p.c:92: ERROR: code indent should use tabs where possible
convert_c_percent_p.c:92: WARNING: please, no spaces at the start of a line
convert_c_percent_p.c:94: WARNING: please, no spaces at the start of a line
convert_c_percent_p.c:95: WARNING: please, no spaces at the start of a line
convert_c_percent_p.c:96: ERROR: code indent should use tabs where possible
convert_c_percent_p.c:96: WARNING: please, no spaces at the start of a line
convert_c_percent_p.c:97: WARNING: please, no spaces at the start of a line
convert_c_percent_p.c:99: WARNING: please, no spaces at the start of a line
total: 8 errors, 36 warnings, 100 lines checked
convert_c
convert_percent
convert_p
========== convert_hex.c ==========
convert_hex.c:4: ERROR: code indent should use tabs where possible
convert_hex.c:4: WARNING: please, no spaces at the start of a line
convert_hex.c:6: ERROR: code indent should use tabs where possible
convert_hex.c:6: WARNING: please, no spaces at the start of a line
convert_hex.c:21: ERROR: code indent should use tabs where possible
convert_hex.c:21: WARNING: please, no spaces at the start of a line
convert_hex.c:23: WARNING: please, no spaces at the start of a line
convert_hex.c:24: WARNING: please, no spaces at the start of a line
convert_hex.c:25: WARNING: please, no spaces at the start of a line
convert_hex.c:27: WARNING: please, no spaces at the start of a line
convert_hex.c:28: ERROR: code indent should use tabs where possible
convert_hex.c:28: WARNING: please, no spaces at the start of a line
convert_hex.c:29: WARNING: please, no spaces at the start of a line
convert_hex.c:30: ERROR: code indent should use tabs where possible
convert_hex.c:30: WARNING: please, no spaces at the start of a line
convert_hex.c:31: WARNING: please, no spaces at the start of a line
convert_hex.c:32: ERROR: code indent should use tabs where possible
convert_hex.c:32: WARNING: please, no spaces at the start of a line
convert_hex.c:34: WARNING: please, no spaces at the start of a line
convert_hex.c:35: ERROR: code indent should use tabs where possible
convert_hex.c:35: WARNING: please, no spaces at the start of a line
convert_hex.c:37: WARNING: please, no spaces at the start of a line
convert_hex.c:38: ERROR: code indent should use tabs where possible
convert_hex.c:38: WARNING: please, no spaces at the start of a line
convert_hex.c:39: ERROR: code indent should use tabs where possible
convert_hex.c:39: WARNING: please, no spaces at the start of a line
convert_hex.c:41: WARNING: please, no spaces at the start of a line
convert_hex.c:43: WARNING: please, no spaces at the start of a line
convert_hex.c:59: ERROR: code indent should use tabs where possible
convert_hex.c:59: WARNING: please, no spaces at the start of a line
convert_hex.c:61: WARNING: please, no spaces at the start of a line
convert_hex.c:62: WARNING: please, no spaces at the start of a line
convert_hex.c:63: WARNING: please, no spaces at the start of a line
convert_hex.c:65: WARNING: please, no spaces at the start of a line
convert_hex.c:66: ERROR: code indent should use tabs where possible
convert_hex.c:66: WARNING: please, no spaces at the start of a line
convert_hex.c:67: WARNING: please, no spaces at the start of a line
convert_hex.c:68: ERROR: code indent should use tabs where possible
convert_hex.c:68: WARNING: please, no spaces at the start of a line
convert_hex.c:69: WARNING: please, no spaces at the start of a line
convert_hex.c:70: ERROR: code indent should use tabs where possible
convert_hex.c:70: WARNING: please, no spaces at the start of a line
convert_hex.c:72: WARNING: please, no spaces at the start of a line
convert_hex.c:73: ERROR: code indent should use tabs where possible
convert_hex.c:73: WARNING: please, no spaces at the start of a line
convert_hex.c:75: WARNING: please, no spaces at the start of a line
convert_hex.c:76: ERROR: code indent should use tabs where possible
convert_hex.c:76: WARNING: please, no spaces at the start of a line
convert_hex.c:77: ERROR: code indent should use tabs where possible
convert_hex.c:77: WARNING: please, no spaces at the start of a line
convert_hex.c:79: WARNING: please, no spaces at the start of a line
convert_hex.c:81: WARNING: please, no spaces at the start of a line
total: 16 errors, 36 warnings, 82 lines checked
convert_x
convert_X
========== convert_numbers.c ==========
convert_numbers.c:67: WARNING: More than 40 lines in a function
convert_numbers.c:68: WARNING: More than 40 lines in a function
convert_numbers.c:69: WARNING: More than 40 lines in a function
convert_numbers.c:70: WARNING: More than 40 lines in a function
convert_numbers.c:71: WARNING: More than 40 lines in a function
convert_numbers.c:72: WARNING: More than 40 lines in a function
convert_numbers.c:73: WARNING: More than 40 lines in a function
convert_numbers.c:74: WARNING: More than 40 lines in a function
convert_numbers.c:75: WARNING: More than 40 lines in a function
convert_numbers.c:76: WARNING: More than 40 lines in a function
convert_numbers.c:77: WARNING: More than 40 lines in a function
convert_numbers.c:78: WARNING: More than 40 lines in a function
convert_numbers.c:79: WARNING: More than 40 lines in a function
convert_numbers.c:80: WARNING: More than 40 lines in a function
convert_numbers.c:81: WARNING: More than 40 lines in a function
total: 0 errors, 15 warnings, 178 lines checked
convert_di
convert_b
convert_o
convert_u
========== convert_strings.c ==========
convert_s
convert_S
convert_r
convert_R
========== handlers.c ==========
handlers.c:177: ERROR: code indent should use tabs where possible
handlers.c:177: WARNING: please, no space before tabs
handlers.c:177: WARNING: please, no spaces at the start of a line
total: 1 errors, 2 warnings, 205 lines checked
handle_flags
handle_length
handle_width
handle_precision
handle_specifiers
========== main.c ==========
main.c:12: WARNING: please, no spaces at the start of a line
main.c:13: WARNING: please, no spaces at the start of a line
main.c:14: WARNING: please, no spaces at the start of a line
main.c:15: WARNING: please, no spaces at the start of a line
main.c:17: WARNING: please, no spaces at the start of a line
main.c:18: WARNING: please, no spaces at the start of a line
main.c:19: WARNING: please, no spaces at the start of a line
main.c:20: WARNING: please, no spaces at the start of a line
main.c:21: WARNING: please, no spaces at the start of a line
main.c:22: WARNING: please, no spaces at the start of a line
main.c:23: WARNING: please, no spaces at the start of a line
main.c:24: WARNING: please, no spaces at the start of a line
main.c:25: WARNING: please, no spaces at the start of a line
main.c:26: WARNING: please, no spaces at the start of a line
main.c:27: WARNING: please, no spaces at the start of a line
main.c:28: WARNING: please, no spaces at the start of a line
main.c:29: WARNING: please, no spaces at the start of a line
main.c:30: WARNING: please, no spaces at the start of a line
main.c:31: WARNING: please, no spaces at the start of a line
main.c:32: WARNING: please, no spaces at the start of a line
main.c:33: WARNING: please, no spaces at the start of a line
main.c:34: WARNING: please, no spaces at the start of a line
main.c:35: WARNING: please, no spaces at the start of a line
main.c:36: WARNING: please, no spaces at the start of a line
main.c:37: WARNING: please, no spaces at the start of a line
main.c:38: WARNING: please, no spaces at the start of a line
main.c:39: WARNING: please, no spaces at the start of a line
main.c:40: WARNING: please, no spaces at the start of a line
main.c:41: WARNING: please, no spaces at the start of a line
main.c:42: WARNING: please, no spaces at the start of a line
main.c:43: WARNING: please, no spaces at the start of a line
total: 0 errors, 31 warnings, 44 lines checked
main
========== memory_helpers.c ==========
memory_helpers.c:5: ERROR: unsigned int _memcpy() should probably be unsigned int _memcpy(void)
total: 1 errors, 0 warnings, 87 lines checked
_memcpy
free_buffer
init_buffer
========== modifiers.c ==========
print_width
print_string_width
========== _printf.c ==========
cleanup
run_printf
_printf
========== -o ==========
Usage: /usr/local/bin/betty-style [OPTION]... [FILE]...
Version: 0.32
Options:
-q, --quiet Quiet mode
--tree Run with a kernel tree.
--no-signoff Do not check for 'Signed-off-by' line
--patch Treat FILE as patchfile (default)
--emacs Emacs compile window format
--no-terse Disable one line per report.
--showfile Emit diffed file position, not input file position
-g, --git Treat FILE as a single commit or git revision range
Single git commit with:
<rev>
<rev>^
<rev>~n
Multiple git commits with:
<rev1>..<rev2>
<rev1>...<rev2>
<rev>-<count>
Git merges are ignored
--no-file Don't treat FILE as regular source file.
--subjective, --strict Enable more subjective tests
--list-types List the possible message types
--types TYPE(,TYPE2...) Show only these comma separated message types
--ignore TYPE(,TYPE2...) Ignore various comma separated message types
--show-types Show the specific message type in the output
--min-conf-desc-length=n Set the min description length, if shorter, warn
--root=PATH PATH to the kernel tree root
--no-summary Suppress the per-file summary
--mailback Only produce a report in case of warnings/errors
--summary-file Include the filename in summary
--debug KEY=[0|1] Turn on/off debugging of KEY, where KEY is one of
'values', 'possible', 'type', and 'attr' (default
is all off)
--test-only=WORD Report only warnings/errors containing WORD
literally
--fix EXPERIMENTAL - may create horrible results
If correctable single-line errors exist, create
"<inputfile>.EXPERIMENTAL-checkpatch-fixes"
with potential errors corrected to the preferred
checkpatch style
--fix-inplace EXPERIMENTAL - may create horrible results
Is the same as --fix, but overwrites the input
file. It's your fault if there's no backup or git
--ignore-perl-version Override checking of perl version. expect
runtime errors.
--codespell Use the codespell dictionary for spelling/typos
(default:/usr/share/codespell/dictionary.txt)
--codespellfile Use this codespell dictionary
--color Use colors when output is STDOUT (default: on)
--max-line-length=n Set the maximum length of a line (default: 80)
--max-func-length=n Set the maximum length of a function (default: 40)
--max-funcs=n Set the maximum declared functions per source file
(default: 5)
Set it to -1 for infinite
--no-safe-guard Don't check for header files protection
--allow-global-variables Allow global variable definition
-r, --recursive Run for every C source file (.c and .h) recursively
-h, --help, --version Display this help and exit
When FILE is - read standard input.
========== betty-check ==========
========== base_converters.c ==========
base_converters.c:4: ERROR: code indent should use tabs where possible
base_converters.c:4: WARNING: please, no spaces at the start of a line
base_converters.c:7: ERROR: code indent should use tabs where possible
base_converters.c:7: WARNING: please, no spaces at the start of a line
base_converters.c:8: ERROR: code indent should use tabs where possible
base_converters.c:8: WARNING: please, no spaces at the start of a line
base_converters.c:23: ERROR: code indent should use tabs where possible
base_converters.c:23: WARNING: please, no spaces at the start of a line
base_converters.c:25: WARNING: please, no spaces at the start of a line
base_converters.c:26: WARNING: please, no spaces at the start of a line
base_converters.c:27: WARNING: please, no spaces at the start of a line
base_converters.c:29: WARNING: please, no spaces at the start of a line
base_converters.c:30: ERROR: code indent should use tabs where possible
base_converters.c:30: WARNING: please, no spaces at the start of a line
base_converters.c:32: WARNING: please, no spaces at the start of a line
base_converters.c:33: ERROR: code indent should use tabs where possible
base_converters.c:33: WARNING: please, no spaces at the start of a line
base_converters.c:34: ERROR: code indent should use tabs where possible
base_converters.c:34: WARNING: please, no spaces at the start of a line
base_converters.c:36: WARNING: please, no spaces at the start of a line
base_converters.c:37: WARNING: please, no spaces at the start of a line
base_converters.c:38: ERROR: code indent should use tabs where possible
base_converters.c:39: ERROR: code indent should use tabs where possible
base_converters.c:39: WARNING: please, no spaces at the start of a line
base_converters.c:39: WARNING: suspect code indent for conditional statements (8, 12)
base_converters.c:40: ERROR: code indent should use tabs where possible
base_converters.c:40: WARNING: please, no spaces at the start of a line
base_converters.c:42: ERROR: code indent should use tabs where possible
base_converters.c:43: ERROR: code indent should use tabs where possible
base_converters.c:43: WARNING: please, no spaces at the start of a line
base_converters.c:43: WARNING: suspect code indent for conditional statements (8, 12)
base_converters.c:44: ERROR: code indent should use tabs where possible
base_converters.c:44: WARNING: please, no spaces at the start of a line
base_converters.c:45: ERROR: code indent should use tabs where possible
base_converters.c:45: WARNING: please, no spaces at the start of a line
base_converters.c:46: ERROR: code indent should use tabs where possible
base_converters.c:46: WARNING: please, no spaces at the start of a line
base_converters.c:47: ERROR: code indent should use tabs where possible
base_converters.c:47: WARNING: please, no spaces at the start of a line
base_converters.c:48: ERROR: code indent should use tabs where possible
base_converters.c:48: WARNING: please, no spaces at the start of a line
base_converters.c:49: WARNING: please, no spaces at the start of a line
base_converters.c:51: WARNING: please, no spaces at the start of a line
base_converters.c:52: WARNING: please, no spaces at the start of a line
base_converters.c:54: WARNING: please, no spaces at the start of a line
base_converters.c:70: ERROR: code indent should use tabs where possible
base_converters.c:70: WARNING: please, no spaces at the start of a line
base_converters.c:72: WARNING: please, no spaces at the start of a line
base_converters.c:73: WARNING: please, no spaces at the start of a line
base_converters.c:75: WARNING: please, no spaces at the start of a line
base_converters.c:76: ERROR: code indent should use tabs where possible
base_converters.c:76: WARNING: please, no spaces at the start of a line
base_converters.c:78: WARNING: please, no spaces at the start of a line
base_converters.c:79: ERROR: code indent should use tabs where possible
base_converters.c:79: WARNING: please, no spaces at the start of a line
base_converters.c:80: ERROR: code indent should use tabs where possible
base_converters.c:80: WARNING: please, no spaces at the start of a line
base_converters.c:82: WARNING: please, no spaces at the start of a line
base_converters.c:83: WARNING: please, no spaces at the start of a line
base_converters.c:84: ERROR: code indent should use tabs where possible
base_converters.c:84: WARNING: please, no spaces at the start of a line
base_converters.c:84: WARNING: suspect code indent for conditional statements (8, 12)
base_converters.c:85: ERROR: code indent should use tabs where possible
base_converters.c:85: WARNING: please, no spaces at the start of a line
base_converters.c:86: ERROR: code indent should use tabs where possible
base_converters.c:86: WARNING: please, no spaces at the start of a line
base_converters.c:87: ERROR: code indent should use tabs where possible
base_converters.c:87: WARNING: please, no spaces at the start of a line
base_converters.c:88: ERROR: code indent should use tabs where possible
base_converters.c:88: WARNING: please, no spaces at the start of a line
base_converters.c:89: ERROR: code indent should use tabs where possible
base_converters.c:89: WARNING: please, no spaces at the start of a line
base_converters.c:89: WARNING: suspect code indent for conditional statements (8, 12)
base_converters.c:90: ERROR: code indent should use tabs where possible
base_converters.c:90: WARNING: please, no spaces at the start of a line
base_converters.c:92: ERROR: code indent should use tabs where possible
base_converters.c:92: WARNING: please, no spaces at the start of a line
base_converters.c:92: WARNING: suspect code indent for conditional statements (8, 12)
base_converters.c:93: ERROR: code indent should use tabs where possible
base_converters.c:93: WARNING: please, no spaces at the start of a line
base_converters.c:94: ERROR: code indent should use tabs where possible
base_converters.c:94: WARNING: please, no spaces at the start of a line
base_converters.c:95: ERROR: code indent should use tabs where possible
base_converters.c:95: WARNING: please, no spaces at the start of a line
base_converters.c:96: ERROR: code indent should use tabs where possible
base_converters.c:96: WARNING: please, no spaces at the start of a line
base_converters.c:97: ERROR: code indent should use tabs where possible
base_converters.c:97: WARNING: please, no spaces at the start of a line
base_converters.c:98: ERROR: code indent should use tabs where possible
base_converters.c:98: WARNING: please, no spaces at the start of a line
base_converters.c:98: WARNING: suspect code indent for conditional statements (8, 12)
base_converters.c:99: ERROR: code indent should use tabs where possible
base_converters.c:99: WARNING: please, no spaces at the start of a line
base_converters.c:100: WARNING: please, no spaces at the start of a line
base_converters.c:102: WARNING: please, no spaces at the start of a line
base_converters.c:103: WARNING: please, no spaces at the start of a line
base_converters.c:105: WARNING: please, no spaces at the start of a line
total: 36 errors, 61 warnings, 106 lines checked
convert_sbase
convert_ubase
========== convert_c_percent_p.c ==========
convert_c_percent_p.c:4: ERROR: code indent should use tabs where possible
convert_c_percent_p.c:4: WARNING: please, no spaces at the start of a line
convert_c_percent_p.c:6: ERROR: code indent should use tabs where possible
convert_c_percent_p.c:6: WARNING: please, no spaces at the start of a line
convert_c_percent_p.c:8: ERROR: code indent should use tabs where possible
convert_c_percent_p.c:8: WARNING: please, no spaces at the start of a line
convert_c_percent_p.c:23: ERROR: code indent should use tabs where possible
convert_c_percent_p.c:23: WARNING: please, no spaces at the start of a line
convert_c_percent_p.c:25: WARNING: please, no spaces at the start of a line
convert_c_percent_p.c:26: WARNING: please, no spaces at the start of a line
convert_c_percent_p.c:28: WARNING: please, no spaces at the start of a line
convert_c_percent_p.c:29: WARNING: please, no spaces at the start of a line
convert_c_percent_p.c:31: WARNING: please, no spaces at the start of a line
convert_c_percent_p.c:33: WARNING: please, no spaces at the start of a line
convert_c_percent_p.c:34: WARNING: please, no spaces at the start of a line
convert_c_percent_p.c:35: WARNING: please, no spaces at the start of a line
convert_c_percent_p.c:37: WARNING: please, no spaces at the start of a line
convert_c_percent_p.c:53: ERROR: code indent should use tabs where possible
convert_c_percent_p.c:53: WARNING: please, no spaces at the start of a line
convert_c_percent_p.c:55: WARNING: please, no spaces at the start of a line
convert_c_percent_p.c:56: WARNING: please, no spaces at the start of a line
convert_c_percent_p.c:58: WARNING: please, no spaces at the start of a line
convert_c_percent_p.c:59: WARNING: please, no spaces at the start of a line
convert_c_percent_p.c:60: WARNING: please, no spaces at the start of a line
convert_c_percent_p.c:62: WARNING: please, no spaces at the start of a line
convert_c_percent_p.c:63: WARNING: please, no spaces at the start of a line
convert_c_percent_p.c:64: WARNING: please, no spaces at the start of a line
convert_c_percent_p.c:66: WARNING: please, no spaces at the start of a line
convert_c_percent_p.c:82: ERROR: code indent should use tabs where possible
convert_c_percent_p.c:82: WARNING: please, no spaces at the start of a line
convert_c_percent_p.c:84: WARNING: please, no spaces at the start of a line
convert_c_percent_p.c:85: WARNING: please, no spaces at the start of a line
convert_c_percent_p.c:86: WARNING: please, no spaces at the start of a line
convert_c_percent_p.c:88: WARNING: please, no spaces at the start of a line
convert_c_percent_p.c:90: WARNING: please, no spaces at the start of a line
convert_c_percent_p.c:91: WARNING: please, no spaces at the start of a line
convert_c_percent_p.c:92: ERROR: code indent should use tabs where possible
convert_c_percent_p.c:92: WARNING: please, no spaces at the start of a line
convert_c_percent_p.c:94: WARNING: please, no spaces at the start of a line
convert_c_percent_p.c:95: WARNING: please, no spaces at the start of a line
convert_c_percent_p.c:96: ERROR: code indent should use tabs where possible
convert_c_percent_p.c:96: WARNING: please, no spaces at the start of a line
convert_c_percent_p.c:97: WARNING: please, no spaces at the start of a line
convert_c_percent_p.c:99: WARNING: please, no spaces at the start of a line
total: 8 errors, 36 warnings, 100 lines checked
convert_c
convert_percent
convert_p
========== convert_hex.c ==========
convert_hex.c:4: ERROR: code indent should use tabs where possible
convert_hex.c:4: WARNING: please, no spaces at the start of a line
convert_hex.c:6: ERROR: code indent should use tabs where possible
convert_hex.c:6: WARNING: please, no spaces at the start of a line
convert_hex.c:21: ERROR: code indent should use tabs where possible
convert_hex.c:21: WARNING: please, no spaces at the start of a line
convert_hex.c:23: WARNING: please, no spaces at the start of a line
convert_hex.c:24: WARNING: please, no spaces at the start of a line
convert_hex.c:25: WARNING: please, no spaces at the start of a line
convert_hex.c:27: WARNING: please, no spaces at the start of a line
convert_hex.c:28: ERROR: code indent should use tabs where possible
convert_hex.c:28: WARNING: please, no spaces at the start of a line
convert_hex.c:29: WARNING: please, no spaces at the start of a line
convert_hex.c:30: ERROR: code indent should use tabs where possible
convert_hex.c:30: WARNING: please, no spaces at the start of a line
convert_hex.c:31: WARNING: please, no spaces at the start of a line
convert_hex.c:32: ERROR: code indent should use tabs where possible
convert_hex.c:32: WARNING: please, no spaces at the start of a line
convert_hex.c:34: WARNING: please, no spaces at the start of a line
convert_hex.c:35: ERROR: code indent should use tabs where possible
convert_hex.c:35: WARNING: please, no spaces at the start of a line
convert_hex.c:37: WARNING: please, no spaces at the start of a line
convert_hex.c:38: ERROR: code indent should use tabs where possible
convert_hex.c:38: WARNING: please, no spaces at the start of a line
convert_hex.c:39: ERROR: code indent should use tabs where possible
convert_hex.c:39: WARNING: please, no spaces at the start of a line
convert_hex.c:41: WARNING: please, no spaces at the start of a line
convert_hex.c:43: WARNING: please, no spaces at the start of a line
convert_hex.c:59: ERROR: code indent should use tabs where possible
convert_hex.c:59: WARNING: please, no spaces at the start of a line
convert_hex.c:61: WARNING: please, no spaces at the start of a line
convert_hex.c:62: WARNING: please, no spaces at the start of a line
convert_hex.c:63: WARNING: please, no spaces at the start of a line
convert_hex.c:65: WARNING: please, no spaces at the start of a line
convert_hex.c:66: ERROR: code indent should use tabs where possible
convert_hex.c:66: WARNING: please, no spaces at the start of a line
convert_hex.c:67: WARNING: please, no spaces at the start of a line
convert_hex.c:68: ERROR: code indent should use tabs where possible
convert_hex.c:68: WARNING: please, no spaces at the start of a line
convert_hex.c:69: WARNING: please, no spaces at the start of a line
convert_hex.c:70: ERROR: code indent should use tabs where possible
convert_hex.c:70: WARNING: please, no spaces at the start of a line
convert_hex.c:72: WARNING: please, no spaces at the start of a line
convert_hex.c:73: ERROR: code indent should use tabs where possible
convert_hex.c:73: WARNING: please, no spaces at the start of a line
convert_hex.c:75: WARNING: please, no spaces at the start of a line
convert_hex.c:76: ERROR: code indent should use tabs where possible
convert_hex.c:76: WARNING: please, no spaces at the start of a line
convert_hex.c:77: ERROR: code indent should use tabs where possible
convert_hex.c:77: WARNING: please, no spaces at the start of a line
convert_hex.c:79: WARNING: please, no spaces at the start of a line
convert_hex.c:81: WARNING: please, no spaces at the start of a line
total: 16 errors, 36 warnings, 82 lines checked
convert_x
convert_X
========== convert_numbers.c ==========
convert_numbers.c:67: WARNING: More than 40 lines in a function
convert_numbers.c:68: WARNING: More than 40 lines in a function
convert_numbers.c:69: WARNING: More than 40 lines in a function
convert_numbers.c:70: WARNING: More than 40 lines in a function
convert_numbers.c:71: WARNING: More than 40 lines in a function
convert_numbers.c:72: WARNING: More than 40 lines in a function
convert_numbers.c:73: WARNING: More than 40 lines in a function
convert_numbers.c:74: WARNING: More than 40 lines in a function
convert_numbers.c:75: WARNING: More than 40 lines in a function
convert_numbers.c:76: WARNING: More than 40 lines in a function
convert_numbers.c:77: WARNING: More than 40 lines in a function
convert_numbers.c:78: WARNING: More than 40 lines in a function
convert_numbers.c:79: WARNING: More than 40 lines in a function
convert_numbers.c:80: WARNING: More than 40 lines in a function
convert_numbers.c:81: WARNING: More than 40 lines in a function
total: 0 errors, 15 warnings, 178 lines checked
convert_di
convert_b
convert_o
convert_u
========== convert_strings.c ==========
convert_s
convert_S
convert_r
convert_R
========== handlers.c ==========
handlers.c:177: ERROR: code indent should use tabs where possible
handlers.c:177: WARNING: please, no space before tabs
handlers.c:177: WARNING: please, no spaces at the start of a line
total: 1 errors, 2 warnings, 205 lines checked
handle_flags
handle_length
handle_width
handle_precision
handle_specifiers
========== main.c ==========
main.c:12: WARNING: please, no spaces at the start of a line
main.c:13: WARNING: please, no spaces at the start of a line
main.c:14: WARNING: please, no spaces at the start of a line
main.c:15: WARNING: please, no spaces at the start of a line
main.c:17: WARNING: please, no spaces at the start of a line
main.c:18: WARNING: please, no spaces at the start of a line
main.c:19: WARNING: please, no spaces at the start of a line
main.c:20: WARNING: please, no spaces at the start of a line
main.c:21: WARNING: please, no spaces at the start of a line
main.c:22: WARNING: please, no spaces at the start of a line
main.c:23: WARNING: please, no spaces at the start of a line
main.c:24: WARNING: please, no spaces at the start of a line
main.c:25: WARNING: please, no spaces at the start of a line
main.c:26: WARNING: please, no spaces at the start of a line
main.c:27: WARNING: please, no spaces at the start of a line
main.c:28: WARNING: please, no spaces at the start of a line
main.c:29: WARNING: please, no spaces at the start of a line
main.c:30: WARNING: please, no spaces at the start of a line
main.c:31: WARNING: please, no spaces at the start of a line
main.c:32: WARNING: please, no spaces at the start of a line
main.c:33: WARNING: please, no spaces at the start of a line
main.c:34: WARNING: please, no spaces at the start of a line
main.c:35: WARNING: please, no spaces at the start of a line
main.c:36: WARNING: please, no spaces at the start of a line
main.c:37: WARNING: please, no spaces at the start of a line
main.c:38: WARNING: please, no spaces at the start of a line
main.c:39: WARNING: please, no spaces at the start of a line
main.c:40: WARNING: please, no spaces at the start of a line
main.c:41: WARNING: please, no spaces at the start of a line
main.c:42: WARNING: please, no spaces at the start of a line
main.c:43: WARNING: please, no spaces at the start of a line
total: 0 errors, 31 warnings, 44 lines checked
main
========== memory_helpers.c ==========
memory_helpers.c:5: ERROR: unsigned int _memcpy() should probably be unsigned int _memcpy(void)
total: 1 errors, 0 warnings, 87 lines checked
_memcpy
free_buffer
init_buffer
========== modifiers.c ==========
print_width
print_string_width
========== _printf.c ==========
cleanup
run_printf
_printf