QtBase - 2016-12-13 07:58:44 +0000

Functions

Page:<>1
McCabe - Cyclomatic Complexity: 439
...10
McCabe - Cyclomatic Complexity: 15
...20
McCabe - Cyclomatic Complexity: 9
...30
McCabe - Cyclomatic Complexity: 7
...37
McCabe - Cyclomatic Complexity: 6
38
McCabe - Cyclomatic Complexity: 6
39
McCabe - Cyclomatic Complexity: 6
40
McCabe - Cyclomatic Complexity: 6
4142
McCabe - Cyclomatic Complexity: 5
43
McCabe - Cyclomatic Complexity: 5
44
McCabe - Cyclomatic Complexity: 5
45
McCabe - Cyclomatic Complexity: 5
...50
McCabe - Cyclomatic Complexity: 5
...60
McCabe - Cyclomatic Complexity: 4
...70
McCabe - Cyclomatic Complexity: 3
...100
McCabe - Cyclomatic Complexity: 2
...200
McCabe - Cyclomatic Complexity: 1
...306
McCabe - Cyclomatic Complexity: 1
FunctionCondition %eLOC - Effective Lines of CodeMcCabe - Cyclomatic Complexityâ–¾
queuedConnectionTypes
Name: queuedConnectionTypes
Prototype: static int *queuedConnectionTypes(const QList<QByteArray> &typeNames)
Coverage:  71.429% (10/14)
Absolute File Name: /home/qt/qt5_coco/qt5/qtbase/src/corelib/kernel/qobject.cpp
Lines: 90-112
 71.429% (10/14)
155
queuedConnectionTypes
Name: queuedConnectionTypes
Prototype: static int *queuedConnectionTypes(const QArgumentType *argumentTypes, int argc)
Coverage:  71.429% (10/14)
Absolute File Name: /home/qt/qt5_coco/qt5/qtbase/src/corelib/kernel/qobject.cpp
Lines: 114-136
 71.429% (10/14)
155
qt_xcb_createCursorXRender
Name: qt_xcb_createCursorXRender
Prototype: xcb_cursor_t qt_xcb_createCursorXRender(QXcbScreen *screen, const QImage &image, const QPoint &spot)
Coverage:  0.000% (0/15)
Absolute File Name: /home/qt/qt5_coco/qt5/qtbase/src/plugins/platforms/xcb/qxcbimage.cpp
Lines: 199-272
  0.000% (0/15)
525
qt_tildeExpansion
Name: qt_tildeExpansion
Prototype: QString qt_tildeExpansion(const QString &path)
Coverage:  0.000% (0/15)
Absolute File Name: /home/qt/qt5_coco/qt5/qtbase/src/widgets/dialogs/qfiledialog.cpp
Lines: 1103-1140
  0.000% (0/15)
185
qt_signal_handler
Name: qt_signal_handler
Prototype: void qt_signal_handler(int sig)
Coverage:  0.000% (0/14)
Absolute File Name: /home/qt/qt5_coco/qt5/qtbase/src/corelib/kernel/qcrashhandler.cpp
Lines: 383-403
  0.000% (0/14)
145
qt_registerFont
Name: qt_registerFont
Prototype: void qt_registerFont(const QString &familyName, const QString &stylename, const QString &foundryname, int weight, QFont::Style style, int stretch, bool antialiased, bool scalable, int pixelSize, bool fixedPitch, const QSupportedWritingSystems &writingSystems, void *handle)
Coverage:  0.000% (0/13)
Absolute File Name: /home/qt/qt5_coco/qt5/qtbase/src/gui/text/qfontdatabase.cpp
Lines: 738-770
  0.000% (0/13)
215
qt_qimageScaleAARGBA_up_x_down_y_sse4
Name: qt_qimageScaleAARGBA_up_x_down_y_sse4
Prototype: template<bool RGB> void qt_qimageScaleAARGBA_up_x_down_y_sse4(QImageScaleInfo *isi, unsigned int *dest, int dw, int dh, int dow, int sow)
Coverage:  0.000% (0/13)
Absolute File Name: /home/qt/qt5_coco/qt5/qtbase/src/gui/painting/qimagescale_sse4.cpp
Lines: 66-109
  0.000% (0/13)
235
qt_qimageScaleAARGBA_down_xy_sse4
Name: qt_qimageScaleAARGBA_down_xy_sse4
Prototype: template<bool RGB> void qt_qimageScaleAARGBA_down_xy_sse4(QImageScaleInfo *isi, unsigned int *dest, int dw, int dh, int dow, int sow)
Coverage:  0.000% (0/13)
Absolute File Name: /home/qt/qt5_coco/qt5/qtbase/src/gui/painting/qimagescale_sse4.cpp
Lines: 156-201
  0.000% (0/13)
255
qt_qimageScaleAARGBA_down_x_up_y_sse4
Name: qt_qimageScaleAARGBA_down_x_up_y_sse4
Prototype: template<bool RGB> void qt_qimageScaleAARGBA_down_x_up_y_sse4(QImageScaleInfo *isi, unsigned int *dest, int dw, int dh, int dow, int sow)
Coverage:  0.000% (0/13)
Absolute File Name: /home/qt/qt5_coco/qt5/qtbase/src/gui/painting/qimagescale_sse4.cpp
Lines: 111-154
  0.000% (0/13)
