mirror of
https://github.com/QuantumLeaps/qpcpp.git
synced 2025-01-14 05:42:57 +08:00
3262 lines
150 KiB
Plaintext
3262 lines
150 KiB
Plaintext
/** @page metrics Code Metrics
|
|
|
|
@code
|
|
Standard Code Metrics for QP/C++ 6.3.1
|
|
|
|
Resource Standard Metrics (TM) for C, C++, C# and Java
|
|
Version 7.75 - mSquaredTechnologies.com
|
|
|
|
License Type: Windows Single User License
|
|
Licensed To : Quantum Leaps, LLC
|
|
License No. : WS2975 License Date: Dec 15, 2013
|
|
Build Date : Sep 2 2009 Run Date: May 23, 2018
|
|
(C)1996-2009 M Squared Technologies LLC
|
|
________________________________________________________________________
|
|
|
|
~~ Function Metrics ~~
|
|
~~ Complexity Detail Analysis ~~
|
|
|
|
File: ..\include\qassert.h
|
|
________________________________________________________________________
|
|
|
|
~~ Total File Summary ~~
|
|
|
|
LOC 54 eLOC 53 lLOC 5 Comment 258 Lines 338
|
|
________________________________________________________________________
|
|
End of File: ..\include\qassert.h
|
|
|
|
|
|
File: ..\include\qep.h
|
|
________________________________________________________________________
|
|
|
|
Inline Function: QP::QEvt::QEvt
|
|
Parameters: (QSignal const s)
|
|
Complexity Param 1 Return 1 Cyclo Vg 1 Total 3
|
|
LOC 1 eLOC 1 lLOC 0 Comment 2 Lines 1
|
|
|
|
Inline Function: QP::QEvt::QEvt
|
|
Parameters: (QSignal const s, StaticEvt)
|
|
Complexity Param 2 Return 1 Cyclo Vg 1 Total 4
|
|
LOC 1 eLOC 1 lLOC 0 Comment 2 Lines 1
|
|
|
|
Inline Function: QP::QEvt::~QEvt
|
|
Parameters: ()
|
|
Complexity Param 0 Return 1 Cyclo Vg 1 Total 2
|
|
LOC 1 eLOC 1 lLOC 0 Comment 1 Lines 1
|
|
|
|
Inline Function: QP::QHsm::init
|
|
Parameters: (void)
|
|
Complexity Param 0 Return 1 Cyclo Vg 1 Total 2
|
|
LOC 1 eLOC 1 lLOC 1 Comment 1 Lines 1
|
|
|
|
Inline Function: QP::QHsm::state
|
|
Parameters: (void)
|
|
Complexity Param 0 Return 1 Cyclo Vg 1 Total 2
|
|
LOC 3 eLOC 2 lLOC 1 Comment 2 Lines 3
|
|
|
|
Inline Function: QP::QHsm::Q_HANDLED
|
|
Parameters: (void)
|
|
Complexity Param 0 Return 1 Cyclo Vg 1 Total 2
|
|
LOC 3 eLOC 2 lLOC 1 Comment 3 Lines 3
|
|
|
|
Inline Function: QP::QHsm::Q_UNHANDLED
|
|
Parameters: (void)
|
|
Complexity Param 0 Return 1 Cyclo Vg 1 Total 2
|
|
LOC 3 eLOC 2 lLOC 1 Comment 4 Lines 3
|
|
|
|
Inline Function: QP::QHsm::tran_
|
|
Parameters: (QStateHandler const target)
|
|
Complexity Param 1 Return 1 Cyclo Vg 1 Total 3
|
|
LOC 4 eLOC 3 lLOC 2 Comment 1 Lines 4
|
|
|
|
Inline Function: QP::QHsm::tran_hist_
|
|
Parameters: (QStateHandler const hist)
|
|
Complexity Param 1 Return 1 Cyclo Vg 1 Total 3
|
|
LOC 4 eLOC 3 lLOC 2 Comment 1 Lines 4
|
|
|
|
Inline Function: QP::QHsm::super_
|
|
Parameters: (QStateHandler const superstate)
|
|
Complexity Param 1 Return 1 Cyclo Vg 1 Total 3
|
|
LOC 4 eLOC 3 lLOC 2 Comment 1 Lines 4
|
|
|
|
Inline Function: QP::QHsm::qm_tran_
|
|
Parameters: (QMTranActTable const * const tatbl)
|
|
Complexity Param 1 Return 1 Cyclo Vg 1 Total 3
|
|
LOC 4 eLOC 3 lLOC 2 Comment 2 Lines 4
|
|
|
|
Inline Function: QP::QHsm::qm_tran_hist_
|
|
Parameters: (QMState const * const hist, QMTranActTable const * const ta
|
|
tbl)
|
|
Complexity Param 2 Return 1 Cyclo Vg 1 Total 4
|
|
LOC 5 eLOC 3 lLOC 3 Comment 1 Lines 5
|
|
|
|
Inline Function: QP::QHsm::qm_tran_init_
|
|
Parameters: (QMTranActTable const * const tatbl)
|
|
Complexity Param 1 Return 1 Cyclo Vg 1 Total 3
|
|
LOC 4 eLOC 3 lLOC 2 Comment 1 Lines 4
|
|
|
|
Inline Function: QP::QHsm::qm_tran_ep_
|
|
Parameters: (QMTranActTable const * const tatbl)
|
|
Complexity Param 1 Return 1 Cyclo Vg 1 Total 3
|
|
LOC 4 eLOC 3 lLOC 2 Comment 2 Lines 4
|
|
|
|
Inline Function: QP::QHsm::qm_tran_xp_
|
|
Parameters: (QActionHandler const xp, QMTranActTable const *const tatbl)
|
|
Complexity Param 2 Return 1 Cyclo Vg 1 Total 4
|
|
LOC 5 eLOC 3 lLOC 3 Comment 2 Lines 5
|
|
|
|
Inline Function: QP::QHsm::qm_entry_
|
|
Parameters: (QMState const * const s)
|
|
Complexity Param 1 Return 1 Cyclo Vg 1 Total 3
|
|
LOC 4 eLOC 3 lLOC 2 Comment 1 Lines 4
|
|
|
|
Inline Function: QP::QHsm::qm_exit_
|
|
Parameters: (QMState const * const s)
|
|
Complexity Param 1 Return 1 Cyclo Vg 1 Total 3
|
|
LOC 4 eLOC 3 lLOC 2 Comment 1 Lines 4
|
|
|
|
Inline Function: QP::QHsm::qm_super_sub_
|
|
Parameters: (QMState const * const s)
|
|
Complexity Param 1 Return 1 Cyclo Vg 1 Total 3
|
|
LOC 4 eLOC 3 lLOC 2 Comment 2 Lines 4
|
|
|
|
Inline Function: QP::QHsm::QM_HANDLED
|
|
Parameters: (void)
|
|
Complexity Param 0 Return 1 Cyclo Vg 1 Total 2
|
|
LOC 3 eLOC 2 lLOC 1 Comment 2 Lines 3
|
|
|
|
Inline Function: QP::QHsm::QM_UNHANDLED
|
|
Parameters: (void)
|
|
Complexity Param 0 Return 1 Cyclo Vg 1 Total 2
|
|
LOC 3 eLOC 2 lLOC 1 Comment 2 Lines 3
|
|
|
|
Inline Function: QP::QHsm::QM_SUPER
|
|
Parameters: (void)
|
|
Complexity Param 0 Return 1 Cyclo Vg 1 Total 2
|
|
LOC 3 eLOC 2 lLOC 1 Comment 2 Lines 3
|
|
|
|
Inline Function: QP::QMsm::init
|
|
Parameters: (void)
|
|
Complexity Param 0 Return 1 Cyclo Vg 1 Total 2
|
|
LOC 1 eLOC 1 lLOC 1 Comment 2 Lines 1
|
|
|
|
Inline Function: QP::QMsm::stateObj
|
|
Parameters: (void) Non-ANSI Parameter Construct
|
|
Complexity Param 1 Return 1 Cyclo Vg 1 Total 3
|
|
LOC 3 eLOC 2 lLOC 1 Comment 1 Lines 3
|
|
|
|
Inline Function: QP::QEP::getVersion
|
|
Parameters: (void) Non-ANSI Parameter Construct
|
|
Complexity Param 1 Return 1 Cyclo Vg 1 Total 3
|
|
LOC 3 eLOC 2 lLOC 1 Comment 1 Lines 3
|
|
|
|
------------------------------------------------------------------------
|
|
|
|
~~ Total File Summary ~~
|
|
|
|
LOC 259 eLOC 227 lLOC 130 Comment 315 Lines 664
|
|
------------------------------------------------------------------------
|
|
|
|
~~ File Functional Summary ~~
|
|
|
|
File Function Count....: 24
|
|
Total Function LOC.....: 75 Total Function Pts LOC : 0.0
|
|
Total Function eLOC....: 54 Total Function Pts eLOC: 0.0
|
|
Total Function lLOC....: 34 Total Function Pts lLOC: 0.0
|
|
Total Function Params .: 18 Total Function Return .: 24
|
|
Total Cyclo Complexity : 24 Total Function Complex.: 66
|
|
------ ----- ----- ------ ------ -----
|
|
Max Function LOC ......: 5 Average Function LOC ..: 3.13
|
|
Max Function eLOC .....: 3 Average Function eLOC .: 2.25
|
|
Max Function lLOC .....: 3 Average Function lLOC .: 1.42
|
|
------ ----- ----- ------ ------ -----
|
|
Max Function Parameters: 2 Avg Function Parameters: 0.75
|
|
Max Function Returns ..: 1 Avg Function Returns ..: 1.00
|
|
Max Interface Complex. : 3 Avg Interface Complex. : 1.75
|
|
Max Cyclomatic Complex.: 1 Avg Cyclomatic Complex.: 1.00
|
|
Max Total Complexity ..: 4 Avg Total Complexity ..: 2.75
|
|
________________________________________________________________________
|
|
End of File: ..\include\qep.h
|
|
|
|
|
|
File: ..\include\qequeue.h
|
|
________________________________________________________________________
|
|
|
|
Inline Function: QP::QEQueue::getNFree
|
|
Parameters: (void)
|
|
Complexity Param 0 Return 1 Cyclo Vg 1 Total 2
|
|
LOC 3 eLOC 2 lLOC 1 Comment 10 Lines 3
|
|
|
|
Inline Function: QP::QEQueue::getNMin
|
|
Parameters: (void)
|
|
Complexity Param 0 Return 1 Cyclo Vg 1 Total 2
|
|
LOC 3 eLOC 2 lLOC 1 Comment 11 Lines 3
|
|
|
|
Inline Function: QP::QEQueue::isEmpty
|
|
Parameters: (void)
|
|
Complexity Param 0 Return 1 Cyclo Vg 1 Total 2
|
|
LOC 3 eLOC 2 lLOC 1 Comment 10 Lines 3
|
|
|
|
------------------------------------------------------------------------
|
|
|
|
~~ Total File Summary ~~
|
|
|
|
LOC 49 eLOC 44 lLOC 25 Comment 195 Lines 272
|
|
------------------------------------------------------------------------
|
|
|
|
~~ File Functional Summary ~~
|
|
|
|
File Function Count....: 3
|
|
Total Function LOC.....: 9 Total Function Pts LOC : 0.0
|
|
Total Function eLOC....: 6 Total Function Pts eLOC: 0.0
|
|
Total Function lLOC....: 3 Total Function Pts lLOC: 0.0
|
|
Total Function Params .: 0 Total Function Return .: 3
|
|
Total Cyclo Complexity : 3 Total Function Complex.: 6
|
|
------ ----- ----- ------ ------ -----
|
|
Max Function LOC ......: 3 Average Function LOC ..: 3.00
|
|
Max Function eLOC .....: 2 Average Function eLOC .: 2.00
|
|
Max Function lLOC .....: 1 Average Function lLOC .: 1.00
|
|
------ ----- ----- ------ ------ -----
|
|
Max Function Parameters: 0 Avg Function Parameters: 0.00
|
|
Max Function Returns ..: 1 Avg Function Returns ..: 1.00
|
|
Max Interface Complex. : 1 Avg Interface Complex. : 1.00
|
|
Max Cyclomatic Complex.: 1 Avg Cyclomatic Complex.: 1.00
|
|
Max Total Complexity ..: 2 Avg Total Complexity ..: 2.00
|
|
________________________________________________________________________
|
|
End of File: ..\include\qequeue.h
|
|
|
|
|
|
File: ..\include\qf.h
|
|
________________________________________________________________________
|
|
|
|
Inline Function: QP::QActive::start
|
|
Parameters: (uint_fast8_t const prio, QEvt const *qSto[], uint_fast16_t
|
|
const qLen, void * const stkSto, uint_fast16_t const stkSize
|
|
)
|
|
Complexity Param 5 Return 1 Cyclo Vg 1 Total 7
|
|
LOC 4 eLOC 2 lLOC 1 Comment 1 Lines 4
|
|
|
|
Inline Function: QP::QActive::getPrio
|
|
Parameters: (void) Non-ANSI Parameter Construct
|
|
Complexity Param 1 Return 1 Cyclo Vg 1 Total 3
|
|
LOC 3 eLOC 2 lLOC 1 Comment 1 Lines 3
|
|
|
|
Inline Function: QP::QActive::setPrio
|
|
Parameters: (uint_fast8_t const prio)
|
|
Complexity Param 1 Return 1 Cyclo Vg 1 Total 3
|
|
LOC 3 eLOC 2 lLOC 1 Comment 1 Lines 3
|
|
|
|
Inline Function: QP::QActive::getOsObject
|
|
Parameters: (void)
|
|
Complexity Param 0 Return 1 Cyclo Vg 1 Total 2
|
|
LOC 1 eLOC 1 lLOC 1 Comment 2 Lines 1
|
|
|
|
Inline Function: QP::QActive::getThread
|
|
Parameters: (void)
|
|
Complexity Param 0 Return 1 Cyclo Vg 1 Total 2
|
|
LOC 1 eLOC 1 lLOC 1 Comment 2 Lines 1
|
|
|
|
Inline Function: QP::QMActive::stateObj
|
|
Parameters: (void) Non-ANSI Parameter Construct
|
|
Complexity Param 1 Return 1 Cyclo Vg 1 Total 3
|
|
LOC 3 eLOC 2 lLOC 1 Comment 1 Lines 3
|
|
|
|
Inline Function: QP::QTimeEvt::QTimeEvt
|
|
Parameters: (enum_t const sgnl) Non-ANSI Parameter Construct Defined By
|
|
Compiler Directive
|
|
Complexity Param 1 Return 1 Cyclo Vg 1 Total 3
|
|
LOC 7 eLOC 5 lLOC 3 Comment 7 Lines 8
|
|
|
|
Inline Function: QP::QTimeEvt::postIn
|
|
Parameters: (QActive * const act, QTimeEvtCtr const nTicks)
|
|
Complexity Param 2 Return 1 Cyclo Vg 1 Total 4
|
|
LOC 4 eLOC 3 lLOC 2 Comment 1 Lines 4
|
|
|
|
Inline Function: QP::QTimeEvt::postEvery
|
|
Parameters: (QActive * const act, QTimeEvtCtr const nTicks)
|
|
Complexity Param 2 Return 1 Cyclo Vg 1 Total 4
|
|
LOC 4 eLOC 3 lLOC 2 Comment 1 Lines 4
|
|
|
|
Inline Function: QP::QTimeEvt::toActive
|
|
Parameters: (void)
|
|
Complexity Param 0 Return 1 Cyclo Vg 1 Total 2
|
|
LOC 1 eLOC 1 lLOC 1 Comment 1 Lines 1
|
|
|
|
Inline Function: QP::QTimeEvt::toTimeEvt
|
|
Parameters: (void)
|
|
Complexity Param 0 Return 1 Cyclo Vg 1 Total 2
|
|
LOC 1 eLOC 1 lLOC 1 Comment 1 Lines 1
|
|
|
|
Inline Function: QP::QF::getVersion
|
|
Parameters: (void)
|
|
Complexity Param 0 Return 1 Cyclo Vg 1 Total 2
|
|
LOC 3 eLOC 2 lLOC 1 Comment 1 Lines 3
|
|
|
|
Inline Function: QP::QTicker::init
|
|
Parameters: (void)
|
|
Complexity Param 0 Return 1 Cyclo Vg 1 Total 2
|
|
LOC 1 eLOC 1 lLOC 1 Comment 0 Lines 1
|
|
|
|
------------------------------------------------------------------------
|
|
|
|
~~ Total File Summary ~~
|
|
|
|
LOC 310 eLOC 294 lLOC 128 Comment 499 Lines 911
|
|
------------------------------------------------------------------------
|
|
|
|
~~ File Functional Summary ~~
|
|
|
|
File Function Count....: 13
|
|
Total Function LOC.....: 36 Total Function Pts LOC : 0.0
|
|
Total Function eLOC....: 26 Total Function Pts eLOC: 0.0
|
|
Total Function lLOC....: 17 Total Function Pts lLOC: 0.0
|
|
Total Function Params .: 13 Total Function Return .: 13
|
|
Total Cyclo Complexity : 13 Total Function Complex.: 39
|
|
------ ----- ----- ------ ------ -----
|
|
Max Function LOC ......: 7 Average Function LOC ..: 2.77
|
|
Max Function eLOC .....: 5 Average Function eLOC .: 2.00
|
|
Max Function lLOC .....: 3 Average Function lLOC .: 1.31
|
|
------ ----- ----- ------ ------ -----
|
|
Max Function Parameters: 5 Avg Function Parameters: 1.00
|
|
Max Function Returns ..: 1 Avg Function Returns ..: 1.00
|
|
Max Interface Complex. : 6 Avg Interface Complex. : 2.00
|
|
Max Cyclomatic Complex.: 1 Avg Cyclomatic Complex.: 1.00
|
|
Max Total Complexity ..: 7 Avg Total Complexity ..: 3.00
|
|
________________________________________________________________________
|
|
End of File: ..\include\qf.h
|
|
|
|
|
|
File: ..\include\qk.h
|
|
________________________________________________________________________
|
|
|
|
Inline Function: QP::QK::getVersion
|
|
Parameters: (void)
|
|
Complexity Param 0 Return 1 Cyclo Vg 1 Total 2
|
|
LOC 3 eLOC 2 lLOC 1 Comment 1 Lines 3
|
|
|
|
------------------------------------------------------------------------
|
|
|
|
~~ Total File Summary ~~
|
|
|
|
LOC 76 eLOC 70 lLOC 24 Comment 133 Lines 230
|
|
------------------------------------------------------------------------
|
|
|
|
~~ File Functional Summary ~~
|
|
|
|
File Function Count....: 1
|
|
Total Function LOC.....: 3 Total Function Pts LOC : 0.0
|
|
Total Function eLOC....: 2 Total Function Pts eLOC: 0.0
|
|
Total Function lLOC....: 1 Total Function Pts lLOC: 0.0
|
|
Total Function Params .: 0 Total Function Return .: 1
|
|
Total Cyclo Complexity : 1 Total Function Complex.: 2
|
|
------ ----- ----- ------ ------ -----
|
|
Max Function LOC ......: 3 Average Function LOC ..: 3.00
|
|
Max Function eLOC .....: 2 Average Function eLOC .: 2.00
|
|
Max Function lLOC .....: 1 Average Function lLOC .: 1.00
|
|
------ ----- ----- ------ ------ -----
|
|
Max Function Parameters: 0 Avg Function Parameters: 0.00
|
|
Max Function Returns ..: 1 Avg Function Returns ..: 1.00
|
|
Max Interface Complex. : 1 Avg Interface Complex. : 1.00
|
|
Max Cyclomatic Complex.: 1 Avg Cyclomatic Complex.: 1.00
|
|
Max Total Complexity ..: 2 Avg Total Complexity ..: 2.00
|
|
________________________________________________________________________
|
|
End of File: ..\include\qk.h
|
|
|
|
|
|
File: ..\include\qmpool.h
|
|
________________________________________________________________________
|
|
|
|
Inline Function: QP::QMPool::getBlockSize
|
|
Parameters: (void)
|
|
Complexity Param 0 Return 1 Cyclo Vg 1 Total 2
|
|
LOC 3 eLOC 2 lLOC 1 Comment 1 Lines 3
|
|
|
|
------------------------------------------------------------------------
|
|
|
|
~~ Total File Summary ~~
|
|
|
|
LOC 58 eLOC 55 lLOC 25 Comment 96 Lines 173
|
|
------------------------------------------------------------------------
|
|
|
|
~~ File Functional Summary ~~
|
|
|
|
File Function Count....: 1
|
|
Total Function LOC.....: 3 Total Function Pts LOC : 0.0
|
|
Total Function eLOC....: 2 Total Function Pts eLOC: 0.0
|
|
Total Function lLOC....: 1 Total Function Pts lLOC: 0.0
|
|
Total Function Params .: 0 Total Function Return .: 1
|
|
Total Cyclo Complexity : 1 Total Function Complex.: 2
|
|
------ ----- ----- ------ ------ -----
|
|
Max Function LOC ......: 3 Average Function LOC ..: 3.00
|
|
Max Function eLOC .....: 2 Average Function eLOC .: 2.00
|
|
Max Function lLOC .....: 1 Average Function lLOC .: 1.00
|
|
------ ----- ----- ------ ------ -----
|
|
Max Function Parameters: 0 Avg Function Parameters: 0.00
|
|
Max Function Returns ..: 1 Avg Function Returns ..: 1.00
|
|
Max Interface Complex. : 1 Avg Interface Complex. : 1.00
|
|
Max Cyclomatic Complex.: 1 Avg Cyclomatic Complex.: 1.00
|
|
Max Total Complexity ..: 2 Avg Total Complexity ..: 2.00
|
|
________________________________________________________________________
|
|
End of File: ..\include\qmpool.h
|
|
|
|
|
|
File: ..\include\qpcpp.h
|
|
________________________________________________________________________
|
|
|
|
~~ Total File Summary ~~
|
|
|
|
LOC 40 eLOC 39 lLOC 1 Comment 89 Lines 145
|
|
________________________________________________________________________
|
|
End of File: ..\include\qpcpp.h
|
|
|
|
|
|
File: ..\include\qpset.h
|
|
________________________________________________________________________
|
|
|
|
Inline Function: QP::QPSet::setEmpty
|
|
Parameters: (void)
|
|
Complexity Param 0 Return 1 Cyclo Vg 1 Total 2
|
|
LOC 3 eLOC 2 lLOC 1 Comment 1 Lines 3
|
|
|
|
Inline Function: QP::QPSet::isEmpty
|
|
Parameters: (void)
|
|
Complexity Param 0 Return 1 Cyclo Vg 1 Total 2
|
|
LOC 3 eLOC 2 lLOC 1 Comment 1 Lines 3
|
|
|
|
Inline Function: QP::QPSet::notEmpty
|
|
Parameters: (void)
|
|
Complexity Param 0 Return 1 Cyclo Vg 1 Total 2
|
|
LOC 3 eLOC 2 lLOC 1 Comment 1 Lines 3
|
|
|
|
Inline Function: QP::QPSet::hasElement
|
|
Parameters: (uint_fast8_t const n)
|
|
Complexity Param 1 Return 1 Cyclo Vg 1 Total 3
|
|
LOC 5 eLOC 4 lLOC 1 Comment 1 Lines 5
|
|
|
|
Inline Function: QP::QPSet::insert
|
|
Parameters: (uint_fast8_t const n)
|
|
Complexity Param 1 Return 1 Cyclo Vg 1 Total 3
|
|
LOC 4 eLOC 3 lLOC 1 Comment 1 Lines 4
|
|
|
|
Inline Function: QP::QPSet::remove
|
|
Parameters: (uint_fast8_t const n)
|
|
Complexity Param 1 Return 1 Cyclo Vg 1 Total 3
|
|
LOC 4 eLOC 3 lLOC 1 Comment 1 Lines 4
|
|
|
|
Inline Function: QP::QPSet::findMax
|
|
Parameters: (void)
|
|
Complexity Param 0 Return 1 Cyclo Vg 1 Total 2
|
|
LOC 3 eLOC 2 lLOC 1 Comment 2 Lines 3
|
|
|
|
Inline Function: QP::QPSet::setEmpty
|
|
Parameters: (void) Non-ANSI Parameter Construct
|
|
Complexity Param 1 Return 1 Cyclo Vg 1 Total 3
|
|
LOC 4 eLOC 3 lLOC 2 Comment 1 Lines 4
|
|
|
|
Inline Function: QP::QPSet::isEmpty
|
|
Parameters: (void)
|
|
Cyclomatic Complexity Vg Detail
|
|
Function Base : 1
|
|
Inlined if-else ( ? : ) : 1
|
|
Complexity Param 0 Return 1 Cyclo Vg 2 Total 3
|
|
LOC 5 eLOC 4 lLOC 1 Comment 2 Lines 5
|
|
|
|
Inline Function: QP::QPSet::notEmpty
|
|
Parameters: (void)
|
|
Cyclomatic Complexity Vg Detail
|
|
Function Base : 1
|
|
Inlined if-else ( ? : ) : 1
|
|
Complexity Param 0 Return 1 Cyclo Vg 2 Total 3
|
|
LOC 5 eLOC 4 lLOC 1 Comment 2 Lines 5
|
|
|
|
Inline Function: QP::QPSet::hasElement
|
|
Parameters: (uint_fast8_t const n)
|
|
Cyclomatic Complexity Vg Detail
|
|
Function Base : 1
|
|
Inlined if-else ( ? : ) : 1
|
|
Complexity Param 1 Return 1 Cyclo Vg 2 Total 4
|
|
LOC 9 eLOC 8 lLOC 1 Comment 1 Lines 9
|
|
|
|
Inline Function: QP::QPSet::insert
|
|
Parameters: (uint_fast8_t const n)
|
|
Cyclomatic Complexity Vg Detail
|
|
Function Base : 1
|
|
Conditional if / else if: 1
|
|
Complexity Param 1 Return 1 Cyclo Vg 2 Total 4
|
|
LOC 10 eLOC 7 lLOC 2 Comment 1 Lines 10
|
|
|
|
Inline Function: QP::QPSet::remove
|
|
Parameters: (uint_fast8_t const n)
|
|
Cyclomatic Complexity Vg Detail
|
|
Function Base : 1
|
|
Conditional if / else if: 1
|
|
Complexity Param 1 Return 1 Cyclo Vg 2 Total 4
|
|
LOC 10 eLOC 7 lLOC 2 Comment 1 Lines 10
|
|
|
|
Inline Function: QP::QPSet::findMax
|
|
Parameters: (void)
|
|
Cyclomatic Complexity Vg Detail
|
|
Function Base : 1
|
|
Inlined if-else ( ? : ) : 1
|
|
Complexity Param 0 Return 1 Cyclo Vg 2 Total 3
|
|
LOC 5 eLOC 4 lLOC 1 Comment 1 Lines 5
|
|
|
|
------------------------------------------------------------------------
|
|
|
|
~~ Total File Summary ~~
|
|
|
|
LOC 100 eLOC 79 lLOC 23 Comment 75 Lines 197
|
|
------------------------------------------------------------------------
|
|
|
|
~~ File Functional Summary ~~
|
|
|
|
File Function Count....: 14
|
|
Total Function LOC.....: 73 Total Function Pts LOC : 0.0
|
|
Total Function eLOC....: 55 Total Function Pts eLOC: 0.0
|
|
Total Function lLOC....: 17 Total Function Pts lLOC: 0.0
|
|
Total Function Params .: 7 Total Function Return .: 14
|
|
Total Cyclo Complexity : 20 Total Function Complex.: 41
|
|
------ ----- ----- ------ ------ -----
|
|
Max Function LOC ......: 10 Average Function LOC ..: 5.21
|
|
Max Function eLOC .....: 8 Average Function eLOC .: 3.93
|
|
Max Function lLOC .....: 2 Average Function lLOC .: 1.21
|
|
------ ----- ----- ------ ------ -----
|
|
Max Function Parameters: 1 Avg Function Parameters: 0.50
|
|
Max Function Returns ..: 1 Avg Function Returns ..: 1.00
|
|
Max Interface Complex. : 2 Avg Interface Complex. : 1.50
|
|
Max Cyclomatic Complex.: 2 Avg Cyclomatic Complex.: 1.43
|
|
Max Total Complexity ..: 4 Avg Total Complexity ..: 2.93
|
|
________________________________________________________________________
|
|
End of File: ..\include\qpset.h
|
|
|
|
|
|
File: ..\include\qs.h
|
|
________________________________________________________________________
|
|
|
|
Inline Function: QP::QS::getVersion
|
|
Parameters: (void)
|
|
Complexity Param 0 Return 1 Cyclo Vg 1 Total 2
|
|
LOC 3 eLOC 2 lLOC 1 Comment 1 Lines 3
|
|
|
|
Inline Function: QP::QS::rxPut
|
|
Parameters: (uint8_t const b)
|
|
Cyclomatic Complexity Vg Detail
|
|
Function Base : 1
|
|
Conditional if / else if: 3
|
|
Complexity Param 1 Return 1 Cyclo Vg 4 Total 6
|
|
LOC 14 eLOC 9 lLOC 4 Comment 1 Lines 14
|
|
|
|
Inline Function: QP::QS::force_cast
|
|
Parameters: (T_IN in)
|
|
Template: template<T_OUT,T_IN>
|
|
Complexity Param 1 Return 1 Cyclo Vg 1 Total 3
|
|
LOC 7 eLOC 6 lLOC 4 Comment 2 Lines 7
|
|
|
|
|
|
NOTICE: The end of the source file has been reached where the
|
|
open brace count { 32 != 30 } close brace count
|
|
This is an indication of non-compilable code within the source
|
|
file. RSM processes all source code including code wrapped
|
|
with preprocessor directives. Accurate metrics requires that
|
|
all code present in this file must be compilable.
|
|
------------------------------------------------------------------------
|
|
|
|
~~ Total File Summary ~~
|
|
|
|
LOC 531 eLOC 513 lLOC 127 Comment 615 Lines 1162
|
|
------------------------------------------------------------------------
|
|
|
|
~~ File Functional Summary ~~
|
|
|
|
File Function Count....: 3
|
|
Total Function LOC.....: 24 Total Function Pts LOC : 0.0
|
|
Total Function eLOC....: 17 Total Function Pts eLOC: 0.0
|
|
Total Function lLOC....: 9 Total Function Pts lLOC: 0.0
|
|
Total Function Params .: 2 Total Function Return .: 3
|
|
Total Cyclo Complexity : 6 Total Function Complex.: 11
|
|
------ ----- ----- ------ ------ -----
|
|
Max Function LOC ......: 14 Average Function LOC ..: 8.00
|
|
Max Function eLOC .....: 9 Average Function eLOC .: 5.67
|
|
Max Function lLOC .....: 4 Average Function lLOC .: 3.00
|
|
------ ----- ----- ------ ------ -----
|
|
Max Function Parameters: 1 Avg Function Parameters: 0.67
|
|
Max Function Returns ..: 1 Avg Function Returns ..: 1.00
|
|
Max Interface Complex. : 2 Avg Interface Complex. : 1.67
|
|
Max Cyclomatic Complex.: 4 Avg Cyclomatic Complex.: 2.00
|
|
Max Total Complexity ..: 6 Avg Total Complexity ..: 3.67
|
|
________________________________________________________________________
|
|
End of File: ..\include\qs.h
|
|
|
|
|
|
File: ..\include\qs_dummy.h
|
|
________________________________________________________________________
|
|
|
|
~~ Total File Summary ~~
|
|
|
|
LOC 72 eLOC 72 lLOC 0 Comment 41 Lines 124
|
|
________________________________________________________________________
|
|
End of File: ..\include\qs_dummy.h
|
|
|
|
|
|
File: ..\include\qv.h
|
|
________________________________________________________________________
|
|
|
|
Inline Function: QP::QV::getVersion
|
|
Parameters: (void)
|
|
Complexity Param 0 Return 1 Cyclo Vg 1 Total 2
|
|
LOC 3 eLOC 2 lLOC 1 Comment 1 Lines 3
|
|
|
|
------------------------------------------------------------------------
|
|
|
|
~~ Total File Summary ~~
|
|
|
|
LOC 36 eLOC 32 lLOC 4 Comment 80 Lines 127
|
|
------------------------------------------------------------------------
|
|
|
|
~~ File Functional Summary ~~
|
|
|
|
File Function Count....: 1
|
|
Total Function LOC.....: 3 Total Function Pts LOC : 0.0
|
|
Total Function eLOC....: 2 Total Function Pts eLOC: 0.0
|
|
Total Function lLOC....: 1 Total Function Pts lLOC: 0.0
|
|
Total Function Params .: 0 Total Function Return .: 1
|
|
Total Cyclo Complexity : 1 Total Function Complex.: 2
|
|
------ ----- ----- ------ ------ -----
|
|
Max Function LOC ......: 3 Average Function LOC ..: 3.00
|
|
Max Function eLOC .....: 2 Average Function eLOC .: 2.00
|
|
Max Function lLOC .....: 1 Average Function lLOC .: 1.00
|
|
------ ----- ----- ------ ------ -----
|
|
Max Function Parameters: 0 Avg Function Parameters: 0.00
|
|
Max Function Returns ..: 1 Avg Function Returns ..: 1.00
|
|
Max Interface Complex. : 1 Avg Interface Complex. : 1.00
|
|
Max Cyclomatic Complex.: 1 Avg Cyclomatic Complex.: 1.00
|
|
Max Total Complexity ..: 2 Avg Total Complexity ..: 2.00
|
|
________________________________________________________________________
|
|
End of File: ..\include\qv.h
|
|
|
|
|
|
File: ..\include\qxk.h
|
|
________________________________________________________________________
|
|
|
|
Inline Function: QP::QXK::getVersion
|
|
Parameters: (void)
|
|
Complexity Param 0 Return 1 Cyclo Vg 1 Total 2
|
|
LOC 3 eLOC 2 lLOC 1 Comment 1 Lines 3
|
|
|
|
------------------------------------------------------------------------
|
|
|
|
~~ Total File Summary ~~
|
|
|
|
LOC 81 eLOC 75 lLOC 27 Comment 145 Lines 246
|
|
------------------------------------------------------------------------
|
|
|
|
~~ File Functional Summary ~~
|
|
|
|
File Function Count....: 1
|
|
Total Function LOC.....: 3 Total Function Pts LOC : 0.0
|
|
Total Function eLOC....: 2 Total Function Pts eLOC: 0.0
|
|
Total Function lLOC....: 1 Total Function Pts lLOC: 0.0
|
|
Total Function Params .: 0 Total Function Return .: 1
|
|
Total Cyclo Complexity : 1 Total Function Complex.: 2
|
|
------ ----- ----- ------ ------ -----
|
|
Max Function LOC ......: 3 Average Function LOC ..: 3.00
|
|
Max Function eLOC .....: 2 Average Function eLOC .: 2.00
|
|
Max Function lLOC .....: 1 Average Function lLOC .: 1.00
|
|
------ ----- ----- ------ ------ -----
|
|
Max Function Parameters: 0 Avg Function Parameters: 0.00
|
|
Max Function Returns ..: 1 Avg Function Returns ..: 1.00
|
|
Max Interface Complex. : 1 Avg Interface Complex. : 1.00
|
|
Max Cyclomatic Complex.: 1 Avg Cyclomatic Complex.: 1.00
|
|
Max Total Complexity ..: 2 Avg Total Complexity ..: 2.00
|
|
________________________________________________________________________
|
|
End of File: ..\include\qxk.h
|
|
|
|
|
|
File: ..\include\qxthread.h
|
|
________________________________________________________________________
|
|
|
|
Inline Function: QP::QXThread::init
|
|
Parameters: (void)
|
|
Complexity Param 0 Return 1 Cyclo Vg 1 Total 2
|
|
LOC 1 eLOC 1 lLOC 1 Comment 2 Lines 1
|
|
|
|
Inline Function: QP::QXThread::start
|
|
Parameters: (uint_fast8_t const prio, QEvt const *qSto[], uint_fast16_t
|
|
const qLen, void * const stkSto, uint_fast16_t const stkSize
|
|
)
|
|
Complexity Param 5 Return 1 Cyclo Vg 1 Total 7
|
|
LOC 4 eLOC 2 lLOC 1 Comment 1 Lines 4
|
|
|
|
Inline Function: QP::QXThread::getBlockingObj
|
|
Parameters: (void)
|
|
Complexity Param 0 Return 1 Cyclo Vg 1 Total 2
|
|
LOC 3 eLOC 2 lLOC 1 Comment 1 Lines 3
|
|
|
|
------------------------------------------------------------------------
|
|
|
|
~~ Total File Summary ~~
|
|
|
|
LOC 74 eLOC 67 lLOC 40 Comment 138 Lines 240
|
|
------------------------------------------------------------------------
|
|
|
|
~~ File Functional Summary ~~
|
|
|
|
File Function Count....: 3
|
|
Total Function LOC.....: 8 Total Function Pts LOC : 0.0
|
|
Total Function eLOC....: 5 Total Function Pts eLOC: 0.0
|
|
Total Function lLOC....: 3 Total Function Pts lLOC: 0.0
|
|
Total Function Params .: 5 Total Function Return .: 3
|
|
Total Cyclo Complexity : 3 Total Function Complex.: 11
|
|
------ ----- ----- ------ ------ -----
|
|
Max Function LOC ......: 4 Average Function LOC ..: 2.67
|
|
Max Function eLOC .....: 2 Average Function eLOC .: 1.67
|
|
Max Function lLOC .....: 1 Average Function lLOC .: 1.00
|
|
------ ----- ----- ------ ------ -----
|
|
Max Function Parameters: 5 Avg Function Parameters: 1.67
|
|
Max Function Returns ..: 1 Avg Function Returns ..: 1.00
|
|
Max Interface Complex. : 6 Avg Interface Complex. : 2.67
|
|
Max Cyclomatic Complex.: 1 Avg Cyclomatic Complex.: 1.00
|
|
Max Total Complexity ..: 7 Avg Total Complexity ..: 3.67
|
|
________________________________________________________________________
|
|
End of File: ..\include\qxthread.h
|
|
|
|
|
|
File: ..\include\stdint_c.h
|
|
________________________________________________________________________
|
|
|
|
~~ Total File Summary ~~
|
|
|
|
LOC 33 eLOC 33 lLOC 0 Comment 42 Lines 87
|
|
________________________________________________________________________
|
|
End of File: ..\include\stdint_c.h
|
|
|
|
|
|
File: ..\src\qf_pkg.h
|
|
________________________________________________________________________
|
|
|
|
Inline Function: QP::QF_EVT_POOL_ID_
|
|
Parameters: (QEvt const * const e)
|
|
Complexity Param 1 Return 1 Cyclo Vg 1 Total 3
|
|
LOC 3 eLOC 2 lLOC 1 Comment 1 Lines 3
|
|
|
|
Inline Function: QP::QF_EVT_REF_CTR_
|
|
Parameters: (QEvt const * const e)
|
|
Complexity Param 1 Return 1 Cyclo Vg 1 Total 3
|
|
LOC 3 eLOC 2 lLOC 1 Comment 1 Lines 3
|
|
|
|
Inline Function: QP::QF_EVT_REF_CTR_INC_
|
|
Parameters: (QEvt const * const e)
|
|
Complexity Param 1 Return 1 Cyclo Vg 1 Total 3
|
|
LOC 3 eLOC 2 lLOC 1 Comment 1 Lines 3
|
|
|
|
Inline Function: QP::QF_EVT_REF_CTR_DEC_
|
|
Parameters: (QEvt const * const e)
|
|
Complexity Param 1 Return 1 Cyclo Vg 1 Total 3
|
|
LOC 3 eLOC 2 lLOC 1 Comment 1 Lines 3
|
|
|
|
------------------------------------------------------------------------
|
|
|
|
~~ Total File Summary ~~
|
|
|
|
LOC 75 eLOC 69 lLOC 11 Comment 109 Lines 209
|
|
------------------------------------------------------------------------
|
|
|
|
~~ File Functional Summary ~~
|
|
|
|
File Function Count....: 4
|
|
Total Function LOC.....: 12 Total Function Pts LOC : 0.0
|
|
Total Function eLOC....: 8 Total Function Pts eLOC: 0.0
|
|
Total Function lLOC....: 4 Total Function Pts lLOC: 0.0
|
|
Total Function Params .: 4 Total Function Return .: 4
|
|
Total Cyclo Complexity : 4 Total Function Complex.: 12
|
|
------ ----- ----- ------ ------ -----
|
|
Max Function LOC ......: 3 Average Function LOC ..: 3.00
|
|
Max Function eLOC .....: 2 Average Function eLOC .: 2.00
|
|
Max Function lLOC .....: 1 Average Function lLOC .: 1.00
|
|
------ ----- ----- ------ ------ -----
|
|
Max Function Parameters: 1 Avg Function Parameters: 1.00
|
|
Max Function Returns ..: 1 Avg Function Returns ..: 1.00
|
|
Max Interface Complex. : 2 Avg Interface Complex. : 2.00
|
|
Max Cyclomatic Complex.: 1 Avg Cyclomatic Complex.: 1.00
|
|
Max Total Complexity ..: 3 Avg Total Complexity ..: 3.00
|
|
________________________________________________________________________
|
|
End of File: ..\src\qf_pkg.h
|
|
|
|
|
|
File: ..\src\qs_pkg.h
|
|
________________________________________________________________________
|
|
|
|
~~ Total File Summary ~~
|
|
|
|
LOC 28 eLOC 25 lLOC 10 Comment 59 Lines 98
|
|
________________________________________________________________________
|
|
End of File: ..\src\qs_pkg.h
|
|
|
|
|
|
File: ..\src\qxk_pkg.h
|
|
________________________________________________________________________
|
|
|
|
~~ Total File Summary ~~
|
|
|
|
LOC 16 eLOC 13 lLOC 3 Comment 45 Lines 67
|
|
________________________________________________________________________
|
|
End of File: ..\src\qxk_pkg.h
|
|
|
|
|
|
File: ..\src\qf\qep_hsm.cpp
|
|
________________________________________________________________________
|
|
|
|
Function: QP::QHsm::QHsm
|
|
Parameters: (QStateHandler const initial)
|
|
Complexity Param 1 Return 1 Cyclo Vg 1 Total 3
|
|
LOC 4 eLOC 3 lLOC 2 Comment 8 Lines 4
|
|
|
|
Function: QP::QHsm::~QHsm
|
|
Parameters: ()
|
|
Complexity Param 0 Return 1 Cyclo Vg 1 Total 2
|
|
LOC 2 eLOC 1 lLOC 0 Comment 4 Lines 2
|
|
|
|
Function: QP::QHsm::init
|
|
Parameters: (QEvt const * const e)
|
|
Cyclomatic Complexity Vg Detail
|
|
Function Base : 1
|
|
Loops while / do : 3
|
|
Conditional if / else if: 1
|
|
Logical and ( && ) : 1
|
|
Complexity Param 1 Return 1 Cyclo Vg 6 Total 8
|
|
LOC 49 eLOC 46 lLOC 30 Comment 31 Lines 67
|
|
|
|
Function: QP::QHsm::top
|
|
Parameters: (void * const, QEvt const * const)
|
|
Complexity Param 2 Return 1 Cyclo Vg 1 Total 4
|
|
LOC 3 eLOC 2 lLOC 1 Comment 16 Lines 3
|
|
|
|
Function: QP::QHsm::dispatch
|
|
Parameters: (QEvt const * const e)
|
|
Cyclomatic Complexity Vg Detail
|
|
Function Base : 1
|
|
Loops while / do : 4
|
|
Loops for / foreach : 2
|
|
Conditional if / else if: 5
|
|
Logical and ( && ) : 1
|
|
Complexity Param 1 Return 1 Cyclo Vg 13 Total 15
|
|
LOC 107 eLOC 96 lLOC 61 Comment 65 Lines 147
|
|
|
|
Function: QP::QHsm::hsm_tran
|
|
Parameters: (QStateHandler (&path)[MAX_NEST_DEPTH_])
|
|
Cyclomatic Complexity Vg Detail
|
|
Function Base : 1
|
|
Loops while / do : 4
|
|
Conditional if / else if: 10
|
|
Complexity Param 1 Return 1 Cyclo Vg 15 Total 17
|
|
LOC 99 eLOC 79 lLOC 48 Comment 62 Lines 140
|
|
|
|
Function: QP::QHsm::isIn
|
|
Parameters: (QStateHandler const s)
|
|
Cyclomatic Complexity Vg Detail
|
|
Function Base : 1
|
|
Loops while / do : 1
|
|
Conditional if / else if: 1
|
|
Complexity Param 1 Return 1 Cyclo Vg 3 Total 5
|
|
LOC 16 eLOC 13 lLOC 9 Comment 22 Lines 23
|
|
|
|
Function: QP::QHsm::childState
|
|
Parameters: (QStateHandler const parent)
|
|
Cyclomatic Complexity Vg Detail
|
|
Function Base : 1
|
|
Loops while / do : 1
|
|
Conditional if / else if: 1
|
|
Complexity Param 1 Return 1 Cyclo Vg 3 Total 5
|
|
LOC 19 eLOC 16 lLOC 12 Comment 29 Lines 25
|
|
|
|
------------------------------------------------------------------------
|
|
|
|
~~ Total File Summary ~~
|
|
|
|
LOC 349 eLOC 303 lLOC 170 Comment 296 Lines 621
|
|
------------------------------------------------------------------------
|
|
|
|
~~ File Functional Summary ~~
|
|
|
|
File Function Count....: 8
|
|
Total Function LOC.....: 299 Total Function Pts LOC : 6.6
|
|
Total Function eLOC....: 256 Total Function Pts eLOC: 5.7
|
|
Total Function lLOC....: 163 Total Function Pts lLOC: 3.2
|
|
Total Function Params .: 8 Total Function Return .: 8
|
|
Total Cyclo Complexity : 43 Total Function Complex.: 59
|
|
------ ----- ----- ------ ------ -----
|
|
Max Function LOC ......: 107 Average Function LOC ..: 37.38
|
|
Max Function eLOC .....: 96 Average Function eLOC .: 32.00
|
|
Max Function lLOC .....: 61 Average Function lLOC .: 20.38
|
|
------ ----- ----- ------ ------ -----
|
|
Max Function Parameters: 2 Avg Function Parameters: 1.00
|
|
Max Function Returns ..: 1 Avg Function Returns ..: 1.00
|
|
Max Interface Complex. : 3 Avg Interface Complex. : 2.00
|
|
Max Cyclomatic Complex.: 15 Avg Cyclomatic Complex.: 5.38
|
|
Max Total Complexity ..: 17 Avg Total Complexity ..: 7.38
|
|
________________________________________________________________________
|
|
End of File: ..\src\qf\qep_hsm.cpp
|
|
|
|
|
|
File: ..\src\qf\qep_msm.cpp
|
|
________________________________________________________________________
|
|
|
|
Function: QP::QMsm::QMsm
|
|
Parameters: (QStateHandler const initial)
|
|
Complexity Param 1 Return 1 Cyclo Vg 1 Total 3
|
|
LOC 4 eLOC 2 lLOC 2 Comment 15 Lines 4
|
|
|
|
Function: QP::QMsm::init
|
|
Parameters: (QEvt const * const e)
|
|
Cyclomatic Complexity Vg Detail
|
|
Function Base : 1
|
|
Loops while / do : 1
|
|
Logical and ( && ) : 1
|
|
Complexity Param 1 Return 1 Cyclo Vg 3 Total 5
|
|
LOC 21 eLOC 20 lLOC 12 Comment 23 Lines 33
|
|
|
|
Function: QP::QMsm::dispatch
|
|
Parameters: (QEvt const * const e)
|
|
Cyclomatic Complexity Vg Detail
|
|
Function Base : 1
|
|
Loops while / do : 2
|
|
Conditional if / else if: 12
|
|
Complexity Param 1 Return 1 Cyclo Vg 15 Total 17
|
|
LOC 124 eLOC 107 lLOC 65 Comment 80 Lines 164
|
|
|
|
Function: QP::QMsm::execTatbl_
|
|
Parameters: (QMTranActTable const * const tatbl)
|
|
Cyclomatic Complexity Vg Detail
|
|
Function Base : 1
|
|
Loops for / foreach : 1
|
|
Conditional if / else if: 5
|
|
Inlined if-else ( ? : ) : 1
|
|
Complexity Param 1 Return 1 Cyclo Vg 8 Total 10
|
|
LOC 53 eLOC 45 lLOC 20 Comment 30 Lines 63
|
|
|
|
Function: QP::QMsm::exitToTranSource_
|
|
Parameters: (QMState const *s, QMState const * const ts)
|
|
Cyclomatic Complexity Vg Detail
|
|
Function Base : 1
|
|
Loops while / do : 1
|
|
Conditional if / else if: 2
|
|
Complexity Param 2 Return 1 Cyclo Vg 4 Total 7
|
|
LOC 18 eLOC 13 lLOC 6 Comment 17 Lines 24
|
|
|
|
Function: QP::QMsm::enterHistory_
|
|
Parameters: (QMState const * const hist)
|
|
Cyclomatic Complexity Vg Detail
|
|
Function Base : 1
|
|
Loops while / do : 2
|
|
Conditional if / else if: 3
|
|
Complexity Param 1 Return 1 Cyclo Vg 6 Total 8
|
|
LOC 40 eLOC 33 lLOC 21 Comment 23 Lines 48
|
|
|
|
Function: QP::QMsm::isInState
|
|
Parameters: (QMState const * const st)
|
|
Cyclomatic Complexity Vg Detail
|
|
Function Base : 1
|
|
Loops for / foreach : 1
|
|
Conditional if / else if: 1
|
|
Complexity Param 1 Return 1 Cyclo Vg 3 Total 5
|
|
LOC 13 eLOC 9 lLOC 5 Comment 15 Lines 14
|
|
|
|
Function: QP::QMsm::childStateObj
|
|
Parameters: (QMState const * const parent)
|
|
Cyclomatic Complexity Vg Detail
|
|
Function Base : 1
|
|
Loops for / foreach : 1
|
|
Conditional if / else if: 1
|
|
Complexity Param 1 Return 1 Cyclo Vg 3 Total 5
|
|
LOC 19 eLOC 14 lLOC 9 Comment 19 Lines 23
|
|
|
|
------------------------------------------------------------------------
|
|
|
|
~~ Total File Summary ~~
|
|
|
|
LOC 315 eLOC 264 lLOC 141 Comment 272 Lines 549
|
|
------------------------------------------------------------------------
|
|
|
|
~~ File Functional Summary ~~
|
|
|
|
File Function Count....: 8
|
|
Total Function LOC.....: 292 Total Function Pts LOC : 5.9
|
|
Total Function eLOC....: 243 Total Function Pts eLOC: 5.0
|
|
Total Function lLOC....: 140 Total Function Pts lLOC: 2.7
|
|
Total Function Params .: 9 Total Function Return .: 8
|
|
Total Cyclo Complexity : 43 Total Function Complex.: 60
|
|
------ ----- ----- ------ ------ -----
|
|
Max Function LOC ......: 124 Average Function LOC ..: 36.50
|
|
Max Function eLOC .....: 107 Average Function eLOC .: 30.38
|
|
Max Function lLOC .....: 65 Average Function lLOC .: 17.50
|
|
------ ----- ----- ------ ------ -----
|
|
Max Function Parameters: 2 Avg Function Parameters: 1.13
|
|
Max Function Returns ..: 1 Avg Function Returns ..: 1.00
|
|
Max Interface Complex. : 3 Avg Interface Complex. : 2.13
|
|
Max Cyclomatic Complex.: 15 Avg Cyclomatic Complex.: 5.38
|
|
Max Total Complexity ..: 17 Avg Total Complexity ..: 7.50
|
|
________________________________________________________________________
|
|
End of File: ..\src\qf\qep_msm.cpp
|
|
|
|
|
|
File: ..\src\qf\qf_act.cpp
|
|
________________________________________________________________________
|
|
|
|
Function: QP::QF::add_
|
|
Parameters: (QActive * const a)
|
|
Cyclomatic Complexity Vg Detail
|
|
Function Base : 1
|
|
Logical and ( && ) : 2
|
|
Complexity Param 1 Return 1 Cyclo Vg 3 Total 5
|
|
LOC 10 eLOC 9 lLOC 5 Comment 14 Lines 11
|
|
|
|
Function: QP::QF::remove_
|
|
Parameters: (QActive * const a)
|
|
Cyclomatic Complexity Vg Detail
|
|
Function Base : 1
|
|
Logical and ( && ) : 2
|
|
Complexity Param 1 Return 1 Cyclo Vg 3 Total 5
|
|
LOC 11 eLOC 10 lLOC 6 Comment 16 Lines 13
|
|
|
|
Function: QP::QF::bzero
|
|
Parameters: (void * const start, uint_fast16_t len)
|
|
Cyclomatic Complexity Vg Detail
|
|
Function Base : 1
|
|
Loops while / do : 1
|
|
Complexity Param 2 Return 1 Cyclo Vg 2 Total 5
|
|
LOC 8 eLOC 6 lLOC 4 Comment 13 Lines 8
|
|
|
|
Function: QP::QPSet::findMax
|
|
Parameters: (void)
|
|
Cyclomatic Complexity Vg Detail
|
|
Function Base : 1
|
|
Conditional if / else if: 5
|
|
Complexity Param 0 Return 1 Cyclo Vg 6 Total 7
|
|
LOC 46 eLOC 38 lLOC 20 Comment 7 Lines 46
|
|
|
|
------------------------------------------------------------------------
|
|
|
|
~~ Total File Summary ~~
|
|
|
|
LOC 91 eLOC 78 lLOC 36 Comment 107 Lines 200
|
|
------------------------------------------------------------------------
|
|
|
|
~~ File Functional Summary ~~
|
|
|
|
File Function Count....: 4
|
|
Total Function LOC.....: 75 Total Function Pts LOC : 1.7
|
|
Total Function eLOC....: 63 Total Function Pts eLOC: 1.5
|
|
Total Function lLOC....: 35 Total Function Pts lLOC: 0.7
|
|
Total Function Params .: 4 Total Function Return .: 4
|
|
Total Cyclo Complexity : 14 Total Function Complex.: 22
|
|
------ ----- ----- ------ ------ -----
|
|
Max Function LOC ......: 46 Average Function LOC ..: 18.75
|
|
Max Function eLOC .....: 38 Average Function eLOC .: 15.75
|
|
Max Function lLOC .....: 20 Average Function lLOC .: 8.75
|
|
------ ----- ----- ------ ------ -----
|
|
Max Function Parameters: 2 Avg Function Parameters: 1.00
|
|
Max Function Returns ..: 1 Avg Function Returns ..: 1.00
|
|
Max Interface Complex. : 3 Avg Interface Complex. : 2.00
|
|
Max Cyclomatic Complex.: 6 Avg Cyclomatic Complex.: 3.50
|
|
Max Total Complexity ..: 7 Avg Total Complexity ..: 5.50
|
|
________________________________________________________________________
|
|
End of File: ..\src\qf\qf_act.cpp
|
|
|
|
|
|
File: ..\src\qf\qf_actq.cpp
|
|
________________________________________________________________________
|
|
|
|
Function: QP::QActive::post_
|
|
Parameters: (QEvt const * const e, uint_fast16_t const margin)
|
|
Cyclomatic Complexity Vg Detail
|
|
Function Base : 1
|
|
Conditional if / else if: 9
|
|
Logical or ( || ) : 3
|
|
Logical and ( && ) : 1
|
|
Complexity Param 2 Return 1 Cyclo Vg 14 Total 17
|
|
LOC 84 eLOC 67 lLOC 37 Comment 72 Lines 112
|
|
|
|
Function: QP::QActive::postLIFO
|
|
Parameters: (QEvt const * const e)
|
|
Cyclomatic Complexity Vg Detail
|
|
Function Base : 1
|
|
Conditional if / else if: 4
|
|
Complexity Param 1 Return 1 Cyclo Vg 5 Total 7
|
|
LOC 40 eLOC 33 lLOC 21 Comment 34 Lines 53
|
|
|
|
Function: QP::QActive::get_
|
|
Parameters: (void)
|
|
Cyclomatic Complexity Vg Detail
|
|
Function Base : 1
|
|
Conditional if / else if: 2
|
|
Complexity Param 0 Return 1 Cyclo Vg 3 Total 4
|
|
LOC 37 eLOC 33 lLOC 21 Comment 37 Lines 48
|
|
|
|
Function: QP::QF::getQueueMin
|
|
Parameters: (uint_fast8_t const prio)
|
|
Cyclomatic Complexity Vg Detail
|
|
Function Base : 1
|
|
Logical and ( && ) : 1
|
|
Complexity Param 1 Return 1 Cyclo Vg 2 Total 4
|
|
LOC 10 eLOC 9 lLOC 5 Comment 18 Lines 13
|
|
|
|
Function: QP::QTicker::QTicker
|
|
Parameters: (uint_fast8_t const tickRate)
|
|
Complexity Param 1 Return 1 Cyclo Vg 1 Total 3
|
|
LOC 3 eLOC 1 lLOC 1 Comment 2 Lines 4
|
|
|
|
Function: QP::QTicker::init
|
|
Parameters: (QEvt const * const)
|
|
Complexity Param 1 Return 1 Cyclo Vg 1 Total 3
|
|
LOC 3 eLOC 2 lLOC 1 Comment 2 Lines 3
|
|
|
|
Function: QP::QTicker::dispatch
|
|
Parameters: (QEvt const * const)
|
|
Cyclomatic Complexity Vg Detail
|
|
Function Base : 1
|
|
Loops for / foreach : 1
|
|
Complexity Param 1 Return 1 Cyclo Vg 2 Total 4
|
|
LOC 10 eLOC 8 lLOC 6 Comment 4 Lines 11
|
|
|
|
Function: QP::QTicker::post_
|
|
Parameters: (QEvt const * const , uint_fast16_t const /*margin*/)
|
|
Cyclomatic Complexity Vg Detail
|
|
Function Base : 1
|
|
Conditional if / else if: 1
|
|
Complexity Param 2 Return 1 Cyclo Vg 2 Total 5
|
|
LOC 31 eLOC 28 lLOC 16 Comment 16 Lines 38
|
|
|
|
Function: QP::QTicker::postLIFO
|
|
Parameters: (QEvt const * const)
|
|
Complexity Param 1 Return 1 Cyclo Vg 1 Total 3
|
|
LOC 3 eLOC 2 lLOC 1 Comment 3 Lines 3
|
|
|
|
------------------------------------------------------------------------
|
|
|
|
~~ Total File Summary ~~
|
|
|
|
LOC 247 eLOC 208 lLOC 109 Comment 239 Lines 449
|
|
------------------------------------------------------------------------
|
|
|
|
~~ File Functional Summary ~~
|
|
|
|
File Function Count....: 9
|
|
Total Function LOC.....: 221 Total Function Pts LOC : 4.7
|
|
Total Function eLOC....: 183 Total Function Pts eLOC: 3.9
|
|
Total Function lLOC....: 109 Total Function Pts lLOC: 2.1
|
|
Total Function Params .: 10 Total Function Return .: 9
|
|
Total Cyclo Complexity : 31 Total Function Complex.: 50
|
|
------ ----- ----- ------ ------ -----
|
|
Max Function LOC ......: 84 Average Function LOC ..: 24.56
|
|
Max Function eLOC .....: 67 Average Function eLOC .: 20.33
|
|
Max Function lLOC .....: 37 Average Function lLOC .: 12.11
|
|
------ ----- ----- ------ ------ -----
|
|
Max Function Parameters: 2 Avg Function Parameters: 1.11
|
|
Max Function Returns ..: 1 Avg Function Returns ..: 1.00
|
|
Max Interface Complex. : 3 Avg Interface Complex. : 2.11
|
|
Max Cyclomatic Complex.: 14 Avg Cyclomatic Complex.: 3.44
|
|
Max Total Complexity ..: 17 Avg Total Complexity ..: 5.56
|
|
________________________________________________________________________
|
|
End of File: ..\src\qf\qf_actq.cpp
|
|
|
|
|
|
File: ..\src\qf\qf_defer.cpp
|
|
________________________________________________________________________
|
|
|
|
Function: QP::QActive::defer
|
|
Parameters: (QEQueue * const eq, QEvt const * const e)
|
|
Complexity Param 2 Return 1 Cyclo Vg 1 Total 4
|
|
LOC 12 eLOC 11 lLOC 7 Comment 28 Lines 14
|
|
|
|
Function: QP::QActive::recall
|
|
Parameters: (QEQueue * const eq)
|
|
Cyclomatic Complexity Vg Detail
|
|
Function Base : 1
|
|
Conditional if / else if: 2
|
|
Complexity Param 1 Return 1 Cyclo Vg 3 Total 5
|
|
LOC 34 eLOC 30 lLOC 18 Comment 40 Lines 51
|
|
|
|
Function: QP::QActive::flushDeferred
|
|
Parameters: (QEQueue * const eq)
|
|
Cyclomatic Complexity Vg Detail
|
|
Function Base : 1
|
|
Loops for / foreach : 1
|
|
Complexity Param 1 Return 1 Cyclo Vg 2 Total 4
|
|
LOC 11 eLOC 8 lLOC 5 Comment 17 Lines 11
|
|
|
|
------------------------------------------------------------------------
|
|
|
|
~~ Total File Summary ~~
|
|
|
|
LOC 69 eLOC 60 lLOC 30 Comment 131 Lines 192
|
|
------------------------------------------------------------------------
|
|
|
|
~~ File Functional Summary ~~
|
|
|
|
File Function Count....: 3
|
|
Total Function LOC.....: 57 Total Function Pts LOC : 1.3
|
|
Total Function eLOC....: 49 Total Function Pts eLOC: 1.1
|
|
Total Function lLOC....: 30 Total Function Pts lLOC: 0.6
|
|
Total Function Params .: 4 Total Function Return .: 3
|
|
Total Cyclo Complexity : 6 Total Function Complex.: 13
|
|
------ ----- ----- ------ ------ -----
|
|
Max Function LOC ......: 34 Average Function LOC ..: 19.00
|
|
Max Function eLOC .....: 30 Average Function eLOC .: 16.33
|
|
Max Function lLOC .....: 18 Average Function lLOC .: 10.00
|
|
------ ----- ----- ------ ------ -----
|
|
Max Function Parameters: 2 Avg Function Parameters: 1.33
|
|
Max Function Returns ..: 1 Avg Function Returns ..: 1.00
|
|
Max Interface Complex. : 3 Avg Interface Complex. : 2.33
|
|
Max Cyclomatic Complex.: 3 Avg Cyclomatic Complex.: 2.00
|
|
Max Total Complexity ..: 5 Avg Total Complexity ..: 4.33
|
|
________________________________________________________________________
|
|
End of File: ..\src\qf\qf_defer.cpp
|
|
|
|
|
|
File: ..\src\qf\qf_dyn.cpp
|
|
________________________________________________________________________
|
|
|
|
Function: QP::QF::poolInit
|
|
Parameters: (void * const poolSto, uint_fast32_t const poolSize, uint_fa
|
|
st16_t const evtSize)
|
|
Cyclomatic Complexity Vg Detail
|
|
Function Base : 1
|
|
Logical or ( || ) : 1
|
|
Complexity Param 3 Return 1 Cyclo Vg 2 Total 6
|
|
LOC 10 eLOC 8 lLOC 4 Comment 30 Lines 13
|
|
|
|
Function: QP::QF::newX_
|
|
Parameters: (uint_fast16_t const evtSize, uint_fast16_t const margin, en
|
|
um_t const sig)
|
|
Cyclomatic Complexity Vg Detail
|
|
Function Base : 1
|
|
Loops for / foreach : 1
|
|
Conditional if / else if: 2
|
|
Inlined if-else ( ? : ) : 1
|
|
Complexity Param 3 Return 1 Cyclo Vg 5 Total 9
|
|
LOC 30 eLOC 24 lLOC 14 Comment 38 Lines 41
|
|
|
|
Function: QP::QF::gc
|
|
Parameters: (QEvt const * const e)
|
|
Cyclomatic Complexity Vg Detail
|
|
Function Base : 1
|
|
Conditional if / else if: 2
|
|
Complexity Param 1 Return 1 Cyclo Vg 3 Total 5
|
|
LOC 32 eLOC 28 lLOC 14 Comment 39 Lines 48
|
|
|
|
Function: QP::QF::newRef_
|
|
Parameters: (QEvt const * const e, QEvt const * const evtRef)
|
|
Cyclomatic Complexity Vg Detail
|
|
Function Base : 1
|
|
Logical and ( && ) : 1
|
|
Complexity Param 2 Return 1 Cyclo Vg 2 Total 5
|
|
LOC 16 eLOC 15 lLOC 8 Comment 20 Lines 23
|
|
|
|
Function: QP::QF::deleteRef_
|
|
Parameters: (QEvt const * const evtRef)
|
|
Complexity Param 1 Return 1 Cyclo Vg 1 Total 3
|
|
LOC 10 eLOC 9 lLOC 4 Comment 14 Lines 12
|
|
|
|
Function: QP::QF::poolGetMaxBlockSize
|
|
Parameters: (void)
|
|
Complexity Param 0 Return 1 Cyclo Vg 1 Total 2
|
|
LOC 4 eLOC 3 lLOC 1 Comment 4 Lines 4
|
|
|
|
------------------------------------------------------------------------
|
|
|
|
~~ Total File Summary ~~
|
|
|
|
LOC 120 eLOC 104 lLOC 47 Comment 193 Lines 312
|
|
------------------------------------------------------------------------
|
|
|
|
~~ File Functional Summary ~~
|
|
|
|
File Function Count....: 6
|
|
Total Function LOC.....: 102 Total Function Pts LOC : 2.3
|
|
Total Function eLOC....: 87 Total Function Pts eLOC: 2.0
|
|
Total Function lLOC....: 45 Total Function Pts lLOC: 0.9
|
|
Total Function Params .: 10 Total Function Return .: 6
|
|
Total Cyclo Complexity : 14 Total Function Complex.: 30
|
|
------ ----- ----- ------ ------ -----
|
|
Max Function LOC ......: 32 Average Function LOC ..: 17.00
|
|
Max Function eLOC .....: 28 Average Function eLOC .: 14.50
|
|
Max Function lLOC .....: 14 Average Function lLOC .: 7.50
|
|
------ ----- ----- ------ ------ -----
|
|
Max Function Parameters: 3 Avg Function Parameters: 1.67
|
|
Max Function Returns ..: 1 Avg Function Returns ..: 1.00
|
|
Max Interface Complex. : 4 Avg Interface Complex. : 2.67
|
|
Max Cyclomatic Complex.: 5 Avg Cyclomatic Complex.: 2.33
|
|
Max Total Complexity ..: 9 Avg Total Complexity ..: 5.00
|
|
________________________________________________________________________
|
|
End of File: ..\src\qf\qf_dyn.cpp
|
|
|
|
|
|
File: ..\src\qf\qf_mem.cpp
|
|
________________________________________________________________________
|
|
|
|
Function: QP::QMPool::QMPool
|
|
Parameters: (void)
|
|
Complexity Param 0 Return 1 Cyclo Vg 1 Total 2
|
|
LOC 1 eLOC 1 lLOC 0 Comment 9 Lines 1
|
|
|
|
Function: QP::QMPool::init
|
|
Parameters: (void * const poolSto, uint_fast32_t poolSize, uint_fast16_t
|
|
blockSize)
|
|
Cyclomatic Complexity Vg Detail
|
|
Function Base : 1
|
|
Loops while / do : 2
|
|
Logical and ( && ) : 2
|
|
Complexity Param 3 Return 1 Cyclo Vg 5 Total 9
|
|
LOC 30 eLOC 26 lLOC 20 Comment 52 Lines 52
|
|
|
|
Function: QP::QMPool::put
|
|
Parameters: (void * const b)
|
|
Cyclomatic Complexity Vg Detail
|
|
Function Base : 1
|
|
Logical and ( && ) : 1
|
|
Complexity Param 1 Return 1 Cyclo Vg 2 Total 4
|
|
LOC 17 eLOC 16 lLOC 9 Comment 25 Lines 24
|
|
|
|
Function: QP::QMPool::get
|
|
Parameters: (uint_fast16_t const margin)
|
|
Cyclomatic Complexity Vg Detail
|
|
Function Base : 1
|
|
Conditional if / else if: 3
|
|
Complexity Param 1 Return 1 Cyclo Vg 4 Total 6
|
|
LOC 41 eLOC 35 lLOC 22 Comment 50 Lines 62
|
|
|
|
Function: QP::QF::getPoolMin
|
|
Parameters: (uint_fast8_t const poolId)
|
|
Cyclomatic Complexity Vg Detail
|
|
Function Base : 1
|
|
Logical and ( && ) : 1
|
|
Complexity Param 1 Return 1 Cyclo Vg 2 Total 4
|
|
LOC 10 eLOC 9 lLOC 5 Comment 14 Lines 14
|
|
|
|
------------------------------------------------------------------------
|
|
|
|
~~ Total File Summary ~~
|
|
|
|
LOC 121 eLOC 108 lLOC 56 Comment 195 Lines 314
|
|
------------------------------------------------------------------------
|
|
|
|
~~ File Functional Summary ~~
|
|
|
|
File Function Count....: 5
|
|
Total Function LOC.....: 99 Total Function Pts LOC : 2.3
|
|
Total Function eLOC....: 87 Total Function Pts eLOC: 2.0
|
|
Total Function lLOC....: 56 Total Function Pts lLOC: 1.1
|
|
Total Function Params .: 6 Total Function Return .: 5
|
|
Total Cyclo Complexity : 14 Total Function Complex.: 25
|
|
------ ----- ----- ------ ------ -----
|
|
Max Function LOC ......: 41 Average Function LOC ..: 19.80
|
|
Max Function eLOC .....: 35 Average Function eLOC .: 17.40
|
|
Max Function lLOC .....: 22 Average Function lLOC .: 11.20
|
|
------ ----- ----- ------ ------ -----
|
|
Max Function Parameters: 3 Avg Function Parameters: 1.20
|
|
Max Function Returns ..: 1 Avg Function Returns ..: 1.00
|
|
Max Interface Complex. : 4 Avg Interface Complex. : 2.20
|
|
Max Cyclomatic Complex.: 5 Avg Cyclomatic Complex.: 2.80
|
|
Max Total Complexity ..: 9 Avg Total Complexity ..: 5.00
|
|
________________________________________________________________________
|
|
End of File: ..\src\qf\qf_mem.cpp
|
|
|
|
|
|
File: ..\src\qf\qf_ps.cpp
|
|
________________________________________________________________________
|
|
|
|
Function: QP::QF::psInit
|
|
Parameters: (QSubscrList * const subscrSto, enum_t const maxSignal)
|
|
Complexity Param 2 Return 1 Cyclo Vg 1 Total 4
|
|
LOC 7 eLOC 6 lLOC 3 Comment 32 Lines 11
|
|
|
|
Function: QP::QF::publish_
|
|
Parameters: (QEvt const * const e)
|
|
Cyclomatic Complexity Vg Detail
|
|
Function Base : 1
|
|
Loops while / do : 1
|
|
Loops for / foreach : 1
|
|
Conditional if / else if: 4
|
|
Logical and ( && ) : 10
|
|
Complexity Param 1 Return 1 Cyclo Vg 17 Total 19
|
|
LOC 95 eLOC 84 lLOC 44 Comment 121 Lines 201
|
|
|
|
|
|
NOTICE: The end of the source file has been reached where the
|
|
open brace count { 14 != 13 } close brace count
|
|
This is an indication of non-compilable code within the source
|
|
file. RSM processes all source code including code wrapped
|
|
with preprocessor directives. Accurate metrics requires that
|
|
all code present in this file must be compilable.
|
|
------------------------------------------------------------------------
|
|
|
|
~~ Total File Summary ~~
|
|
|
|
LOC 116 eLOC 104 lLOC 49 Comment 201 Lines 319
|
|
------------------------------------------------------------------------
|
|
|
|
~~ File Functional Summary ~~
|
|
|
|
File Function Count....: 2
|
|
Total Function LOC.....: 102 Total Function Pts LOC : 2.2
|
|
Total Function eLOC....: 90 Total Function Pts eLOC: 2.0
|
|
Total Function lLOC....: 47 Total Function Pts lLOC: 0.9
|
|
Total Function Params .: 3 Total Function Return .: 2
|
|
Total Cyclo Complexity : 18 Total Function Complex.: 23
|
|
------ ----- ----- ------ ------ -----
|
|
Max Function LOC ......: 95 Average Function LOC ..: 51.00
|
|
Max Function eLOC .....: 84 Average Function eLOC .: 45.00
|
|
Max Function lLOC .....: 44 Average Function lLOC .: 23.50
|
|
------ ----- ----- ------ ------ -----
|
|
Max Function Parameters: 2 Avg Function Parameters: 1.50
|
|
Max Function Returns ..: 1 Avg Function Returns ..: 1.00
|
|
Max Interface Complex. : 3 Avg Interface Complex. : 2.50
|
|
Max Cyclomatic Complex.: 17 Avg Cyclomatic Complex.: 9.00
|
|
Max Total Complexity ..: 19 Avg Total Complexity ..: 11.50
|
|
________________________________________________________________________
|
|
End of File: ..\src\qf\qf_ps.cpp
|
|
|
|
|
|
File: ..\src\qf\qf_qact.cpp
|
|
________________________________________________________________________
|
|
|
|
Function: QP::QActive::QActive
|
|
Parameters: (QStateHandler const initial)
|
|
Complexity Param 1 Return 1 Cyclo Vg 1 Total 3
|
|
LOC 9 eLOC 7 lLOC 3 Comment 1 Lines 11
|
|
|
|
------------------------------------------------------------------------
|
|
|
|
~~ Total File Summary ~~
|
|
|
|
LOC 16 eLOC 13 lLOC 3 Comment 40 Lines 60
|
|
------------------------------------------------------------------------
|
|
|
|
~~ File Functional Summary ~~
|
|
|
|
File Function Count....: 1
|
|
Total Function LOC.....: 9 Total Function Pts LOC : 0.3
|
|
Total Function eLOC....: 7 Total Function Pts eLOC: 0.2
|
|
Total Function lLOC....: 3 Total Function Pts lLOC: 0.1
|
|
Total Function Params .: 1 Total Function Return .: 1
|
|
Total Cyclo Complexity : 1 Total Function Complex.: 3
|
|
------ ----- ----- ------ ------ -----
|
|
Max Function LOC ......: 9 Average Function LOC ..: 9.00
|
|
Max Function eLOC .....: 7 Average Function eLOC .: 7.00
|
|
Max Function lLOC .....: 3 Average Function lLOC .: 3.00
|
|
------ ----- ----- ------ ------ -----
|
|
Max Function Parameters: 1 Avg Function Parameters: 1.00
|
|
Max Function Returns ..: 1 Avg Function Returns ..: 1.00
|
|
Max Interface Complex. : 2 Avg Interface Complex. : 2.00
|
|
Max Cyclomatic Complex.: 1 Avg Cyclomatic Complex.: 1.00
|
|
Max Total Complexity ..: 3 Avg Total Complexity ..: 3.00
|
|
________________________________________________________________________
|
|
End of File: ..\src\qf\qf_qact.cpp
|
|
|
|
|
|
File: ..\src\qf\qf_qeq.cpp
|
|
________________________________________________________________________
|
|
|
|
Function: QP::QEQueue::QEQueue
|
|
Parameters: (void)
|
|
Complexity Param 0 Return 1 Cyclo Vg 1 Total 2
|
|
LOC 1 eLOC 1 lLOC 0 Comment 4 Lines 1
|
|
|
|
Function: QP::QEQueue::init
|
|
Parameters: (QEvt const *qSto[], uint_fast16_t const qLen)
|
|
Cyclomatic Complexity Vg Detail
|
|
Function Base : 1
|
|
Conditional if / else if: 1
|
|
Complexity Param 2 Return 1 Cyclo Vg 2 Total 5
|
|
LOC 12 eLOC 10 lLOC 7 Comment 18 Lines 12
|
|
|
|
Function: QP::QEQueue::post
|
|
Parameters: (QEvt const * const e, uint_fast16_t const margin)
|
|
Cyclomatic Complexity Vg Detail
|
|
Function Base : 1
|
|
Conditional if / else if: 5
|
|
Logical or ( || ) : 1
|
|
Logical and ( && ) : 1
|
|
Complexity Param 2 Return 1 Cyclo Vg 8 Total 11
|
|
LOC 54 eLOC 45 lLOC 29 Comment 53 Lines 73
|
|
|
|
Function: QP::QEQueue::postLIFO
|
|
Parameters: (QEvt const * const e)
|
|
Cyclomatic Complexity Vg Detail
|
|
Function Base : 1
|
|
Conditional if / else if: 4
|
|
Complexity Param 1 Return 1 Cyclo Vg 5 Total 7
|
|
LOC 33 eLOC 28 lLOC 19 Comment 40 Lines 44
|
|
|
|
Function: QP::QEQueue::get
|
|
Parameters: (void)
|
|
Cyclomatic Complexity Vg Detail
|
|
Function Base : 1
|
|
Conditional if / else if: 3
|
|
Complexity Param 0 Return 1 Cyclo Vg 4 Total 5
|
|
LOC 39 eLOC 34 lLOC 21 Comment 34 Lines 48
|
|
|
|
------------------------------------------------------------------------
|
|
|
|
~~ Total File Summary ~~
|
|
|
|
LOC 159 eLOC 137 lLOC 76 Comment 194 Lines 324
|
|
------------------------------------------------------------------------
|
|
|
|
~~ File Functional Summary ~~
|
|
|
|
File Function Count....: 5
|
|
Total Function LOC.....: 139 Total Function Pts LOC : 3.0
|
|
Total Function eLOC....: 118 Total Function Pts eLOC: 2.6
|
|
Total Function lLOC....: 76 Total Function Pts lLOC: 1.4
|
|
Total Function Params .: 5 Total Function Return .: 5
|
|
Total Cyclo Complexity : 20 Total Function Complex.: 30
|
|
------ ----- ----- ------ ------ -----
|
|
Max Function LOC ......: 54 Average Function LOC ..: 27.80
|
|
Max Function eLOC .....: 45 Average Function eLOC .: 23.60
|
|
Max Function lLOC .....: 29 Average Function lLOC .: 15.20
|
|
------ ----- ----- ------ ------ -----
|
|
Max Function Parameters: 2 Avg Function Parameters: 1.00
|
|
Max Function Returns ..: 1 Avg Function Returns ..: 1.00
|
|
Max Interface Complex. : 3 Avg Interface Complex. : 2.00
|
|
Max Cyclomatic Complex.: 8 Avg Cyclomatic Complex.: 4.00
|
|
Max Total Complexity ..: 11 Avg Total Complexity ..: 6.00
|
|
________________________________________________________________________
|
|
End of File: ..\src\qf\qf_qeq.cpp
|
|
|
|
|
|
File: ..\src\qf\qf_qmact.cpp
|
|
________________________________________________________________________
|
|
|
|
Function: QP::QMActive::QMActive
|
|
Parameters: (QStateHandler const initial)
|
|
Complexity Param 1 Return 1 Cyclo Vg 1 Total 3
|
|
LOC 4 eLOC 2 lLOC 2 Comment 1 Lines 4
|
|
|
|
Function: QP::QMActive::init
|
|
Parameters: (QEvt const * const e)
|
|
Complexity Param 1 Return 1 Cyclo Vg 1 Total 3
|
|
LOC 3 eLOC 2 lLOC 1 Comment 1 Lines 3
|
|
|
|
Function: QP::QMActive::init
|
|
Parameters: (void)
|
|
Complexity Param 0 Return 1 Cyclo Vg 1 Total 2
|
|
LOC 3 eLOC 2 lLOC 1 Comment 1 Lines 3
|
|
|
|
Function: QP::QMActive::dispatch
|
|
Parameters: (QEvt const * const e)
|
|
Complexity Param 1 Return 1 Cyclo Vg 1 Total 3
|
|
LOC 3 eLOC 2 lLOC 1 Comment 1 Lines 3
|
|
|
|
Function: QP::QMActive::isInState
|
|
Parameters: (QMState const * const st)
|
|
Complexity Param 1 Return 1 Cyclo Vg 1 Total 3
|
|
LOC 3 eLOC 2 lLOC 1 Comment 1 Lines 3
|
|
|
|
Function: QP::QMActive::childStateObj
|
|
Parameters: (QMState const * const parent)
|
|
Complexity Param 1 Return 1 Cyclo Vg 1 Total 3
|
|
LOC 3 eLOC 2 lLOC 1 Comment 1 Lines 3
|
|
|
|
------------------------------------------------------------------------
|
|
|
|
~~ Total File Summary ~~
|
|
|
|
LOC 29 eLOC 21 lLOC 7 Comment 53 Lines 87
|
|
------------------------------------------------------------------------
|
|
|
|
~~ File Functional Summary ~~
|
|
|
|
File Function Count....: 6
|
|
Total Function LOC.....: 19 Total Function Pts LOC : 0.5
|
|
Total Function eLOC....: 12 Total Function Pts eLOC: 0.4
|
|
Total Function lLOC....: 7 Total Function Pts lLOC: 0.1
|
|
Total Function Params .: 5 Total Function Return .: 6
|
|
Total Cyclo Complexity : 6 Total Function Complex.: 17
|
|
------ ----- ----- ------ ------ -----
|
|
Max Function LOC ......: 4 Average Function LOC ..: 3.17
|
|
Max Function eLOC .....: 2 Average Function eLOC .: 2.00
|
|
Max Function lLOC .....: 2 Average Function lLOC .: 1.17
|
|
------ ----- ----- ------ ------ -----
|
|
Max Function Parameters: 1 Avg Function Parameters: 0.83
|
|
Max Function Returns ..: 1 Avg Function Returns ..: 1.00
|
|
Max Interface Complex. : 2 Avg Interface Complex. : 1.83
|
|
Max Cyclomatic Complex.: 1 Avg Cyclomatic Complex.: 1.00
|
|
Max Total Complexity ..: 3 Avg Total Complexity ..: 2.83
|
|
________________________________________________________________________
|
|
End of File: ..\src\qf\qf_qmact.cpp
|
|
|
|
|
|
File: ..\src\qf\qf_time.cpp
|
|
________________________________________________________________________
|
|
|
|
Function: QP::QF::tickX_
|
|
Parameters: (uint_fast8_t const tickRate)
|
|
Cyclomatic Complexity Vg Detail
|
|
Function Base : 1
|
|
Loops for / foreach : 1
|
|
Conditional if / else if: 5
|
|
Complexity Param 1 Return 1 Cyclo Vg 7 Total 9
|
|
LOC 66 eLOC 54 lLOC 36 Comment 55 Lines 95
|
|
|
|
Function: QP::QF::noTimeEvtsActiveX
|
|
Parameters: (uint_fast8_t const tickRate)
|
|
Cyclomatic Complexity Vg Detail
|
|
Function Base : 1
|
|
Conditional if / else if: 2
|
|
Complexity Param 1 Return 1 Cyclo Vg 3 Total 5
|
|
LOC 14 eLOC 10 lLOC 6 Comment 14 Lines 16
|
|
|
|
Function: QP::QTimeEvt::QTimeEvt
|
|
Parameters: (QActive * const act, enum_t const sgnl, uint_fast8_t const
|
|
tickRate) Defined By Compiler Directive
|
|
Cyclomatic Complexity Vg Detail
|
|
Function Base : 1
|
|
Logical and ( && ) : 1
|
|
Complexity Param 3 Return 1 Cyclo Vg 2 Total 6
|
|
LOC 9 eLOC 7 lLOC 4 Comment 22 Lines 22
|
|
|
|
Function: QP::QTimeEvt::QTimeEvt
|
|
Parameters: () Defined By Compiler Directive
|
|
Complexity Param 1 Return 1 Cyclo Vg 1 Total 3
|
|
LOC 7 eLOC 5 lLOC 3 Comment 12 Lines 18
|
|
|
|
Function: QP::QTimeEvt::armX
|
|
Parameters: (QTimeEvtCtr const nTicks, QTimeEvtCtr const interval)
|
|
Cyclomatic Complexity Vg Detail
|
|
Function Base : 1
|
|
Conditional if / else if: 1
|
|
Logical and ( && ) : 4
|
|
Complexity Param 2 Return 1 Cyclo Vg 6 Total 9
|
|
LOC 28 eLOC 26 lLOC 16 Comment 50 Lines 50
|
|
|
|
Function: QP::QTimeEvt::disarm
|
|
Parameters: (void)
|
|
Cyclomatic Complexity Vg Detail
|
|
Function Base : 1
|
|
Conditional if / else if: 1
|
|
Complexity Param 0 Return 1 Cyclo Vg 2 Total 3
|
|
LOC 30 eLOC 27 lLOC 17 Comment 29 Lines 38
|
|
|
|
Function: QP::QTimeEvt::rearm
|
|
Parameters: (QTimeEvtCtr const nTicks)
|
|
Cyclomatic Complexity Vg Detail
|
|
Function Base : 1
|
|
Conditional if / else if: 3
|
|
Logical and ( && ) : 3
|
|
Complexity Param 1 Return 1 Cyclo Vg 7 Total 9
|
|
LOC 42 eLOC 35 lLOC 20 Comment 49 Lines 68
|
|
|
|
Function: QP::QTimeEvt::ctr
|
|
Parameters: (void)
|
|
Complexity Param 0 Return 1 Cyclo Vg 1 Total 2
|
|
LOC 7 eLOC 6 lLOC 4 Comment 13 Lines 9
|
|
|
|
------------------------------------------------------------------------
|
|
|
|
~~ Total File Summary ~~
|
|
|
|
LOC 240 eLOC 206 lLOC 107 Comment 307 Lines 540
|
|
------------------------------------------------------------------------
|
|
|
|
~~ File Functional Summary ~~
|
|
|
|
File Function Count....: 8
|
|
Total Function LOC.....: 203 Total Function Pts LOC : 4.5
|
|
Total Function eLOC....: 170 Total Function Pts eLOC: 3.9
|
|
Total Function lLOC....: 106 Total Function Pts lLOC: 2.0
|
|
Total Function Params .: 9 Total Function Return .: 8
|
|
Total Cyclo Complexity : 29 Total Function Complex.: 46
|
|
------ ----- ----- ------ ------ -----
|
|
Max Function LOC ......: 66 Average Function LOC ..: 25.38
|
|
Max Function eLOC .....: 54 Average Function eLOC .: 21.25
|
|
Max Function lLOC .....: 36 Average Function lLOC .: 13.25
|
|
------ ----- ----- ------ ------ -----
|
|
Max Function Parameters: 3 Avg Function Parameters: 1.13
|
|
Max Function Returns ..: 1 Avg Function Returns ..: 1.00
|
|
Max Interface Complex. : 4 Avg Interface Complex. : 2.13
|
|
Max Cyclomatic Complex.: 7 Avg Cyclomatic Complex.: 3.63
|
|
Max Total Complexity ..: 9 Avg Total Complexity ..: 5.75
|
|
________________________________________________________________________
|
|
End of File: ..\src\qf\qf_time.cpp
|
|
|
|
|
|
File: ..\src\qv\qv.cpp
|
|
________________________________________________________________________
|
|
|
|
Function: QP::QF::stop
|
|
Parameters: (void)
|
|
Complexity Param 0 Return 1 Cyclo Vg 1 Total 2
|
|
LOC 3 eLOC 2 lLOC 1 Comment 13 Lines 4
|
|
|
|
Function: QP::QF::run
|
|
Parameters: (void)
|
|
Cyclomatic Complexity Vg Detail
|
|
Function Base : 1
|
|
Loops for / foreach : 1
|
|
Conditional if / else if: 3
|
|
Complexity Param 0 Return 1 Cyclo Vg 5 Total 6
|
|
LOC 47 eLOC 41 lLOC 21 Comment 44 Lines 73
|
|
|
|
Function: QP::QActive::start
|
|
Parameters: (uint_fast8_t const prio, QEvt const *qSto[], uint_fast16_t
|
|
const qLen, void * const stkSto, uint_fast16_t const, QEvt c
|
|
onst * const ie)
|
|
Cyclomatic Complexity Vg Detail
|
|
Function Base : 1
|
|
Logical and ( && ) : 2
|
|
Complexity Param 6 Return 1 Cyclo Vg 3 Total 10
|
|
LOC 10 eLOC 8 lLOC 6 Comment 26 Lines 16
|
|
|
|
Function: QP::QActive::stop
|
|
Parameters: (void)
|
|
Complexity Param 0 Return 1 Cyclo Vg 1 Total 2
|
|
LOC 7 eLOC 6 lLOC 4 Comment 14 Lines 8
|
|
|
|
------------------------------------------------------------------------
|
|
|
|
~~ Total File Summary ~~
|
|
|
|
LOC 101 eLOC 88 lLOC 40 Comment 163 Lines 260
|
|
------------------------------------------------------------------------
|
|
|
|
~~ File Functional Summary ~~
|
|
|
|
File Function Count....: 4
|
|
Total Function LOC.....: 67 Total Function Pts LOC : 1.9
|
|
Total Function eLOC....: 57 Total Function Pts eLOC: 1.7
|
|
Total Function lLOC....: 32 Total Function Pts lLOC: 0.8
|
|
Total Function Params .: 6 Total Function Return .: 4
|
|
Total Cyclo Complexity : 10 Total Function Complex.: 20
|
|
------ ----- ----- ------ ------ -----
|
|
Max Function LOC ......: 47 Average Function LOC ..: 16.75
|
|
Max Function eLOC .....: 41 Average Function eLOC .: 14.25
|
|
Max Function lLOC .....: 21 Average Function lLOC .: 8.00
|
|
------ ----- ----- ------ ------ -----
|
|
Max Function Parameters: 6 Avg Function Parameters: 1.50
|
|
Max Function Returns ..: 1 Avg Function Returns ..: 1.00
|
|
Max Interface Complex. : 7 Avg Interface Complex. : 2.50
|
|
Max Cyclomatic Complex.: 5 Avg Cyclomatic Complex.: 2.50
|
|
Max Total Complexity ..: 10 Avg Total Complexity ..: 5.00
|
|
________________________________________________________________________
|
|
End of File: ..\src\qv\qv.cpp
|
|
|
|
|
|
File: ..\src\qk\qk.cpp
|
|
________________________________________________________________________
|
|
|
|
Function: QP::QF::init
|
|
Parameters: (void)
|
|
Complexity Param 0 Return 1 Cyclo Vg 1 Total 2
|
|
LOC 14 eLOC 13 lLOC 9 Comment 14 Lines 17
|
|
|
|
Function: QP::QF::stop
|
|
Parameters: (void)
|
|
Complexity Param 0 Return 1 Cyclo Vg 1 Total 2
|
|
LOC 3 eLOC 2 lLOC 1 Comment 13 Lines 4
|
|
|
|
Function: QP::initial_events
|
|
Parameters: (void)
|
|
Cyclomatic Complexity Vg Detail
|
|
Function Base : 1
|
|
Conditional if / else if: 1
|
|
Complexity Param 0 Return 1 Cyclo Vg 2 Total 3
|
|
LOC 6 eLOC 4 lLOC 2 Comment 6 Lines 8
|
|
|
|
Function: QP::QF::run
|
|
Parameters: (void)
|
|
Cyclomatic Complexity Vg Detail
|
|
Function Base : 1
|
|
Loops for / foreach : 1
|
|
Complexity Param 0 Return 1 Cyclo Vg 2 Total 3
|
|
LOC 12 eLOC 10 lLOC 7 Comment 14 Lines 14
|
|
|
|
Function: QP::QActive::start
|
|
Parameters: (uint_fast8_t const prio, QEvt const *qSto[], uint_fast16_t
|
|
const qLen, void * const stkSto, uint_fast16_t const, QEvt c
|
|
onst * const ie)
|
|
Cyclomatic Complexity Vg Detail
|
|
Function Base : 1
|
|
Conditional if / else if: 1
|
|
Logical and ( && ) : 3
|
|
Complexity Param 6 Return 1 Cyclo Vg 5 Total 12
|
|
LOC 17 eLOC 14 lLOC 9 Comment 27 Lines 25
|
|
|
|
Function: QP::QActive::stop
|
|
Parameters: (void)
|
|
Cyclomatic Complexity Vg Detail
|
|
Function Base : 1
|
|
Conditional if / else if: 1
|
|
Complexity Param 0 Return 1 Cyclo Vg 2 Total 3
|
|
LOC 11 eLOC 9 lLOC 6 Comment 13 Lines 15
|
|
|
|
Function: QP::QK::schedLock
|
|
Parameters: (uint_fast8_t const ceiling)
|
|
Cyclomatic Complexity Vg Detail
|
|
Function Base : 1
|
|
Conditional if / else if: 1
|
|
Complexity Param 1 Return 1 Cyclo Vg 2 Total 4
|
|
LOC 23 eLOC 20 lLOC 12 Comment 31 Lines 33
|
|
|
|
Function: QP::QK::schedUnlock
|
|
Parameters: (QSchedStatus const stat)
|
|
Cyclomatic Complexity Vg Detail
|
|
Function Base : 1
|
|
Conditional if / else if: 2
|
|
Logical and ( && ) : 1
|
|
Complexity Param 1 Return 1 Cyclo Vg 4 Total 6
|
|
LOC 23 eLOC 20 lLOC 10 Comment 28 Lines 34
|
|
|
|
Function: static_cast<uint_fast8_t>
|
|
Parameters: (QK_attr_.actPrio))
|
|
Complexity Param 1 Return 1 Cyclo Vg 1 Total 3
|
|
LOC 3 eLOC 2 lLOC 1 Comment 2 Lines 3
|
|
|
|
Function: static_cast<uint_fast8_t>
|
|
Parameters: (QK_attr_.lockPrio))
|
|
Complexity Param 1 Return 1 Cyclo Vg 1 Total 3
|
|
LOC 3 eLOC 2 lLOC 1 Comment 2 Lines 3
|
|
|
|
Function: QK_activate_
|
|
Parameters: (void)
|
|
Cyclomatic Complexity Vg Detail
|
|
Function Base : 1
|
|
Loops while / do : 1
|
|
Conditional if / else if: 5
|
|
Inlined if-else ( ? : ) : 1
|
|
Logical or ( || ) : 3
|
|
Complexity Param 0 Return 1 Cyclo Vg 11 Total 12
|
|
LOC 71 eLOC 63 lLOC 31 Comment 50 Lines 105
|
|
|
|
------------------------------------------------------------------------
|
|
|
|
~~ Total File Summary ~~
|
|
|
|
LOC 219 eLOC 187 lLOC 95 Comment 268 Lines 482
|
|
------------------------------------------------------------------------
|
|
|
|
~~ File Functional Summary ~~
|
|
|
|
File Function Count....: 11
|
|
Total Function LOC.....: 186 Total Function Pts LOC : 4.1
|
|
Total Function eLOC....: 159 Total Function Pts eLOC: 3.5
|
|
Total Function lLOC....: 89 Total Function Pts lLOC: 1.8
|
|
Total Function Params .: 10 Total Function Return .: 11
|
|
Total Cyclo Complexity : 32 Total Function Complex.: 53
|
|
------ ----- ----- ------ ------ -----
|
|
Max Function LOC ......: 71 Average Function LOC ..: 16.91
|
|
Max Function eLOC .....: 63 Average Function eLOC .: 14.45
|
|
Max Function lLOC .....: 31 Average Function lLOC .: 8.09
|
|
------ ----- ----- ------ ------ -----
|
|
Max Function Parameters: 6 Avg Function Parameters: 0.91
|
|
Max Function Returns ..: 1 Avg Function Returns ..: 1.00
|
|
Max Interface Complex. : 7 Avg Interface Complex. : 1.91
|
|
Max Cyclomatic Complex.: 11 Avg Cyclomatic Complex.: 2.91
|
|
Max Total Complexity ..: 12 Avg Total Complexity ..: 4.82
|
|
________________________________________________________________________
|
|
End of File: ..\src\qk\qk.cpp
|
|
|
|
|
|
File: ..\src\qxk\qxk.cpp
|
|
________________________________________________________________________
|
|
|
|
Inline Function: QP::QXKIdleThread::QXKIdleThread
|
|
Parameters: ()
|
|
Complexity Param 0 Return 1 Cyclo Vg 1 Total 2
|
|
LOC 1 eLOC 1 lLOC 0 Comment 0 Lines 1
|
|
|
|
Function: QP::QF::init
|
|
Parameters: (void)
|
|
Complexity Param 0 Return 1 Cyclo Vg 1 Total 2
|
|
LOC 16 eLOC 15 lLOC 12 Comment 16 Lines 22
|
|
|
|
Function: QP::QF::stop
|
|
Parameters: (void)
|
|
Complexity Param 0 Return 1 Cyclo Vg 1 Total 2
|
|
LOC 3 eLOC 2 lLOC 1 Comment 13 Lines 4
|
|
|
|
Function: QP::initial_events
|
|
Parameters: (void)
|
|
Cyclomatic Complexity Vg Detail
|
|
Function Base : 1
|
|
Conditional if / else if: 1
|
|
Complexity Param 0 Return 1 Cyclo Vg 2 Total 3
|
|
LOC 6 eLOC 4 lLOC 2 Comment 6 Lines 8
|
|
|
|
Function: QP::QF::run
|
|
Parameters: (void)
|
|
Cyclomatic Complexity Vg Detail
|
|
Function Base : 1
|
|
Loops for / foreach : 1
|
|
Complexity Param 0 Return 1 Cyclo Vg 2 Total 3
|
|
LOC 12 eLOC 10 lLOC 7 Comment 12 Lines 15
|
|
|
|
Function: QP::QActive::start
|
|
Parameters: (uint_fast8_t const prio, QEvt const *qSto[], uint_fast16_t
|
|
const qLen, void * const stkSto, uint_fast16_t const stkSize
|
|
, QEvt const * const ie)
|
|
Cyclomatic Complexity Vg Detail
|
|
Function Base : 1
|
|
Conditional if / else if: 1
|
|
Logical and ( && ) : 4
|
|
Complexity Param 6 Return 1 Cyclo Vg 6 Total 13
|
|
LOC 20 eLOC 17 lLOC 11 Comment 30 Lines 29
|
|
|
|
Function: QP::QActive::stop
|
|
Parameters: (void)
|
|
Cyclomatic Complexity Vg Detail
|
|
Function Base : 1
|
|
Conditional if / else if: 1
|
|
Complexity Param 0 Return 1 Cyclo Vg 2 Total 3
|
|
LOC 11 eLOC 9 lLOC 6 Comment 13 Lines 15
|
|
|
|
Function: QP::QXK::schedLock
|
|
Parameters: (uint_fast8_t const ceiling)
|
|
Cyclomatic Complexity Vg Detail
|
|
Function Base : 1
|
|
Conditional if / else if: 1
|
|
Inlined if-else ( ? : ) : 1
|
|
Complexity Param 1 Return 1 Cyclo Vg 3 Total 5
|
|
LOC 26 eLOC 23 lLOC 12 Comment 29 Lines 35
|
|
|
|
Function: QP::QXK::schedUnlock
|
|
Parameters: (QSchedStatus const stat)
|
|
Cyclomatic Complexity Vg Detail
|
|
Function Base : 1
|
|
Conditional if / else if: 2
|
|
Logical and ( && ) : 1
|
|
Complexity Param 1 Return 1 Cyclo Vg 4 Total 6
|
|
LOC 23 eLOC 20 lLOC 10 Comment 28 Lines 34
|
|
|
|
Function: static_cast<uint_fast8_t>
|
|
Parameters: (QXK_attr_.lockPrio))
|
|
Cyclomatic Complexity Vg Detail
|
|
Function Base : 1
|
|
Logical or ( || ) : 1
|
|
Complexity Param 1 Return 1 Cyclo Vg 2 Total 4
|
|
LOC 5 eLOC 4 lLOC 2 Comment 1 Lines 5
|
|
|
|
Function: static_cast<QP::QActive*>
|
|
Parameters: (0))
|
|
Cyclomatic Complexity Vg Detail
|
|
Function Base : 1
|
|
Conditional if / else if: 2
|
|
Complexity Param 1 Return 1 Cyclo Vg 3 Total 5
|
|
LOC 23 eLOC 18 lLOC 8 Comment 9 Lines 27
|
|
|
|
Function: QXK_activate_
|
|
Parameters: (void)
|
|
Cyclomatic Complexity Vg Detail
|
|
Function Base : 1
|
|
Loops while / do : 1
|
|
Conditional if / else if: 6
|
|
Inlined if-else ( ? : ) : 1
|
|
Logical or ( || ) : 4
|
|
Complexity Param 0 Return 1 Cyclo Vg 13 Total 14
|
|
LOC 90 eLOC 80 lLOC 40 Comment 60 Lines 131
|
|
|
|
Function: QXK_current
|
|
Parameters: (void)
|
|
Cyclomatic Complexity Vg Detail
|
|
Function Base : 1
|
|
Conditional if / else if: 1
|
|
Complexity Param 0 Return 1 Cyclo Vg 2 Total 3
|
|
LOC 14 eLOC 12 lLOC 8 Comment 4 Lines 21
|
|
|
|
------------------------------------------------------------------------
|
|
|
|
~~ Total File Summary ~~
|
|
|
|
LOC 304 eLOC 261 lLOC 134 Comment 298 Lines 596
|
|
------------------------------------------------------------------------
|
|
|
|
~~ File Functional Summary ~~
|
|
|
|
File Function Count....: 13
|
|
Total Function LOC.....: 250 Total Function Pts LOC : 5.7
|
|
Total Function eLOC....: 215 Total Function Pts eLOC: 4.9
|
|
Total Function lLOC....: 119 Total Function Pts lLOC: 2.5
|
|
Total Function Params .: 10 Total Function Return .: 13
|
|
Total Cyclo Complexity : 42 Total Function Complex.: 65
|
|
------ ----- ----- ------ ------ -----
|
|
Max Function LOC ......: 90 Average Function LOC ..: 19.23
|
|
Max Function eLOC .....: 80 Average Function eLOC .: 16.54
|
|
Max Function lLOC .....: 40 Average Function lLOC .: 9.15
|
|
------ ----- ----- ------ ------ -----
|
|
Max Function Parameters: 6 Avg Function Parameters: 0.77
|
|
Max Function Returns ..: 1 Avg Function Returns ..: 1.00
|
|
Max Interface Complex. : 7 Avg Interface Complex. : 1.77
|
|
Max Cyclomatic Complex.: 13 Avg Cyclomatic Complex.: 3.23
|
|
Max Total Complexity ..: 14 Avg Total Complexity ..: 5.00
|
|
________________________________________________________________________
|
|
End of File: ..\src\qxk\qxk.cpp
|
|
|
|
|
|
File: ..\src\qxk\qxk_mutex.cpp
|
|
________________________________________________________________________
|
|
|
|
Function: QP::QXMutex::init
|
|
Parameters: (uint_fast8_t const ceiling)
|
|
Cyclomatic Complexity Vg Detail
|
|
Function Base : 1
|
|
Conditional if / else if: 1
|
|
Logical or ( || ) : 1
|
|
Logical and ( && ) : 1
|
|
Complexity Param 1 Return 1 Cyclo Vg 4 Total 6
|
|
LOC 16 eLOC 14 lLOC 8 Comment 30 Lines 24
|
|
|
|
Function: QP::QXMutex::lock
|
|
Parameters: (uint_fast16_t const nTicks)
|
|
Cyclomatic Complexity Vg Detail
|
|
Function Base : 1
|
|
Conditional if / else if: 4
|
|
Logical or ( || ) : 1
|
|
Logical and ( && ) : 4
|
|
Complexity Param 1 Return 1 Cyclo Vg 10 Total 12
|
|
LOC 56 eLOC 50 lLOC 29 Comment 51 Lines 93
|
|
|
|
Function: QP::QXMutex::tryLock
|
|
Parameters: (void)
|
|
Cyclomatic Complexity Vg Detail
|
|
Function Base : 1
|
|
Conditional if / else if: 5
|
|
Logical or ( || ) : 1
|
|
Logical and ( && ) : 5
|
|
Complexity Param 0 Return 1 Cyclo Vg 12 Total 13
|
|
LOC 47 eLOC 40 lLOC 20 Comment 42 Lines 71
|
|
|
|
Function: QP::QXMutex::unlock
|
|
Parameters: (void)
|
|
Cyclomatic Complexity Vg Detail
|
|
Function Base : 1
|
|
Conditional if / else if: 7
|
|
Logical or ( || ) : 2
|
|
Logical and ( && ) : 8
|
|
Complexity Param 0 Return 1 Cyclo Vg 18 Total 19
|
|
LOC 67 eLOC 57 lLOC 27 Comment 61 Lines 112
|
|
|
|
------------------------------------------------------------------------
|
|
|
|
~~ Total File Summary ~~
|
|
|
|
LOC 201 eLOC 175 lLOC 84 Comment 233 Lines 443
|
|
------------------------------------------------------------------------
|
|
|
|
~~ File Functional Summary ~~
|
|
|
|
File Function Count....: 4
|
|
Total Function LOC.....: 186 Total Function Pts LOC : 3.8
|
|
Total Function eLOC....: 161 Total Function Pts eLOC: 3.3
|
|
Total Function lLOC....: 84 Total Function Pts lLOC: 1.6
|
|
Total Function Params .: 2 Total Function Return .: 4
|
|
Total Cyclo Complexity : 44 Total Function Complex.: 50
|
|
------ ----- ----- ------ ------ -----
|
|
Max Function LOC ......: 67 Average Function LOC ..: 46.50
|
|
Max Function eLOC .....: 57 Average Function eLOC .: 40.25
|
|
Max Function lLOC .....: 29 Average Function lLOC .: 21.00
|
|
------ ----- ----- ------ ------ -----
|
|
Max Function Parameters: 1 Avg Function Parameters: 0.50
|
|
Max Function Returns ..: 1 Avg Function Returns ..: 1.00
|
|
Max Interface Complex. : 2 Avg Interface Complex. : 1.50
|
|
Max Cyclomatic Complex.: 18 Avg Cyclomatic Complex.: 11.00
|
|
Max Total Complexity ..: 19 Avg Total Complexity ..: 12.50
|
|
________________________________________________________________________
|
|
End of File: ..\src\qxk\qxk_mutex.cpp
|
|
|
|
|
|
File: ..\src\qxk\qxk_sema.cpp
|
|
________________________________________________________________________
|
|
|
|
Function: QP::QXSemaphore::init
|
|
Parameters: (uint_fast16_t const count, uint_fast16_t const max_count)
|
|
Complexity Param 2 Return 1 Cyclo Vg 1 Total 4
|
|
LOC 6 eLOC 4 lLOC 4 Comment 19 Lines 7
|
|
|
|
Function: QP::QXSemaphore::wait
|
|
Parameters: (uint_fast16_t const nTicks)
|
|
Cyclomatic Complexity Vg Detail
|
|
Function Base : 1
|
|
Conditional if / else if: 1
|
|
Logical and ( && ) : 3
|
|
Complexity Param 1 Return 1 Cyclo Vg 5 Total 7
|
|
LOC 28 eLOC 25 lLOC 17 Comment 36 Lines 41
|
|
|
|
Function: QP::QXSemaphore::tryWait
|
|
Parameters: (void)
|
|
Cyclomatic Complexity Vg Detail
|
|
Function Base : 1
|
|
Conditional if / else if: 1
|
|
Complexity Param 0 Return 1 Cyclo Vg 2 Total 3
|
|
LOC 15 eLOC 12 lLOC 8 Comment 16 Lines 20
|
|
|
|
Function: QP::QXSemaphore::signal
|
|
Parameters: (void)
|
|
Cyclomatic Complexity Vg Detail
|
|
Function Base : 1
|
|
Conditional if / else if: 3
|
|
Logical and ( && ) : 3
|
|
Complexity Param 0 Return 1 Cyclo Vg 7 Total 8
|
|
LOC 30 eLOC 24 lLOC 14 Comment 30 Lines 43
|
|
|
|
------------------------------------------------------------------------
|
|
|
|
~~ Total File Summary ~~
|
|
|
|
LOC 96 eLOC 81 lLOC 43 Comment 149 Lines 246
|
|
------------------------------------------------------------------------
|
|
|
|
~~ File Functional Summary ~~
|
|
|
|
File Function Count....: 4
|
|
Total Function LOC.....: 79 Total Function Pts LOC : 1.8
|
|
Total Function eLOC....: 65 Total Function Pts eLOC: 1.5
|
|
Total Function lLOC....: 43 Total Function Pts lLOC: 0.8
|
|
Total Function Params .: 3 Total Function Return .: 4
|
|
Total Cyclo Complexity : 15 Total Function Complex.: 22
|
|
------ ----- ----- ------ ------ -----
|
|
Max Function LOC ......: 30 Average Function LOC ..: 19.75
|
|
Max Function eLOC .....: 25 Average Function eLOC .: 16.25
|
|
Max Function lLOC .....: 17 Average Function lLOC .: 10.75
|
|
------ ----- ----- ------ ------ -----
|
|
Max Function Parameters: 2 Avg Function Parameters: 0.75
|
|
Max Function Returns ..: 1 Avg Function Returns ..: 1.00
|
|
Max Interface Complex. : 3 Avg Interface Complex. : 1.75
|
|
Max Cyclomatic Complex.: 7 Avg Cyclomatic Complex.: 3.75
|
|
Max Total Complexity ..: 8 Avg Total Complexity ..: 5.50
|
|
________________________________________________________________________
|
|
End of File: ..\src\qxk\qxk_sema.cpp
|
|
|
|
|
|
File: ..\src\qxk\qxk_xthr.cpp
|
|
________________________________________________________________________
|
|
|
|
Function: QP::QXThread::QXThread
|
|
Parameters: (QXThreadHandler const handler, uint_fast8_t const tickRate)
|
|
Complexity Param 2 Return 1 Cyclo Vg 1 Total 4
|
|
LOC 3 eLOC 1 lLOC 1 Comment 19 Lines 3
|
|
|
|
Function: QP::QXThread::init
|
|
Parameters: (QEvt const * const)
|
|
Complexity Param 1 Return 1 Cyclo Vg 1 Total 3
|
|
LOC 3 eLOC 2 lLOC 1 Comment 3 Lines 3
|
|
|
|
Function: QP::QXThread::dispatch
|
|
Parameters: (QEvt const * const)
|
|
Complexity Param 1 Return 1 Cyclo Vg 1 Total 3
|
|
LOC 3 eLOC 2 lLOC 1 Comment 2 Lines 3
|
|
|
|
Function: QP::QXThread::start
|
|
Parameters: (uint_fast8_t const prio, QEvt const *qSto[], uint_fast16_t
|
|
const qLen, void * const stkSto, uint_fast16_t const stkSize
|
|
, QEvt const * const)
|
|
Cyclomatic Complexity Vg Detail
|
|
Function Base : 1
|
|
Conditional if / else if: 1
|
|
Logical and ( && ) : 4
|
|
Complexity Param 6 Return 1 Cyclo Vg 6 Total 13
|
|
LOC 21 eLOC 18 lLOC 11 Comment 35 Lines 39
|
|
|
|
Function: QP::QXThread::post_
|
|
Parameters: (QEvt const * const e, uint_fast16_t const margin)
|
|
Cyclomatic Complexity Vg Detail
|
|
Function Base : 1
|
|
Conditional if / else if: 9
|
|
Logical or ( || ) : 1
|
|
Logical and ( && ) : 1
|
|
Complexity Param 2 Return 1 Cyclo Vg 12 Total 15
|
|
LOC 82 eLOC 66 lLOC 44 Comment 72 Lines 115
|
|
|
|
Function: QP::QXThread::postLIFO
|
|
Parameters: (QEvt const * const)
|
|
Complexity Param 1 Return 1 Cyclo Vg 1 Total 3
|
|
LOC 3 eLOC 2 lLOC 1 Comment 10 Lines 3
|
|
|
|
Function: QP::QXThread::queueGet
|
|
Parameters: (uint_fast16_t const nTicks)
|
|
Cyclomatic Complexity Vg Detail
|
|
Function Base : 1
|
|
Conditional if / else if: 4
|
|
Logical and ( && ) : 3
|
|
Complexity Param 1 Return 1 Cyclo Vg 8 Total 10
|
|
LOC 61 eLOC 54 lLOC 34 Comment 53 Lines 88
|
|
|
|
Function: QP::QXThread::block_
|
|
Parameters: (void)
|
|
Complexity Param 0 Return 1 Cyclo Vg 1 Total 2
|
|
LOC 5 eLOC 4 lLOC 3 Comment 8 Lines 6
|
|
|
|
Function: QP::QXThread::unblock_
|
|
Parameters: (void)
|
|
Cyclomatic Complexity Vg Detail
|
|
Function Base : 1
|
|
Conditional if / else if: 1
|
|
Logical and ( && ) : 1
|
|
Complexity Param 0 Return 1 Cyclo Vg 3 Total 4
|
|
LOC 8 eLOC 5 lLOC 2 Comment 9 Lines 9
|
|
|
|
Function: QP::QXThread::teArm_
|
|
Parameters: (enum_t const sig, uint_fast16_t const nTicks)
|
|
Cyclomatic Complexity Vg Detail
|
|
Function Base : 1
|
|
Conditional if / else if: 2
|
|
Complexity Param 2 Return 1 Cyclo Vg 3 Total 6
|
|
LOC 18 eLOC 14 lLOC 8 Comment 20 Lines 33
|
|
|
|
Function: QP::QXThread::teDisarm_
|
|
Parameters: (void)
|
|
Cyclomatic Complexity Vg Detail
|
|
Function Base : 1
|
|
Conditional if / else if: 1
|
|
Complexity Param 0 Return 1 Cyclo Vg 2 Total 3
|
|
LOC 11 eLOC 8 lLOC 5 Comment 10 Lines 14
|
|
|
|
Function: QP::QXThread::delay
|
|
Parameters: (uint_fast16_t const nTicks)
|
|
Cyclomatic Complexity Vg Detail
|
|
Function Base : 1
|
|
Logical and ( && ) : 3
|
|
Complexity Param 1 Return 1 Cyclo Vg 4 Total 6
|
|
LOC 20 eLOC 19 lLOC 13 Comment 17 Lines 34
|
|
|
|
Function: QP::QXThread::delayCancel
|
|
Parameters: (void)
|
|
Cyclomatic Complexity Vg Detail
|
|
Function Base : 1
|
|
Conditional if / else if: 1
|
|
Complexity Param 0 Return 1 Cyclo Vg 2 Total 3
|
|
LOC 14 eLOC 11 lLOC 7 Comment 2 Lines 16
|
|
|
|
Function: QXK_threadRet_
|
|
Parameters: (void)
|
|
Cyclomatic Complexity Vg Detail
|
|
Function Base : 1
|
|
Logical and ( && ) : 3
|
|
Complexity Param 0 Return 1 Cyclo Vg 4 Total 5
|
|
LOC 14 eLOC 13 lLOC 8 Comment 19 Lines 24
|
|
|
|
------------------------------------------------------------------------
|
|
|
|
~~ Total File Summary ~~
|
|
|
|
LOC 298 eLOC 249 lLOC 139 Comment 329 Lines 628
|
|
------------------------------------------------------------------------
|
|
|
|
~~ File Functional Summary ~~
|
|
|
|
File Function Count....: 14
|
|
Total Function LOC.....: 266 Total Function Pts LOC : 5.6
|
|
Total Function eLOC....: 219 Total Function Pts eLOC: 4.7
|
|
Total Function lLOC....: 139 Total Function Pts lLOC: 2.6
|
|
Total Function Params .: 17 Total Function Return .: 14
|
|
Total Cyclo Complexity : 49 Total Function Complex.: 80
|
|
------ ----- ----- ------ ------ -----
|
|
Max Function LOC ......: 82 Average Function LOC ..: 19.00
|
|
Max Function eLOC .....: 66 Average Function eLOC .: 15.64
|
|
Max Function lLOC .....: 44 Average Function lLOC .: 9.93
|
|
------ ----- ----- ------ ------ -----
|
|
Max Function Parameters: 6 Avg Function Parameters: 1.21
|
|
Max Function Returns ..: 1 Avg Function Returns ..: 1.00
|
|
Max Interface Complex. : 7 Avg Interface Complex. : 2.21
|
|
Max Cyclomatic Complex.: 12 Avg Cyclomatic Complex.: 3.50
|
|
Max Total Complexity ..: 15 Avg Total Complexity ..: 5.71
|
|
________________________________________________________________________
|
|
End of File: ..\src\qxk\qxk_xthr.cpp
|
|
|
|
|
|
------------------------------------------------------------------------
|
|
|
|
~~ Project Analysis For 35 Files ~~
|
|
|
|
------------------------------------------------------------------------
|
|
|
|
~~ Total Project Summary ~~
|
|
|
|
LOC 4983 eLOC 4407 lLOC 1949 Comment 6602 Lines 11912
|
|
Average per File, metric/35 files
|
|
LOC 142 eLOC 125 lLOC 55 Comment 188 Lines 340
|
|
|
|
------------------------------------------------------------------------
|
|
|
|
~~ Project Functional Metrics ~~
|
|
|
|
Function: QP::QEvt::QEvt
|
|
Parameters: (QSignal const s)
|
|
Complexity Param 1 Return 1 Cyclo Vg 1 Total 3
|
|
LOC 1 eLOC 1 lLOC 0 Comment 2 Lines 1
|
|
|
|
Function: QP::QEvt::QEvt
|
|
Parameters: (QSignal const s, StaticEvt)
|
|
Complexity Param 2 Return 1 Cyclo Vg 1 Total 4
|
|
LOC 1 eLOC 1 lLOC 0 Comment 2 Lines 1
|
|
|
|
Function: QP::QEvt::~QEvt
|
|
Parameters: ()
|
|
Complexity Param 0 Return 1 Cyclo Vg 1 Total 2
|
|
LOC 1 eLOC 1 lLOC 0 Comment 1 Lines 1
|
|
|
|
Function: QP::QHsm::init
|
|
Parameters: (void)
|
|
Complexity Param 0 Return 1 Cyclo Vg 1 Total 2
|
|
LOC 1 eLOC 1 lLOC 1 Comment 1 Lines 1
|
|
|
|
Function: QP::QHsm::state
|
|
Parameters: (void)
|
|
Complexity Param 0 Return 1 Cyclo Vg 1 Total 2
|
|
LOC 3 eLOC 2 lLOC 1 Comment 2 Lines 3
|
|
|
|
Function: QP::QHsm::Q_HANDLED
|
|
Parameters: (void)
|
|
Complexity Param 0 Return 1 Cyclo Vg 1 Total 2
|
|
LOC 3 eLOC 2 lLOC 1 Comment 3 Lines 3
|
|
|
|
Function: QP::QHsm::Q_UNHANDLED
|
|
Parameters: (void)
|
|
Complexity Param 0 Return 1 Cyclo Vg 1 Total 2
|
|
LOC 3 eLOC 2 lLOC 1 Comment 4 Lines 3
|
|
|
|
Function: QP::QHsm::tran_
|
|
Parameters: (QStateHandler const target)
|
|
Complexity Param 1 Return 1 Cyclo Vg 1 Total 3
|
|
LOC 4 eLOC 3 lLOC 2 Comment 1 Lines 4
|
|
|
|
Function: QP::QHsm::tran_hist_
|
|
Parameters: (QStateHandler const hist)
|
|
Complexity Param 1 Return 1 Cyclo Vg 1 Total 3
|
|
LOC 4 eLOC 3 lLOC 2 Comment 1 Lines 4
|
|
|
|
Function: QP::QHsm::super_
|
|
Parameters: (QStateHandler const superstate)
|
|
Complexity Param 1 Return 1 Cyclo Vg 1 Total 3
|
|
LOC 4 eLOC 3 lLOC 2 Comment 1 Lines 4
|
|
|
|
Function: QP::QHsm::qm_tran_
|
|
Parameters: (QMTranActTable const * const tatbl)
|
|
Complexity Param 1 Return 1 Cyclo Vg 1 Total 3
|
|
LOC 4 eLOC 3 lLOC 2 Comment 2 Lines 4
|
|
|
|
Function: QP::QHsm::qm_tran_hist_
|
|
Parameters: (QMState const * const hist, QMTranActTable const * const ta
|
|
tbl)
|
|
Complexity Param 2 Return 1 Cyclo Vg 1 Total 4
|
|
LOC 5 eLOC 3 lLOC 3 Comment 1 Lines 5
|
|
|
|
Function: QP::QHsm::qm_tran_init_
|
|
Parameters: (QMTranActTable const * const tatbl)
|
|
Complexity Param 1 Return 1 Cyclo Vg 1 Total 3
|
|
LOC 4 eLOC 3 lLOC 2 Comment 1 Lines 4
|
|
|
|
Function: QP::QHsm::qm_tran_ep_
|
|
Parameters: (QMTranActTable const * const tatbl)
|
|
Complexity Param 1 Return 1 Cyclo Vg 1 Total 3
|
|
LOC 4 eLOC 3 lLOC 2 Comment 2 Lines 4
|
|
|
|
Function: QP::QHsm::qm_tran_xp_
|
|
Parameters: (QActionHandler const xp, QMTranActTable const *const tatbl)
|
|
Complexity Param 2 Return 1 Cyclo Vg 1 Total 4
|
|
LOC 5 eLOC 3 lLOC 3 Comment 2 Lines 5
|
|
|
|
Function: QP::QHsm::qm_entry_
|
|
Parameters: (QMState const * const s)
|
|
Complexity Param 1 Return 1 Cyclo Vg 1 Total 3
|
|
LOC 4 eLOC 3 lLOC 2 Comment 1 Lines 4
|
|
|
|
Function: QP::QHsm::qm_exit_
|
|
Parameters: (QMState const * const s)
|
|
Complexity Param 1 Return 1 Cyclo Vg 1 Total 3
|
|
LOC 4 eLOC 3 lLOC 2 Comment 1 Lines 4
|
|
|
|
Function: QP::QHsm::qm_super_sub_
|
|
Parameters: (QMState const * const s)
|
|
Complexity Param 1 Return 1 Cyclo Vg 1 Total 3
|
|
LOC 4 eLOC 3 lLOC 2 Comment 2 Lines 4
|
|
|
|
Function: QP::QHsm::QM_HANDLED
|
|
Parameters: (void)
|
|
Complexity Param 0 Return 1 Cyclo Vg 1 Total 2
|
|
LOC 3 eLOC 2 lLOC 1 Comment 2 Lines 3
|
|
|
|
Function: QP::QHsm::QM_UNHANDLED
|
|
Parameters: (void)
|
|
Complexity Param 0 Return 1 Cyclo Vg 1 Total 2
|
|
LOC 3 eLOC 2 lLOC 1 Comment 2 Lines 3
|
|
|
|
Function: QP::QHsm::QM_SUPER
|
|
Parameters: (void)
|
|
Complexity Param 0 Return 1 Cyclo Vg 1 Total 2
|
|
LOC 3 eLOC 2 lLOC 1 Comment 2 Lines 3
|
|
|
|
Function: QP::QMsm::init
|
|
Parameters: (void)
|
|
Complexity Param 0 Return 1 Cyclo Vg 1 Total 2
|
|
LOC 1 eLOC 1 lLOC 1 Comment 2 Lines 1
|
|
|
|
Function: QP::QMsm::stateObj
|
|
Parameters: (void) Non-ANSI Parameter Construct
|
|
Complexity Param 1 Return 1 Cyclo Vg 1 Total 3
|
|
LOC 3 eLOC 2 lLOC 1 Comment 1 Lines 3
|
|
|
|
Function: QP::QEP::getVersion
|
|
Parameters: (void) Non-ANSI Parameter Construct
|
|
Complexity Param 1 Return 1 Cyclo Vg 1 Total 3
|
|
LOC 3 eLOC 2 lLOC 1 Comment 1 Lines 3
|
|
|
|
Function: QP::QEQueue::getNFree
|
|
Parameters: (void)
|
|
Complexity Param 0 Return 1 Cyclo Vg 1 Total 2
|
|
LOC 3 eLOC 2 lLOC 1 Comment 10 Lines 3
|
|
|
|
Function: QP::QEQueue::getNMin
|
|
Parameters: (void)
|
|
Complexity Param 0 Return 1 Cyclo Vg 1 Total 2
|
|
LOC 3 eLOC 2 lLOC 1 Comment 11 Lines 3
|
|
|
|
Function: QP::QEQueue::isEmpty
|
|
Parameters: (void)
|
|
Complexity Param 0 Return 1 Cyclo Vg 1 Total 2
|
|
LOC 3 eLOC 2 lLOC 1 Comment 10 Lines 3
|
|
|
|
Function: QP::QActive::start
|
|
Parameters: (uint_fast8_t const prio, QEvt const *qSto[], uint_fast16_t
|
|
const qLen, void * const stkSto, uint_fast16_t const stkSize
|
|
)
|
|
Complexity Param 5 Return 1 Cyclo Vg 1 Total 7
|
|
LOC 4 eLOC 2 lLOC 1 Comment 1 Lines 4
|
|
|
|
Function: QP::QActive::getPrio
|
|
Parameters: (void) Non-ANSI Parameter Construct
|
|
Complexity Param 1 Return 1 Cyclo Vg 1 Total 3
|
|
LOC 3 eLOC 2 lLOC 1 Comment 1 Lines 3
|
|
|
|
Function: QP::QActive::setPrio
|
|
Parameters: (uint_fast8_t const prio)
|
|
Complexity Param 1 Return 1 Cyclo Vg 1 Total 3
|
|
LOC 3 eLOC 2 lLOC 1 Comment 1 Lines 3
|
|
|
|
Function: QP::QActive::getOsObject
|
|
Parameters: (void)
|
|
Complexity Param 0 Return 1 Cyclo Vg 1 Total 2
|
|
LOC 1 eLOC 1 lLOC 1 Comment 2 Lines 1
|
|
|
|
Function: QP::QActive::getThread
|
|
Parameters: (void)
|
|
Complexity Param 0 Return 1 Cyclo Vg 1 Total 2
|
|
LOC 1 eLOC 1 lLOC 1 Comment 2 Lines 1
|
|
|
|
Function: QP::QMActive::stateObj
|
|
Parameters: (void) Non-ANSI Parameter Construct
|
|
Complexity Param 1 Return 1 Cyclo Vg 1 Total 3
|
|
LOC 3 eLOC 2 lLOC 1 Comment 1 Lines 3
|
|
|
|
Function: QP::QTimeEvt::QTimeEvt
|
|
Parameters: (enum_t const sgnl) Non-ANSI Parameter Construct Defined By
|
|
Compiler Directive
|
|
Complexity Param 1 Return 1 Cyclo Vg 1 Total 3
|
|
LOC 7 eLOC 5 lLOC 3 Comment 7 Lines 8
|
|
|
|
Function: QP::QTimeEvt::postIn
|
|
Parameters: (QActive * const act, QTimeEvtCtr const nTicks)
|
|
Complexity Param 2 Return 1 Cyclo Vg 1 Total 4
|
|
LOC 4 eLOC 3 lLOC 2 Comment 1 Lines 4
|
|
|
|
Function: QP::QTimeEvt::postEvery
|
|
Parameters: (QActive * const act, QTimeEvtCtr const nTicks)
|
|
Complexity Param 2 Return 1 Cyclo Vg 1 Total 4
|
|
LOC 4 eLOC 3 lLOC 2 Comment 1 Lines 4
|
|
|
|
Function: QP::QTimeEvt::toActive
|
|
Parameters: (void)
|
|
Complexity Param 0 Return 1 Cyclo Vg 1 Total 2
|
|
LOC 1 eLOC 1 lLOC 1 Comment 1 Lines 1
|
|
|
|
Function: QP::QTimeEvt::toTimeEvt
|
|
Parameters: (void)
|
|
Complexity Param 0 Return 1 Cyclo Vg 1 Total 2
|
|
LOC 1 eLOC 1 lLOC 1 Comment 1 Lines 1
|
|
|
|
Function: QP::QF::getVersion
|
|
Parameters: (void)
|
|
Complexity Param 0 Return 1 Cyclo Vg 1 Total 2
|
|
LOC 3 eLOC 2 lLOC 1 Comment 1 Lines 3
|
|
|
|
Function: QP::QTicker::init
|
|
Parameters: (void)
|
|
Complexity Param 0 Return 1 Cyclo Vg 1 Total 2
|
|
LOC 1 eLOC 1 lLOC 1 Comment 0 Lines 1
|
|
|
|
Function: QP::QK::getVersion
|
|
Parameters: (void)
|
|
Complexity Param 0 Return 1 Cyclo Vg 1 Total 2
|
|
LOC 3 eLOC 2 lLOC 1 Comment 1 Lines 3
|
|
|
|
Function: QP::QMPool::getBlockSize
|
|
Parameters: (void)
|
|
Complexity Param 0 Return 1 Cyclo Vg 1 Total 2
|
|
LOC 3 eLOC 2 lLOC 1 Comment 1 Lines 3
|
|
|
|
Function: QP::QPSet::setEmpty
|
|
Parameters: (void)
|
|
Complexity Param 0 Return 1 Cyclo Vg 1 Total 2
|
|
LOC 3 eLOC 2 lLOC 1 Comment 1 Lines 3
|
|
|
|
Function: QP::QPSet::isEmpty
|
|
Parameters: (void)
|
|
Complexity Param 0 Return 1 Cyclo Vg 1 Total 2
|
|
LOC 3 eLOC 2 lLOC 1 Comment 1 Lines 3
|
|
|
|
Function: QP::QPSet::notEmpty
|
|
Parameters: (void)
|
|
Complexity Param 0 Return 1 Cyclo Vg 1 Total 2
|
|
LOC 3 eLOC 2 lLOC 1 Comment 1 Lines 3
|
|
|
|
Function: QP::QPSet::hasElement
|
|
Parameters: (uint_fast8_t const n)
|
|
Complexity Param 1 Return 1 Cyclo Vg 1 Total 3
|
|
LOC 5 eLOC 4 lLOC 1 Comment 1 Lines 5
|
|
|
|
Function: QP::QPSet::insert
|
|
Parameters: (uint_fast8_t const n)
|
|
Complexity Param 1 Return 1 Cyclo Vg 1 Total 3
|
|
LOC 4 eLOC 3 lLOC 1 Comment 1 Lines 4
|
|
|
|
Function: QP::QPSet::remove
|
|
Parameters: (uint_fast8_t const n)
|
|
Complexity Param 1 Return 1 Cyclo Vg 1 Total 3
|
|
LOC 4 eLOC 3 lLOC 1 Comment 1 Lines 4
|
|
|
|
Function: QP::QPSet::findMax
|
|
Parameters: (void)
|
|
Complexity Param 0 Return 1 Cyclo Vg 1 Total 2
|
|
LOC 3 eLOC 2 lLOC 1 Comment 2 Lines 3
|
|
|
|
Function: QP::QPSet::setEmpty
|
|
Parameters: (void) Non-ANSI Parameter Construct
|
|
Complexity Param 1 Return 1 Cyclo Vg 1 Total 3
|
|
LOC 4 eLOC 3 lLOC 2 Comment 1 Lines 4
|
|
|
|
Function: QP::QPSet::isEmpty
|
|
Parameters: (void)
|
|
Complexity Param 0 Return 1 Cyclo Vg 2 Total 3
|
|
LOC 5 eLOC 4 lLOC 1 Comment 2 Lines 5
|
|
|
|
Function: QP::QPSet::notEmpty
|
|
Parameters: (void)
|
|
Complexity Param 0 Return 1 Cyclo Vg 2 Total 3
|
|
LOC 5 eLOC 4 lLOC 1 Comment 2 Lines 5
|
|
|
|
Function: QP::QPSet::hasElement
|
|
Parameters: (uint_fast8_t const n)
|
|
Complexity Param 1 Return 1 Cyclo Vg 2 Total 4
|
|
LOC 9 eLOC 8 lLOC 1 Comment 1 Lines 9
|
|
|
|
Function: QP::QPSet::insert
|
|
Parameters: (uint_fast8_t const n)
|
|
Complexity Param 1 Return 1 Cyclo Vg 2 Total 4
|
|
LOC 10 eLOC 7 lLOC 2 Comment 1 Lines 10
|
|
|
|
Function: QP::QPSet::remove
|
|
Parameters: (uint_fast8_t const n)
|
|
Complexity Param 1 Return 1 Cyclo Vg 2 Total 4
|
|
LOC 10 eLOC 7 lLOC 2 Comment 1 Lines 10
|
|
|
|
Function: QP::QPSet::findMax
|
|
Parameters: (void)
|
|
Complexity Param 0 Return 1 Cyclo Vg 2 Total 3
|
|
LOC 5 eLOC 4 lLOC 1 Comment 1 Lines 5
|
|
|
|
Function: QP::QS::getVersion
|
|
Parameters: (void)
|
|
Complexity Param 0 Return 1 Cyclo Vg 1 Total 2
|
|
LOC 3 eLOC 2 lLOC 1 Comment 1 Lines 3
|
|
|
|
Function: QP::QS::rxPut
|
|
Parameters: (uint8_t const b)
|
|
Complexity Param 1 Return 1 Cyclo Vg 4 Total 6
|
|
LOC 14 eLOC 9 lLOC 4 Comment 1 Lines 14
|
|
|
|
Function: QP::QS::force_cast
|
|
Parameters: (T_IN in)
|
|
Template: template<T_OUT,T_IN>
|
|
Complexity Param 1 Return 1 Cyclo Vg 1 Total 3
|
|
LOC 7 eLOC 6 lLOC 4 Comment 2 Lines 7
|
|
|
|
Function: QP::QV::getVersion
|
|
Parameters: (void)
|
|
Complexity Param 0 Return 1 Cyclo Vg 1 Total 2
|
|
LOC 3 eLOC 2 lLOC 1 Comment 1 Lines 3
|
|
|
|
Function: QP::QXK::getVersion
|
|
Parameters: (void)
|
|
Complexity Param 0 Return 1 Cyclo Vg 1 Total 2
|
|
LOC 3 eLOC 2 lLOC 1 Comment 1 Lines 3
|
|
|
|
Function: QP::QXThread::init
|
|
Parameters: (void)
|
|
Complexity Param 0 Return 1 Cyclo Vg 1 Total 2
|
|
LOC 1 eLOC 1 lLOC 1 Comment 2 Lines 1
|
|
|
|
Function: QP::QXThread::start
|
|
Parameters: (uint_fast8_t const prio, QEvt const *qSto[], uint_fast16_t
|
|
const qLen, void * const stkSto, uint_fast16_t const stkSize
|
|
)
|
|
Complexity Param 5 Return 1 Cyclo Vg 1 Total 7
|
|
LOC 4 eLOC 2 lLOC 1 Comment 1 Lines 4
|
|
|
|
Function: QP::QXThread::getBlockingObj
|
|
Parameters: (void)
|
|
Complexity Param 0 Return 1 Cyclo Vg 1 Total 2
|
|
LOC 3 eLOC 2 lLOC 1 Comment 1 Lines 3
|
|
|
|
Function: QP::QF_EVT_POOL_ID_
|
|
Parameters: (QEvt const * const e)
|
|
Complexity Param 1 Return 1 Cyclo Vg 1 Total 3
|
|
LOC 3 eLOC 2 lLOC 1 Comment 1 Lines 3
|
|
|
|
Function: QP::QF_EVT_REF_CTR_
|
|
Parameters: (QEvt const * const e)
|
|
Complexity Param 1 Return 1 Cyclo Vg 1 Total 3
|
|
LOC 3 eLOC 2 lLOC 1 Comment 1 Lines 3
|
|
|
|
Function: QP::QF_EVT_REF_CTR_INC_
|
|
Parameters: (QEvt const * const e)
|
|
Complexity Param 1 Return 1 Cyclo Vg 1 Total 3
|
|
LOC 3 eLOC 2 lLOC 1 Comment 1 Lines 3
|
|
|
|
Function: QP::QF_EVT_REF_CTR_DEC_
|
|
Parameters: (QEvt const * const e)
|
|
Complexity Param 1 Return 1 Cyclo Vg 1 Total 3
|
|
LOC 3 eLOC 2 lLOC 1 Comment 1 Lines 3
|
|
|
|
Function: QP::QHsm::QHsm
|
|
Parameters: (QStateHandler const initial)
|
|
Complexity Param 1 Return 1 Cyclo Vg 1 Total 3
|
|
LOC 4 eLOC 3 lLOC 2 Comment 8 Lines 4
|
|
|
|
Function: QP::QHsm::~QHsm
|
|
Parameters: ()
|
|
Complexity Param 0 Return 1 Cyclo Vg 1 Total 2
|
|
LOC 2 eLOC 1 lLOC 0 Comment 4 Lines 2
|
|
|
|
Function: QP::QHsm::init
|
|
Parameters: (QEvt const * const e)
|
|
Complexity Param 1 Return 1 Cyclo Vg 6 Total 8
|
|
LOC 49 eLOC 46 lLOC 30 Comment 31 Lines 67
|
|
|
|
Function: QP::QHsm::top
|
|
Parameters: (void * const, QEvt const * const)
|
|
Complexity Param 2 Return 1 Cyclo Vg 1 Total 4
|
|
LOC 3 eLOC 2 lLOC 1 Comment 16 Lines 3
|
|
|
|
Function: QP::QHsm::dispatch
|
|
Parameters: (QEvt const * const e)
|
|
Complexity Param 1 Return 1 Cyclo Vg 13 Total 15
|
|
LOC 107 eLOC 96 lLOC 61 Comment 65 Lines 147
|
|
|
|
Function: QP::QHsm::hsm_tran
|
|
Parameters: (QStateHandler (&path)[MAX_NEST_DEPTH_])
|
|
Complexity Param 1 Return 1 Cyclo Vg 15 Total 17
|
|
LOC 99 eLOC 79 lLOC 48 Comment 62 Lines 140
|
|
|
|
Function: QP::QHsm::isIn
|
|
Parameters: (QStateHandler const s)
|
|
Complexity Param 1 Return 1 Cyclo Vg 3 Total 5
|
|
LOC 16 eLOC 13 lLOC 9 Comment 22 Lines 23
|
|
|
|
Function: QP::QHsm::childState
|
|
Parameters: (QStateHandler const parent)
|
|
Complexity Param 1 Return 1 Cyclo Vg 3 Total 5
|
|
LOC 19 eLOC 16 lLOC 12 Comment 29 Lines 25
|
|
|
|
Function: QP::QMsm::QMsm
|
|
Parameters: (QStateHandler const initial)
|
|
Complexity Param 1 Return 1 Cyclo Vg 1 Total 3
|
|
LOC 4 eLOC 2 lLOC 2 Comment 15 Lines 4
|
|
|
|
Function: QP::QMsm::init
|
|
Parameters: (QEvt const * const e)
|
|
Complexity Param 1 Return 1 Cyclo Vg 3 Total 5
|
|
LOC 21 eLOC 20 lLOC 12 Comment 23 Lines 33
|
|
|
|
Function: QP::QMsm::dispatch
|
|
Parameters: (QEvt const * const e)
|
|
Complexity Param 1 Return 1 Cyclo Vg 15 Total 17
|
|
LOC 124 eLOC 107 lLOC 65 Comment 80 Lines 164
|
|
|
|
Function: QP::QMsm::execTatbl_
|
|
Parameters: (QMTranActTable const * const tatbl)
|
|
Complexity Param 1 Return 1 Cyclo Vg 8 Total 10
|
|
LOC 53 eLOC 45 lLOC 20 Comment 30 Lines 63
|
|
|
|
Function: QP::QMsm::exitToTranSource_
|
|
Parameters: (QMState const *s, QMState const * const ts)
|
|
Complexity Param 2 Return 1 Cyclo Vg 4 Total 7
|
|
LOC 18 eLOC 13 lLOC 6 Comment 17 Lines 24
|
|
|
|
Function: QP::QMsm::enterHistory_
|
|
Parameters: (QMState const * const hist)
|
|
Complexity Param 1 Return 1 Cyclo Vg 6 Total 8
|
|
LOC 40 eLOC 33 lLOC 21 Comment 23 Lines 48
|
|
|
|
Function: QP::QMsm::isInState
|
|
Parameters: (QMState const * const st)
|
|
Complexity Param 1 Return 1 Cyclo Vg 3 Total 5
|
|
LOC 13 eLOC 9 lLOC 5 Comment 15 Lines 14
|
|
|
|
Function: QP::QMsm::childStateObj
|
|
Parameters: (QMState const * const parent)
|
|
Complexity Param 1 Return 1 Cyclo Vg 3 Total 5
|
|
LOC 19 eLOC 14 lLOC 9 Comment 19 Lines 23
|
|
|
|
Function: QP::QF::add_
|
|
Parameters: (QActive * const a)
|
|
Complexity Param 1 Return 1 Cyclo Vg 3 Total 5
|
|
LOC 10 eLOC 9 lLOC 5 Comment 14 Lines 11
|
|
|
|
Function: QP::QF::remove_
|
|
Parameters: (QActive * const a)
|
|
Complexity Param 1 Return 1 Cyclo Vg 3 Total 5
|
|
LOC 11 eLOC 10 lLOC 6 Comment 16 Lines 13
|
|
|
|
Function: QP::QF::bzero
|
|
Parameters: (void * const start, uint_fast16_t len)
|
|
Complexity Param 2 Return 1 Cyclo Vg 2 Total 5
|
|
LOC 8 eLOC 6 lLOC 4 Comment 13 Lines 8
|
|
|
|
Function: QP::QPSet::findMax
|
|
Parameters: (void)
|
|
Complexity Param 0 Return 1 Cyclo Vg 6 Total 7
|
|
LOC 46 eLOC 38 lLOC 20 Comment 7 Lines 46
|
|
|
|
Function: QP::QActive::post_
|
|
Parameters: (QEvt const * const e, uint_fast16_t const margin)
|
|
Complexity Param 2 Return 1 Cyclo Vg 14 Total 17
|
|
LOC 84 eLOC 67 lLOC 37 Comment 72 Lines 112
|
|
|
|
Function: QP::QActive::postLIFO
|
|
Parameters: (QEvt const * const e)
|
|
Complexity Param 1 Return 1 Cyclo Vg 5 Total 7
|
|
LOC 40 eLOC 33 lLOC 21 Comment 34 Lines 53
|
|
|
|
Function: QP::QActive::get_
|
|
Parameters: (void)
|
|
Complexity Param 0 Return 1 Cyclo Vg 3 Total 4
|
|
LOC 37 eLOC 33 lLOC 21 Comment 37 Lines 48
|
|
|
|
Function: QP::QF::getQueueMin
|
|
Parameters: (uint_fast8_t const prio)
|
|
Complexity Param 1 Return 1 Cyclo Vg 2 Total 4
|
|
LOC 10 eLOC 9 lLOC 5 Comment 18 Lines 13
|
|
|
|
Function: QP::QTicker::QTicker
|
|
Parameters: (uint_fast8_t const tickRate)
|
|
Complexity Param 1 Return 1 Cyclo Vg 1 Total 3
|
|
LOC 3 eLOC 1 lLOC 1 Comment 2 Lines 4
|
|
|
|
Function: QP::QTicker::init
|
|
Parameters: (QEvt const * const)
|
|
Complexity Param 1 Return 1 Cyclo Vg 1 Total 3
|
|
LOC 3 eLOC 2 lLOC 1 Comment 2 Lines 3
|
|
|
|
Function: QP::QTicker::dispatch
|
|
Parameters: (QEvt const * const)
|
|
Complexity Param 1 Return 1 Cyclo Vg 2 Total 4
|
|
LOC 10 eLOC 8 lLOC 6 Comment 4 Lines 11
|
|
|
|
Function: QP::QTicker::post_
|
|
Parameters: (QEvt const * const , uint_fast16_t const /*margin*/)
|
|
Complexity Param 2 Return 1 Cyclo Vg 2 Total 5
|
|
LOC 31 eLOC 28 lLOC 16 Comment 16 Lines 38
|
|
|
|
Function: QP::QTicker::postLIFO
|
|
Parameters: (QEvt const * const)
|
|
Complexity Param 1 Return 1 Cyclo Vg 1 Total 3
|
|
LOC 3 eLOC 2 lLOC 1 Comment 3 Lines 3
|
|
|
|
Function: QP::QActive::defer
|
|
Parameters: (QEQueue * const eq, QEvt const * const e)
|
|
Complexity Param 2 Return 1 Cyclo Vg 1 Total 4
|
|
LOC 12 eLOC 11 lLOC 7 Comment 28 Lines 14
|
|
|
|
Function: QP::QActive::recall
|
|
Parameters: (QEQueue * const eq)
|
|
Complexity Param 1 Return 1 Cyclo Vg 3 Total 5
|
|
LOC 34 eLOC 30 lLOC 18 Comment 40 Lines 51
|
|
|
|
Function: QP::QActive::flushDeferred
|
|
Parameters: (QEQueue * const eq)
|
|
Complexity Param 1 Return 1 Cyclo Vg 2 Total 4
|
|
LOC 11 eLOC 8 lLOC 5 Comment 17 Lines 11
|
|
|
|
Function: QP::QF::poolInit
|
|
Parameters: (void * const poolSto, uint_fast32_t const poolSize, uint_fa
|
|
st16_t const evtSize)
|
|
Complexity Param 3 Return 1 Cyclo Vg 2 Total 6
|
|
LOC 10 eLOC 8 lLOC 4 Comment 30 Lines 13
|
|
|
|
Function: QP::QF::newX_
|
|
Parameters: (uint_fast16_t const evtSize, uint_fast16_t const margin, en
|
|
um_t const sig)
|
|
Complexity Param 3 Return 1 Cyclo Vg 5 Total 9
|
|
LOC 30 eLOC 24 lLOC 14 Comment 38 Lines 41
|
|
|
|
Function: QP::QF::gc
|
|
Parameters: (QEvt const * const e)
|
|
Complexity Param 1 Return 1 Cyclo Vg 3 Total 5
|
|
LOC 32 eLOC 28 lLOC 14 Comment 39 Lines 48
|
|
|
|
Function: QP::QF::newRef_
|
|
Parameters: (QEvt const * const e, QEvt const * const evtRef)
|
|
Complexity Param 2 Return 1 Cyclo Vg 2 Total 5
|
|
LOC 16 eLOC 15 lLOC 8 Comment 20 Lines 23
|
|
|
|
Function: QP::QF::deleteRef_
|
|
Parameters: (QEvt const * const evtRef)
|
|
Complexity Param 1 Return 1 Cyclo Vg 1 Total 3
|
|
LOC 10 eLOC 9 lLOC 4 Comment 14 Lines 12
|
|
|
|
Function: QP::QF::poolGetMaxBlockSize
|
|
Parameters: (void)
|
|
Complexity Param 0 Return 1 Cyclo Vg 1 Total 2
|
|
LOC 4 eLOC 3 lLOC 1 Comment 4 Lines 4
|
|
|
|
Function: QP::QMPool::QMPool
|
|
Parameters: (void)
|
|
Complexity Param 0 Return 1 Cyclo Vg 1 Total 2
|
|
LOC 1 eLOC 1 lLOC 0 Comment 9 Lines 1
|
|
|
|
Function: QP::QMPool::init
|
|
Parameters: (void * const poolSto, uint_fast32_t poolSize, uint_fast16_t
|
|
blockSize)
|
|
Complexity Param 3 Return 1 Cyclo Vg 5 Total 9
|
|
LOC 30 eLOC 26 lLOC 20 Comment 52 Lines 52
|
|
|
|
Function: QP::QMPool::put
|
|
Parameters: (void * const b)
|
|
Complexity Param 1 Return 1 Cyclo Vg 2 Total 4
|
|
LOC 17 eLOC 16 lLOC 9 Comment 25 Lines 24
|
|
|
|
Function: QP::QMPool::get
|
|
Parameters: (uint_fast16_t const margin)
|
|
Complexity Param 1 Return 1 Cyclo Vg 4 Total 6
|
|
LOC 41 eLOC 35 lLOC 22 Comment 50 Lines 62
|
|
|
|
Function: QP::QF::getPoolMin
|
|
Parameters: (uint_fast8_t const poolId)
|
|
Complexity Param 1 Return 1 Cyclo Vg 2 Total 4
|
|
LOC 10 eLOC 9 lLOC 5 Comment 14 Lines 14
|
|
|
|
Function: QP::QF::psInit
|
|
Parameters: (QSubscrList * const subscrSto, enum_t const maxSignal)
|
|
Complexity Param 2 Return 1 Cyclo Vg 1 Total 4
|
|
LOC 7 eLOC 6 lLOC 3 Comment 32 Lines 11
|
|
|
|
Function: QP::QF::publish_
|
|
Parameters: (QEvt const * const e)
|
|
Complexity Param 1 Return 1 Cyclo Vg 17 Total 19
|
|
LOC 95 eLOC 84 lLOC 44 Comment 121 Lines 201
|
|
|
|
Function: QP::QActive::QActive
|
|
Parameters: (QStateHandler const initial)
|
|
Complexity Param 1 Return 1 Cyclo Vg 1 Total 3
|
|
LOC 9 eLOC 7 lLOC 3 Comment 1 Lines 11
|
|
|
|
Function: QP::QEQueue::QEQueue
|
|
Parameters: (void)
|
|
Complexity Param 0 Return 1 Cyclo Vg 1 Total 2
|
|
LOC 1 eLOC 1 lLOC 0 Comment 4 Lines 1
|
|
|
|
Function: QP::QEQueue::init
|
|
Parameters: (QEvt const *qSto[], uint_fast16_t const qLen)
|
|
Complexity Param 2 Return 1 Cyclo Vg 2 Total 5
|
|
LOC 12 eLOC 10 lLOC 7 Comment 18 Lines 12
|
|
|
|
Function: QP::QEQueue::post
|
|
Parameters: (QEvt const * const e, uint_fast16_t const margin)
|
|
Complexity Param 2 Return 1 Cyclo Vg 8 Total 11
|
|
LOC 54 eLOC 45 lLOC 29 Comment 53 Lines 73
|
|
|
|
Function: QP::QEQueue::postLIFO
|
|
Parameters: (QEvt const * const e)
|
|
Complexity Param 1 Return 1 Cyclo Vg 5 Total 7
|
|
LOC 33 eLOC 28 lLOC 19 Comment 40 Lines 44
|
|
|
|
Function: QP::QEQueue::get
|
|
Parameters: (void)
|
|
Complexity Param 0 Return 1 Cyclo Vg 4 Total 5
|
|
LOC 39 eLOC 34 lLOC 21 Comment 34 Lines 48
|
|
|
|
Function: QP::QMActive::QMActive
|
|
Parameters: (QStateHandler const initial)
|
|
Complexity Param 1 Return 1 Cyclo Vg 1 Total 3
|
|
LOC 4 eLOC 2 lLOC 2 Comment 1 Lines 4
|
|
|
|
Function: QP::QMActive::init
|
|
Parameters: (QEvt const * const e)
|
|
Complexity Param 1 Return 1 Cyclo Vg 1 Total 3
|
|
LOC 3 eLOC 2 lLOC 1 Comment 1 Lines 3
|
|
|
|
Function: QP::QMActive::init
|
|
Parameters: (void)
|
|
Complexity Param 0 Return 1 Cyclo Vg 1 Total 2
|
|
LOC 3 eLOC 2 lLOC 1 Comment 1 Lines 3
|
|
|
|
Function: QP::QMActive::dispatch
|
|
Parameters: (QEvt const * const e)
|
|
Complexity Param 1 Return 1 Cyclo Vg 1 Total 3
|
|
LOC 3 eLOC 2 lLOC 1 Comment 1 Lines 3
|
|
|
|
Function: QP::QMActive::isInState
|
|
Parameters: (QMState const * const st)
|
|
Complexity Param 1 Return 1 Cyclo Vg 1 Total 3
|
|
LOC 3 eLOC 2 lLOC 1 Comment 1 Lines 3
|
|
|
|
Function: QP::QMActive::childStateObj
|
|
Parameters: (QMState const * const parent)
|
|
Complexity Param 1 Return 1 Cyclo Vg 1 Total 3
|
|
LOC 3 eLOC 2 lLOC 1 Comment 1 Lines 3
|
|
|
|
Function: QP::QF::tickX_
|
|
Parameters: (uint_fast8_t const tickRate)
|
|
Complexity Param 1 Return 1 Cyclo Vg 7 Total 9
|
|
LOC 66 eLOC 54 lLOC 36 Comment 55 Lines 95
|
|
|
|
Function: QP::QF::noTimeEvtsActiveX
|
|
Parameters: (uint_fast8_t const tickRate)
|
|
Complexity Param 1 Return 1 Cyclo Vg 3 Total 5
|
|
LOC 14 eLOC 10 lLOC 6 Comment 14 Lines 16
|
|
|
|
Function: QP::QTimeEvt::QTimeEvt
|
|
Parameters: (QActive * const act, enum_t const sgnl, uint_fast8_t const
|
|
tickRate) Defined By Compiler Directive
|
|
Complexity Param 3 Return 1 Cyclo Vg 2 Total 6
|
|
LOC 9 eLOC 7 lLOC 4 Comment 22 Lines 22
|
|
|
|
Function: QP::QTimeEvt::QTimeEvt
|
|
Parameters: () Defined By Compiler Directive
|
|
Complexity Param 1 Return 1 Cyclo Vg 1 Total 3
|
|
LOC 7 eLOC 5 lLOC 3 Comment 12 Lines 18
|
|
|
|
Function: QP::QTimeEvt::armX
|
|
Parameters: (QTimeEvtCtr const nTicks, QTimeEvtCtr const interval)
|
|
Complexity Param 2 Return 1 Cyclo Vg 6 Total 9
|
|
LOC 28 eLOC 26 lLOC 16 Comment 50 Lines 50
|
|
|
|
Function: QP::QTimeEvt::disarm
|
|
Parameters: (void)
|
|
Complexity Param 0 Return 1 Cyclo Vg 2 Total 3
|
|
LOC 30 eLOC 27 lLOC 17 Comment 29 Lines 38
|
|
|
|
Function: QP::QTimeEvt::rearm
|
|
Parameters: (QTimeEvtCtr const nTicks)
|
|
Complexity Param 1 Return 1 Cyclo Vg 7 Total 9
|
|
LOC 42 eLOC 35 lLOC 20 Comment 49 Lines 68
|
|
|
|
Function: QP::QTimeEvt::ctr
|
|
Parameters: (void)
|
|
Complexity Param 0 Return 1 Cyclo Vg 1 Total 2
|
|
LOC 7 eLOC 6 lLOC 4 Comment 13 Lines 9
|
|
|
|
Function: QP::QF::stop
|
|
Parameters: (void)
|
|
Complexity Param 0 Return 1 Cyclo Vg 1 Total 2
|
|
LOC 3 eLOC 2 lLOC 1 Comment 13 Lines 4
|
|
|
|
Function: QP::QF::run
|
|
Parameters: (void)
|
|
Complexity Param 0 Return 1 Cyclo Vg 5 Total 6
|
|
LOC 47 eLOC 41 lLOC 21 Comment 44 Lines 73
|
|
|
|
Function: QP::QActive::start
|
|
Parameters: (uint_fast8_t const prio, QEvt const *qSto[], uint_fast16_t
|
|
const qLen, void * const stkSto, uint_fast16_t const, QEvt c
|
|
onst * const ie)
|
|
Complexity Param 6 Return 1 Cyclo Vg 3 Total 10
|
|
LOC 10 eLOC 8 lLOC 6 Comment 26 Lines 16
|
|
|
|
Function: QP::QActive::stop
|
|
Parameters: (void)
|
|
Complexity Param 0 Return 1 Cyclo Vg 1 Total 2
|
|
LOC 7 eLOC 6 lLOC 4 Comment 14 Lines 8
|
|
|
|
Function: QP::QF::init
|
|
Parameters: (void)
|
|
Complexity Param 0 Return 1 Cyclo Vg 1 Total 2
|
|
LOC 14 eLOC 13 lLOC 9 Comment 14 Lines 17
|
|
|
|
Function: QP::QF::stop
|
|
Parameters: (void)
|
|
Complexity Param 0 Return 1 Cyclo Vg 1 Total 2
|
|
LOC 3 eLOC 2 lLOC 1 Comment 13 Lines 4
|
|
|
|
Function: QP::initial_events
|
|
Parameters: (void)
|
|
Complexity Param 0 Return 1 Cyclo Vg 2 Total 3
|
|
LOC 6 eLOC 4 lLOC 2 Comment 6 Lines 8
|
|
|
|
Function: QP::QF::run
|
|
Parameters: (void)
|
|
Complexity Param 0 Return 1 Cyclo Vg 2 Total 3
|
|
LOC 12 eLOC 10 lLOC 7 Comment 14 Lines 14
|
|
|
|
Function: QP::QActive::start
|
|
Parameters: (uint_fast8_t const prio, QEvt const *qSto[], uint_fast16_t
|
|
const qLen, void * const stkSto, uint_fast16_t const, QEvt c
|
|
onst * const ie)
|
|
Complexity Param 6 Return 1 Cyclo Vg 5 Total 12
|
|
LOC 17 eLOC 14 lLOC 9 Comment 27 Lines 25
|
|
|
|
Function: QP::QActive::stop
|
|
Parameters: (void)
|
|
Complexity Param 0 Return 1 Cyclo Vg 2 Total 3
|
|
LOC 11 eLOC 9 lLOC 6 Comment 13 Lines 15
|
|
|
|
Function: QP::QK::schedLock
|
|
Parameters: (uint_fast8_t const ceiling)
|
|
Complexity Param 1 Return 1 Cyclo Vg 2 Total 4
|
|
LOC 23 eLOC 20 lLOC 12 Comment 31 Lines 33
|
|
|
|
Function: QP::QK::schedUnlock
|
|
Parameters: (QSchedStatus const stat)
|
|
Complexity Param 1 Return 1 Cyclo Vg 4 Total 6
|
|
LOC 23 eLOC 20 lLOC 10 Comment 28 Lines 34
|
|
|
|
Function: static_cast<uint_fast8_t>
|
|
Parameters: (QK_attr_.actPrio))
|
|
Complexity Param 1 Return 1 Cyclo Vg 1 Total 3
|
|
LOC 3 eLOC 2 lLOC 1 Comment 2 Lines 3
|
|
|
|
Function: static_cast<uint_fast8_t>
|
|
Parameters: (QK_attr_.lockPrio))
|
|
Complexity Param 1 Return 1 Cyclo Vg 1 Total 3
|
|
LOC 3 eLOC 2 lLOC 1 Comment 2 Lines 3
|
|
|
|
Function: QK_activate_
|
|
Parameters: (void)
|
|
Complexity Param 0 Return 1 Cyclo Vg 11 Total 12
|
|
LOC 71 eLOC 63 lLOC 31 Comment 50 Lines 105
|
|
|
|
Function: QP::QXKIdleThread::QXKIdleThread
|
|
Parameters: ()
|
|
Complexity Param 0 Return 1 Cyclo Vg 1 Total 2
|
|
LOC 1 eLOC 1 lLOC 0 Comment 0 Lines 1
|
|
|
|
Function: QP::QF::init
|
|
Parameters: (void)
|
|
Complexity Param 0 Return 1 Cyclo Vg 1 Total 2
|
|
LOC 16 eLOC 15 lLOC 12 Comment 16 Lines 22
|
|
|
|
Function: QP::QF::stop
|
|
Parameters: (void)
|
|
Complexity Param 0 Return 1 Cyclo Vg 1 Total 2
|
|
LOC 3 eLOC 2 lLOC 1 Comment 13 Lines 4
|
|
|
|
Function: QP::initial_events
|
|
Parameters: (void)
|
|
Complexity Param 0 Return 1 Cyclo Vg 2 Total 3
|
|
LOC 6 eLOC 4 lLOC 2 Comment 6 Lines 8
|
|
|
|
Function: QP::QF::run
|
|
Parameters: (void)
|
|
Complexity Param 0 Return 1 Cyclo Vg 2 Total 3
|
|
LOC 12 eLOC 10 lLOC 7 Comment 12 Lines 15
|
|
|
|
Function: QP::QActive::start
|
|
Parameters: (uint_fast8_t const prio, QEvt const *qSto[], uint_fast16_t
|
|
const qLen, void * const stkSto, uint_fast16_t const stkSize
|
|
, QEvt const * const ie)
|
|
Complexity Param 6 Return 1 Cyclo Vg 6 Total 13
|
|
LOC 20 eLOC 17 lLOC 11 Comment 30 Lines 29
|
|
|
|
Function: QP::QActive::stop
|
|
Parameters: (void)
|
|
Complexity Param 0 Return 1 Cyclo Vg 2 Total 3
|
|
LOC 11 eLOC 9 lLOC 6 Comment 13 Lines 15
|
|
|
|
Function: QP::QXK::schedLock
|
|
Parameters: (uint_fast8_t const ceiling)
|
|
Complexity Param 1 Return 1 Cyclo Vg 3 Total 5
|
|
LOC 26 eLOC 23 lLOC 12 Comment 29 Lines 35
|
|
|
|
Function: QP::QXK::schedUnlock
|
|
Parameters: (QSchedStatus const stat)
|
|
Complexity Param 1 Return 1 Cyclo Vg 4 Total 6
|
|
LOC 23 eLOC 20 lLOC 10 Comment 28 Lines 34
|
|
|
|
Function: static_cast<uint_fast8_t>
|
|
Parameters: (QXK_attr_.lockPrio))
|
|
Complexity Param 1 Return 1 Cyclo Vg 2 Total 4
|
|
LOC 5 eLOC 4 lLOC 2 Comment 1 Lines 5
|
|
|
|
Function: static_cast<QP::QActive*>
|
|
Parameters: (0))
|
|
Complexity Param 1 Return 1 Cyclo Vg 3 Total 5
|
|
LOC 23 eLOC 18 lLOC 8 Comment 9 Lines 27
|
|
|
|
Function: QXK_activate_
|
|
Parameters: (void)
|
|
Complexity Param 0 Return 1 Cyclo Vg 13 Total 14
|
|
LOC 90 eLOC 80 lLOC 40 Comment 60 Lines 131
|
|
|
|
Function: QXK_current
|
|
Parameters: (void)
|
|
Complexity Param 0 Return 1 Cyclo Vg 2 Total 3
|
|
LOC 14 eLOC 12 lLOC 8 Comment 4 Lines 21
|
|
|
|
Function: QP::QXMutex::init
|
|
Parameters: (uint_fast8_t const ceiling)
|
|
Complexity Param 1 Return 1 Cyclo Vg 4 Total 6
|
|
LOC 16 eLOC 14 lLOC 8 Comment 30 Lines 24
|
|
|
|
Function: QP::QXMutex::lock
|
|
Parameters: (uint_fast16_t const nTicks)
|
|
Complexity Param 1 Return 1 Cyclo Vg 10 Total 12
|
|
LOC 56 eLOC 50 lLOC 29 Comment 51 Lines 93
|
|
|
|
Function: QP::QXMutex::tryLock
|
|
Parameters: (void)
|
|
Complexity Param 0 Return 1 Cyclo Vg 12 Total 13
|
|
LOC 47 eLOC 40 lLOC 20 Comment 42 Lines 71
|
|
|
|
Function: QP::QXMutex::unlock
|
|
Parameters: (void)
|
|
Complexity Param 0 Return 1 Cyclo Vg 18 Total 19
|
|
LOC 67 eLOC 57 lLOC 27 Comment 61 Lines 112
|
|
|
|
Function: QP::QXSemaphore::init
|
|
Parameters: (uint_fast16_t const count, uint_fast16_t const max_count)
|
|
Complexity Param 2 Return 1 Cyclo Vg 1 Total 4
|
|
LOC 6 eLOC 4 lLOC 4 Comment 19 Lines 7
|
|
|
|
Function: QP::QXSemaphore::wait
|
|
Parameters: (uint_fast16_t const nTicks)
|
|
Complexity Param 1 Return 1 Cyclo Vg 5 Total 7
|
|
LOC 28 eLOC 25 lLOC 17 Comment 36 Lines 41
|
|
|
|
Function: QP::QXSemaphore::tryWait
|
|
Parameters: (void)
|
|
Complexity Param 0 Return 1 Cyclo Vg 2 Total 3
|
|
LOC 15 eLOC 12 lLOC 8 Comment 16 Lines 20
|
|
|
|
Function: QP::QXSemaphore::signal
|
|
Parameters: (void)
|
|
Complexity Param 0 Return 1 Cyclo Vg 7 Total 8
|
|
LOC 30 eLOC 24 lLOC 14 Comment 30 Lines 43
|
|
|
|
Function: QP::QXThread::QXThread
|
|
Parameters: (QXThreadHandler const handler, uint_fast8_t const tickRate)
|
|
Complexity Param 2 Return 1 Cyclo Vg 1 Total 4
|
|
LOC 3 eLOC 1 lLOC 1 Comment 19 Lines 3
|
|
|
|
Function: QP::QXThread::init
|
|
Parameters: (QEvt const * const)
|
|
Complexity Param 1 Return 1 Cyclo Vg 1 Total 3
|
|
LOC 3 eLOC 2 lLOC 1 Comment 3 Lines 3
|
|
|
|
Function: QP::QXThread::dispatch
|
|
Parameters: (QEvt const * const)
|
|
Complexity Param 1 Return 1 Cyclo Vg 1 Total 3
|
|
LOC 3 eLOC 2 lLOC 1 Comment 2 Lines 3
|
|
|
|
Function: QP::QXThread::start
|
|
Parameters: (uint_fast8_t const prio, QEvt const *qSto[], uint_fast16_t
|
|
const qLen, void * const stkSto, uint_fast16_t const stkSize
|
|
, QEvt const * const)
|
|
Complexity Param 6 Return 1 Cyclo Vg 6 Total 13
|
|
LOC 21 eLOC 18 lLOC 11 Comment 35 Lines 39
|
|
|
|
Function: QP::QXThread::post_
|
|
Parameters: (QEvt const * const e, uint_fast16_t const margin)
|
|
Complexity Param 2 Return 1 Cyclo Vg 12 Total 15
|
|
LOC 82 eLOC 66 lLOC 44 Comment 72 Lines 115
|
|
|
|
Function: QP::QXThread::postLIFO
|
|
Parameters: (QEvt const * const)
|
|
Complexity Param 1 Return 1 Cyclo Vg 1 Total 3
|
|
LOC 3 eLOC 2 lLOC 1 Comment 10 Lines 3
|
|
|
|
Function: QP::QXThread::queueGet
|
|
Parameters: (uint_fast16_t const nTicks)
|
|
Complexity Param 1 Return 1 Cyclo Vg 8 Total 10
|
|
LOC 61 eLOC 54 lLOC 34 Comment 53 Lines 88
|
|
|
|
Function: QP::QXThread::block_
|
|
Parameters: (void)
|
|
Complexity Param 0 Return 1 Cyclo Vg 1 Total 2
|
|
LOC 5 eLOC 4 lLOC 3 Comment 8 Lines 6
|
|
|
|
Function: QP::QXThread::unblock_
|
|
Parameters: (void)
|
|
Complexity Param 0 Return 1 Cyclo Vg 3 Total 4
|
|
LOC 8 eLOC 5 lLOC 2 Comment 9 Lines 9
|
|
|
|
Function: QP::QXThread::teArm_
|
|
Parameters: (enum_t const sig, uint_fast16_t const nTicks)
|
|
Complexity Param 2 Return 1 Cyclo Vg 3 Total 6
|
|
LOC 18 eLOC 14 lLOC 8 Comment 20 Lines 33
|
|
|
|
Function: QP::QXThread::teDisarm_
|
|
Parameters: (void)
|
|
Complexity Param 0 Return 1 Cyclo Vg 2 Total 3
|
|
LOC 11 eLOC 8 lLOC 5 Comment 10 Lines 14
|
|
|
|
Function: QP::QXThread::delay
|
|
Parameters: (uint_fast16_t const nTicks)
|
|
Complexity Param 1 Return 1 Cyclo Vg 4 Total 6
|
|
LOC 20 eLOC 19 lLOC 13 Comment 17 Lines 34
|
|
|
|
Function: QP::QXThread::delayCancel
|
|
Parameters: (void)
|
|
Complexity Param 0 Return 1 Cyclo Vg 2 Total 3
|
|
LOC 14 eLOC 11 lLOC 7 Comment 2 Lines 16
|
|
|
|
Function: QXK_threadRet_
|
|
Parameters: (void)
|
|
Complexity Param 0 Return 1 Cyclo Vg 4 Total 5
|
|
LOC 14 eLOC 13 lLOC 8 Comment 19 Lines 24
|
|
|
|
Total: Functions
|
|
LOC 2900 eLOC 2420 lLOC 1414 InCmp 354 CycloCmp 508
|
|
Function Points FP(LOC) 50.0 FP(eLOC) 42.3 FP(lLOC) 25.0
|
|
|
|
------------------------------------------------------------------------
|
|
|
|
~~ Project Functional Analysis ~~
|
|
|
|
Total Functions .......: 183 Total Physical Lines ..: 4013
|
|
Total LOC .............: 2900 Total Function Pts LOC : 50.0
|
|
Total eLOC ............: 2420 Total Function Pts eLOC: 42.3
|
|
Total lLOC.............: 1414 Total Function Pts lLOC: 25.0
|
|
Total Cyclomatic Comp. : 508 Total Interface Comp. .: 354
|
|
Total Parameters ......: 171 Total Return Points ...: 183
|
|
Total Comment Lines ...: 2836 Total Blank Lines .....: 538
|
|
------ ----- ----- ------ ------ -----
|
|
Avg Physical Lines ....: 21.93
|
|
Avg LOC ...............: 15.85 Avg eLOC ..............: 13.22
|
|
Avg lLOC ..............: 7.73 Avg Cyclomatic Comp. ..: 2.78
|
|
Avg Interface Comp. ...: 1.93 Avg Parameters ........: 0.93
|
|
Avg Return Points .....: 1.00 Avg Comment Lines .....: 15.50
|
|
------ ----- ----- ------ ------ -----
|
|
Max LOC ...............: 124
|
|
Max eLOC ..............: 107 Max lLOC ..............: 65
|
|
Max Cyclomatic Comp. ..: 18 Max Interface Comp. ...: 7
|
|
Max Parameters ........: 6 Max Return Points .....: 1
|
|
Max Comment Lines .....: 121 Max Total Lines .......: 201
|
|
------ ----- ----- ------ ------ -----
|
|
Min LOC ...............: 1
|
|
Min eLOC ..............: 1 Min lLOC ..............: 0
|
|
Min Cyclomatic Comp. ..: 1 Min Interface Comp. ...: 1
|
|
Min Parameters ........: 0 Min Return Points .....: 1
|
|
Min Comment Lines .....: 0 Min Total Lines .......: 1
|
|
|
|
------------------------------------------------------------------------
|
|
|
|
~~ File Summary ~~
|
|
|
|
C Source Files *.c ....: 0 C/C++ Include Files *.h: 17
|
|
C++ Source Files *.c* .: 18 C++ Include Files *.h* : 0
|
|
C# Source Files *.cs ..: 0 Java Source File *.jav*: 0
|
|
Other File Count ......: 0 Total File Count ......: 35
|
|
________________________________________________________________________
|
|
|
|
@endcode
|
|
*/
|