Kitware Style Checker
Switch branches/tags
Nothing to show
Clone or download
thewtex Merge pull request #79 from Nekto89/master
ENH: Update Boost to 1.67.0
Latest commit 13f7a5d Nov 2, 2018
Permalink
Type Name Latest commit message Commit time
Failed to load latest commit information.
CMake/ExportConfiguration STYLE: Update CMakeLists.txt files to current CMake syntax style. May 8, 2018
Documentation ENH: Added some default install configuration files Sep 12, 2006
Testing STYLE: Update CMakeLists.txt files to current CMake syntax style. May 8, 2018
Utilities Merge branch 'updating-boost' Jun 8, 2018
Web Improving style and XMLness of Web/index.php Dec 19, 2016
.editorconfig Adding a file for EditorConfig Mar 23, 2017
.gitattributes ENH: First checkin Jan 2, 2006
.gitignore Adding a .gitignore at root Dec 19, 2016
.travis.yml Adding a file for Travis CI Mar 23, 2017
CMakeLists.txt STYLE: Update CMakeLists.txt files to current CMake syntax style. May 8, 2018
CTestConfig.cmake ENH: Added to CDash Oct 6, 2008
Copyright.txt ENH: First checkin Apr 5, 2006
KWStyleConfigure.h.in ENH: Added versioning support Dec 3, 2008
README.md Improving README Dec 19, 2016
circle.yml Minor changes to C++ source code Dec 19, 2016
kwsCheckBadCharacters.cxx don't print file to stderr if there are bad characters Jul 13, 2016
kwsCheckBlackList.cxx Fixed typos/spelling in user-visible strings Jul 25, 2017
kwsCheckComma.cxx ENH: Allow for spaces after commas at the end of lines in macros. Feb 17, 2017
kwsCheckComments.cxx Fixed typos/spelling in user-visible strings Jul 25, 2017
kwsCheckDeclarationOrder.cxx COMP: Warnings May 3, 2009
kwsCheckEmptyLines.cxx BUG: Removed warning messages on Win7 with VS12 Nov 3, 2015
kwsCheckEndOfFileNewLine.cxx BUG: Removed warning messages on Win7 with VS12 Nov 3, 2015
kwsCheckExtraSpaces.cxx BUG: Removed warning messages on Win7 with VS12 Nov 3, 2015
kwsCheckFunctions.cxx BUG: Removed warning messages on Win7 with VS12 Nov 3, 2015
kwsCheckHeader.cxx BUG: Removed warning messages on Win7 with VS12 Nov 3, 2015
kwsCheckIfNDefDefine.cxx fix spelling mistakes Feb 1, 2017
kwsCheckIfWhileForUntil.cxx COMP: Fixed signed / unsigned comparison and shadowed vars Oct 2, 2016
kwsCheckIndent.cxx Merge pull request #51 from RyDroid/cpp-minor Feb 23, 2018
kwsCheckInternalVariables.cxx COMP:Fixed a warning message of valnue comparison Nov 9, 2015
kwsCheckLineLength.cxx BUG: Removed warning messages on Win7 with VS12 Nov 3, 2015
kwsCheckMemberFunctions.cxx COMP: Fix format-string warning messages on VS14 Nov 25, 2015
kwsCheckNameOfClass.cxx fix spelling mistakes Feb 1, 2017
kwsCheckNamespace.cxx ENH: Trying to fix warnings for 64bits machines Mar 10, 2009
kwsCheckOperator.cxx fix spelling mistakes Feb 1, 2017
kwsCheckParenthesis.cxx COMP: Fixed signed / unsigned comparison and shadowed vars Oct 2, 2016
kwsCheckRelativePathInInclude.cxx XML tag key text: RelativePathInInclude May 27, 2014
kwsCheckSemicolonSpace.cxx BUG: Support C++11 list initialization syntax Mar 12, 2018
kwsCheckStatementPerLine.cxx BUG: Removed warning messages on Win7 with VS12 Nov 3, 2015
kwsCheckStruct.cxx ENH: Trying to fix warnings for 64bits machines Mar 10, 2009
kwsCheckTabs.cxx ENH: convert tab check to use xpressive; add test for tab checking Jul 27, 2010
kwsCheckTemplate.cxx BUG: Removed warning messages on Win7 with VS12 Nov 3, 2015
kwsCheckTypedefs.cxx COMP: Fix format-string warning messages on VS14 Nov 25, 2015
kwsCheckUsingDirectives.cxx Minor fix in index while parsing. May 27, 2014
kwsCheckVariablePerLine.cxx BUG: Must run BetweenChars and BetweenCharFast to cover all options Dec 28, 2016
kwsCheckVariables.cxx fix spelling mistakes Feb 1, 2017
kwsGenerator.cxx Minor changes to C++ source code Dec 19, 2016
kwsGenerator.h ENH: Added basedirectory (used when generating Dart files) Mar 10, 2008
kwsHeader.h ENH: First checkin Jan 2, 2006
kwsParser.cxx Merge pull request #51 from RyDroid/cpp-minor Feb 23, 2018
kwsParser.h BUG: KWStyle was not checking if string was between single quotes Nov 8, 2016
kwsStyle.cxx Merge pull request #66 from RyDroid/minor-main-cpp Feb 23, 2018
kwsTestFile.h ENH: Support for 64bits Mar 3, 2009
kwsXMLReader.cxx BUG: Removed warning messages on Win7 with VS12 Nov 3, 2015
kwsXMLReader.h ENH: Added support for bad characters and unecessary semicolons Sep 12, 2006
metaCommand.cxx Merge pull request #66 from RyDroid/minor-main-cpp Feb 23, 2018
metaCommand.h Merge pull request #51 from RyDroid/cpp-minor Feb 23, 2018

README.md

KWStyle

Circle CI

Overview

KWStyle is a style checker for source code which is integrated in the software process to ensure that the code written by several users is consistent and can be viewed/printed as it was written by one person.

Features

Among the fearures provided by KWStyle:

  • Several Indentation checking
  • Copyright Header correctness
  • Maximum line length
  • Encapsulation preservation
  • Internal variable checking via regular expressions
  • New line at the end of file

A complete list of the features is available here.

Build

mkdir build
cd build
cmake ..
make

Install

  • Build and make install or checkinstall
  • On at least Debian and Trisquel, apt-get install kwstyle