Home > Krazy Code Checker > kde-4.x > kdeutils > okteta
krazy2 Analysis
Checkers Run = 49
Files Processed = 1051
Total Issues = 9
...as of March 17 2010 05:29:16 CET
- For File Type c++
- Check for TRUE and FALSE macros [captruefalse]...okay!
- Check for methods that return 'const' refs in public classes [constref]...okay!
- Check for an acceptable copyright [copyright]...okay!
- Check for cpp macros and usage [cpp]...OOPS! 2 issues found!
- gui/offsetformat.cpp: O/S or Compiler specific macro line# 28[[__GNUC__]] (1)
- gui/kcursor.cpp: O/S or Compiler specific macro line# 25[[__GNUC__]] (1)
C++ source files and non-installed headers should NOT use cpp conditionals that check for a certain O/S or compiler; instead use CMake HAVE_foo macros. We want to check for features discovered during CMake time rather than for a specific O/S.
- Check for code that should be considered crashy. [crashy]...OOPS! 5 issues found!
- libs/kasten/controllers/documentsystem/creator/creatorcontroller.cpp: line# 143 (1)
- libs/kasten/controllers/io/export/exportcontroller.cpp: line# 127 (1)
- libs/kasten/controllers/io/copyas/copyascontroller.cpp: line# 133 (1)
- libs/kasten/controllers/io/insert/insertcontroller.cpp: line# 130 (1)
- libs/kasten/core/system/modelcodecmanager.cpp: line# 135 (1)
Looks for not using QPointers when showing modal dialogs via exec(), as discussed in http://www.kdedevelopers.org/node/3919
- Check single-char QString operations for efficiency [doublequote_chars]...okay!
- Check public classes with private members or d-pointer issues [dpointer]...okay!
- Check for QString compares to "" [emptystrcompare]...okay!
- Check that file ends with a newline [endswithnewline]...okay!
- Check for C++ ctors that should be declared 'explicit' [explicit]...okay!
- Check for foreach loop issues [foreach]...okay!
- Check validity of i18n calls [i18ncheckarg]...OOPS! 1 issues found!
- kasten/controllers/view/structures/datatypes/datainformation.cpp: gaps in placeholder numbering, () (1 2) line# 65 (1)
Make the translators' job easier and detect problems in the usage of the i18n() calls. When the fix is not clear, check the Techbase article at http://techbase.kde.org/Development/Tutorials/Localization/i18n_Krazy for more information.
- Check for invalid icon names [iconnames]...okay!
- Check for proper include directives [includes]...okay!
- Check for inline methods in public classes [inline]...okay!
- Check for an acceptable license [license]...okay!
- Check for assignments to QString::null [nullstrassign]...okay!
- Check for compares to QString::null or QString() [nullstrcompare]...okay!
- Check for C++ operators that should be 'const' [operators]...okay!
- Check for inappropriate pass-by-value function args [passbyvalue]...okay!
- Check for postfix usage of ++ and -- [postfixop]...okay!
- Check for dangerous or inefficient QByteArray usage [qbytearray]...okay!
- Check for Qt classes that should not be used [qclasses]...okay!
- Check for Qt methods that should be avoided [qmethods]...okay!
- Check for QMIN and QMAX macros [qminmax]...okay!
- Check for classes that should use the 'Q_OBJECT' macro [qobject]...okay!
- Check for signals: and slots: [sigsandslots]...okay!
- Check for spelling errors [spelling]...okay!
- Check for strings used improperly or should be i18n. [strings]...okay!
- Check for system calls to replace by KDE or Qt equivalents [syscalls]...OOPS! 1 issues found!
- kasten/controllers/document/info/bytearraymodeliodevice.cpp: line# 37[open[KDE_open]] (1)
Some system calls are not portable, please use the suggested portable wrapper instead. See kde_file.h
- Check for typedefs that should be replaced by Qt typedefs [typedefs]...okay!
- For File Type messages
- Check for appending to rc.cpp [rcappend]...okay!
- For File Type kpartgui
- Check that file ends with a newline [endswithnewline]...okay!
- Check validity of i18n calls [i18ncheckarg]...okay!
- Check for spelling errors [spelling]...okay!
- Validates kpartgui files using 'xmllint' [validate]...okay!
- For File Type desktop
- Check that file ends with a newline [endswithnewline]...okay!
- Check for invalid icon names [iconnames]...okay!
- Check for spelling errors [spelling]...okay!
- Validates desktop files using 'desktop-file-validate' [validate]...okay!
- For File Type designer
- Check that file ends with a newline [endswithnewline]...okay!
- Check for files that need to be fixed by 'fixuifiles' [fixuifiles]...okay!
- Check validity of i18n calls [i18ncheckarg]...okay!
- Check for Qt classes that should not be used [qclasses]...okay!
- Check for spelling errors [spelling]...okay!
- For File Type kconfigxt
- Check that file ends with a newline [endswithnewline]...okay!
- Check validity of i18n calls [i18ncheckarg]...okay!
- Check for spelling errors [spelling]...okay!
- Validates KConfigXT files using 'xmllint' [validate]...okay!