235
qt_qFindChildren_helper
Name: qt_qFindChildren_helper
Prototype: void qt_qFindChildren_helper(const QObject *parent, const QRegExp &re, const QMetaObject &mo, QList<void*> *list, Qt::FindChildOptions options)
Coverage:  82.353% (14/17)
Absolute File Name: /home/qt/qt5_coco/qt5/qtbase/src/corelib/kernel/qobject.cpp
Lines: 1880-1896
 82.353% (14/17)
115
qt_polygon_isect_line
Name: qt_polygon_isect_line
Prototype: static void qt_polygon_isect_line(const QPointF &p1, const QPointF &p2, const QPointF &pos, int *winding)
Coverage:  0.000% (0/15)
Absolute File Name: /home/qt/qt5_coco/qt5/qtbase/src/gui/painting/qpolygon.cpp
Lines: 55-83
  0.000% (0/15)
165
qt_pixmap_thread_test
Name: qt_pixmap_thread_test
Prototype: static bool qt_pixmap_thread_test()
Coverage:  0.000% (0/13)
Absolute File Name: /home/qt/qt5_coco/qt5/qtbase/src/gui/image/qpixmap.cpp
Lines: 71-90
  0.000% (0/13)
125
qt_painterpath_isect_line
Name: qt_painterpath_isect_line
Prototype: static void qt_painterpath_isect_line(const QPointF &p1, const QPointF &p2, const QPointF &pos, int *winding)
Coverage:  0.000% (0/15)
Absolute File Name: /home/qt/qt5_coco/qt5/qtbase/src/gui/painting/qpainterpath.cpp
Lines: 1740-1770
  0.000% (0/15)
165
qt_messageSeverityFromGL
Name: qt_messageSeverityFromGL
Prototype: static QOpenGLDebugMessage::Severity qt_messageSeverityFromGL(GLenum severity)
Coverage:  0.000% (0/9)
Absolute File Name: /home/qt/qt5_coco/qt5/qtbase/src/gui/opengl/qopengldebug.cpp
Lines: 792-807
  0.000% (0/9)
75
qt_memrotate90_tiled_unpacked
Name: qt_memrotate90_tiled_unpacked
Prototype: template <class T> static inline void qt_memrotate90_tiled_unpacked(const T *src, int w, int h, int sstride, T *dest, int dstride)
Coverage:  0.000% (0/13)
Absolute File Name: /home/qt/qt5_coco/qt5/qtbase/src/gui/painting/qmemrotate.cpp
Lines: 259-285
  0.000% (0/13)
75
qt_memrotate270_tiled_unpacked
Name: qt_memrotate270_tiled_unpacked
Prototype: template <class T> static inline void qt_memrotate270_tiled_unpacked(const T *src, int w, int h, int sstride, T *dest, int dstride)
Coverage:  0.000% (0/13)
Absolute File Name: /home/qt/qt5_coco/qt5/qtbase/src/gui/painting/qmemrotate.cpp
Lines: 346-372
  0.000% (0/13)
75
qt_int_to_string
Name: qt_int_to_string
Prototype: const char *qt_int_to_string(int val, char *buf)
Coverage:  0.000% (0/14)
Absolute File Name: /home/qt/qt5_coco/qt5/qtbase/src/gui/painting/qpdf.cpp
Lines: 137-159
  0.000% (0/14)
175
qt_int_sqrt
Name: qt_int_sqrt
Prototype: unsigned int qt_int_sqrt(unsigned int n)
Coverage:  84.615% (11/13)
Absolute File Name: /home/qt/qt5_coco/qt5/qtbase/src/corelib/global/qglobal.cpp
Lines: 3098-3119
 84.615% (11/13)
155
qt_gl_read_framebuffer_rgba8
Name: qt_gl_read_framebuffer_rgba8
Prototype: static inline QImage qt_gl_read_framebuffer_rgba8(const QSize &size, bool include_alpha, QOpenGLContext *context)
Coverage:  0.000% (0/35)
Absolute File Name: /home/qt/qt5_coco/qt5/qtbase/src/gui/opengl/qopenglframebufferobject.cpp
Lines: 1279-1323
  0.000% (0/35)
265
qt_create_qhash_seed
Name: qt_create_qhash_seed
Prototype: static uint qt_create_qhash_seed()
Coverage:  38.462% (5/13)
Absolute File Name: /home/qt/qt5_coco/qt5/qtbase/src/corelib/tools/qhash.cpp
Lines: 277-322
 38.462% (5/13)
225
qt_blurImage
Name: qt_blurImage
Prototype: void qt_blurImage(QPainter *p, QImage &blurImage, qreal radius, bool quality, bool alphaOnly, int transposed = 0)
Coverage:  0.000% (0/20)
Absolute File Name: /home/qt/qt5_coco/qt5/qtbase/src/widgets/effects/qpixmapfilter.cpp
Lines: 861-886
  0.000% (0/20)
