Home > Krazy Code Checker > kde-4.x > kdeutils > ktimer
krazy2 Analysis
Checkers Run = 42
Files Processed = 6
Total Issues = 2
...as of September 03 2010 01:33:05 CEST
- 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]...okay!
- Check for code that should be considered crashy. [crashy]...okay!
- Check single-char QString operations for efficiency [doublequote_chars]...okay!
- Check for unwanted doxygen tags in major versions [doxytags]...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]...okay!
- 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]...OOPS! 1 issues found!
- ktimer.cpp: QDialog[KDialog]
Don't use Qt 4 classes that are deprecated. Additionally make sure to use the KDE version of some Qt GUI elements to provide a consistent look and feel for the KDE desktop. The KDE classes are not just adding functionalities to the Qt base class and are mostly not even based on the Qt class. http://techbase.kde.org/Policies/API_to_Avoid Please refer to the API documentation for details before porting to the K classes.
- 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]...OOPS! 1 issues found!
- ktimer.cpp: line# 285[[realy]] (1)
Spelling errors in comments and strings should be fixed as they may show up later in API documentation, handbooks, etc. Misspelled strings make the translator's job harder. Please use US English.
- Check for strings used improperly or should be i18n. [strings]...okay!
- Check for system calls to replace by KDE or Qt equivalents [syscalls]...okay!
- Check for typedefs that should be replaced by Qt typedefs [typedefs]...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 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 messages
- Check for appending to rc.cpp [rcappend]...okay!