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

Function Tree

Path:<top>::BezierEase
Functionâ–´Condition %eLOC - Effective Lines of CodeMcCabe - Cyclomatic Complexity
BezierEase
Name: BezierEase::BezierEase
Prototype: BezierEase(QEasingCurve::Type type = QEasingCurve::BezierSpline)
Coverage: 100.000% (1/1)
Absolute File Name: /home/qt/qt5_coco/qt5/qtbase/src/corelib/tools/qeasingcurve.cpp
Lines: 441-443
100.000% (1/1)
11
_acos
Name: BezierEase::_acos
Prototype: qreal static inline _acos(qreal x)
Coverage:  0.000% (0/1)
Absolute File Name: /home/qt/qt5_coco/qt5/qtbase/src/corelib/tools/qeasingcurve.cpp
Lines: 665-668
  0.000% (0/1)
11
_cbrt
Name: BezierEase::_cbrt
Prototype: qreal static inline _cbrt(qreal d)
Coverage:  85.714% (6/7)
Absolute File Name: /home/qt/qt5_coco/qt5/qtbase/src/corelib/tools/qeasingcurve.cpp
Lines: 604-625
 85.714% (6/7)
103
_cos
Name: BezierEase::_cos
Prototype: qreal static inline _cos(qreal x)
Coverage:  0.000% (0/16)
Absolute File Name: /home/qt/qt5_coco/qt5/qtbase/src/corelib/tools/qeasingcurve.cpp
Lines: 670-701
  0.000% (0/16)
206
_fast_cbrt
Name: BezierEase::_fast_cbrt
Prototype: float static inline _fast_cbrt(float x)
Coverage:  0.000% (0/1)
Absolute File Name: /home/qt/qt5_coco/qt5/qtbase/src/corelib/tools/qeasingcurve.cpp
Lines: 627-640
  0.000% (0/1)
41
_fast_cbrt
Name: BezierEase::_fast_cbrt
Prototype: double static inline _fast_cbrt(double d)
Coverage: 100.000% (1/1)
Absolute File Name: /home/qt/qt5_coco/qt5/qtbase/src/corelib/tools/qeasingcurve.cpp
Lines: 642-663
100.000% (1/1)
71
copy
Name: BezierEase::copy
Prototype: QEasingCurveFunction *copy() const override
Coverage:  0.000% (0/1)
Absolute File Name: /home/qt/qt5_coco/qt5/qtbase/src/corelib/tools/qeasingcurve.cpp
Lines: 499-509
  0.000% (0/1)
81
cosacos
Name: BezierEase::cosacos
Prototype: void static inline cosacos(qreal x, qreal &s1, qreal &s2, qreal &s3 )
Coverage: 100.000% (1/1)
Absolute File Name: /home/qt/qt5_coco/qt5/qtbase/src/corelib/tools/qeasingcurve.cpp
Lines: 708-728
100.000% (1/1)
61
evaluateDerivateForX
Name: BezierEase::evaluateDerivateForX
Prototype: qreal static inline evaluateDerivateForX(const SingleCubicBezier &singleCubicBezier, qreal t)
Coverage:  0.000% (0/1)
Absolute File Name: /home/qt/qt5_coco/qt5/qtbase/src/corelib/tools/qeasingcurve.cpp
Lines: 592-602
  0.000% (0/1)
61
evaluateForX
Name: BezierEase::evaluateForX
Prototype: qreal static inline evaluateForX(const SingleCubicBezier &singleCubicBezier, qreal t)
Coverage:  0.000% (0/1)
Absolute File Name: /home/qt/qt5_coco/qt5/qtbase/src/corelib/tools/qeasingcurve.cpp
Lines: 574-590
  0.000% (0/1)
101
evaluateSegmentForY
Name: BezierEase::evaluateSegmentForY
Prototype: qreal static inline evaluateSegmentForY(const SingleCubicBezier &singleCubicBezier, qreal t)
Coverage: 100.000% (1/1)
Absolute File Name: /home/qt/qt5_coco/qt5/qtbase/src/corelib/tools/qeasingcurve.cpp
Lines: 556-572
100.000% (1/1)
101
findTForX
Name: BezierEase::findTForX
Prototype: qreal static inline findTForX(const SingleCubicBezier &singleCubicBezier, qreal x)
Coverage: 100.000% (1/1)
Absolute File Name: /home/qt/qt5_coco/qt5/qtbase/src/corelib/tools/qeasingcurve.cpp
Lines: 800-820
100.000% (1/1)
121
getBezierSegment
Name: BezierEase::getBezierSegment
Prototype: void getBezierSegment(SingleCubicBezier * &singleCubicBezier, qreal x)
Coverage:  85.714% (6/7)
Absolute File Name: /home/qt/qt5_coco/qt5/qtbase/src/corelib/tools/qeasingcurve.cpp
Lines: 511-523
 85.714% (6/7)
63
inRange
Name: BezierEase::inRange
Prototype: bool static inline inRange(qreal f)
Coverage: 100.000% (1/1)
Absolute File Name: /home/qt/qt5_coco/qt5/qtbase/src/corelib/tools/qeasingcurve.cpp
Lines: 703-706
100.000% (1/1)
11
init
Name: BezierEase::init
Prototype: void init()
Coverage:  84.615% (11/13)
Absolute File Name: /home/qt/qt5_coco/qt5/qtbase/src/corelib/tools/qeasingcurve.cpp
Lines: 445-497
 84.615% (11/13)
335
newtonIteration
Name: BezierEase::newtonIteration
Prototype: qreal static inline newtonIteration(const SingleCubicBezier &singleCubicBezier, qreal t, qreal x)
Coverage:  0.000% (0/1)
Absolute File Name: /home/qt/qt5_coco/qt5/qtbase/src/corelib/tools/qeasingcurve.cpp
Lines: 526-533
  0.000% (0/1)
31
singleRealSolutionForCubic
Name: BezierEase::singleRealSolutionForCubic
Prototype: qreal static inline singleRealSolutionForCubic(qreal a, qreal b, qreal c)
Coverage:  72.222% (13/18)
Absolute File Name: /home/qt/qt5_coco/qt5/qtbase/src/corelib/tools/qeasingcurve.cpp
Lines: 730-798
 72.222% (13/18)
396
value
Name: BezierEase::value
Prototype: qreal value(qreal x) override
Coverage:  60.000% (6/10)
Absolute File Name: /home/qt/qt5_coco/qt5/qtbase/src/corelib/tools/qeasingcurve.cpp
Lines: 535-554
 60.000% (6/10)
114

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