155
qt_alphamapblit_quint16
Name: qt_alphamapblit_quint16
Prototype: static void qt_alphamapblit_quint16(QRasterBuffer *rasterBuffer, int x, int y, const QRgba64 &color, const uchar *map, int mapWidth, int mapHeight, int mapStride, const QClipData *)
Coverage:  0.000% (0/13)
Absolute File Name: /home/qt/qt5_coco/qt5/qtbase/src/gui/painting/qdrawhelper.cpp
Lines: 5699-5726
  0.000% (0/13)
145
qt_accAmpIndex
Name: qt_accAmpIndex
Prototype: static int qt_accAmpIndex(const QString &text)
Coverage:  0.000% (0/13)
Absolute File Name: /home/qt/qt5_coco/qt5/qtbase/src/widgets/accessible/qaccessiblewidget.cpp
Lines: 104-131
  0.000% (0/13)
115
qstrtoull
Name: qstrtoull
Prototype: unsigned long long qstrtoull(const char * nptr, const char **endptr, int base, bool *ok)
Coverage:  89.474% (17/19)
Absolute File Name: /home/qt/qt5_coco/qt5/qtbase/src/corelib/tools/qlocale_tools.cpp
Lines: 381-407
 89.474% (17/19)
175
qstrnicmp
Name: qstrnicmp
Prototype: int qstrnicmp(const char *str1, const char *str2, uint len)
Coverage: 100.000% (15/15)
Absolute File Name: /home/qt/qt5_coco/qt5/qtbase/src/corelib/tools/qbytearray.cpp
Lines: 435-450
100.000% (15/15)
125
qglx_findVisualInfo
Name: qglx_findVisualInfo
Prototype: XVisualInfo *qglx_findVisualInfo(Display *display, int screen, QSurfaceFormat *format, int drawableBit)
Coverage:  30.769% (4/13)
Absolute File Name: /home/qt/qt5_coco/qt5/qtbase/src/platformsupport/glxconvenience/qglxconvenience.cpp
Lines: 231-258
 30.769% (4/13)
155
q_screenSizeFromFb
Name: q_screenSizeFromFb
Prototype: QSize q_screenSizeFromFb(int framebufferDevice)
Coverage:  0.000% (0/15)
Absolute File Name: /home/qt/qt5_coco/qt5/qtbase/src/platformsupport/eglconvenience/qeglconvenience.cpp
Lines: 515-557
  0.000% (0/15)
205
q_screenDepthFromFb
Name: q_screenDepthFromFb
Prototype: int q_screenDepthFromFb(int framebufferDevice)
Coverage:  0.000% (0/13)
Absolute File Name: /home/qt/qt5_coco/qt5/qtbase/src/platformsupport/eglconvenience/qeglconvenience.cpp
Lines: 559-586
  0.000% (0/13)
105
qUnregisterResourceData
Name: qUnregisterResourceData
Prototype: bool qUnregisterResourceData(int version, const unsigned char *tree, const unsigned char *name, const unsigned char *data)
Coverage:  73.333% (11/15)
Absolute File Name: /home/qt/qt5_coco/qt5/qtbase/src/corelib/io/qresource.cpp
Lines: 851-869
 73.333% (11/15)
115
qUnpremultiplyRgb30
Name: qUnpremultiplyRgb30
Prototype: static inline uint qUnpremultiplyRgb30(uint rgb30)
Coverage:  0.000% (0/9)
Absolute File Name: /home/qt/qt5_coco/qt5/qtbase/src/gui/image/qimage_conversions.cpp
Lines: 573-594
  0.000% (0/9)
125
qSmoothScaleImage
Name: qSmoothScaleImage
Prototype: QImage qSmoothScaleImage(const QImage &src, int dw, int dh)
Coverage:  0.000% (0/18)
Absolute File Name: /home/qt/qt5_coco/qt5/qtbase/src/gui/painting/qimagescale.cpp
Lines: 728-757
  0.000% (0/18)
215
qRotationType
Name: qRotationType
Prototype: inline RotationType qRotationType(const QTransform &transform)
Coverage:  0.000% (0/37)
Absolute File Name: /home/qt/qt5_coco/qt5/qtbase/src/gui/painting/qpaintengine_raster.cpp
Lines: 2166-2186
  0.000% (0/37)
135
qRegisterResourceData
Name: qRegisterResourceData
Prototype: bool qRegisterResourceData(int version, const unsigned char *tree, const unsigned char *name, const unsigned char *data)
Coverage:  80.000% (12/15)
Absolute File Name: /home/qt/qt5_coco/qt5/qtbase/src/corelib/io/qresource.cpp
Lines: 828-849
 80.000% (12/15)
145
qReallocAligned
Name: qReallocAligned
Prototype: void *qReallocAligned(void *oldptr, size_t newsize, size_t oldsize, size_t alignment)
Coverage:  53.333% (8/15)
Absolute File Name: /home/qt/qt5_coco/qt5/qtbase/src/corelib/global/qmalloc.cpp
Lines: 79-122
 53.333% (8/15)
185
qNumVariantToHelper
Name: qNumVariantToHelper
Prototype: template <typename T> inline T qNumVariantToHelper(const QVariant::Private &d, const HandlersManager &handlerManager, bool *ok, const T& val)
Coverage:  94.737% (18/19)
Absolute File Name: /home/qt/qt5_coco/qt5/qtbase/src/corelib/kernel/qvariant.cpp
Lines: 2642-2661
 94.737% (18/19)
