Console Output

+ lua CheckBasicStyle.lua
Protocol/Protocol_1_8.cpp(2824): 1 .. 1: Leave exactly 5 empty lines between functions (found 1)
Protocol/Protocol_1_8.cpp(2827): 1 .. 4: Needs a space after a "//"-style comment
Protocol/Protocol_1_8.cpp(2832): 1 .. 1: Leave exactly 5 empty lines between functions (found 3)
Protocol/Protocol_1_15.cpp(93): 99 .. 102: Needs at least two spaces in front of a "//"-style comment
Protocol/Protocol_1_15.cpp(93): 100 .. 103: Needs a space after a "//"-style comment
Protocol/Protocol_1_15.cpp(92): 1 .. 1: Leave exactly 5 empty lines between functions (found 1)
Protocol/Protocol_1_15.cpp(111): 36 .. 37: Trailing whitespace or whitespace-only line
Protocol/Protocol_1_15.cpp(111): 2 .. 5: Needs a space after a "//"-style comment
Protocol/Protocol_1_15.cpp(113): 1 .. 2: Trailing whitespace or whitespace-only line
Protocol/Protocol_1_15.cpp(117): 1 .. 1: Leave exactly 5 empty lines between functions (found 3)
Protocol/Protocol_1_15.cpp(191): 1 .. 2: Trailing whitespace or whitespace-only line
Protocol/Protocol_1_15.cpp(215): 106 .. 107: Needs a space after a ","
Protocol/Protocol_1_15.cpp(238): 1 .. 1: Leave exactly 5 empty lines between functions (found 3)
Protocol/Protocol_1_15.cpp(244): 1 .. 2: Trailing whitespace or whitespace-only line
Protocol/Protocol_1_15.cpp(247): 1 .. 2: Trailing whitespace or whitespace-only line
Protocol/Protocol_1_15.cpp(248): 22 .. 25: Needs at least two spaces in front of a "//"-style comment
Protocol/Protocol_1_15.cpp(262): 9 .. 12: Needs at least two spaces in front of a "//"-style comment
Protocol/Protocol_1_15.cpp(263): 10 .. 13: Needs at least two spaces in front of a "//"-style comment
Protocol/Protocol_1_15.cpp(263): 11 .. 14: Needs a space after a "//"-style comment
Protocol/Protocol_1_15.cpp(268): 10 .. 13: Needs at least two spaces in front of a "//"-style comment
Protocol/Protocol_1_15.cpp(268): 11 .. 14: Needs a space after a "//"-style comment
Protocol/Protocol_1_15.cpp(270): 24 .. 27: Needs at least two spaces in front of a "//"-style comment
Protocol/Protocol_1_15.cpp(270): 25 .. 28: Needs a space after a "//"-style comment
Protocol/Protocol_1_15.cpp(271): 24 .. 27: Needs at least two spaces in front of a "//"-style comment
Protocol/Protocol_1_15.cpp(271): 25 .. 28: Needs a space after a "//"-style comment
Protocol/Protocol_1_15.cpp(272): 24 .. 27: Needs at least two spaces in front of a "//"-style comment
Protocol/Protocol_1_15.cpp(272): 25 .. 28: Needs a space after a "//"-style comment
Protocol/Protocol_1_15.cpp(273): 24 .. 27: Needs at least two spaces in front of a "//"-style comment
Protocol/Protocol_1_15.cpp(273): 25 .. 28: Needs a space after a "//"-style comment
Protocol/Protocol_1_15.cpp(277): 10 .. 13: Needs at least two spaces in front of a "//"-style comment
Protocol/Protocol_1_15.cpp(277): 11 .. 14: Needs a space after a "//"-style comment
Protocol/Protocol_1_15.cpp(286): 1 .. 1: Leave exactly 5 empty lines between functions (found 1)
Protocol/Protocol_1_15.cpp(310): 1 .. 1: Leave exactly 5 empty lines between functions (found 3)
Protocol/Protocol_1_15.cpp(596): 1 .. 1: Leave exactly 5 empty lines between functions (found 1)
Protocol/Protocol_1_15.cpp(602): 1 .. 2: Trailing whitespace or whitespace-only line
Protocol/Protocol_1_15.cpp(606): 1 .. 9: Indenting with a space
Protocol/Protocol_1_15.cpp(606): 1 .. 1: Indent changed more than a single level between the previous line and this one: from 1 to 5
Protocol/Protocol_1_15.cpp(613): 1 .. 1: Leave exactly 5 empty lines between functions (found 1)
Protocol/Protocol_1_15.cpp(620): 1 .. 4: Needs a space after a "//"-style comment
Protocol/Protocol_1_15.cpp(624): 1 .. 1: Leave exactly 5 empty lines between functions (found 1)
Protocol/Protocol_1_15.cpp(634): 1 .. 1: Indent changed more than a single level between the previous line and this one: from 5 to 1
Protocol/Protocol_1_15.cpp(636): 1 .. 2: Trailing whitespace or whitespace-only line
Protocol/Protocol_1_15.cpp(651): 1 .. 4: Needs a space after a "//"-style comment
Protocol/Protocol_1_15.cpp(652): 1 .. 4: Needs a space after a "//"-style comment
Protocol/Protocol_1_15.cpp(652): 50 .. 52: Needs a space before */
Protocol/Protocol_1_15.cpp(654): 1 .. 1: Leave exactly 5 empty lines between functions (found 1)
Protocol/Protocol_1_15.cpp(660): 1 .. 8: Indenting with a space
Protocol/Protocol_1_15.cpp(660): 1 .. 1: Indent changed more than a single level between the previous line and this one: from 1 to 4
Protocol/Protocol_1_15.cpp(665): 1 .. 1: Indent changed more than a single level between the previous line and this one: from 4 to 1
Protocol/Protocol_1_15.cpp(672): 4 .. 5: Trailing whitespace or whitespace-only line
Protocol/Protocol_1_15.cpp(673): 49 .. 50: Trailing whitespace or whitespace-only line
Protocol/Protocol_1_15.cpp(678): 42 .. 43: Trailing whitespace or whitespace-only line
Protocol/Protocol_1_15.cpp(679): 44 .. 45: Trailing whitespace or whitespace-only line
Protocol/Protocol_1_15.cpp(680): 41 .. 42: Trailing whitespace or whitespace-only line
Protocol/Protocol_1_15.cpp(708): 1 .. 1: Leave exactly 5 empty lines between functions (found 3)
Protocol/Protocol_1_15.cpp(962): 30 .. 35: Trailing whitespace or whitespace-only line
Protocol/Protocol_1_15.cpp(1098): 21 .. 25: Aligning with a tab
Protocol/Protocol_1_15.cpp(1099): 20 .. 24: Aligning with a tab
Protocol/Protocol_1_15.cpp(1100): 20 .. 24: Aligning with a tab
Protocol/Protocol_1_15.cpp(1101): 21 .. 25: Aligning with a tab
Protocol/Protocol_1_8.h(211): 36 .. 41: Aligning with a tab
Protocol/Palettes/Upgrade.cpp(3249): 3 .. 6: Needs a space after a "//"-style comment
Protocol/Palettes/Upgrade.cpp(3250): 3 .. 6: Needs a space after a "//"-style comment
Protocol/Palettes/Upgrade.cpp(3250): 39 .. 40: Needs a space after a ","
Protocol/Palettes/Upgrade.cpp(3251): 22 .. 24: Aligning with a tab
Protocol/Palettes/Upgrade.cpp(3265): 21 .. 23: Aligning with a tab
Protocol/Palettes/Upgrade.cpp(3274): 22 .. 24: Aligning with a tab
Protocol/Palettes/Upgrade.cpp(3282): 26 .. 28: Aligning with a tab
Protocol/ChunkDataSerializer.cpp(191): 3 .. 29: Brace should be on a separate line
Protocol/ChunkDataSerializer.cpp(539): 122 .. 123: Needs a space after a ","
Protocol/ChunkDataSerializer.cpp(538): 1 .. 1: Leave exactly 5 empty lines between functions (found 1)
Protocol/ChunkDataSerializer.cpp(556): 8 .. 10: Aligning with a tab
Protocol/ChunkDataSerializer.cpp(568): 1 .. 2: Trailing whitespace or whitespace-only line
Protocol/ChunkDataSerializer.cpp(570): 1 .. 3: Indenting with a space
Protocol/ChunkDataSerializer.cpp(570): 71 .. 74: Needs at least two spaces in front of a "//"-style comment
Protocol/ChunkDataSerializer.cpp(570): 72 .. 75: Needs a space after a "//"-style comment
Protocol/ChunkDataSerializer.cpp(571): 1 .. 3: Indenting with a space
Protocol/ChunkDataSerializer.cpp(571): 75 .. 76: Trailing whitespace or whitespace-only line
Protocol/ChunkDataSerializer.cpp(571): 70 .. 73: Needs at least two spaces in front of a "//"-style comment
Protocol/ChunkDataSerializer.cpp(571): 71 .. 74: Needs a space after a "//"-style comment
Protocol/ChunkDataSerializer.cpp(572): 1 .. 3: Indenting with a space
Protocol/ChunkDataSerializer.cpp(572): 107 .. 110: Needs at least two spaces in front of a "//"-style comment
Protocol/ChunkDataSerializer.cpp(574): 1 .. 3: Indenting with a space
Protocol/ChunkDataSerializer.cpp(575): 1 .. 3: Indenting with a space
Protocol/ChunkDataSerializer.cpp(576): 1 .. 4: Indenting with a space
Protocol/ChunkDataSerializer.cpp(577): 1 .. 3: Indenting with a space
Protocol/ChunkDataSerializer.cpp(578): 1 .. 2: Trailing whitespace or whitespace-only line
Protocol/ChunkDataSerializer.cpp(583): 1 .. 3: Indenting with a space
Protocol/ChunkDataSerializer.cpp(584): 1 .. 3: Indenting with a space
Protocol/ChunkDataSerializer.cpp(585): 1 .. 4: Indenting with a space
Protocol/ChunkDataSerializer.cpp(585): 33 .. 35: Aligning with a tab
Protocol/ChunkDataSerializer.cpp(586): 1 .. 1: Indent changed more than a single level between the previous line and this one: from 2 to 10
Protocol/ChunkDataSerializer.cpp(587): 1 .. 3: Indenting with a space
Protocol/ChunkDataSerializer.cpp(587): 32 .. 34: Aligning with a tab
Protocol/ChunkDataSerializer.cpp(587): 1 .. 1: Indent changed more than a single level between the previous line and this one: from 10 to 1
Protocol/ChunkDataSerializer.cpp(588): 1 .. 1: Indent changed more than a single level between the previous line and this one: from 1 to 9
Protocol/ChunkDataSerializer.cpp(589): 1 .. 1: Indent changed more than a single level between the previous line and this one: from 9 to 1
Protocol/ChunkDataSerializer.cpp(593): 36 .. 39: Needs at least two spaces in front of a "//"-style comment
Protocol/ChunkDataSerializer.cpp(593): 37 .. 40: Needs a space after a "//"-style comment
Protocol/ChunkDataSerializer.cpp(594): 1 .. 3: Indenting with a space
Protocol/ChunkDataSerializer.cpp(594): 22 .. 24: Aligning with a tab
Protocol/ChunkDataSerializer.cpp(594): 3 .. 6: Needs a space after a "//"-style comment
Protocol/ChunkDataSerializer.cpp(601): 2 .. 4: Needs a space before */
Protocol/ChunkDataSerializer.cpp(602): 1 .. 4: Needs a space after a "//"-style comment
Protocol/ChunkDataSerializer.cpp(602): 28 .. 29: Needs a space after a ","
Protocol/ChunkDataSerializer.cpp(603): 1 .. 4: Needs a space after a "//"-style comment
Protocol/ChunkDataSerializer.cpp(608): 2 .. 53: Brace should be on a separate line
Protocol/ChunkDataSerializer.cpp(621): 1 .. 1: Leave exactly 5 empty lines between functions (found 4)
Protocol/Protocol.h(309): 51 .. 54: Needs at least two spaces in front of a "//"-style comment
Protocol/Protocol_1_15.h(42): 32 .. 37: Aligning with a tab
Protocol/Protocol_1_15.h(43): 32 .. 37: Aligning with a tab
Protocol/Protocol_1_15.h(49): 32 .. 37: Aligning with a tab
Mobs/MonsterTypes.h(14): 7 .. 15: Aligning with a tab
Number of violations found: 113