115
qNormalizeType
Name: qNormalizeType
Prototype: static char *qNormalizeType(char *d, int &templdepth, QByteArray &result)
Coverage: 100.000% (19/19)
Absolute File Name: /home/qt/qt5_coco/qt5/qtbase/src/corelib/kernel/qmetaobject.cpp
Lines: 1252-1269
100.000% (19/19)
115
qNormalizeRadii
Name: qNormalizeRadii
Prototype: void qNormalizeRadii(const QRect &br, const QSize *radii, QSize *tlr, QSize *trr, QSize *blr, QSize *brr)
Coverage:  0.000% (0/13)
Absolute File Name: /home/qt/qt5_coco/qt5/qtbase/src/gui/painting/qcssutil.cpp
Lines: 314-329
  0.000% (0/13)
125
qMetaTypeTypeImpl
Name: qMetaTypeTypeImpl
Prototype: template <bool tryNormalizedType> static inline int qMetaTypeTypeImpl(const char *typeName, int length)
Coverage: 100.000% (15/15)
Absolute File Name: /home/qt/qt5_coco/qt5/qtbase/src/corelib/kernel/qmetatype.cpp
Lines: 1188-1210
100.000% (15/15)
135
qDrawPlainRect
Name: qDrawPlainRect
Prototype: void qDrawPlainRect(QPainter *p, int x, int y, int w, int h, const QColor &c, int lineWidth, const QBrush *fill)
Coverage:  0.000% (0/15)
Absolute File Name: /home/qt/qt5_coco/qt5/qtbase/src/widgets/styles/qdrawutil.cpp
Lines: 513-534
  0.000% (0/15)
165
qDBusToggleWatch
Name: qDBusToggleWatch
Prototype: static void qDBusToggleWatch(DBusWatch *watch, void *data)
Coverage:  73.684% (14/19)
Absolute File Name: /home/qt/qt5_coco/qt5/qtbase/src/dbus/qdbusintegrator.cpp
Lines: 257-284
 73.684% (14/19)
175
qCompareFractions
Name: qCompareFractions
Prototype: static int qCompareFractions(quint64 a, quint64 b, quint64 c, quint64 d)
Coverage:  0.000% (0/15)
Absolute File Name: /home/qt/qt5_coco/qt5/qtbase/src/gui/opengl/qtriangulator.cpp
Lines: 115-140
  0.000% (0/15)
145
prepareEngine_helper
Name: prepareEngine_helper
Prototype: static void prepareEngine_helper(QRegExpPrivate *priv)
Coverage:  80.000% (12/15)
Absolute File Name: /home/qt/qt5_coco/qt5/qtbase/src/corelib/tools/qregexp.cpp
Lines: 3843-3860
 80.000% (12/15)
105
postProcess
Name: postProcess
Prototype: static QList<QNetworkInterfacePrivate *> postProcess(QList<QNetworkInterfacePrivate *> list)
Coverage:  93.333% (14/15)
Absolute File Name: /home/qt/qt5_coco/qt5/qtbase/src/network/kernel/qnetworkinterface.cpp
Lines: 52-80
 93.333% (14/15)
135
parseXftHintStyle
Name: parseXftHintStyle
Prototype: static QFontEngine::HintStyle parseXftHintStyle(const QByteArray& stringValue)
Coverage:  30.769% (4/13)
Absolute File Name: /home/qt/qt5_coco/qt5/qtbase/src/plugins/platforms/xcb/qxcbscreen.cpp
Lines: 788-800
 30.769% (4/13)
95
parseTzTypes
Name: parseTzTypes
Prototype: static QVector<QTzType> parseTzTypes(QDataStream &ds, int tzh_typecnt)
Coverage:  66.667% (10/15)
Absolute File Name: /home/qt/qt5_coco/qt5/qtbase/src/corelib/tools/qtimezoneprivate_tz.cpp
Lines: 222-245
 66.667% (10/15)
135
parseTzIndicators
Name: parseTzIndicators
Prototype: static QVector<QTzType> parseTzIndicators(QDataStream &ds, const QVector<QTzType> &types, int tzh_ttisstdcnt, int tzh_ttisgmtcnt)
Coverage:  76.471% (13/17)
Absolute File Name: /home/qt/qt5_coco/qt5/qtbase/src/corelib/tools/qtimezoneprivate_tz.cpp
Lines: 301-321
 76.471% (13/17)
115
parseTzHeader
Name: parseTzHeader
Prototype: static QTzHeader parseTzHeader(QDataStream &ds, bool *ok)
Coverage:  48.485% (16/33)
Absolute File Name: /home/qt/qt5_coco/qt5/qtbase/src/corelib/tools/qtimezoneprivate_tz.cpp
Lines: 145-187
 48.485% (16/33)
265
parseTzAbbreviations
Name: parseTzAbbreviations
Prototype: static QMap<int, QByteArray> parseTzAbbreviations(QDataStream &ds, int tzh_charcnt, const QVector<QTzType> &types)
Coverage:  76.923% (10/13)
Absolute File Name: /home/qt/qt5_coco/qt5/qtbase/src/corelib/tools/qtimezoneprivate_tz.cpp
Lines: 247-274
 76.923% (10/13)
145
parseShorthandFontProperty
Name: parseShorthandFontProperty
Prototype: static void parseShorthandFontProperty(const QVector<QCss::Value> &values, QFont *font, int *fontSizeAdjustment)
Coverage:  0.000% (0/15)
Absolute File Name: /home/qt/qt5_coco/qt5/qtbase/src/gui/text/qcssparser.cpp
Lines: 1217-1240
  0.000% (0/15)
145
operator>>
Name: operator>>
Prototype: static inline QDataStream &operator>>(QDataStream &in, QNetworkCacheMetaData::AttributesMap &hash)
Coverage:  53.846% (7/13)
Absolute File Name: /home/qt/qt5_coco/qt5/qtbase/src/network/access/qabstractnetworkcache.cpp
Lines: 369-394
 53.846% (7/13)
185
operator>>
Name: operator>>
Prototype: QDataStream &operator>>(QDataStream &in, QBitArray &ba)
Coverage: 100.000% (15/15)
Absolute File Name: /home/qt/qt5_coco/qt5/qtbase/src/corelib/tools/qbitarray.cpp
Lines: 724-758
100.000% (15/15)
245
operator>>
Name: operator>>
Prototype: QDataStream &operator>>(QDataStream &s, QPainterPath &p)
Coverage:  0.000% (0/15)
Absolute File Name: /home/qt/qt5_coco/qt5/qtbase/src/gui/painting/qpainterpath.cpp
Lines: 2421-2459
  0.000% (0/15)
295
operator<<
Name: operator<<
Prototype: QDebug operator<<(QDebug dbg, const QDateTime &date)
Coverage:  40.000% (4/10)
Absolute File Name: /home/qt/qt5_coco/qt5/qtbase/src/corelib/tools/qdatetime.cpp
Lines: 4986-5008
 40.000% (4/10)
135
operator<<
Name: operator<<
Prototype: QDataStream &operator<<(QDataStream &out, const QString &str)
Coverage:  75.000% (12/16)
Absolute File Name: /home/qt/qt5_coco/qt5/qtbase/src/corelib/tools/qstring.cpp
Lines: 8686-8709
 75.000% (12/16)
135
operator<<
Name: operator<<
Prototype: QDataStream &operator<<(QDataStream &s, const QRegion &r)
Coverage:  0.000% (0/14)
Absolute File Name: /home/qt/qt5_coco/qt5/qtbase/src/gui/painting/qregion.cpp
Lines: 396-418
  0.000% (0/14)
145
operator<<
Name: operator<<
Prototype: QDebug operator<<(QDebug d, const QAction *action)
Coverage:  0.000% (0/14)
Absolute File Name: /home/qt/qt5_coco/qt5/qtbase/src/widgets/kernel/qaction.cpp
Lines: 1307-1328
  0.000% (0/14)
175
operator<<
Name: operator<<
Prototype: QDebug operator<<(QDebug dbg, const QVariant &v)
Coverage: 100.000% (16/16)
Absolute File Name: /home/qt/qt5_coco/qt5/qtbase/src/corelib/kernel/qvariant.cpp
Lines: 3614-3636
100.000% (16/16)
175
operator/
Name: operator/
Prototype: double operator/(const QVariant &arg1, const QVariant &arg2)
Coverage:  0.000% (0/9)
Absolute File Name: /home/qt/qt5_coco/qt5/qtbase/src/widgets/widgets/qabstractspinbox.cpp
Lines: 2037-2060
  0.000% (0/9)
155
operator*
Name: operator*
Prototype: QVariant operator*(const QVariant &arg1, double multiplier)
Coverage:  0.000% (0/9)
Absolute File Name: /home/qt/qt5_coco/qt5/qtbase/src/widgets/widgets/qabstractspinbox.cpp
Lines: 2011-2033
  0.000% (0/9)
145
objectContentToJson
Name: objectContentToJson
Prototype: static void objectContentToJson(const QJsonPrivate::Object *o, QByteArray &json, int indent, bool compact)
Coverage:  0.000% (0/17)
Absolute File Name: /home/qt/qt5_coco/qt5/qtbase/src/corelib/json/qjsonwriter.cpp
Lines: 184-208
  0.000% (0/17)
155
numericTypePromotion
Name: numericTypePromotion
Prototype: static int numericTypePromotion(uint t1, uint t2)
Coverage: 100.000% (21/21)
Absolute File Name: /home/qt/qt5_coco/qt5/qtbase/src/corelib/kernel/qvariant.cpp
Lines: 3393-3437
100.000% (21/21)
155
nextGeometryToken
Name: nextGeometryToken
Prototype: static inline int nextGeometryToken(const QByteArray &a, int &pos, char *op)
Coverage:  0.000% (0/20)
Absolute File Name: /home/qt/qt5_coco/qt5/qtbase/src/gui/kernel/qguiapplication.cpp
Lines: 269-290
  0.000% (0/20)
155
nextField
Name: nextField
Prototype: static QPair<QByteArray, QByteArray> nextField(const QByteArray &text, int &position, bool isNameValue)
Coverage: 100.000% (15/15)
Absolute File Name: /home/qt/qt5_coco/qt5/qtbase/src/network/access/qnetworkcookie.cpp
Lines: 384-412
100.000% (15/15)
175
native_sub_image
Name: native_sub_image
Prototype: static QImage native_sub_image(QByteArray *buffer, const int dstStride, const QImage &src, const QRect &rect, bool swap)
Coverage:  0.000% (0/16)
Absolute File Name: /home/qt/qt5_coco/qt5/qtbase/src/plugins/platforms/xcb/qxcbbackingstore.cpp
Lines: 330-351
  0.000% (0/16)
115
msecsToTime
Name: msecsToTime
Prototype: static void msecsToTime(qint64 msecs, QDate *date, QTime *time)
Coverage: 100.000% (14/14)
Absolute File Name: /home/qt/qt5_coco/qt5/qtbase/src/corelib/tools/qdatetime.cpp
Lines: 2416-2439
100.000% (14/14)
155
minimumHeightForWidth
Name: minimumHeightForWidth
Prototype: static qreal minimumHeightForWidth(qreal width, qreal minh, qreal maxh, const QGraphicsWidget *widget, bool heightForWidth = true)
Coverage:  0.000% (0/18)
Absolute File Name: /home/qt/qt5_coco/qt5/qtbase/src/widgets/graphicsview/qgraphicswidget_p.cpp
Lines: 423-453
  0.000% (0/18)
185
methodIndexToSignalIndex
Name: methodIndexToSignalIndex
Prototype: static int methodIndexToSignalIndex(const QMetaObject **base, int signal_index)
Coverage:  87.500% (14/16)
Absolute File Name: /home/qt/qt5_coco/qt5/qtbase/src/corelib/kernel/qobject.cpp
Lines: 3196-3214
 87.500% (14/16)
135
lineIntersectsRect
Name: lineIntersectsRect
Prototype: static bool lineIntersectsRect(qfixed2d p1, qfixed2d p2, const qfixed2d &tl, const qfixed2d &br)
Coverage:  0.000% (0/16)
Absolute File Name: /home/qt/qt5_coco/qt5/qtbase/src/gui/painting/qstroker.cpp
Lines: 1067-1100
  0.000% (0/16)
175
lastIndexOfMutating
Name: lastIndexOfMutating
Prototype: static int lastIndexOfMutating(const QStringList *that, QRegExp &rx, int from)
Coverage: 100.000% (13/13)
Absolute File Name: /home/qt/qt5_coco/qt5/qtbase/src/corelib/tools/qstringlist.cpp
Lines: 537-548
100.000% (13/13)
85
isParentPath
Name: isParentPath
Prototype: static inline bool isParentPath(const QString &path, const QString &reference)
Coverage: 100.000% (13/13)
Absolute File Name: /home/qt/qt5_coco/qt5/qtbase/src/network/access/qnetworkcookiejar.cpp
Lines: 139-156
100.000% (13/13)
85
isGPUTestBlacklisted
Name: isGPUTestBlacklisted
Prototype: static bool isGPUTestBlacklisted(const char *slot, const char *data = 0)
Coverage:  0.000% (0/9)
Absolute File Name: /home/qt/qt5_coco/qt5/qtbase/src/testlib/qtestblacklist.cpp
Lines: 211-222
  0.000% (0/9)
65
interpolate
Name: interpolate
Prototype: static qreal interpolate(const QPair<QGraphicsAnchorLayoutPrivate::Interval, qreal> &factor, qreal min, qreal minPref, qreal pref, qreal maxPref, qreal max)
Coverage:  0.000% (0/9)
Absolute File Name: /home/qt/qt5_coco/qt5/qtbase/src/widgets/graphicsview/qgraphicsanchorlayout_p.cpp
Lines: 451-477
  0.000% (0/9)
165
integralCompare
Name: integralCompare
Prototype: static int integralCompare(uint promotedType, const QVariant::Private *d1, const QVariant::Private *d2)
Coverage:  84.615% (11/13)
Absolute File Name: /home/qt/qt5_coco/qt5/qtbase/src/corelib/kernel/qvariant.cpp
Lines: 3439-3460
 84.615% (11/13)
155
intValueHelper
Name: intValueHelper
Prototype: static bool intValueHelper(const QCss::Value &v, int *i, const char *unit)
Coverage:  0.000% (0/15)
Absolute File Name: /home/qt/qt5_coco/qt5/qtbase/src/gui/text/qcssparser.cpp
Lines: 1463-1478
  0.000% (0/15)
125
initializeDb
Name: initializeDb
Prototype: static void initializeDb()
Coverage:  0.000% (0/13)
Absolute File Name: /home/qt/qt5_coco/qt5/qtbase/src/gui/text/qfontdatabase.cpp
Lines: 890-905
  0.000% (0/13)
85
initFontUnlocked
Name: initFontUnlocked
Prototype: static void initFontUnlocked()
Coverage:  0.000% (0/12)
Absolute File Name: /home/qt/qt5_coco/qt5/qtbase/src/gui/kernel/qguiapplication.cpp
Lines: 233-243
  0.000% (0/12)
75
initFontDef
Name: initFontDef
Prototype: static void initFontDef(const QtFontDesc &desc, const QFontDef &request, QFontDef *fontDef, bool multi)
Coverage:  0.000% (0/22)
Absolute File Name: /home/qt/qt5_coco/qt5/qtbase/src/gui/text/qfontdatabase.cpp
Lines: 663-691
  0.000% (0/22)
205
indexesFromRange
Name: indexesFromRange
Prototype: template<typename ModelIndexContainer> static void indexesFromRange(const QItemSelectionRange &range, ModelIndexContainer &result)
Coverage:  84.615% (11/13)
Absolute File Name: /home/qt/qt5_coco/qt5/qtbase/src/corelib/itemmodels/qitemselectionmodel.cpp
Lines: 311-328
 84.615% (11/13)
75
iWantTheFocus
Name: iWantTheFocus
Prototype: static QWidget *iWantTheFocus(QWidget *ancestor)
Coverage:  0.000% (0/15)
Absolute File Name: /home/qt/qt5_coco/qt5/qtbase/src/widgets/dialogs/qwizard.cpp
Lines: 99-115
  0.000% (0/15)
105
huntAndUnregister
Name: huntAndUnregister
Prototype: static void huntAndUnregister(const QVector<QStringRef> &pathComponents, int i, QDBusConnection::UnregisterMode mode, QDBusConnectionPrivate::ObjectTreeNode *node)
Coverage: 100.000% (15/15)
Absolute File Name: /home/qt/qt5_coco/qt5/qtbase/src/dbus/qdbusintegrator.cpp
Lines: 601-626
100.000% (15/15)
135
gray_set_cell
Name: gray_set_cell
Prototype: static void gray_set_cell( PWorker worker, TCoord ex, TCoord ey )
Coverage:  0.000% (0/19)
Absolute File Name: /home/qt/qt5_coco/qt5/qtbase/src/gui/painting/qgrayraster.c
Lines: 455-495
  0.000% (0/19)
155
good_offset
Name: good_offset
Prototype: static ShiftResult good_offset(const QBezier *b1, const QBezier *b2, qreal offset, qreal threshold)
Coverage:  0.000% (0/13)
Absolute File Name: /home/qt/qt5_coco/qt5/qtbase/src/gui/painting/qbezier.cpp
Lines: 237-259
  0.000% (0/13)
175
getFactor
Name: getFactor
Prototype: static QPair<QGraphicsAnchorLayoutPrivate::Interval, qreal> getFactor(qreal value, qreal min, qreal minPref, qreal pref, qreal maxPref, qreal max)
Coverage:  0.000% (0/15)
Absolute File Name: /home/qt/qt5_coco/qt5/qtbase/src/widgets/graphicsview/qgraphicsanchorlayout_p.cpp
Lines: 415-449
  0.000% (0/15)
235
generateName
Name: generateName
Prototype: static QTtfTable generateName(const QVector<QTtfNameRecord> &name)
Coverage:  0.000% (0/13)
Absolute File Name: /home/qt/qt5_coco/qt5/qtbase/src/gui/text/qfontsubset.cpp
Lines: 651-701
  0.000% (0/13)
345
fixedCharData
Name: fixedCharData
Prototype: static QString fixedCharData(const QString &data, bool *ok)
Coverage:  15.385% (2/13)
Absolute File Name: /home/qt/qt5_coco/qt5/qtbase/src/xml/dom/qdom.cpp
Lines: 684-704
 15.385% (2/13)
135
fixToolBarOrientation
Name: fixToolBarOrientation
Prototype: static void fixToolBarOrientation(QLayoutItem *item, int dockPos)
Coverage:  0.000% (0/17)
Absolute File Name: /home/qt/qt5_coco/qt5/qtbase/src/widgets/widgets/qmainwindowlayout.cpp
Lines: 1897-1927
  0.000% (0/17)
175
findXdndAwareParent
Name: findXdndAwareParent
Prototype: static xcb_window_t findXdndAwareParent(QXcbConnection *c, xcb_window_t window)
Coverage:  0.000% (0/15)
Absolute File Name: /home/qt/qt5_coco/qt5/qtbase/src/plugins/platforms/xcb/qxcbdrag.cpp
Lines: 1099-1131
  0.000% (0/15)
255
findUnixOsVersion
Name: findUnixOsVersion
Prototype: static bool findUnixOsVersion(QUnixOSVersion &v)
Coverage:  15.385% (2/13)
Absolute File Name: /home/qt/qt5_coco/qt5/qtbase/src/corelib/global/qglobal.cpp
Lines: 2365-2378
 15.385% (2/13)
95
findInBlock
Name: findInBlock
Prototype: static bool findInBlock(const QTextBlock &block, const QString &expression, int offset, QTextDocument::FindFlags options, QTextCursor *cursor)
Coverage:  0.000% (0/27)
Absolute File Name: /home/qt/qt5_coco/qt5/qtbase/src/gui/text/qtextdocument.cpp
Lines: 1257-1288
  0.000% (0/27)
215
findInBlock
Name: findInBlock
Prototype: static bool findInBlock(const QTextBlock &block, const QRegExp &expression, int offset, QTextDocument::FindFlags options, QTextCursor *cursor)
Coverage:  0.000% (0/25)
Absolute File Name: /home/qt/qt5_coco/qt5/qtbase/src/gui/text/qtextdocument.cpp
Lines: 1375-1406
  0.000% (0/25)
215
findChar
Name: findChar
Prototype: static int findChar(const char *str, int len, char ch, int from)
Coverage:  0.000% (0/12)
Absolute File Name: /home/qt/qt5_coco/qt5/qtbase/src/corelib/tools/qbytearraymatcher.cpp
Lines: 232-246
  0.000% (0/12)
115
findAllTextureWidgetsRecursively
Name: findAllTextureWidgetsRecursively
Prototype: static void findAllTextureWidgetsRecursively(QWidget *tlw, QWidget *widget)
Coverage:  0.000% (0/11)
Absolute File Name: /home/qt/qt5_coco/qt5/qtbase/src/widgets/kernel/qwidgetbackingstore.cpp
Lines: 991-1009
  0.000% (0/11)
95
fileFromPath
Name: fileFromPath
Prototype: static inline QString fileFromPath(const QString &rootPath, QString path)
Coverage:  0.000% (0/13)
Absolute File Name: /home/qt/qt5_coco/qt5/qtbase/src/widgets/dialogs/qfiledialog.cpp
Lines: 1023-1042
  0.000% (0/13)
95
familyList
Name: familyList
Prototype: static QStringList familyList(const QFontDef &req)
Coverage:  0.000% (0/19)
Absolute File Name: /home/qt/qt5_coco/qt5/qtbase/src/gui/text/qfontdatabase.cpp
Lines: 693-716
  0.000% (0/19)
155
extendedPseudoClass
Name: extendedPseudoClass
Prototype: static quint64 extendedPseudoClass(const QWidget *w)
Coverage:  0.000% (0/22)
Absolute File Name: /home/qt/qt5_coco/qt5/qtbase/src/widgets/styles/qstylesheetstyle.cpp
Lines: 2421-2440
  0.000% (0/22)
95
epochMSecsToLocalTime
Name: epochMSecsToLocalTime
Prototype: static bool epochMSecsToLocalTime(qint64 msecs, QDate *localDate, QTime *localTime, QDateTimePrivate::DaylightStatus *daylightStatus = 0)
Coverage:  93.333% (14/15)
Absolute File Name: /home/qt/qt5_coco/qt5/qtbase/src/corelib/tools/qdatetime.cpp
Lines: 2449-2483
 93.333% (14/15)
205
encodeEntity
Name: encodeEntity
Prototype: static QByteArray encodeEntity(const QByteArray& str)
Coverage:  0.000% (0/17)
Absolute File Name: /home/qt/qt5_coco/qt5/qtbase/src/xml/dom/qdom.cpp
Lines: 5692-5723
  0.000% (0/17)
225
embeddedWidget
Name: embeddedWidget
Prototype: static QWidget *embeddedWidget(QWidget *w)
Coverage:  0.000% (0/13)
Absolute File Name: /home/qt/qt5_coco/qt5/qtbase/src/widgets/styles/qstylesheetstyle.cpp
Lines: 2329-2351
  0.000% (0/13)
95
dumpRecursive
Name: dumpRecursive
Prototype: static void dumpRecursive(int level, QObject *object)
Coverage:  0.000% (0/13)
Absolute File Name: /home/qt/qt5_coco/qt5/qtbase/src/corelib/kernel/qobject.cpp
Lines: 3944-3979
  0.000% (0/13)
135
drawEllipse_midpoint_i
Name: drawEllipse_midpoint_i
Prototype: static void drawEllipse_midpoint_i(const QRect &rect, const QRect &clip, ProcessSpans pen_func, ProcessSpans brush_func, QSpanData *pen_data, QSpanData *brush_data)
Coverage:  0.000% (0/14)
Absolute File Name: /home/qt/qt5_coco/qt5/qtbase/src/gui/painting/qpaintengine_raster.cpp
Lines: 4736-4778
  0.000% (0/14)
275
Page:<>1
McCabe - Cyclomatic Complexity: 439
...10
McCabe - Cyclomatic Complexity: 15
...20
McCabe - Cyclomatic Complexity: 9
...30
McCabe - Cyclomatic Complexity: 7
...37
McCabe - Cyclomatic Complexity: 6
38
McCabe - Cyclomatic Complexity: 6
39
McCabe - Cyclomatic Complexity: 6
40
McCabe - Cyclomatic Complexity: 6
4142
McCabe - Cyclomatic Complexity: 5
43
McCabe - Cyclomatic Complexity: 5
44
McCabe - Cyclomatic Complexity: 5
45
McCabe - Cyclomatic Complexity: 5
...50
McCabe - Cyclomatic Complexity: 5
...60
McCabe - Cyclomatic Complexity: 4
...70
McCabe - Cyclomatic Complexity: 3
...100
McCabe - Cyclomatic Complexity: 2
...200
McCabe - Cyclomatic Complexity: 1
...306
McCabe - Cyclomatic Complexity: 1

Generated by Squish Coco Non-Commercial 4.3.0-BETA-master-30-08-2018-4cb69e9