mirror of
https://github.com/QuantumLeaps/qpc.git
synced 2025-01-28 07:03:10 +08:00
3044 lines
138 KiB
Plaintext
3044 lines
138 KiB
Plaintext
/** @page metrics Code Metrics
|
|
|
|
@code
|
|
Standard Code Metrics for QP/C 5.9.7
|
|
|
|
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: Jul 06, 2017
|
|
(C)1996-2009 M Squared Technologies LLC
|
|
________________________________________________________________________
|
|
|
|
~~ Function Metrics ~~
|
|
~~ Complexity Detail Analysis ~~
|
|
|
|
File: ..\include\qassert.h
|
|
________________________________________________________________________
|
|
|
|
~~ Total File Summary ~~
|
|
|
|
LOC 43 eLOC 42 lLOC 3 Comment 240 Lines 303
|
|
________________________________________________________________________
|
|
End of File: ..\include\qassert.h
|
|
|
|
|
|
File: ..\include\qep.h
|
|
________________________________________________________________________
|
|
|
|
~~ Total File Summary ~~
|
|
|
|
LOC 156 eLOC 152 lLOC 56 Comment 404 Lines 613
|
|
________________________________________________________________________
|
|
End of File: ..\include\qep.h
|
|
|
|
|
|
File: ..\include\qequeue.h
|
|
________________________________________________________________________
|
|
|
|
~~ Total File Summary ~~
|
|
|
|
LOC 33 eLOC 33 lLOC 15 Comment 180 Lines 233
|
|
________________________________________________________________________
|
|
End of File: ..\include\qequeue.h
|
|
|
|
|
|
File: ..\include\qf.h
|
|
________________________________________________________________________
|
|
|
|
~~ Total File Summary ~~
|
|
|
|
LOC 191 eLOC 191 lLOC 75 Comment 530 Lines 825
|
|
________________________________________________________________________
|
|
End of File: ..\include\qf.h
|
|
|
|
|
|
File: ..\include\qk.h
|
|
________________________________________________________________________
|
|
|
|
~~ Total File Summary ~~
|
|
|
|
LOC 64 eLOC 64 lLOC 24 Comment 105 Lines 177
|
|
________________________________________________________________________
|
|
End of File: ..\include\qk.h
|
|
|
|
|
|
File: ..\include\qmpool.h
|
|
________________________________________________________________________
|
|
|
|
~~ Total File Summary ~~
|
|
|
|
LOC 42 eLOC 42 lLOC 18 Comment 109 Lines 169
|
|
________________________________________________________________________
|
|
End of File: ..\include\qmpool.h
|
|
|
|
|
|
File: ..\include\qp_port.h
|
|
________________________________________________________________________
|
|
|
|
~~ Total File Summary ~~
|
|
|
|
LOC 4 eLOC 4 lLOC 0 Comment 40 Lines 45
|
|
________________________________________________________________________
|
|
End of File: ..\include\qp_port.h
|
|
|
|
|
|
File: ..\include\qpc.h
|
|
________________________________________________________________________
|
|
|
|
~~ Total File Summary ~~
|
|
|
|
LOC 66 eLOC 65 lLOC 8 Comment 125 Lines 223
|
|
________________________________________________________________________
|
|
End of File: ..\include\qpc.h
|
|
|
|
|
|
File: ..\include\qpset.h
|
|
________________________________________________________________________
|
|
|
|
Inline Function: QF_LOG2
|
|
Parameters: (uint32_t x)
|
|
Cyclomatic Complexity Vg Detail
|
|
Function Base : 1
|
|
Conditional if / else if: 3
|
|
Complexity Param 1 Return 1 Cyclo Vg 4 Total 6
|
|
LOC 25 eLOC 18 lLOC 11 Comment 7 Lines 26
|
|
|
|
------------------------------------------------------------------------
|
|
|
|
~~ Total File Summary ~~
|
|
|
|
LOC 98 eLOC 91 lLOC 23 Comment 96 Lines 216
|
|
------------------------------------------------------------------------
|
|
|
|
~~ File Functional Summary ~~
|
|
|
|
File Function Count....: 1
|
|
Total Function LOC.....: 25 Total Function Pts LOC : 0.0
|
|
Total Function eLOC....: 18 Total Function Pts eLOC: 0.0
|
|
Total Function lLOC....: 11 Total Function Pts lLOC: 0.0
|
|
Total Function Params .: 1 Total Function Return .: 1
|
|
Total Cyclo Complexity : 4 Total Function Complex.: 6
|
|
------ ----- ----- ------ ------ -----
|
|
Max Function LOC ......: 25 Average Function LOC ..: 25.00
|
|
Max Function eLOC .....: 18 Average Function eLOC .: 18.00
|
|
Max Function lLOC .....: 11 Average Function lLOC .: 11.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.: 4 Avg Cyclomatic Complex.: 4.00
|
|
Max Total Complexity ..: 6 Avg Total Complexity ..: 6.00
|
|
________________________________________________________________________
|
|
End of File: ..\include\qpset.h
|
|
|
|
|
|
File: ..\include\qs.h
|
|
________________________________________________________________________
|
|
|
|
|
|
NOTICE: The end of the source file has been reached where the
|
|
open brace count { 28 != 26 } 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 489 eLOC 481 lLOC 119 Comment 704 Lines 1199
|
|
________________________________________________________________________
|
|
End of File: ..\include\qs.h
|
|
|
|
|
|
File: ..\include\qs_dummy.h
|
|
________________________________________________________________________
|
|
|
|
~~ Total File Summary ~~
|
|
|
|
LOC 72 eLOC 72 lLOC 0 Comment 43 Lines 124
|
|
________________________________________________________________________
|
|
End of File: ..\include\qs_dummy.h
|
|
|
|
|
|
File: ..\include\qv.h
|
|
________________________________________________________________________
|
|
|
|
~~ Total File Summary ~~
|
|
|
|
LOC 25 eLOC 25 lLOC 2 Comment 80 Lines 111
|
|
________________________________________________________________________
|
|
End of File: ..\include\qv.h
|
|
|
|
|
|
File: ..\include\qxk.h
|
|
________________________________________________________________________
|
|
|
|
~~ Total File Summary ~~
|
|
|
|
LOC 71 eLOC 71 lLOC 28 Comment 122 Lines 204
|
|
________________________________________________________________________
|
|
End of File: ..\include\qxk.h
|
|
|
|
|
|
File: ..\include\qxthread.h
|
|
________________________________________________________________________
|
|
|
|
~~ Total File Summary ~~
|
|
|
|
LOC 31 eLOC 31 lLOC 15 Comment 132 Lines 176
|
|
________________________________________________________________________
|
|
End of File: ..\include\qxthread.h
|
|
|
|
|
|
File: ..\source\qf_pkg.h
|
|
________________________________________________________________________
|
|
|
|
~~ Total File Summary ~~
|
|
|
|
LOC 63 eLOC 63 lLOC 8 Comment 120 Lines 206
|
|
________________________________________________________________________
|
|
End of File: ..\source\qf_pkg.h
|
|
|
|
|
|
File: ..\source\qs_pkg.h
|
|
________________________________________________________________________
|
|
|
|
~~ Total File Summary ~~
|
|
|
|
LOC 25 eLOC 23 lLOC 6 Comment 59 Lines 93
|
|
________________________________________________________________________
|
|
End of File: ..\source\qs_pkg.h
|
|
|
|
|
|
File: ..\source\qxk_pkg.h
|
|
________________________________________________________________________
|
|
|
|
~~ Total File Summary ~~
|
|
|
|
LOC 20 eLOC 19 lLOC 8 Comment 49 Lines 78
|
|
________________________________________________________________________
|
|
End of File: ..\source\qxk_pkg.h
|
|
|
|
|
|
File: ..\source\qep_hsm.c
|
|
________________________________________________________________________
|
|
|
|
Function: QHsm_ctor
|
|
Parameters: (QHsm * const me, QStateHandler initial)
|
|
Complexity Param 2 Return 1 Cyclo Vg 1 Total 4
|
|
LOC 9 eLOC 7 lLOC 4 Comment 21 Lines 9
|
|
|
|
Function: QHsm_init_
|
|
Parameters: (QHsm * const me, QEvt const * const e)
|
|
Cyclomatic Complexity Vg Detail
|
|
Function Base : 1
|
|
Loops while / do : 3
|
|
Conditional if / else if: 1
|
|
Logical and ( && ) : 2
|
|
Complexity Param 2 Return 1 Cyclo Vg 7 Total 10
|
|
LOC 50 eLOC 47 lLOC 31 Comment 35 Lines 70
|
|
|
|
Function: QHsm_top
|
|
Parameters: (void const * const me, QEvt const * const e)
|
|
Complexity Param 2 Return 1 Cyclo Vg 1 Total 4
|
|
LOC 5 eLOC 4 lLOC 3 Comment 18 Lines 5
|
|
|
|
Function: QHsm_dispatch_
|
|
Parameters: (QHsm * const me, 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 2 Return 1 Cyclo Vg 13 Total 16
|
|
LOC 106 eLOC 95 lLOC 62 Comment 67 Lines 147
|
|
|
|
Function: QHsm_tran_
|
|
Parameters: (QHsm * const me, QStateHandler path[QHSM_MAX_NEST_DEPTH_])
|
|
Cyclomatic Complexity Vg Detail
|
|
Function Base : 1
|
|
Loops while / do : 4
|
|
Conditional if / else if: 10
|
|
Complexity Param 2 Return 1 Cyclo Vg 15 Total 18
|
|
LOC 97 eLOC 76 lLOC 48 Comment 63 Lines 134
|
|
|
|
Function: QHsm_isIn
|
|
Parameters: (QHsm * const me, QStateHandler const state)
|
|
Cyclomatic Complexity Vg Detail
|
|
Function Base : 1
|
|
Loops while / do : 1
|
|
Conditional if / else if: 1
|
|
Complexity Param 2 Return 1 Cyclo Vg 3 Total 6
|
|
LOC 16 eLOC 13 lLOC 9 Comment 21 Lines 21
|
|
|
|
Function: QHsm_childState_
|
|
Parameters: (QHsm * const me, QStateHandler const parent)
|
|
Cyclomatic Complexity Vg Detail
|
|
Function Base : 1
|
|
Loops while / do : 1
|
|
Conditional if / else if: 1
|
|
Complexity Param 2 Return 1 Cyclo Vg 3 Total 6
|
|
LOC 19 eLOC 15 lLOC 12 Comment 30 Lines 25
|
|
|
|
------------------------------------------------------------------------
|
|
|
|
~~ Total File Summary ~~
|
|
|
|
LOC 345 eLOC 298 lLOC 177 Comment 317 Lines 628
|
|
------------------------------------------------------------------------
|
|
|
|
~~ File Functional Summary ~~
|
|
|
|
File Function Count....: 7
|
|
Total Function LOC.....: 302 Total Function Pts LOC : 2.7
|
|
Total Function eLOC....: 257 Total Function Pts eLOC: 2.3
|
|
Total Function lLOC....: 169 Total Function Pts lLOC: 1.4
|
|
Total Function Params .: 14 Total Function Return .: 7
|
|
Total Cyclo Complexity : 43 Total Function Complex.: 64
|
|
------ ----- ----- ------ ------ -----
|
|
Max Function LOC ......: 106 Average Function LOC ..: 43.14
|
|
Max Function eLOC .....: 95 Average Function eLOC .: 36.71
|
|
Max Function lLOC .....: 62 Average Function lLOC .: 24.14
|
|
------ ----- ----- ------ ------ -----
|
|
Max Function Parameters: 2 Avg Function Parameters: 2.00
|
|
Max Function Returns ..: 1 Avg Function Returns ..: 1.00
|
|
Max Interface Complex. : 3 Avg Interface Complex. : 3.00
|
|
Max Cyclomatic Complex.: 15 Avg Cyclomatic Complex.: 6.14
|
|
Max Total Complexity ..: 18 Avg Total Complexity ..: 9.14
|
|
________________________________________________________________________
|
|
End of File: ..\source\qep_hsm.c
|
|
|
|
|
|
File: ..\source\qep_msm.c
|
|
________________________________________________________________________
|
|
|
|
Function: QMsm_ctor
|
|
Parameters: (QMsm * const me, QStateHandler initial)
|
|
Complexity Param 2 Return 1 Cyclo Vg 1 Total 4
|
|
LOC 9 eLOC 7 lLOC 4 Comment 28 Lines 10
|
|
|
|
Function: QMsm_init_
|
|
Parameters: (QMsm * const me, QEvt const * const e)
|
|
Cyclomatic Complexity Vg Detail
|
|
Function Base : 1
|
|
Loops while / do : 1
|
|
Logical and ( && ) : 2
|
|
Complexity Param 2 Return 1 Cyclo Vg 4 Total 7
|
|
LOC 23 eLOC 22 lLOC 13 Comment 25 Lines 37
|
|
|
|
Function: QMsm_dispatch_
|
|
Parameters: (QMsm * const me, QEvt const * const e)
|
|
Cyclomatic Complexity Vg Detail
|
|
Function Base : 1
|
|
Loops while / do : 2
|
|
Conditional if / else if: 13
|
|
Complexity Param 2 Return 1 Cyclo Vg 16 Total 19
|
|
LOC 116 eLOC 99 lLOC 61 Comment 77 Lines 157
|
|
|
|
Function: QMsm_execTatbl_
|
|
Parameters: (QMsm * const me, QMTranActTable const *tatbl)
|
|
Cyclomatic Complexity Vg Detail
|
|
Function Base : 1
|
|
Loops for / foreach : 1
|
|
Conditional if / else if: 6
|
|
Complexity Param 2 Return 1 Cyclo Vg 8 Total 11
|
|
LOC 53 eLOC 43 lLOC 21 Comment 33 Lines 64
|
|
|
|
Function: QMsm_exitToTranSource_
|
|
Parameters: (QMsm * const me, QMState const *s, QMState const *ts)
|
|
Cyclomatic Complexity Vg Detail
|
|
Function Base : 1
|
|
Loops while / do : 1
|
|
Conditional if / else if: 2
|
|
Complexity Param 3 Return 1 Cyclo Vg 4 Total 8
|
|
LOC 17 eLOC 12 lLOC 6 Comment 20 Lines 23
|
|
|
|
Function: QMsm_enterHistory_
|
|
Parameters: (QMsm * const me, QMState const *const hist)
|
|
Cyclomatic Complexity Vg Detail
|
|
Function Base : 1
|
|
Loops while / do : 2
|
|
Conditional if / else if: 3
|
|
Complexity Param 2 Return 1 Cyclo Vg 6 Total 9
|
|
LOC 40 eLOC 33 lLOC 21 Comment 24 Lines 48
|
|
|
|
Function: QMsm_isInState
|
|
Parameters: (QMsm const * const me, QMState const * const state)
|
|
Cyclomatic Complexity Vg Detail
|
|
Function Base : 1
|
|
Loops for / foreach : 1
|
|
Conditional if / else if: 1
|
|
Complexity Param 2 Return 1 Cyclo Vg 3 Total 6
|
|
LOC 11 eLOC 8 lLOC 6 Comment 16 Lines 12
|
|
|
|
Function: QMsm_childStateObj_
|
|
Parameters: (QMsm const * const me, QMState const * const parent)
|
|
Cyclomatic Complexity Vg Detail
|
|
Function Base : 1
|
|
Loops for / foreach : 1
|
|
Conditional if / else if: 1
|
|
Complexity Param 2 Return 1 Cyclo Vg 3 Total 6
|
|
LOC 19 eLOC 13 lLOC 9 Comment 20 Lines 23
|
|
|
|
------------------------------------------------------------------------
|
|
|
|
~~ Total File Summary ~~
|
|
|
|
LOC 315 eLOC 262 lLOC 146 Comment 300 Lines 582
|
|
------------------------------------------------------------------------
|
|
|
|
~~ File Functional Summary ~~
|
|
|
|
File Function Count....: 8
|
|
Total Function LOC.....: 288 Total Function Pts LOC : 2.5
|
|
Total Function eLOC....: 237 Total Function Pts eLOC: 2.0
|
|
Total Function lLOC....: 141 Total Function Pts lLOC: 1.1
|
|
Total Function Params .: 17 Total Function Return .: 8
|
|
Total Cyclo Complexity : 45 Total Function Complex.: 70
|
|
------ ----- ----- ------ ------ -----
|
|
Max Function LOC ......: 116 Average Function LOC ..: 36.00
|
|
Max Function eLOC .....: 99 Average Function eLOC .: 29.63
|
|
Max Function lLOC .....: 61 Average Function lLOC .: 17.63
|
|
------ ----- ----- ------ ------ -----
|
|
Max Function Parameters: 3 Avg Function Parameters: 2.13
|
|
Max Function Returns ..: 1 Avg Function Returns ..: 1.00
|
|
Max Interface Complex. : 4 Avg Interface Complex. : 3.13
|
|
Max Cyclomatic Complex.: 16 Avg Cyclomatic Complex.: 5.63
|
|
Max Total Complexity ..: 19 Avg Total Complexity ..: 8.75
|
|
________________________________________________________________________
|
|
End of File: ..\source\qep_msm.c
|
|
|
|
|
|
File: ..\source\qf_act.c
|
|
________________________________________________________________________
|
|
|
|
Function: 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 15 eLOC 14 lLOC 8 Comment 23 Lines 25
|
|
|
|
Function: 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 16 eLOC 15 lLOC 9 Comment 23 Lines 25
|
|
|
|
Function: 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 14 Lines 8
|
|
|
|
Inline Function: QF_LOG2
|
|
Parameters: (uint32_t x)
|
|
Cyclomatic Complexity Vg Detail
|
|
Function Base : 1
|
|
Conditional if / else if: 3
|
|
Complexity Param 1 Return 1 Cyclo Vg 4 Total 6
|
|
LOC 25 eLOC 18 lLOC 11 Comment 1 Lines 26
|
|
|
|
------------------------------------------------------------------------
|
|
|
|
~~ Total File Summary ~~
|
|
|
|
LOC 148 eLOC 136 lLOC 35 Comment 123 Lines 276
|
|
------------------------------------------------------------------------
|
|
|
|
~~ File Functional Summary ~~
|
|
|
|
File Function Count....: 4
|
|
Total Function LOC.....: 64 Total Function Pts LOC : 1.2
|
|
Total Function eLOC....: 53 Total Function Pts eLOC: 1.1
|
|
Total Function lLOC....: 32 Total Function Pts lLOC: 0.3
|
|
Total Function Params .: 5 Total Function Return .: 4
|
|
Total Cyclo Complexity : 12 Total Function Complex.: 21
|
|
------ ----- ----- ------ ------ -----
|
|
Max Function LOC ......: 25 Average Function LOC ..: 16.00
|
|
Max Function eLOC .....: 18 Average Function eLOC .: 13.25
|
|
Max Function lLOC .....: 11 Average Function lLOC .: 8.00
|
|
------ ----- ----- ------ ------ -----
|
|
Max Function Parameters: 2 Avg Function Parameters: 1.25
|
|
Max Function Returns ..: 1 Avg Function Returns ..: 1.00
|
|
Max Interface Complex. : 3 Avg Interface Complex. : 2.25
|
|
Max Cyclomatic Complex.: 4 Avg Cyclomatic Complex.: 3.00
|
|
Max Total Complexity ..: 6 Avg Total Complexity ..: 5.25
|
|
________________________________________________________________________
|
|
End of File: ..\source\qf_act.c
|
|
|
|
|
|
File: ..\source\qf_actq.c
|
|
________________________________________________________________________
|
|
|
|
Function: QActive_post_
|
|
Parameters: (QActive * const me, QEvt const * const e, uint_fast16_t con
|
|
st margin)
|
|
Cyclomatic Complexity Vg Detail
|
|
Function Base : 1
|
|
Conditional if / else if: 5
|
|
Logical or ( || ) : 1
|
|
Logical and ( && ) : 1
|
|
Complexity Param 3 Return 1 Cyclo Vg 8 Total 12
|
|
LOC 60 eLOC 50 lLOC 35 Comment 77 Lines 81
|
|
|
|
Function: QActive_postLIFO_
|
|
Parameters: (QActive * const me, QEvt const * const e)
|
|
Cyclomatic Complexity Vg Detail
|
|
Function Base : 1
|
|
Conditional if / else if: 4
|
|
Complexity Param 2 Return 1 Cyclo Vg 5 Total 8
|
|
LOC 37 eLOC 31 lLOC 22 Comment 36 Lines 50
|
|
|
|
Function: QActive_get_
|
|
Parameters: (QActive * const me)
|
|
Cyclomatic Complexity Vg Detail
|
|
Function Base : 1
|
|
Conditional if / else if: 2
|
|
Complexity Param 1 Return 1 Cyclo Vg 3 Total 5
|
|
LOC 37 eLOC 33 lLOC 23 Comment 32 Lines 47
|
|
|
|
Function: 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 6 Comment 18 Lines 13
|
|
|
|
Function: QTicker_ctor
|
|
Parameters: (QTicker * const me, uint8_t tickRate)
|
|
Complexity Param 2 Return 1 Cyclo Vg 1 Total 4
|
|
LOC 12 eLOC 10 lLOC 4 Comment 6 Lines 14
|
|
|
|
Function: QTicker_init_
|
|
Parameters: (QHsm * const me, QEvt const * const e)
|
|
Complexity Param 2 Return 1 Cyclo Vg 1 Total 4
|
|
LOC 5 eLOC 4 lLOC 3 Comment 1 Lines 5
|
|
|
|
Function: QTicker_dispatch_
|
|
Parameters: (QHsm * const me, QEvt const * const e)
|
|
Cyclomatic Complexity Vg Detail
|
|
Function Base : 1
|
|
Loops for / foreach : 1
|
|
Complexity Param 2 Return 1 Cyclo Vg 2 Total 5
|
|
LOC 12 eLOC 10 lLOC 8 Comment 4 Lines 15
|
|
|
|
Function: QTicker_post_
|
|
Parameters: (QActive * const me, QEvt const * const e, uint_fast16_t con
|
|
st margin)
|
|
Cyclomatic Complexity Vg Detail
|
|
Function Base : 1
|
|
Conditional if / else if: 1
|
|
Complexity Param 3 Return 1 Cyclo Vg 2 Total 6
|
|
LOC 24 eLOC 21 lLOC 17 Comment 15 Lines 32
|
|
|
|
Function: QTicker_postLIFO_
|
|
Parameters: (QActive * const me, QEvt const * const e)
|
|
Complexity Param 2 Return 1 Cyclo Vg 1 Total 4
|
|
LOC 5 eLOC 4 lLOC 3 Comment 1 Lines 5
|
|
|
|
------------------------------------------------------------------------
|
|
|
|
~~ Total File Summary ~~
|
|
|
|
LOC 238 eLOC 208 lLOC 126 Comment 252 Lines 453
|
|
------------------------------------------------------------------------
|
|
|
|
~~ File Functional Summary ~~
|
|
|
|
File Function Count....: 9
|
|
Total Function LOC.....: 202 Total Function Pts LOC : 1.9
|
|
Total Function eLOC....: 172 Total Function Pts eLOC: 1.6
|
|
Total Function lLOC....: 121 Total Function Pts lLOC: 1.0
|
|
Total Function Params .: 18 Total Function Return .: 9
|
|
Total Cyclo Complexity : 25 Total Function Complex.: 52
|
|
------ ----- ----- ------ ------ -----
|
|
Max Function LOC ......: 60 Average Function LOC ..: 22.44
|
|
Max Function eLOC .....: 50 Average Function eLOC .: 19.11
|
|
Max Function lLOC .....: 35 Average Function lLOC .: 13.44
|
|
------ ----- ----- ------ ------ -----
|
|
Max Function Parameters: 3 Avg Function Parameters: 2.00
|
|
Max Function Returns ..: 1 Avg Function Returns ..: 1.00
|
|
Max Interface Complex. : 4 Avg Interface Complex. : 3.00
|
|
Max Cyclomatic Complex.: 8 Avg Cyclomatic Complex.: 2.78
|
|
Max Total Complexity ..: 12 Avg Total Complexity ..: 5.78
|
|
________________________________________________________________________
|
|
End of File: ..\source\qf_actq.c
|
|
|
|
|
|
File: ..\source\qf_defer.c
|
|
________________________________________________________________________
|
|
|
|
Function: QActive_defer
|
|
Parameters: (QActive const * const me, QEQueue * const eq, QEvt const *
|
|
const e)
|
|
Complexity Param 3 Return 1 Cyclo Vg 1 Total 5
|
|
LOC 4 eLOC 2 lLOC 2 Comment 24 Lines 5
|
|
|
|
Function: QActive_recall
|
|
Parameters: (QActive * const me, QEQueue * const eq)
|
|
Cyclomatic Complexity Vg Detail
|
|
Function Base : 1
|
|
Conditional if / else if: 2
|
|
Complexity Param 2 Return 1 Cyclo Vg 3 Total 6
|
|
LOC 19 eLOC 15 lLOC 10 Comment 33 Lines 36
|
|
|
|
Function: QActive_flushDeferred
|
|
Parameters: (QActive const * const me, QEQueue * const eq)
|
|
Cyclomatic Complexity Vg Detail
|
|
Function Base : 1
|
|
Loops for / foreach : 1
|
|
Complexity Param 2 Return 1 Cyclo Vg 2 Total 5
|
|
LOC 10 eLOC 7 lLOC 7 Comment 17 Lines 12
|
|
|
|
------------------------------------------------------------------------
|
|
|
|
~~ Total File Summary ~~
|
|
|
|
LOC 47 eLOC 38 lLOC 19 Comment 121 Lines 167
|
|
------------------------------------------------------------------------
|
|
|
|
~~ File Functional Summary ~~
|
|
|
|
File Function Count....: 3
|
|
Total Function LOC.....: 33 Total Function Pts LOC : 0.4
|
|
Total Function eLOC....: 24 Total Function Pts eLOC: 0.3
|
|
Total Function lLOC....: 19 Total Function Pts lLOC: 0.1
|
|
Total Function Params .: 7 Total Function Return .: 3
|
|
Total Cyclo Complexity : 6 Total Function Complex.: 16
|
|
------ ----- ----- ------ ------ -----
|
|
Max Function LOC ......: 19 Average Function LOC ..: 11.00
|
|
Max Function eLOC .....: 15 Average Function eLOC .: 8.00
|
|
Max Function lLOC .....: 10 Average Function lLOC .: 6.33
|
|
------ ----- ----- ------ ------ -----
|
|
Max Function Parameters: 3 Avg Function Parameters: 2.33
|
|
Max Function Returns ..: 1 Avg Function Returns ..: 1.00
|
|
Max Interface Complex. : 4 Avg Interface Complex. : 3.33
|
|
Max Cyclomatic Complex.: 3 Avg Cyclomatic Complex.: 2.00
|
|
Max Total Complexity ..: 6 Avg Total Complexity ..: 5.33
|
|
________________________________________________________________________
|
|
End of File: ..\source\qf_defer.c
|
|
|
|
|
|
File: ..\source\qf_dyn.c
|
|
________________________________________________________________________
|
|
|
|
Function: QEvt_ctor
|
|
Parameters: (QEvt * const me, enum_t const sig)
|
|
Complexity Param 2 Return 1 Cyclo Vg 1 Total 4
|
|
LOC 5 eLOC 4 lLOC 3 Comment 9 Lines 6
|
|
|
|
Function: 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 9 eLOC 7 lLOC 4 Comment 38 Lines 13
|
|
|
|
Function: 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 29 eLOC 23 lLOC 14 Comment 37 Lines 39
|
|
|
|
Function: 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 26 eLOC 22 lLOC 13 Comment 35 Lines 39
|
|
|
|
Function: QF_newRef_
|
|
Parameters: (QEvt const * const e, QEvt const * const evtRef)
|
|
Cyclomatic Complexity Vg Detail
|
|
Function Base : 1
|
|
Conditional if / else if: 1
|
|
Complexity Param 2 Return 1 Cyclo Vg 2 Total 5
|
|
LOC 10 eLOC 8 lLOC 5 Comment 16 Lines 15
|
|
|
|
Function: QF_poolGetMaxBlockSize
|
|
Parameters: (void)
|
|
Complexity Param 0 Return 1 Cyclo Vg 1 Total 2
|
|
LOC 3 eLOC 2 lLOC 1 Comment 5 Lines 3
|
|
|
|
------------------------------------------------------------------------
|
|
|
|
~~ Total File Summary ~~
|
|
|
|
LOC 100 eLOC 84 lLOC 42 Comment 193 Lines 293
|
|
------------------------------------------------------------------------
|
|
|
|
~~ File Functional Summary ~~
|
|
|
|
File Function Count....: 6
|
|
Total Function LOC.....: 82 Total Function Pts LOC : 0.8
|
|
Total Function eLOC....: 66 Total Function Pts eLOC: 0.7
|
|
Total Function lLOC....: 40 Total Function Pts lLOC: 0.3
|
|
Total Function Params .: 11 Total Function Return .: 6
|
|
Total Cyclo Complexity : 14 Total Function Complex.: 31
|
|
------ ----- ----- ------ ------ -----
|
|
Max Function LOC ......: 29 Average Function LOC ..: 13.67
|
|
Max Function eLOC .....: 23 Average Function eLOC .: 11.00
|
|
Max Function lLOC .....: 14 Average Function lLOC .: 6.67
|
|
------ ----- ----- ------ ------ -----
|
|
Max Function Parameters: 3 Avg Function Parameters: 1.83
|
|
Max Function Returns ..: 1 Avg Function Returns ..: 1.00
|
|
Max Interface Complex. : 4 Avg Interface Complex. : 2.83
|
|
Max Cyclomatic Complex.: 5 Avg Cyclomatic Complex.: 2.33
|
|
Max Total Complexity ..: 9 Avg Total Complexity ..: 5.17
|
|
________________________________________________________________________
|
|
End of File: ..\source\qf_dyn.c
|
|
|
|
|
|
File: ..\source\qf_mem.c
|
|
________________________________________________________________________
|
|
|
|
Function: QMPool_init
|
|
Parameters: (QMPool * const me, void * const poolSto, uint_fast32_t pool
|
|
Size, uint_fast16_t blockSize)
|
|
Cyclomatic Complexity Vg Detail
|
|
Function Base : 1
|
|
Loops while / do : 2
|
|
Logical and ( && ) : 2
|
|
Complexity Param 4 Return 1 Cyclo Vg 5 Total 10
|
|
LOC 36 eLOC 32 lLOC 24 Comment 58 Lines 52
|
|
|
|
Function: QMPool_put
|
|
Parameters: (QMPool * const me, void *b)
|
|
Cyclomatic Complexity Vg Detail
|
|
Function Base : 1
|
|
Logical and ( && ) : 1
|
|
Complexity Param 2 Return 1 Cyclo Vg 2 Total 5
|
|
LOC 15 eLOC 14 lLOC 9 Comment 29 Lines 22
|
|
|
|
Function: QMPool_get
|
|
Parameters: (QMPool * const me, uint_fast16_t const margin)
|
|
Cyclomatic Complexity Vg Detail
|
|
Function Base : 1
|
|
Conditional if / else if: 3
|
|
Complexity Param 2 Return 1 Cyclo Vg 4 Total 7
|
|
LOC 42 eLOC 36 lLOC 23 Comment 54 Lines 66
|
|
|
|
Function: 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 6 Comment 13 Lines 14
|
|
|
|
------------------------------------------------------------------------
|
|
|
|
~~ Total File Summary ~~
|
|
|
|
LOC 115 eLOC 103 lLOC 62 Comment 201 Lines 302
|
|
------------------------------------------------------------------------
|
|
|
|
~~ File Functional Summary ~~
|
|
|
|
File Function Count....: 4
|
|
Total Function LOC.....: 103 Total Function Pts LOC : 0.9
|
|
Total Function eLOC....: 91 Total Function Pts eLOC: 0.8
|
|
Total Function lLOC....: 62 Total Function Pts lLOC: 0.5
|
|
Total Function Params .: 9 Total Function Return .: 4
|
|
Total Cyclo Complexity : 13 Total Function Complex.: 26
|
|
------ ----- ----- ------ ------ -----
|
|
Max Function LOC ......: 42 Average Function LOC ..: 25.75
|
|
Max Function eLOC .....: 36 Average Function eLOC .: 22.75
|
|
Max Function lLOC .....: 24 Average Function lLOC .: 15.50
|
|
------ ----- ----- ------ ------ -----
|
|
Max Function Parameters: 4 Avg Function Parameters: 2.25
|
|
Max Function Returns ..: 1 Avg Function Returns ..: 1.00
|
|
Max Interface Complex. : 5 Avg Interface Complex. : 3.25
|
|
Max Cyclomatic Complex.: 5 Avg Cyclomatic Complex.: 3.25
|
|
Max Total Complexity ..: 10 Avg Total Complexity ..: 6.50
|
|
________________________________________________________________________
|
|
End of File: ..\source\qf_mem.c
|
|
|
|
|
|
File: ..\source\qf_ps.c
|
|
________________________________________________________________________
|
|
|
|
Function: 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 12
|
|
|
|
Function: QF_publish_
|
|
Parameters: (QEvt const * const e)
|
|
Cyclomatic Complexity Vg Detail
|
|
Function Base : 1
|
|
Loops while / do : 1
|
|
Conditional if / else if: 3
|
|
Complexity Param 1 Return 1 Cyclo Vg 5 Total 7
|
|
LOC 36 eLOC 30 lLOC 21 Comment 50 Lines 63
|
|
|
|
Function: QActive_subscribe
|
|
Parameters: (QActive const * const me, enum_t const sig)
|
|
Cyclomatic Complexity Vg Detail
|
|
Function Base : 1
|
|
Logical and ( && ) : 4
|
|
Complexity Param 2 Return 1 Cyclo Vg 5 Total 8
|
|
LOC 16 eLOC 15 lLOC 8 Comment 22 Lines 22
|
|
|
|
Function: QActive_unsubscribe
|
|
Parameters: (QActive const * const me, enum_t const sig)
|
|
Cyclomatic Complexity Vg Detail
|
|
Function Base : 1
|
|
Logical and ( && ) : 4
|
|
Complexity Param 2 Return 1 Cyclo Vg 5 Total 8
|
|
LOC 16 eLOC 15 lLOC 8 Comment 29 Lines 25
|
|
|
|
Function: QActive_unsubscribeAll
|
|
Parameters: (QActive const * const me)
|
|
Cyclomatic Complexity Vg Detail
|
|
Function Base : 1
|
|
Loops for / foreach : 1
|
|
Conditional if / else if: 1
|
|
Logical and ( && ) : 2
|
|
Complexity Param 1 Return 1 Cyclo Vg 5 Total 7
|
|
LOC 21 eLOC 18 lLOC 10 Comment 24 Lines 24
|
|
|
|
------------------------------------------------------------------------
|
|
|
|
~~ Total File Summary ~~
|
|
|
|
LOC 113 eLOC 101 lLOC 52 Comment 205 Lines 320
|
|
------------------------------------------------------------------------
|
|
|
|
~~ File Functional Summary ~~
|
|
|
|
File Function Count....: 5
|
|
Total Function LOC.....: 96 Total Function Pts LOC : 0.9
|
|
Total Function eLOC....: 84 Total Function Pts eLOC: 0.8
|
|
Total Function lLOC....: 50 Total Function Pts lLOC: 0.4
|
|
Total Function Params .: 8 Total Function Return .: 5
|
|
Total Cyclo Complexity : 21 Total Function Complex.: 34
|
|
------ ----- ----- ------ ------ -----
|
|
Max Function LOC ......: 36 Average Function LOC ..: 19.20
|
|
Max Function eLOC .....: 30 Average Function eLOC .: 16.80
|
|
Max Function lLOC .....: 21 Average Function lLOC .: 10.00
|
|
------ ----- ----- ------ ------ -----
|
|
Max Function Parameters: 2 Avg Function Parameters: 1.60
|
|
Max Function Returns ..: 1 Avg Function Returns ..: 1.00
|
|
Max Interface Complex. : 3 Avg Interface Complex. : 2.60
|
|
Max Cyclomatic Complex.: 5 Avg Cyclomatic Complex.: 4.20
|
|
Max Total Complexity ..: 8 Avg Total Complexity ..: 6.80
|
|
________________________________________________________________________
|
|
End of File: ..\source\qf_ps.c
|
|
|
|
|
|
File: ..\source\qf_qact.c
|
|
________________________________________________________________________
|
|
|
|
Function: QActive_ctor
|
|
Parameters: (QActive * const me, QStateHandler initial)
|
|
Complexity Param 2 Return 1 Cyclo Vg 1 Total 4
|
|
LOC 12 eLOC 10 lLOC 4 Comment 19 Lines 17
|
|
|
|
------------------------------------------------------------------------
|
|
|
|
~~ Total File Summary ~~
|
|
|
|
LOC 14 eLOC 12 lLOC 4 Comment 69 Lines 81
|
|
------------------------------------------------------------------------
|
|
|
|
~~ File Functional Summary ~~
|
|
|
|
File Function Count....: 1
|
|
Total Function LOC.....: 12 Total Function Pts LOC : 0.1
|
|
Total Function eLOC....: 10 Total Function Pts eLOC: 0.1
|
|
Total Function lLOC....: 4 Total Function Pts lLOC: 0.0
|
|
Total Function Params .: 2 Total Function Return .: 1
|
|
Total Cyclo Complexity : 1 Total Function Complex.: 4
|
|
------ ----- ----- ------ ------ -----
|
|
Max Function LOC ......: 12 Average Function LOC ..: 12.00
|
|
Max Function eLOC .....: 10 Average Function eLOC .: 10.00
|
|
Max Function lLOC .....: 4 Average Function lLOC .: 4.00
|
|
------ ----- ----- ------ ------ -----
|
|
Max Function Parameters: 2 Avg Function Parameters: 2.00
|
|
Max Function Returns ..: 1 Avg Function Returns ..: 1.00
|
|
Max Interface Complex. : 3 Avg Interface Complex. : 3.00
|
|
Max Cyclomatic Complex.: 1 Avg Cyclomatic Complex.: 1.00
|
|
Max Total Complexity ..: 4 Avg Total Complexity ..: 4.00
|
|
________________________________________________________________________
|
|
End of File: ..\source\qf_qact.c
|
|
|
|
|
|
File: ..\source\qf_qeq.c
|
|
________________________________________________________________________
|
|
|
|
Function: QEQueue_init
|
|
Parameters: (QEQueue * const me, QEvt const *qSto[], uint_fast16_t const
|
|
qLen)
|
|
Cyclomatic Complexity Vg Detail
|
|
Function Base : 1
|
|
Conditional if / else if: 1
|
|
Complexity Param 3 Return 1 Cyclo Vg 2 Total 6
|
|
LOC 16 eLOC 13 lLOC 9 Comment 22 Lines 18
|
|
|
|
Function: QEQueue_post
|
|
Parameters: (QEQueue * const me, QEvt const * const e, uint_fast16_t con
|
|
st margin)
|
|
Cyclomatic Complexity Vg Detail
|
|
Function Base : 1
|
|
Conditional if / else if: 5
|
|
Complexity Param 3 Return 1 Cyclo Vg 6 Total 10
|
|
LOC 53 eLOC 44 lLOC 30 Comment 55 Lines 74
|
|
|
|
Function: QEQueue_postLIFO
|
|
Parameters: (QEQueue * const me, QEvt const * const e)
|
|
Cyclomatic Complexity Vg Detail
|
|
Function Base : 1
|
|
Conditional if / else if: 4
|
|
Complexity Param 2 Return 1 Cyclo Vg 5 Total 8
|
|
LOC 34 eLOC 29 lLOC 21 Comment 41 Lines 44
|
|
|
|
Function: QEQueue_get
|
|
Parameters: (QEQueue * const me)
|
|
Cyclomatic Complexity Vg Detail
|
|
Function Base : 1
|
|
Conditional if / else if: 3
|
|
Complexity Param 1 Return 1 Cyclo Vg 4 Total 6
|
|
LOC 37 eLOC 32 lLOC 21 Comment 35 Lines 47
|
|
|
|
------------------------------------------------------------------------
|
|
|
|
~~ Total File Summary ~~
|
|
|
|
LOC 154 eLOC 132 lLOC 81 Comment 204 Lines 322
|
|
------------------------------------------------------------------------
|
|
|
|
~~ File Functional Summary ~~
|
|
|
|
File Function Count....: 4
|
|
Total Function LOC.....: 140 Total Function Pts LOC : 1.2
|
|
Total Function eLOC....: 118 Total Function Pts eLOC: 1.0
|
|
Total Function lLOC....: 81 Total Function Pts lLOC: 0.6
|
|
Total Function Params .: 9 Total Function Return .: 4
|
|
Total Cyclo Complexity : 17 Total Function Complex.: 30
|
|
------ ----- ----- ------ ------ -----
|
|
Max Function LOC ......: 53 Average Function LOC ..: 35.00
|
|
Max Function eLOC .....: 44 Average Function eLOC .: 29.50
|
|
Max Function lLOC .....: 30 Average Function lLOC .: 20.25
|
|
------ ----- ----- ------ ------ -----
|
|
Max Function Parameters: 3 Avg Function Parameters: 2.25
|
|
Max Function Returns ..: 1 Avg Function Returns ..: 1.00
|
|
Max Interface Complex. : 4 Avg Interface Complex. : 3.25
|
|
Max Cyclomatic Complex.: 6 Avg Cyclomatic Complex.: 4.25
|
|
Max Total Complexity ..: 10 Avg Total Complexity ..: 7.50
|
|
________________________________________________________________________
|
|
End of File: ..\source\qf_qeq.c
|
|
|
|
|
|
File: ..\source\qf_qmact.c
|
|
________________________________________________________________________
|
|
|
|
Function: QMActive_ctor
|
|
Parameters: (QMActive * const me, QStateHandler initial)
|
|
Complexity Param 2 Return 1 Cyclo Vg 1 Total 4
|
|
LOC 12 eLOC 10 lLOC 4 Comment 28 Lines 28
|
|
|
|
------------------------------------------------------------------------
|
|
|
|
~~ Total File Summary ~~
|
|
|
|
LOC 15 eLOC 13 lLOC 4 Comment 79 Lines 94
|
|
------------------------------------------------------------------------
|
|
|
|
~~ File Functional Summary ~~
|
|
|
|
File Function Count....: 1
|
|
Total Function LOC.....: 12 Total Function Pts LOC : 0.1
|
|
Total Function eLOC....: 10 Total Function Pts eLOC: 0.1
|
|
Total Function lLOC....: 4 Total Function Pts lLOC: 0.0
|
|
Total Function Params .: 2 Total Function Return .: 1
|
|
Total Cyclo Complexity : 1 Total Function Complex.: 4
|
|
------ ----- ----- ------ ------ -----
|
|
Max Function LOC ......: 12 Average Function LOC ..: 12.00
|
|
Max Function eLOC .....: 10 Average Function eLOC .: 10.00
|
|
Max Function lLOC .....: 4 Average Function lLOC .: 4.00
|
|
------ ----- ----- ------ ------ -----
|
|
Max Function Parameters: 2 Avg Function Parameters: 2.00
|
|
Max Function Returns ..: 1 Avg Function Returns ..: 1.00
|
|
Max Interface Complex. : 3 Avg Interface Complex. : 3.00
|
|
Max Cyclomatic Complex.: 1 Avg Cyclomatic Complex.: 1.00
|
|
Max Total Complexity ..: 4 Avg Total Complexity ..: 4.00
|
|
________________________________________________________________________
|
|
End of File: ..\source\qf_qmact.c
|
|
|
|
|
|
File: ..\source\qf_time.c
|
|
________________________________________________________________________
|
|
|
|
Function: 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 53 Lines 94
|
|
|
|
Function: 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 13 Lines 17
|
|
|
|
Function: QTimeEvt_ctorX
|
|
Parameters: (QTimeEvt * const me, QActive * const act, enum_t const sig,
|
|
uint_fast8_t tickRate)
|
|
Cyclomatic Complexity Vg Detail
|
|
Function Base : 1
|
|
Logical and ( && ) : 1
|
|
Complexity Param 4 Return 1 Cyclo Vg 2 Total 7
|
|
LOC 11 eLOC 9 lLOC 8 Comment 32 Lines 31
|
|
|
|
Function: QTimeEvt_armX
|
|
Parameters: (QTimeEvt * const me, QTimeEvtCtr const nTicks, QTimeEvtCtr
|
|
const interval)
|
|
Cyclomatic Complexity Vg Detail
|
|
Function Base : 1
|
|
Conditional if / else if: 1
|
|
Logical and ( && ) : 4
|
|
Complexity Param 3 Return 1 Cyclo Vg 6 Total 10
|
|
LOC 28 eLOC 25 lLOC 16 Comment 49 Lines 50
|
|
|
|
Function: QTimeEvt_disarm
|
|
Parameters: (QTimeEvt * const me)
|
|
Cyclomatic Complexity Vg Detail
|
|
Function Base : 1
|
|
Conditional if / else if: 1
|
|
Complexity Param 1 Return 1 Cyclo Vg 2 Total 4
|
|
LOC 29 eLOC 26 lLOC 17 Comment 30 Lines 37
|
|
|
|
Function: QTimeEvt_rearm
|
|
Parameters: (QTimeEvt * const me, QTimeEvtCtr const nTicks)
|
|
Cyclomatic Complexity Vg Detail
|
|
Function Base : 1
|
|
Conditional if / else if: 2
|
|
Inlined if-else ( ? : ) : 1
|
|
Logical and ( && ) : 3
|
|
Complexity Param 2 Return 1 Cyclo Vg 7 Total 10
|
|
LOC 34 eLOC 30 lLOC 18 Comment 47 Lines 60
|
|
|
|
Function: QTimeEvt_ctr
|
|
Parameters: (QTimeEvt const * const me)
|
|
Complexity Param 1 Return 1 Cyclo Vg 1 Total 3
|
|
LOC 16 eLOC 15 lLOC 11 Comment 20 Lines 19
|
|
|
|
------------------------------------------------------------------------
|
|
|
|
~~ Total File Summary ~~
|
|
|
|
LOC 218 eLOC 189 lLOC 113 Comment 304 Lines 514
|
|
------------------------------------------------------------------------
|
|
|
|
~~ File Functional Summary ~~
|
|
|
|
File Function Count....: 7
|
|
Total Function LOC.....: 198 Total Function Pts LOC : 1.7
|
|
Total Function eLOC....: 169 Total Function Pts eLOC: 1.5
|
|
Total Function lLOC....: 112 Total Function Pts lLOC: 0.9
|
|
Total Function Params .: 13 Total Function Return .: 7
|
|
Total Cyclo Complexity : 28 Total Function Complex.: 48
|
|
------ ----- ----- ------ ------ -----
|
|
Max Function LOC ......: 66 Average Function LOC ..: 28.29
|
|
Max Function eLOC .....: 54 Average Function eLOC .: 24.14
|
|
Max Function lLOC .....: 36 Average Function lLOC .: 16.00
|
|
------ ----- ----- ------ ------ -----
|
|
Max Function Parameters: 4 Avg Function Parameters: 1.86
|
|
Max Function Returns ..: 1 Avg Function Returns ..: 1.00
|
|
Max Interface Complex. : 5 Avg Interface Complex. : 2.86
|
|
Max Cyclomatic Complex.: 7 Avg Cyclomatic Complex.: 4.00
|
|
Max Total Complexity ..: 10 Avg Total Complexity ..: 6.86
|
|
________________________________________________________________________
|
|
End of File: ..\source\qf_time.c
|
|
|
|
|
|
File: ..\source\qk.c
|
|
________________________________________________________________________
|
|
|
|
Function: QF_init
|
|
Parameters: (void)
|
|
Complexity Param 0 Return 1 Cyclo Vg 1 Total 2
|
|
LOC 13 eLOC 12 lLOC 9 Comment 14 Lines 16
|
|
|
|
Function: QF_stop
|
|
Parameters: (void)
|
|
Complexity Param 0 Return 1 Cyclo Vg 1 Total 2
|
|
LOC 3 eLOC 2 lLOC 1 Comment 14 Lines 4
|
|
|
|
Function: 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: 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 14
|
|
|
|
Function: QActive_start_
|
|
Parameters: (QActive * const me, uint_fast8_t prio, QEvt const *qSto[],
|
|
uint_fast16_t qLen, void *stkSto, uint_fast16_t stkSize, QEv
|
|
t const *ie)
|
|
Cyclomatic Complexity Vg Detail
|
|
Function Base : 1
|
|
Conditional if / else if: 1
|
|
Logical and ( && ) : 3
|
|
Complexity Param 7 Return 1 Cyclo Vg 5 Total 13
|
|
LOC 18 eLOC 15 lLOC 10 Comment 34 Lines 28
|
|
|
|
Function: QActive_stop
|
|
Parameters: (QActive * const me)
|
|
Cyclomatic Complexity Vg Detail
|
|
Function Base : 1
|
|
Conditional if / else if: 1
|
|
Complexity Param 1 Return 1 Cyclo Vg 2 Total 4
|
|
LOC 11 eLOC 9 lLOC 6 Comment 13 Lines 15
|
|
|
|
Function: QK_sched_
|
|
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 15 eLOC 11 lLOC 7 Comment 21 Lines 19
|
|
|
|
Function: QK_activate_
|
|
Parameters: (void)
|
|
Cyclomatic Complexity Vg Detail
|
|
Function Base : 1
|
|
Loops while / do : 1
|
|
Conditional if / else if: 5
|
|
Complexity Param 0 Return 1 Cyclo Vg 7 Total 8
|
|
LOC 60 eLOC 52 lLOC 29 Comment 48 Lines 86
|
|
|
|
------------------------------------------------------------------------
|
|
|
|
~~ Total File Summary ~~
|
|
|
|
LOC 157 eLOC 134 lLOC 73 Comment 213 Lines 353
|
|
------------------------------------------------------------------------
|
|
|
|
~~ File Functional Summary ~~
|
|
|
|
File Function Count....: 8
|
|
Total Function LOC.....: 138 Total Function Pts LOC : 1.2
|
|
Total Function eLOC....: 115 Total Function Pts eLOC: 1.0
|
|
Total Function lLOC....: 71 Total Function Pts lLOC: 0.6
|
|
Total Function Params .: 8 Total Function Return .: 8
|
|
Total Cyclo Complexity : 23 Total Function Complex.: 39
|
|
------ ----- ----- ------ ------ -----
|
|
Max Function LOC ......: 60 Average Function LOC ..: 17.25
|
|
Max Function eLOC .....: 52 Average Function eLOC .: 14.38
|
|
Max Function lLOC .....: 29 Average Function lLOC .: 8.88
|
|
------ ----- ----- ------ ------ -----
|
|
Max Function Parameters: 7 Avg Function Parameters: 1.00
|
|
Max Function Returns ..: 1 Avg Function Returns ..: 1.00
|
|
Max Interface Complex. : 8 Avg Interface Complex. : 2.00
|
|
Max Cyclomatic Complex.: 7 Avg Cyclomatic Complex.: 2.88
|
|
Max Total Complexity ..: 13 Avg Total Complexity ..: 4.88
|
|
________________________________________________________________________
|
|
End of File: ..\source\qk.c
|
|
|
|
|
|
File: ..\source\qk_mutex.c
|
|
________________________________________________________________________
|
|
|
|
Function: QMutex_init
|
|
Parameters: (QMutex * const me, uint_fast8_t prio)
|
|
Complexity Param 2 Return 1 Cyclo Vg 1 Total 4
|
|
LOC 4 eLOC 3 lLOC 2 Comment 17 Lines 4
|
|
|
|
Function: QMutex_lock
|
|
Parameters: (QMutex * const me)
|
|
Cyclomatic Complexity Vg Detail
|
|
Function Base : 1
|
|
Conditional if / else if: 1
|
|
Logical and ( && ) : 1
|
|
Complexity Param 1 Return 1 Cyclo Vg 3 Total 5
|
|
LOC 16 eLOC 14 lLOC 7 Comment 28 Lines 23
|
|
|
|
Function: QMutex_unlock
|
|
Parameters: (QMutex * const me)
|
|
Cyclomatic Complexity Vg Detail
|
|
Function Base : 1
|
|
Conditional if / else if: 2
|
|
Inlined if-else ( ? : ) : 1
|
|
Logical and ( && ) : 1
|
|
Complexity Param 1 Return 1 Cyclo Vg 5 Total 7
|
|
LOC 23 eLOC 20 lLOC 10 Comment 28 Lines 30
|
|
|
|
------------------------------------------------------------------------
|
|
|
|
~~ Total File Summary ~~
|
|
|
|
LOC 59 eLOC 52 lLOC 20 Comment 122 Lines 175
|
|
------------------------------------------------------------------------
|
|
|
|
~~ File Functional Summary ~~
|
|
|
|
File Function Count....: 3
|
|
Total Function LOC.....: 43 Total Function Pts LOC : 0.5
|
|
Total Function eLOC....: 37 Total Function Pts eLOC: 0.4
|
|
Total Function lLOC....: 19 Total Function Pts lLOC: 0.2
|
|
Total Function Params .: 4 Total Function Return .: 3
|
|
Total Cyclo Complexity : 9 Total Function Complex.: 16
|
|
------ ----- ----- ------ ------ -----
|
|
Max Function LOC ......: 23 Average Function LOC ..: 14.33
|
|
Max Function eLOC .....: 20 Average Function eLOC .: 12.33
|
|
Max Function lLOC .....: 10 Average Function lLOC .: 6.33
|
|
------ ----- ----- ------ ------ -----
|
|
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.: 5 Avg Cyclomatic Complex.: 3.00
|
|
Max Total Complexity ..: 7 Avg Total Complexity ..: 5.33
|
|
________________________________________________________________________
|
|
End of File: ..\source\qk_mutex.c
|
|
|
|
|
|
File: ..\source\qs.c
|
|
________________________________________________________________________
|
|
|
|
Function: QS_initBuf
|
|
Parameters: (uint8_t sto[], uint_fast16_t stoSize)
|
|
Complexity Param 2 Return 1 Cyclo Vg 1 Total 4
|
|
LOC 21 eLOC 20 lLOC 19 Comment 31 Lines 31
|
|
|
|
Function: QS_filterOn
|
|
Parameters: (uint_fast8_t rec)
|
|
Cyclomatic Complexity Vg Detail
|
|
Function Base : 1
|
|
Loops for / foreach : 1
|
|
Conditional if / else if: 14
|
|
Complexity Param 1 Return 1 Cyclo Vg 16 Total 18
|
|
LOC 73 eLOC 56 lLOC 39 Comment 16 Lines 75
|
|
|
|
Function: QS_filterOff
|
|
Parameters: (uint_fast8_t rec)
|
|
Cyclomatic Complexity Vg Detail
|
|
Function Base : 1
|
|
Loops for / foreach : 1
|
|
Conditional if / else if: 14
|
|
Complexity Param 1 Return 1 Cyclo Vg 16 Total 18
|
|
LOC 76 eLOC 59 lLOC 43 Comment 16 Lines 80
|
|
|
|
Function: QS_beginRec
|
|
Parameters: (uint_fast8_t rec)
|
|
Complexity Param 1 Return 1 Cyclo Vg 1 Total 3
|
|
LOC 14 eLOC 13 lLOC 10 Comment 18 Lines 18
|
|
|
|
Function: QS_endRec
|
|
Parameters: (void)
|
|
Cyclomatic Complexity Vg Detail
|
|
Function Base : 1
|
|
Conditional if / else if: 2
|
|
Logical and ( && ) : 1
|
|
Complexity Param 0 Return 1 Cyclo Vg 4 Total 5
|
|
LOC 22 eLOC 18 lLOC 10 Comment 17 Lines 28
|
|
|
|
Function: QS_target_info_
|
|
Parameters: (uint8_t isReset)
|
|
Cyclomatic Complexity Vg Detail
|
|
Function Base : 1
|
|
Selection case : 12
|
|
Conditional if / else if: 2
|
|
Complexity Param 1 Return 1 Cyclo Vg 15 Total 17
|
|
LOC 97 eLOC 90 lLOC 48 Comment 10 Lines 111
|
|
|
|
Function: QS_u8
|
|
Parameters: (uint8_t format, uint8_t d)
|
|
Complexity Param 2 Return 1 Cyclo Vg 1 Total 4
|
|
LOC 11 eLOC 10 lLOC 7 Comment 13 Lines 14
|
|
|
|
Function: QS_u16
|
|
Parameters: (uint8_t format, uint16_t d)
|
|
Complexity Param 2 Return 1 Cyclo Vg 1 Total 4
|
|
LOC 15 eLOC 14 lLOC 10 Comment 13 Lines 20
|
|
|
|
Function: QS_u32
|
|
Parameters: (uint8_t format, uint32_t d)
|
|
Cyclomatic Complexity Vg Detail
|
|
Function Base : 1
|
|
Loops for / foreach : 1
|
|
Complexity Param 2 Return 1 Cyclo Vg 2 Total 5
|
|
LOC 16 eLOC 14 lLOC 11 Comment 14 Lines 20
|
|
|
|
Function: QS_u8_
|
|
Parameters: (uint8_t d)
|
|
Complexity Param 1 Return 1 Cyclo Vg 1 Total 3
|
|
LOC 10 eLOC 9 lLOC 7 Comment 12 Lines 12
|
|
|
|
Function: QS_u8u8_
|
|
Parameters: (uint8_t d1, uint8_t d2)
|
|
Complexity Param 2 Return 1 Cyclo Vg 1 Total 4
|
|
LOC 11 eLOC 10 lLOC 7 Comment 11 Lines 13
|
|
|
|
Function: QS_u16_
|
|
Parameters: (uint16_t d)
|
|
Complexity Param 1 Return 1 Cyclo Vg 1 Total 3
|
|
LOC 14 eLOC 13 lLOC 10 Comment 12 Lines 18
|
|
|
|
Function: QS_u32_
|
|
Parameters: (uint32_t d)
|
|
Cyclomatic Complexity Vg Detail
|
|
Function Base : 1
|
|
Loops for / foreach : 1
|
|
Complexity Param 1 Return 1 Cyclo Vg 2 Total 4
|
|
LOC 15 eLOC 13 lLOC 11 Comment 11 Lines 17
|
|
|
|
Function: QS_str_
|
|
Parameters: (char_t const *s)
|
|
Cyclomatic Complexity Vg Detail
|
|
Function Base : 1
|
|
Loops while / do : 1
|
|
Complexity Param 1 Return 1 Cyclo Vg 2 Total 4
|
|
LOC 20 eLOC 18 lLOC 14 Comment 16 Lines 22
|
|
|
|
Function: QS_getByte
|
|
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 18 eLOC 14 lLOC 10 Comment 20 Lines 18
|
|
|
|
Function: QS_getBlock
|
|
Parameters: (uint16_t *pNbytes)
|
|
Cyclomatic Complexity Vg Detail
|
|
Function Base : 1
|
|
Conditional if / else if: 4
|
|
Complexity Param 1 Return 1 Cyclo Vg 5 Total 7
|
|
LOC 28 eLOC 22 lLOC 16 Comment 32 Lines 32
|
|
|
|
Function: QS_sig_dict
|
|
Parameters: (enum_t const sig, void const * const obj, char_t const *nam
|
|
e)
|
|
Cyclomatic Complexity Vg Detail
|
|
Function Base : 1
|
|
Conditional if / else if: 1
|
|
Complexity Param 3 Return 1 Cyclo Vg 2 Total 6
|
|
LOC 14 eLOC 11 lLOC 9 Comment 3 Lines 15
|
|
|
|
Function: QS_obj_dict
|
|
Parameters: (void const * const obj, char_t const *name)
|
|
Cyclomatic Complexity Vg Detail
|
|
Function Base : 1
|
|
Conditional if / else if: 1
|
|
Complexity Param 2 Return 1 Cyclo Vg 2 Total 5
|
|
LOC 13 eLOC 10 lLOC 8 Comment 3 Lines 14
|
|
|
|
Function: QS_fun_dict
|
|
Parameters: (void (* const fun)(void), char_t const *name)
|
|
Cyclomatic Complexity Vg Detail
|
|
Function Base : 1
|
|
Conditional if / else if: 1
|
|
Complexity Param 2 Return 1 Cyclo Vg 2 Total 5
|
|
LOC 13 eLOC 11 lLOC 8 Comment 3 Lines 14
|
|
|
|
Function: QS_usr_dict
|
|
Parameters: (enum_t const rec, char_t const * const name)
|
|
Complexity Param 2 Return 1 Cyclo Vg 1 Total 4
|
|
LOC 10 eLOC 8 lLOC 7 Comment 3 Lines 11
|
|
|
|
Function: QS_mem
|
|
Parameters: (uint8_t const *blk, uint8_t size)
|
|
Cyclomatic Complexity Vg Detail
|
|
Function Base : 1
|
|
Loops while / do : 1
|
|
Complexity Param 2 Return 1 Cyclo Vg 2 Total 5
|
|
LOC 18 eLOC 16 lLOC 11 Comment 11 Lines 23
|
|
|
|
Function: QS_str
|
|
Parameters: (char_t const *s)
|
|
Cyclomatic Complexity Vg Detail
|
|
Function Base : 1
|
|
Loops while / do : 1
|
|
Complexity Param 1 Return 1 Cyclo Vg 2 Total 4
|
|
LOC 21 eLOC 19 lLOC 14 Comment 16 Lines 24
|
|
|
|
------------------------------------------------------------------------
|
|
|
|
~~ Total File Summary ~~
|
|
|
|
LOC 563 eLOC 481 lLOC 332 Comment 346 Lines 872
|
|
------------------------------------------------------------------------
|
|
|
|
~~ File Functional Summary ~~
|
|
|
|
File Function Count....: 22
|
|
Total Function LOC.....: 550 Total Function Pts LOC : 4.4
|
|
Total Function eLOC....: 468 Total Function Pts eLOC: 3.8
|
|
Total Function lLOC....: 329 Total Function Pts lLOC: 2.6
|
|
Total Function Params .: 31 Total Function Return .: 22
|
|
Total Cyclo Complexity : 83 Total Function Complex.: 136
|
|
------ ----- ----- ------ ------ -----
|
|
Max Function LOC ......: 97 Average Function LOC ..: 25.00
|
|
Max Function eLOC .....: 90 Average Function eLOC .: 21.27
|
|
Max Function lLOC .....: 48 Average Function lLOC .: 14.95
|
|
------ ----- ----- ------ ------ -----
|
|
Max Function Parameters: 3 Avg Function Parameters: 1.41
|
|
Max Function Returns ..: 1 Avg Function Returns ..: 1.00
|
|
Max Interface Complex. : 4 Avg Interface Complex. : 2.41
|
|
Max Cyclomatic Complex.: 16 Avg Cyclomatic Complex.: 3.77
|
|
Max Total Complexity ..: 18 Avg Total Complexity ..: 6.18
|
|
________________________________________________________________________
|
|
End of File: ..\source\qs.c
|
|
|
|
|
|
File: ..\source\qs_64bit.c
|
|
________________________________________________________________________
|
|
|
|
Function: QS_u64_
|
|
Parameters: (uint64_t d)
|
|
Cyclomatic Complexity Vg Detail
|
|
Function Base : 1
|
|
Loops for / foreach : 1
|
|
Complexity Param 1 Return 1 Cyclo Vg 2 Total 4
|
|
LOC 15 eLOC 13 lLOC 11 Comment 7 Lines 17
|
|
|
|
Function: QS_u64
|
|
Parameters: (uint8_t format, uint64_t d)
|
|
Cyclomatic Complexity Vg Detail
|
|
Function Base : 1
|
|
Loops for / foreach : 1
|
|
Complexity Param 2 Return 1 Cyclo Vg 2 Total 5
|
|
LOC 16 eLOC 14 lLOC 11 Comment 9 Lines 20
|
|
|
|
------------------------------------------------------------------------
|
|
|
|
~~ Total File Summary ~~
|
|
|
|
LOC 35 eLOC 31 lLOC 22 Comment 57 Lines 94
|
|
------------------------------------------------------------------------
|
|
|
|
~~ File Functional Summary ~~
|
|
|
|
File Function Count....: 2
|
|
Total Function LOC.....: 31 Total Function Pts LOC : 0.3
|
|
Total Function eLOC....: 27 Total Function Pts eLOC: 0.2
|
|
Total Function lLOC....: 22 Total Function Pts lLOC: 0.2
|
|
Total Function Params .: 3 Total Function Return .: 2
|
|
Total Cyclo Complexity : 4 Total Function Complex.: 9
|
|
------ ----- ----- ------ ------ -----
|
|
Max Function LOC ......: 16 Average Function LOC ..: 15.50
|
|
Max Function eLOC .....: 14 Average Function eLOC .: 13.50
|
|
Max Function lLOC .....: 11 Average Function lLOC .: 11.00
|
|
------ ----- ----- ------ ------ -----
|
|
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.: 2 Avg Cyclomatic Complex.: 2.00
|
|
Max Total Complexity ..: 5 Avg Total Complexity ..: 4.50
|
|
________________________________________________________________________
|
|
End of File: ..\source\qs_64bit.c
|
|
|
|
|
|
File: ..\source\qs_fp.c
|
|
________________________________________________________________________
|
|
|
|
Function: QS_f32
|
|
Parameters: (uint8_t format, float32_t f)
|
|
Cyclomatic Complexity Vg Detail
|
|
Function Base : 1
|
|
Loops for / foreach : 1
|
|
Complexity Param 2 Return 1 Cyclo Vg 2 Total 5
|
|
LOC 21 eLOC 19 lLOC 15 Comment 16 Lines 26
|
|
|
|
Function: QS_f64
|
|
Parameters: (uint8_t format, float64_t d)
|
|
Cyclomatic Complexity Vg Detail
|
|
Function Base : 1
|
|
Loops for / foreach : 2
|
|
Conditional if / else if: 1
|
|
Complexity Param 2 Return 1 Cyclo Vg 4 Total 7
|
|
LOC 38 eLOC 34 lLOC 26 Comment 17 Lines 49
|
|
|
|
------------------------------------------------------------------------
|
|
|
|
~~ Total File Summary ~~
|
|
|
|
LOC 61 eLOC 55 lLOC 41 Comment 73 Lines 129
|
|
------------------------------------------------------------------------
|
|
|
|
~~ File Functional Summary ~~
|
|
|
|
File Function Count....: 2
|
|
Total Function LOC.....: 59 Total Function Pts LOC : 0.5
|
|
Total Function eLOC....: 53 Total Function Pts eLOC: 0.4
|
|
Total Function lLOC....: 41 Total Function Pts lLOC: 0.3
|
|
Total Function Params .: 4 Total Function Return .: 2
|
|
Total Cyclo Complexity : 6 Total Function Complex.: 12
|
|
------ ----- ----- ------ ------ -----
|
|
Max Function LOC ......: 38 Average Function LOC ..: 29.50
|
|
Max Function eLOC .....: 34 Average Function eLOC .: 26.50
|
|
Max Function lLOC .....: 26 Average Function lLOC .: 20.50
|
|
------ ----- ----- ------ ------ -----
|
|
Max Function Parameters: 2 Avg Function Parameters: 2.00
|
|
Max Function Returns ..: 1 Avg Function Returns ..: 1.00
|
|
Max Interface Complex. : 3 Avg Interface Complex. : 3.00
|
|
Max Cyclomatic Complex.: 4 Avg Cyclomatic Complex.: 3.00
|
|
Max Total Complexity ..: 7 Avg Total Complexity ..: 6.00
|
|
________________________________________________________________________
|
|
End of File: ..\source\qs_fp.c
|
|
|
|
|
|
File: ..\source\qs_rx.c
|
|
________________________________________________________________________
|
|
|
|
Function: QS_rxInitBuf
|
|
Parameters: (uint8_t sto[], uint16_t stoSize)
|
|
Complexity Param 2 Return 1 Cyclo Vg 1 Total 4
|
|
LOC 24 eLOC 23 lLOC 20 Comment 23 Lines 29
|
|
|
|
Function: QS_rxGetNfree
|
|
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 14 eLOC 10 lLOC 5 Comment 9 Lines 14
|
|
|
|
Function: QS_rxParse
|
|
Parameters: (void)
|
|
Cyclomatic Complexity Vg Detail
|
|
Function Base : 1
|
|
Loops while / do : 1
|
|
Conditional if / else if: 5
|
|
Complexity Param 0 Return 1 Cyclo Vg 7 Total 8
|
|
LOC 38 eLOC 28 lLOC 18 Comment 6 Lines 43
|
|
|
|
Function: QS_rxParseData_
|
|
Parameters: (uint8_t b)
|
|
Cyclomatic Complexity Vg Detail
|
|
Function Base : 1
|
|
Selection case : 58
|
|
Conditional if / else if: 27
|
|
Inlined if-else ( ? : ) : 5
|
|
Logical or ( || ) : 4
|
|
Complexity Param 1 Return 1 Cyclo Vg 95 Total 97
|
|
LOC 412 eLOC 324 lLOC 200 Comment 26 Lines 435
|
|
|
|
Function: QS_rxHandleGoodFrame_
|
|
Parameters: (uint8_t state)
|
|
Cyclomatic Complexity Vg Detail
|
|
Function Base : 1
|
|
Loops for / foreach : 3
|
|
Selection case : 26
|
|
Conditional if / else if: 17
|
|
Complexity Param 1 Return 1 Cyclo Vg 47 Total 49
|
|
LOC 238 eLOC 185 lLOC 107 Comment 57 Lines 267
|
|
|
|
Function: QS_rxHandleBadFrame_
|
|
Parameters: (uint8_t state)
|
|
Cyclomatic Complexity Vg Detail
|
|
Function Base : 1
|
|
Selection case : 1
|
|
Complexity Param 1 Return 1 Cyclo Vg 2 Total 4
|
|
LOC 13 eLOC 9 lLOC 5 Comment 3 Lines 13
|
|
|
|
Function: QS_rxReportAck_
|
|
Parameters: (enum QSpyRxRecords recId)
|
|
Complexity Param 1 Return 1 Cyclo Vg 1 Total 3
|
|
LOC 6 eLOC 5 lLOC 4 Comment 2 Lines 6
|
|
|
|
Function: QS_rxReportError_
|
|
Parameters: (uint8_t code)
|
|
Complexity Param 1 Return 1 Cyclo Vg 1 Total 3
|
|
LOC 6 eLOC 5 lLOC 4 Comment 2 Lines 6
|
|
|
|
Function: QS_rxReportDone_
|
|
Parameters: (enum QSpyRxRecords recId)
|
|
Complexity Param 1 Return 1 Cyclo Vg 1 Total 3
|
|
LOC 7 eLOC 6 lLOC 5 Comment 3 Lines 7
|
|
|
|
Function: QS_rxPoke_
|
|
Parameters: (void)
|
|
Cyclomatic Complexity Vg Detail
|
|
Function Base : 1
|
|
Selection case : 3
|
|
Complexity Param 0 Return 1 Cyclo Vg 4 Total 5
|
|
LOC 21 eLOC 19 lLOC 12 Comment 1 Lines 22
|
|
|
|
Function: QS_getTestProbe_
|
|
Parameters: (void (* const api)(void))
|
|
Cyclomatic Complexity Vg Detail
|
|
Function Base : 1
|
|
Loops for / foreach : 2
|
|
Conditional if / else if: 1
|
|
Complexity Param 1 Return 1 Cyclo Vg 4 Total 6
|
|
LOC 20 eLOC 16 lLOC 14 Comment 18 Lines 22
|
|
|
|
Function: QS_onGetTime
|
|
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 955 eLOC 784 lLOC 473 Comment 221 Lines 1164
|
|
------------------------------------------------------------------------
|
|
|
|
~~ File Functional Summary ~~
|
|
|
|
File Function Count....: 12
|
|
Total Function LOC.....: 802 Total Function Pts LOC : 7.5
|
|
Total Function eLOC....: 632 Total Function Pts eLOC: 6.1
|
|
Total Function lLOC....: 395 Total Function Pts lLOC: 3.7
|
|
Total Function Params .: 9 Total Function Return .: 12
|
|
Total Cyclo Complexity : 167 Total Function Complex.: 188
|
|
------ ----- ----- ------ ------ -----
|
|
Max Function LOC ......: 412 Average Function LOC ..: 66.83
|
|
Max Function eLOC .....: 324 Average Function eLOC .: 52.67
|
|
Max Function lLOC .....: 200 Average Function lLOC .: 32.92
|
|
------ ----- ----- ------ ------ -----
|
|
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.: 95 Avg Cyclomatic Complex.: 13.92
|
|
Max Total Complexity ..: 97 Avg Total Complexity ..: 15.67
|
|
________________________________________________________________________
|
|
End of File: ..\source\qs_rx.c
|
|
|
|
|
|
File: ..\source\qutest.c
|
|
________________________________________________________________________
|
|
|
|
Function: QF_init
|
|
Parameters: (void)
|
|
Complexity Param 0 Return 1 Cyclo Vg 1 Total 2
|
|
LOC 7 eLOC 6 lLOC 5 Comment 1 Lines 8
|
|
|
|
Function: QF_run
|
|
Parameters: (void)
|
|
Complexity Param 0 Return 1 Cyclo Vg 1 Total 2
|
|
LOC 7 eLOC 6 lLOC 5 Comment 5 Lines 9
|
|
|
|
Function: QActive_post_
|
|
Parameters: (QActive * const me, QEvt const * const e, uint_fast16_t con
|
|
st margin, void const * const sender)
|
|
Cyclomatic Complexity Vg Detail
|
|
Function Base : 1
|
|
Conditional if / else if: 2
|
|
Logical or ( || ) : 1
|
|
Logical and ( && ) : 1
|
|
Complexity Param 4 Return 1 Cyclo Vg 5 Total 10
|
|
LOC 49 eLOC 42 lLOC 29 Comment 30 Lines 67
|
|
|
|
Function: QActive_postLIFO_
|
|
Parameters: (QActive * const me, QEvt const * const e)
|
|
Cyclomatic Complexity Vg Detail
|
|
Function Base : 1
|
|
Conditional if / else if: 1
|
|
Complexity Param 2 Return 1 Cyclo Vg 2 Total 5
|
|
LOC 22 eLOC 19 lLOC 12 Comment 12 Lines 29
|
|
|
|
Function: QActive_start_
|
|
Parameters: (QActive * const me, uint_fast8_t prio, QEvt const *qSto[],
|
|
uint_fast16_t qLen, void *stkSto, uint_fast16_t stkSize, QEv
|
|
t const *ie)
|
|
Cyclomatic Complexity Vg Detail
|
|
Function Base : 1
|
|
Logical and ( && ) : 1
|
|
Complexity Param 7 Return 1 Cyclo Vg 2 Total 10
|
|
LOC 11 eLOC 9 lLOC 8 Comment 7 Lines 14
|
|
|
|
Function: QActive_stop
|
|
Parameters: (QActive * const me)
|
|
Complexity Param 1 Return 1 Cyclo Vg 1 Total 3
|
|
LOC 3 eLOC 2 lLOC 1 Comment 2 Lines 3
|
|
|
|
Function: QTimeEvt_ctr
|
|
Parameters: (QTimeEvt const * const me)
|
|
Complexity Param 1 Return 1 Cyclo Vg 1 Total 3
|
|
LOC 16 eLOC 15 lLOC 11 Comment 7 Lines 19
|
|
|
|
Function: QTimeEvt_ctorX
|
|
Parameters: (QTimeEvt * const me, QActive * const act, enum_t const sig,
|
|
uint_fast8_t tickRate)
|
|
Cyclomatic Complexity Vg Detail
|
|
Function Base : 1
|
|
Logical and ( && ) : 1
|
|
Complexity Param 4 Return 1 Cyclo Vg 2 Total 7
|
|
LOC 11 eLOC 9 lLOC 8 Comment 2 Lines 14
|
|
|
|
Function: QTimeEvt_armX
|
|
Parameters: (QTimeEvt * const me, QTimeEvtCtr const nTicks, QTimeEvtCtr
|
|
const interval)
|
|
Cyclomatic Complexity Vg Detail
|
|
Function Base : 1
|
|
Logical and ( && ) : 4
|
|
Complexity Param 3 Return 1 Cyclo Vg 5 Total 9
|
|
LOC 23 eLOC 21 lLOC 13 Comment 10 Lines 30
|
|
|
|
Function: QTimeEvt_disarm
|
|
Parameters: (QTimeEvt * const me)
|
|
Cyclomatic Complexity Vg Detail
|
|
Function Base : 1
|
|
Conditional if / else if: 1
|
|
Complexity Param 1 Return 1 Cyclo Vg 2 Total 4
|
|
LOC 29 eLOC 26 lLOC 17 Comment 14 Lines 37
|
|
|
|
Function: QTimeEvt_rearm
|
|
Parameters: (QTimeEvt * const me, QTimeEvtCtr const nTicks)
|
|
Cyclomatic Complexity Vg Detail
|
|
Function Base : 1
|
|
Conditional if / else if: 2
|
|
Inlined if-else ( ? : ) : 1
|
|
Logical and ( && ) : 3
|
|
Complexity Param 2 Return 1 Cyclo Vg 7 Total 10
|
|
LOC 32 eLOC 28 lLOC 16 Comment 19 Lines 49
|
|
|
|
Function: QF_tickX_
|
|
Parameters: (uint_fast8_t const tickRate, void const * const sender)
|
|
Cyclomatic Complexity Vg Detail
|
|
Function Base : 1
|
|
Conditional if / else if: 2
|
|
Complexity Param 2 Return 1 Cyclo Vg 3 Total 6
|
|
LOC 32 eLOC 28 lLOC 17 Comment 18 Lines 42
|
|
|
|
Function: Q_onAssert
|
|
Parameters: (char_t const * const module, int_t location)
|
|
Complexity Param 2 Return 1 Cyclo Vg 1 Total 4
|
|
LOC 5 eLOC 4 lLOC 3 Comment 4 Lines 5
|
|
|
|
------------------------------------------------------------------------
|
|
|
|
~~ Total File Summary ~~
|
|
|
|
LOC 267 eLOC 235 lLOC 146 Comment 178 Lines 408
|
|
------------------------------------------------------------------------
|
|
|
|
~~ File Functional Summary ~~
|
|
|
|
File Function Count....: 13
|
|
Total Function LOC.....: 247 Total Function Pts LOC : 2.1
|
|
Total Function eLOC....: 215 Total Function Pts eLOC: 1.8
|
|
Total Function lLOC....: 145 Total Function Pts lLOC: 1.1
|
|
Total Function Params .: 29 Total Function Return .: 13
|
|
Total Cyclo Complexity : 33 Total Function Complex.: 75
|
|
------ ----- ----- ------ ------ -----
|
|
Max Function LOC ......: 49 Average Function LOC ..: 19.00
|
|
Max Function eLOC .....: 42 Average Function eLOC .: 16.54
|
|
Max Function lLOC .....: 29 Average Function lLOC .: 11.15
|
|
------ ----- ----- ------ ------ -----
|
|
Max Function Parameters: 7 Avg Function Parameters: 2.23
|
|
Max Function Returns ..: 1 Avg Function Returns ..: 1.00
|
|
Max Interface Complex. : 8 Avg Interface Complex. : 3.23
|
|
Max Cyclomatic Complex.: 7 Avg Cyclomatic Complex.: 2.54
|
|
Max Total Complexity ..: 10 Avg Total Complexity ..: 5.77
|
|
________________________________________________________________________
|
|
End of File: ..\source\qutest.c
|
|
|
|
|
|
File: ..\source\qv.c
|
|
________________________________________________________________________
|
|
|
|
Function: QF_init
|
|
Parameters: (void)
|
|
Complexity Param 0 Return 1 Cyclo Vg 1 Total 2
|
|
LOC 11 eLOC 10 lLOC 7 Comment 12 Lines 13
|
|
|
|
Function: QF_stop
|
|
Parameters: (void)
|
|
Complexity Param 0 Return 1 Cyclo Vg 1 Total 2
|
|
LOC 3 eLOC 2 lLOC 1 Comment 14 Lines 4
|
|
|
|
Function: 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 48 eLOC 42 lLOC 24 Comment 45 Lines 75
|
|
|
|
Function: QActive_start_
|
|
Parameters: (QActive * const me, uint_fast8_t prio, QEvt const *qSto[],
|
|
uint_fast16_t qLen, void *stkSto, uint_fast16_t stkSize, QEv
|
|
t const *ie)
|
|
Cyclomatic Complexity Vg Detail
|
|
Function Base : 1
|
|
Logical and ( && ) : 2
|
|
Complexity Param 7 Return 1 Cyclo Vg 3 Total 11
|
|
LOC 11 eLOC 9 lLOC 7 Comment 31 Lines 17
|
|
|
|
Function: QActive_stop
|
|
Parameters: (QActive * const me)
|
|
Complexity Param 1 Return 1 Cyclo Vg 1 Total 3
|
|
LOC 7 eLOC 6 lLOC 4 Comment 13 Lines 9
|
|
|
|
------------------------------------------------------------------------
|
|
|
|
~~ Total File Summary ~~
|
|
|
|
LOC 98 eLOC 87 lLOC 44 Comment 167 Lines 258
|
|
------------------------------------------------------------------------
|
|
|
|
~~ File Functional Summary ~~
|
|
|
|
File Function Count....: 5
|
|
Total Function LOC.....: 80 Total Function Pts LOC : 0.8
|
|
Total Function eLOC....: 69 Total Function Pts eLOC: 0.7
|
|
Total Function lLOC....: 43 Total Function Pts lLOC: 0.3
|
|
Total Function Params .: 8 Total Function Return .: 5
|
|
Total Cyclo Complexity : 11 Total Function Complex.: 24
|
|
------ ----- ----- ------ ------ -----
|
|
Max Function LOC ......: 48 Average Function LOC ..: 16.00
|
|
Max Function eLOC .....: 42 Average Function eLOC .: 13.80
|
|
Max Function lLOC .....: 24 Average Function lLOC .: 8.60
|
|
------ ----- ----- ------ ------ -----
|
|
Max Function Parameters: 7 Avg Function Parameters: 1.60
|
|
Max Function Returns ..: 1 Avg Function Returns ..: 1.00
|
|
Max Interface Complex. : 8 Avg Interface Complex. : 2.60
|
|
Max Cyclomatic Complex.: 5 Avg Cyclomatic Complex.: 2.20
|
|
Max Total Complexity ..: 11 Avg Total Complexity ..: 4.80
|
|
________________________________________________________________________
|
|
End of File: ..\source\qv.c
|
|
|
|
|
|
File: ..\source\qxk.c
|
|
________________________________________________________________________
|
|
|
|
Function: 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: QF_stop
|
|
Parameters: (void)
|
|
Complexity Param 0 Return 1 Cyclo Vg 1 Total 2
|
|
LOC 3 eLOC 2 lLOC 1 Comment 14 Lines 4
|
|
|
|
Function: 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: 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 13 Lines 15
|
|
|
|
Function: QActive_start_
|
|
Parameters: (QActive * const me, uint_fast8_t prio, QEvt const *qSto[],
|
|
uint_fast16_t qLen, void *stkSto, uint_fast16_t stkSize, QEv
|
|
t const *ie)
|
|
Cyclomatic Complexity Vg Detail
|
|
Function Base : 1
|
|
Conditional if / else if: 1
|
|
Logical and ( && ) : 4
|
|
Complexity Param 7 Return 1 Cyclo Vg 6 Total 14
|
|
LOC 19 eLOC 16 lLOC 10 Comment 35 Lines 28
|
|
|
|
Function: QActive_stop
|
|
Parameters: (QActive * const me)
|
|
Cyclomatic Complexity Vg Detail
|
|
Function Base : 1
|
|
Conditional if / else if: 1
|
|
Complexity Param 1 Return 1 Cyclo Vg 2 Total 4
|
|
LOC 11 eLOC 9 lLOC 6 Comment 13 Lines 15
|
|
|
|
Function: QXK_sched_
|
|
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 50 eLOC 40 lLOC 22 Comment 33 Lines 67
|
|
|
|
Function: QXK_activate_
|
|
Parameters: (void)
|
|
Cyclomatic Complexity Vg Detail
|
|
Function Base : 1
|
|
Loops while / do : 1
|
|
Conditional if / else if: 6
|
|
Complexity Param 0 Return 1 Cyclo Vg 8 Total 9
|
|
LOC 75 eLOC 65 lLOC 36 Comment 54 Lines 104
|
|
|
|
Function: QXK_current
|
|
Parameters: (void)
|
|
Complexity Param 0 Return 1 Cyclo Vg 1 Total 2
|
|
LOC 8 eLOC 7 lLOC 5 Comment 1 Lines 10
|
|
|
|
------------------------------------------------------------------------
|
|
|
|
~~ Total File Summary ~~
|
|
|
|
LOC 220 eLOC 188 lLOC 104 Comment 237 Lines 441
|
|
------------------------------------------------------------------------
|
|
|
|
~~ File Functional Summary ~~
|
|
|
|
File Function Count....: 9
|
|
Total Function LOC.....: 200 Total Function Pts LOC : 1.7
|
|
Total Function eLOC....: 168 Total Function Pts eLOC: 1.5
|
|
Total Function lLOC....: 101 Total Function Pts lLOC: 0.8
|
|
Total Function Params .: 8 Total Function Return .: 9
|
|
Total Cyclo Complexity : 29 Total Function Complex.: 46
|
|
------ ----- ----- ------ ------ -----
|
|
Max Function LOC ......: 75 Average Function LOC ..: 22.22
|
|
Max Function eLOC .....: 65 Average Function eLOC .: 18.67
|
|
Max Function lLOC .....: 36 Average Function lLOC .: 11.22
|
|
------ ----- ----- ------ ------ -----
|
|
Max Function Parameters: 7 Avg Function Parameters: 0.89
|
|
Max Function Returns ..: 1 Avg Function Returns ..: 1.00
|
|
Max Interface Complex. : 8 Avg Interface Complex. : 1.89
|
|
Max Cyclomatic Complex.: 8 Avg Cyclomatic Complex.: 3.22
|
|
Max Total Complexity ..: 14 Avg Total Complexity ..: 5.11
|
|
________________________________________________________________________
|
|
End of File: ..\source\qxk.c
|
|
|
|
|
|
File: ..\source\qxk_mutex.c
|
|
________________________________________________________________________
|
|
|
|
Function: QXMutex_init
|
|
Parameters: (QXMutex * const me, uint_fast8_t prio)
|
|
Complexity Param 2 Return 1 Cyclo Vg 1 Total 4
|
|
LOC 4 eLOC 3 lLOC 2 Comment 17 Lines 4
|
|
|
|
Function: QXMutex_lock
|
|
Parameters: (QXMutex * const me)
|
|
Cyclomatic Complexity Vg Detail
|
|
Function Base : 1
|
|
Conditional if / else if: 1
|
|
Inlined if-else ( ? : ) : 1
|
|
Logical and ( && ) : 1
|
|
Complexity Param 1 Return 1 Cyclo Vg 4 Total 6
|
|
LOC 21 eLOC 19 lLOC 9 Comment 36 Lines 29
|
|
|
|
Function: QXMutex_unlock
|
|
Parameters: (QXMutex * const me)
|
|
Cyclomatic Complexity Vg Detail
|
|
Function Base : 1
|
|
Conditional if / else if: 3
|
|
Logical and ( && ) : 1
|
|
Complexity Param 1 Return 1 Cyclo Vg 5 Total 7
|
|
LOC 29 eLOC 24 lLOC 13 Comment 39 Lines 37
|
|
|
|
------------------------------------------------------------------------
|
|
|
|
~~ Total File Summary ~~
|
|
|
|
LOC 70 eLOC 61 lLOC 25 Comment 141 Lines 202
|
|
------------------------------------------------------------------------
|
|
|
|
~~ File Functional Summary ~~
|
|
|
|
File Function Count....: 3
|
|
Total Function LOC.....: 54 Total Function Pts LOC : 0.5
|
|
Total Function eLOC....: 46 Total Function Pts eLOC: 0.5
|
|
Total Function lLOC....: 24 Total Function Pts lLOC: 0.2
|
|
Total Function Params .: 4 Total Function Return .: 3
|
|
Total Cyclo Complexity : 10 Total Function Complex.: 17
|
|
------ ----- ----- ------ ------ -----
|
|
Max Function LOC ......: 29 Average Function LOC ..: 18.00
|
|
Max Function eLOC .....: 24 Average Function eLOC .: 15.33
|
|
Max Function lLOC .....: 13 Average Function lLOC .: 8.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.: 5 Avg Cyclomatic Complex.: 3.33
|
|
Max Total Complexity ..: 7 Avg Total Complexity ..: 5.67
|
|
________________________________________________________________________
|
|
End of File: ..\source\qxk_mutex.c
|
|
|
|
|
|
File: ..\source\qxk_sema.c
|
|
________________________________________________________________________
|
|
|
|
Function: QXSemaphore_init
|
|
Parameters: (QXSemaphore * const me, uint_fast16_t count)
|
|
Complexity Param 2 Return 1 Cyclo Vg 1 Total 4
|
|
LOC 4 eLOC 3 lLOC 2 Comment 16 Lines 4
|
|
|
|
Function: QXSemaphore_wait
|
|
Parameters: (QXSemaphore * const me, uint_fast16_t const nTicks, uint_fa
|
|
st8_t const tickRate)
|
|
Cyclomatic Complexity Vg Detail
|
|
Function Base : 1
|
|
Conditional if / else if: 1
|
|
Logical and ( && ) : 2
|
|
Complexity Param 3 Return 1 Cyclo Vg 4 Total 8
|
|
LOC 27 eLOC 23 lLOC 18 Comment 34 Lines 35
|
|
|
|
Function: QXSemaphore_signal
|
|
Parameters: (QXSemaphore * const me)
|
|
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 19 lLOC 12 Comment 21 Lines 30
|
|
|
|
------------------------------------------------------------------------
|
|
|
|
~~ Total File Summary ~~
|
|
|
|
LOC 69 eLOC 60 lLOC 32 Comment 120 Lines 187
|
|
------------------------------------------------------------------------
|
|
|
|
~~ File Functional Summary ~~
|
|
|
|
File Function Count....: 3
|
|
Total Function LOC.....: 54 Total Function Pts LOC : 0.5
|
|
Total Function eLOC....: 45 Total Function Pts eLOC: 0.5
|
|
Total Function lLOC....: 32 Total Function Pts lLOC: 0.3
|
|
Total Function Params .: 6 Total Function Return .: 3
|
|
Total Cyclo Complexity : 9 Total Function Complex.: 18
|
|
------ ----- ----- ------ ------ -----
|
|
Max Function LOC ......: 27 Average Function LOC ..: 18.00
|
|
Max Function eLOC .....: 23 Average Function eLOC .: 15.00
|
|
Max Function lLOC .....: 18 Average Function lLOC .: 10.67
|
|
------ ----- ----- ------ ------ -----
|
|
Max Function Parameters: 3 Avg Function Parameters: 2.00
|
|
Max Function Returns ..: 1 Avg Function Returns ..: 1.00
|
|
Max Interface Complex. : 4 Avg Interface Complex. : 3.00
|
|
Max Cyclomatic Complex.: 4 Avg Cyclomatic Complex.: 3.00
|
|
Max Total Complexity ..: 8 Avg Total Complexity ..: 6.00
|
|
________________________________________________________________________
|
|
End of File: ..\source\qxk_sema.c
|
|
|
|
|
|
File: ..\source\qxk_xthr.c
|
|
________________________________________________________________________
|
|
|
|
Function: QXThread_ctor
|
|
Parameters: (QXThread * const me, QXThreadHandler handler, uint_fast8_t
|
|
tickRate)
|
|
Complexity Param 3 Return 1 Cyclo Vg 1 Total 5
|
|
LOC 13 eLOC 10 lLOC 5 Comment 24 Lines 16
|
|
|
|
Function: QXThread_init_
|
|
Parameters: (QMsm * const me, QEvt const * const e)
|
|
Complexity Param 2 Return 1 Cyclo Vg 1 Total 4
|
|
LOC 5 eLOC 4 lLOC 3 Comment 2 Lines 5
|
|
|
|
Function: QXThread_dispatch_
|
|
Parameters: (QMsm * const me, QEvt const * const e)
|
|
Complexity Param 2 Return 1 Cyclo Vg 1 Total 4
|
|
LOC 5 eLOC 4 lLOC 3 Comment 1 Lines 5
|
|
|
|
Function: QXThread_start_
|
|
Parameters: (QActive * const me, uint_fast8_t prio, QEvt const *qSto[],
|
|
uint_fast16_t qLen, void *stkSto, uint_fast16_t stkSize, QEv
|
|
t const *ie)
|
|
Cyclomatic Complexity Vg Detail
|
|
Function Base : 1
|
|
Conditional if / else if: 1
|
|
Logical and ( && ) : 4
|
|
Complexity Param 7 Return 1 Cyclo Vg 6 Total 14
|
|
LOC 20 eLOC 17 lLOC 11 Comment 35 Lines 36
|
|
|
|
Function: QXThread_post_
|
|
Parameters: (QActive * const me, QEvt const * const e, uint_fast16_t con
|
|
st margin)
|
|
Cyclomatic Complexity Vg Detail
|
|
Function Base : 1
|
|
Conditional if / else if: 9
|
|
Complexity Param 3 Return 1 Cyclo Vg 10 Total 14
|
|
LOC 78 eLOC 64 lLOC 45 Comment 76 Lines 111
|
|
|
|
Function: QXThread_postLIFO_
|
|
Parameters: (QActive * const me, QEvt const * const e)
|
|
Complexity Param 2 Return 1 Cyclo Vg 1 Total 4
|
|
LOC 5 eLOC 4 lLOC 3 Comment 10 Lines 5
|
|
|
|
Function: QXThread_queueGet
|
|
Parameters: (uint_fast16_t const nTicks, uint_fast8_t const tickRate)
|
|
Cyclomatic Complexity Vg Detail
|
|
Function Base : 1
|
|
Conditional if / else if: 4
|
|
Logical and ( && ) : 2
|
|
Complexity Param 2 Return 1 Cyclo Vg 7 Total 10
|
|
LOC 60 eLOC 52 lLOC 35 Comment 50 Lines 80
|
|
|
|
Function: QXThread_block_
|
|
Parameters: (QXThread const * const me)
|
|
Complexity Param 1 Return 1 Cyclo Vg 1 Total 3
|
|
LOC 5 eLOC 4 lLOC 3 Comment 9 Lines 6
|
|
|
|
Function: QXThread_unblock_
|
|
Parameters: (QXThread const * const me)
|
|
Cyclomatic Complexity Vg Detail
|
|
Function Base : 1
|
|
Conditional if / else if: 1
|
|
Logical and ( && ) : 1
|
|
Complexity Param 1 Return 1 Cyclo Vg 3 Total 5
|
|
LOC 8 eLOC 5 lLOC 2 Comment 10 Lines 8
|
|
|
|
Function: QXThread_teArm_
|
|
Parameters: (QXThread * const me, QSignal sig, uint_fast16_t const nTick
|
|
s, uint_fast8_t const tickRate)
|
|
Cyclomatic Complexity Vg Detail
|
|
Function Base : 1
|
|
Conditional if / else if: 2
|
|
Complexity Param 4 Return 1 Cyclo Vg 3 Total 8
|
|
LOC 13 eLOC 9 lLOC 7 Comment 23 Lines 30
|
|
|
|
Function: QXThread_teDisarm_
|
|
Parameters: (QXThread * const me)
|
|
Cyclomatic Complexity Vg Detail
|
|
Function Base : 1
|
|
Conditional if / else if: 1
|
|
Complexity Param 1 Return 1 Cyclo Vg 2 Total 4
|
|
LOC 11 eLOC 8 lLOC 5 Comment 11 Lines 13
|
|
|
|
Function: QXThread_delay
|
|
Parameters: (uint_fast16_t const nTicks, uint_fast8_t const tickRate)
|
|
Complexity Param 2 Return 1 Cyclo Vg 1 Total 4
|
|
LOC 18 eLOC 17 lLOC 14 Comment 10 Lines 29
|
|
|
|
Function: QXThread_delayCancel
|
|
Parameters: (QXThread * const me)
|
|
Cyclomatic Complexity Vg Detail
|
|
Function Base : 1
|
|
Conditional if / else if: 1
|
|
Complexity Param 1 Return 1 Cyclo Vg 2 Total 4
|
|
LOC 14 eLOC 11 lLOC 7 Comment 2 Lines 16
|
|
|
|
Function: QXK_threadRet_
|
|
Parameters: (void)
|
|
Complexity Param 0 Return 1 Cyclo Vg 1 Total 2
|
|
LOC 10 eLOC 9 lLOC 7 Comment 12 Lines 12
|
|
|
|
------------------------------------------------------------------------
|
|
|
|
~~ Total File Summary ~~
|
|
|
|
LOC 311 eLOC 264 lLOC 156 Comment 325 Lines 631
|
|
------------------------------------------------------------------------
|
|
|
|
~~ File Functional Summary ~~
|
|
|
|
File Function Count....: 14
|
|
Total Function LOC.....: 265 Total Function Pts LOC : 2.4
|
|
Total Function eLOC....: 218 Total Function Pts eLOC: 2.1
|
|
Total Function lLOC....: 150 Total Function Pts lLOC: 1.2
|
|
Total Function Params .: 31 Total Function Return .: 14
|
|
Total Cyclo Complexity : 40 Total Function Complex.: 85
|
|
------ ----- ----- ------ ------ -----
|
|
Max Function LOC ......: 78 Average Function LOC ..: 18.93
|
|
Max Function eLOC .....: 64 Average Function eLOC .: 15.57
|
|
Max Function lLOC .....: 45 Average Function lLOC .: 10.71
|
|
------ ----- ----- ------ ------ -----
|
|
Max Function Parameters: 7 Avg Function Parameters: 2.21
|
|
Max Function Returns ..: 1 Avg Function Returns ..: 1.00
|
|
Max Interface Complex. : 8 Avg Interface Complex. : 3.21
|
|
Max Cyclomatic Complex.: 10 Avg Cyclomatic Complex.: 2.86
|
|
Max Total Complexity ..: 14 Avg Total Complexity ..: 6.07
|
|
________________________________________________________________________
|
|
End of File: ..\source\qxk_xthr.c
|
|
|
|
|
|
------------------------------------------------------------------------
|
|
|
|
~~ Project Analysis For 41 Files ~~
|
|
|
|
------------------------------------------------------------------------
|
|
|
|
~~ Total Project Summary ~~
|
|
|
|
LOC 6180 eLOC 5477 lLOC 2737 Comment 7706 Lines 13941
|
|
Average per File, metric/41 files
|
|
LOC 150 eLOC 133 lLOC 66 Comment 187 Lines 340
|
|
|
|
------------------------------------------------------------------------
|
|
|
|
~~ Project Functional Metrics ~~
|
|
|
|
Function: QF_LOG2
|
|
Parameters: (uint32_t x)
|
|
Complexity Param 1 Return 1 Cyclo Vg 4 Total 6
|
|
LOC 25 eLOC 18 lLOC 11 Comment 7 Lines 26
|
|
|
|
Function: QHsm_ctor
|
|
Parameters: (QHsm * const me, QStateHandler initial)
|
|
Complexity Param 2 Return 1 Cyclo Vg 1 Total 4
|
|
LOC 9 eLOC 7 lLOC 4 Comment 21 Lines 9
|
|
|
|
Function: QHsm_init_
|
|
Parameters: (QHsm * const me, QEvt const * const e)
|
|
Complexity Param 2 Return 1 Cyclo Vg 7 Total 10
|
|
LOC 50 eLOC 47 lLOC 31 Comment 35 Lines 70
|
|
|
|
Function: QHsm_top
|
|
Parameters: (void const * const me, QEvt const * const e)
|
|
Complexity Param 2 Return 1 Cyclo Vg 1 Total 4
|
|
LOC 5 eLOC 4 lLOC 3 Comment 18 Lines 5
|
|
|
|
Function: QHsm_dispatch_
|
|
Parameters: (QHsm * const me, QEvt const * const e)
|
|
Complexity Param 2 Return 1 Cyclo Vg 13 Total 16
|
|
LOC 106 eLOC 95 lLOC 62 Comment 67 Lines 147
|
|
|
|
Function: QHsm_tran_
|
|
Parameters: (QHsm * const me, QStateHandler path[QHSM_MAX_NEST_DEPTH_])
|
|
Complexity Param 2 Return 1 Cyclo Vg 15 Total 18
|
|
LOC 97 eLOC 76 lLOC 48 Comment 63 Lines 134
|
|
|
|
Function: QHsm_isIn
|
|
Parameters: (QHsm * const me, QStateHandler const state)
|
|
Complexity Param 2 Return 1 Cyclo Vg 3 Total 6
|
|
LOC 16 eLOC 13 lLOC 9 Comment 21 Lines 21
|
|
|
|
Function: QHsm_childState_
|
|
Parameters: (QHsm * const me, QStateHandler const parent)
|
|
Complexity Param 2 Return 1 Cyclo Vg 3 Total 6
|
|
LOC 19 eLOC 15 lLOC 12 Comment 30 Lines 25
|
|
|
|
Function: QMsm_ctor
|
|
Parameters: (QMsm * const me, QStateHandler initial)
|
|
Complexity Param 2 Return 1 Cyclo Vg 1 Total 4
|
|
LOC 9 eLOC 7 lLOC 4 Comment 28 Lines 10
|
|
|
|
Function: QMsm_init_
|
|
Parameters: (QMsm * const me, QEvt const * const e)
|
|
Complexity Param 2 Return 1 Cyclo Vg 4 Total 7
|
|
LOC 23 eLOC 22 lLOC 13 Comment 25 Lines 37
|
|
|
|
Function: QMsm_dispatch_
|
|
Parameters: (QMsm * const me, QEvt const * const e)
|
|
Complexity Param 2 Return 1 Cyclo Vg 16 Total 19
|
|
LOC 116 eLOC 99 lLOC 61 Comment 77 Lines 157
|
|
|
|
Function: QMsm_execTatbl_
|
|
Parameters: (QMsm * const me, QMTranActTable const *tatbl)
|
|
Complexity Param 2 Return 1 Cyclo Vg 8 Total 11
|
|
LOC 53 eLOC 43 lLOC 21 Comment 33 Lines 64
|
|
|
|
Function: QMsm_exitToTranSource_
|
|
Parameters: (QMsm * const me, QMState const *s, QMState const *ts)
|
|
Complexity Param 3 Return 1 Cyclo Vg 4 Total 8
|
|
LOC 17 eLOC 12 lLOC 6 Comment 20 Lines 23
|
|
|
|
Function: QMsm_enterHistory_
|
|
Parameters: (QMsm * const me, QMState const *const hist)
|
|
Complexity Param 2 Return 1 Cyclo Vg 6 Total 9
|
|
LOC 40 eLOC 33 lLOC 21 Comment 24 Lines 48
|
|
|
|
Function: QMsm_isInState
|
|
Parameters: (QMsm const * const me, QMState const * const state)
|
|
Complexity Param 2 Return 1 Cyclo Vg 3 Total 6
|
|
LOC 11 eLOC 8 lLOC 6 Comment 16 Lines 12
|
|
|
|
Function: QMsm_childStateObj_
|
|
Parameters: (QMsm const * const me, QMState const * const parent)
|
|
Complexity Param 2 Return 1 Cyclo Vg 3 Total 6
|
|
LOC 19 eLOC 13 lLOC 9 Comment 20 Lines 23
|
|
|
|
Function: QF_add_
|
|
Parameters: (QActive * const a)
|
|
Complexity Param 1 Return 1 Cyclo Vg 3 Total 5
|
|
LOC 15 eLOC 14 lLOC 8 Comment 23 Lines 25
|
|
|
|
Function: QF_remove_
|
|
Parameters: (QActive * const a)
|
|
Complexity Param 1 Return 1 Cyclo Vg 3 Total 5
|
|
LOC 16 eLOC 15 lLOC 9 Comment 23 Lines 25
|
|
|
|
Function: 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 14 Lines 8
|
|
|
|
Function: QF_LOG2
|
|
Parameters: (uint32_t x)
|
|
Complexity Param 1 Return 1 Cyclo Vg 4 Total 6
|
|
LOC 25 eLOC 18 lLOC 11 Comment 1 Lines 26
|
|
|
|
Function: QActive_post_
|
|
Parameters: (QActive * const me, QEvt const * const e, uint_fast16_t con
|
|
st margin)
|
|
Complexity Param 3 Return 1 Cyclo Vg 8 Total 12
|
|
LOC 60 eLOC 50 lLOC 35 Comment 77 Lines 81
|
|
|
|
Function: QActive_postLIFO_
|
|
Parameters: (QActive * const me, QEvt const * const e)
|
|
Complexity Param 2 Return 1 Cyclo Vg 5 Total 8
|
|
LOC 37 eLOC 31 lLOC 22 Comment 36 Lines 50
|
|
|
|
Function: QActive_get_
|
|
Parameters: (QActive * const me)
|
|
Complexity Param 1 Return 1 Cyclo Vg 3 Total 5
|
|
LOC 37 eLOC 33 lLOC 23 Comment 32 Lines 47
|
|
|
|
Function: QF_getQueueMin
|
|
Parameters: (uint_fast8_t const prio)
|
|
Complexity Param 1 Return 1 Cyclo Vg 2 Total 4
|
|
LOC 10 eLOC 9 lLOC 6 Comment 18 Lines 13
|
|
|
|
Function: QTicker_ctor
|
|
Parameters: (QTicker * const me, uint8_t tickRate)
|
|
Complexity Param 2 Return 1 Cyclo Vg 1 Total 4
|
|
LOC 12 eLOC 10 lLOC 4 Comment 6 Lines 14
|
|
|
|
Function: QTicker_init_
|
|
Parameters: (QHsm * const me, QEvt const * const e)
|
|
Complexity Param 2 Return 1 Cyclo Vg 1 Total 4
|
|
LOC 5 eLOC 4 lLOC 3 Comment 1 Lines 5
|
|
|
|
Function: QTicker_dispatch_
|
|
Parameters: (QHsm * const me, QEvt const * const e)
|
|
Complexity Param 2 Return 1 Cyclo Vg 2 Total 5
|
|
LOC 12 eLOC 10 lLOC 8 Comment 4 Lines 15
|
|
|
|
Function: QTicker_post_
|
|
Parameters: (QActive * const me, QEvt const * const e, uint_fast16_t con
|
|
st margin)
|
|
Complexity Param 3 Return 1 Cyclo Vg 2 Total 6
|
|
LOC 24 eLOC 21 lLOC 17 Comment 15 Lines 32
|
|
|
|
Function: QTicker_postLIFO_
|
|
Parameters: (QActive * const me, QEvt const * const e)
|
|
Complexity Param 2 Return 1 Cyclo Vg 1 Total 4
|
|
LOC 5 eLOC 4 lLOC 3 Comment 1 Lines 5
|
|
|
|
Function: QActive_defer
|
|
Parameters: (QActive const * const me, QEQueue * const eq, QEvt const *
|
|
const e)
|
|
Complexity Param 3 Return 1 Cyclo Vg 1 Total 5
|
|
LOC 4 eLOC 2 lLOC 2 Comment 24 Lines 5
|
|
|
|
Function: QActive_recall
|
|
Parameters: (QActive * const me, QEQueue * const eq)
|
|
Complexity Param 2 Return 1 Cyclo Vg 3 Total 6
|
|
LOC 19 eLOC 15 lLOC 10 Comment 33 Lines 36
|
|
|
|
Function: QActive_flushDeferred
|
|
Parameters: (QActive const * const me, QEQueue * const eq)
|
|
Complexity Param 2 Return 1 Cyclo Vg 2 Total 5
|
|
LOC 10 eLOC 7 lLOC 7 Comment 17 Lines 12
|
|
|
|
Function: QEvt_ctor
|
|
Parameters: (QEvt * const me, enum_t const sig)
|
|
Complexity Param 2 Return 1 Cyclo Vg 1 Total 4
|
|
LOC 5 eLOC 4 lLOC 3 Comment 9 Lines 6
|
|
|
|
Function: 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 9 eLOC 7 lLOC 4 Comment 38 Lines 13
|
|
|
|
Function: 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 29 eLOC 23 lLOC 14 Comment 37 Lines 39
|
|
|
|
Function: QF_gc
|
|
Parameters: (QEvt const * const e)
|
|
Complexity Param 1 Return 1 Cyclo Vg 3 Total 5
|
|
LOC 26 eLOC 22 lLOC 13 Comment 35 Lines 39
|
|
|
|
Function: QF_newRef_
|
|
Parameters: (QEvt const * const e, QEvt const * const evtRef)
|
|
Complexity Param 2 Return 1 Cyclo Vg 2 Total 5
|
|
LOC 10 eLOC 8 lLOC 5 Comment 16 Lines 15
|
|
|
|
Function: QF_poolGetMaxBlockSize
|
|
Parameters: (void)
|
|
Complexity Param 0 Return 1 Cyclo Vg 1 Total 2
|
|
LOC 3 eLOC 2 lLOC 1 Comment 5 Lines 3
|
|
|
|
Function: QMPool_init
|
|
Parameters: (QMPool * const me, void * const poolSto, uint_fast32_t pool
|
|
Size, uint_fast16_t blockSize)
|
|
Complexity Param 4 Return 1 Cyclo Vg 5 Total 10
|
|
LOC 36 eLOC 32 lLOC 24 Comment 58 Lines 52
|
|
|
|
Function: QMPool_put
|
|
Parameters: (QMPool * const me, void *b)
|
|
Complexity Param 2 Return 1 Cyclo Vg 2 Total 5
|
|
LOC 15 eLOC 14 lLOC 9 Comment 29 Lines 22
|
|
|
|
Function: QMPool_get
|
|
Parameters: (QMPool * const me, uint_fast16_t const margin)
|
|
Complexity Param 2 Return 1 Cyclo Vg 4 Total 7
|
|
LOC 42 eLOC 36 lLOC 23 Comment 54 Lines 66
|
|
|
|
Function: QF_getPoolMin
|
|
Parameters: (uint_fast8_t const poolId)
|
|
Complexity Param 1 Return 1 Cyclo Vg 2 Total 4
|
|
LOC 10 eLOC 9 lLOC 6 Comment 13 Lines 14
|
|
|
|
Function: 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 12
|
|
|
|
Function: QF_publish_
|
|
Parameters: (QEvt const * const e)
|
|
Complexity Param 1 Return 1 Cyclo Vg 5 Total 7
|
|
LOC 36 eLOC 30 lLOC 21 Comment 50 Lines 63
|
|
|
|
Function: QActive_subscribe
|
|
Parameters: (QActive const * const me, enum_t const sig)
|
|
Complexity Param 2 Return 1 Cyclo Vg 5 Total 8
|
|
LOC 16 eLOC 15 lLOC 8 Comment 22 Lines 22
|
|
|
|
Function: QActive_unsubscribe
|
|
Parameters: (QActive const * const me, enum_t const sig)
|
|
Complexity Param 2 Return 1 Cyclo Vg 5 Total 8
|
|
LOC 16 eLOC 15 lLOC 8 Comment 29 Lines 25
|
|
|
|
Function: QActive_unsubscribeAll
|
|
Parameters: (QActive const * const me)
|
|
Complexity Param 1 Return 1 Cyclo Vg 5 Total 7
|
|
LOC 21 eLOC 18 lLOC 10 Comment 24 Lines 24
|
|
|
|
Function: QActive_ctor
|
|
Parameters: (QActive * const me, QStateHandler initial)
|
|
Complexity Param 2 Return 1 Cyclo Vg 1 Total 4
|
|
LOC 12 eLOC 10 lLOC 4 Comment 19 Lines 17
|
|
|
|
Function: QEQueue_init
|
|
Parameters: (QEQueue * const me, QEvt const *qSto[], uint_fast16_t const
|
|
qLen)
|
|
Complexity Param 3 Return 1 Cyclo Vg 2 Total 6
|
|
LOC 16 eLOC 13 lLOC 9 Comment 22 Lines 18
|
|
|
|
Function: QEQueue_post
|
|
Parameters: (QEQueue * const me, QEvt const * const e, uint_fast16_t con
|
|
st margin)
|
|
Complexity Param 3 Return 1 Cyclo Vg 6 Total 10
|
|
LOC 53 eLOC 44 lLOC 30 Comment 55 Lines 74
|
|
|
|
Function: QEQueue_postLIFO
|
|
Parameters: (QEQueue * const me, QEvt const * const e)
|
|
Complexity Param 2 Return 1 Cyclo Vg 5 Total 8
|
|
LOC 34 eLOC 29 lLOC 21 Comment 41 Lines 44
|
|
|
|
Function: QEQueue_get
|
|
Parameters: (QEQueue * const me)
|
|
Complexity Param 1 Return 1 Cyclo Vg 4 Total 6
|
|
LOC 37 eLOC 32 lLOC 21 Comment 35 Lines 47
|
|
|
|
Function: QMActive_ctor
|
|
Parameters: (QMActive * const me, QStateHandler initial)
|
|
Complexity Param 2 Return 1 Cyclo Vg 1 Total 4
|
|
LOC 12 eLOC 10 lLOC 4 Comment 28 Lines 28
|
|
|
|
Function: 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 53 Lines 94
|
|
|
|
Function: 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 13 Lines 17
|
|
|
|
Function: QTimeEvt_ctorX
|
|
Parameters: (QTimeEvt * const me, QActive * const act, enum_t const sig,
|
|
uint_fast8_t tickRate)
|
|
Complexity Param 4 Return 1 Cyclo Vg 2 Total 7
|
|
LOC 11 eLOC 9 lLOC 8 Comment 32 Lines 31
|
|
|
|
Function: QTimeEvt_armX
|
|
Parameters: (QTimeEvt * const me, QTimeEvtCtr const nTicks, QTimeEvtCtr
|
|
const interval)
|
|
Complexity Param 3 Return 1 Cyclo Vg 6 Total 10
|
|
LOC 28 eLOC 25 lLOC 16 Comment 49 Lines 50
|
|
|
|
Function: QTimeEvt_disarm
|
|
Parameters: (QTimeEvt * const me)
|
|
Complexity Param 1 Return 1 Cyclo Vg 2 Total 4
|
|
LOC 29 eLOC 26 lLOC 17 Comment 30 Lines 37
|
|
|
|
Function: QTimeEvt_rearm
|
|
Parameters: (QTimeEvt * const me, QTimeEvtCtr const nTicks)
|
|
Complexity Param 2 Return 1 Cyclo Vg 7 Total 10
|
|
LOC 34 eLOC 30 lLOC 18 Comment 47 Lines 60
|
|
|
|
Function: QTimeEvt_ctr
|
|
Parameters: (QTimeEvt const * const me)
|
|
Complexity Param 1 Return 1 Cyclo Vg 1 Total 3
|
|
LOC 16 eLOC 15 lLOC 11 Comment 20 Lines 19
|
|
|
|
Function: QF_init
|
|
Parameters: (void)
|
|
Complexity Param 0 Return 1 Cyclo Vg 1 Total 2
|
|
LOC 13 eLOC 12 lLOC 9 Comment 14 Lines 16
|
|
|
|
Function: QF_stop
|
|
Parameters: (void)
|
|
Complexity Param 0 Return 1 Cyclo Vg 1 Total 2
|
|
LOC 3 eLOC 2 lLOC 1 Comment 14 Lines 4
|
|
|
|
Function: 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: QF_run
|
|
Parameters: (void)
|
|
Complexity Param 0 Return 1 Cyclo Vg 2 Total 3
|
|
LOC 12 eLOC 10 lLOC 7 Comment 12 Lines 14
|
|
|
|
Function: QActive_start_
|
|
Parameters: (QActive * const me, uint_fast8_t prio, QEvt const *qSto[],
|
|
uint_fast16_t qLen, void *stkSto, uint_fast16_t stkSize, QEv
|
|
t const *ie)
|
|
Complexity Param 7 Return 1 Cyclo Vg 5 Total 13
|
|
LOC 18 eLOC 15 lLOC 10 Comment 34 Lines 28
|
|
|
|
Function: QActive_stop
|
|
Parameters: (QActive * const me)
|
|
Complexity Param 1 Return 1 Cyclo Vg 2 Total 4
|
|
LOC 11 eLOC 9 lLOC 6 Comment 13 Lines 15
|
|
|
|
Function: QK_sched_
|
|
Parameters: (void)
|
|
Complexity Param 0 Return 1 Cyclo Vg 3 Total 4
|
|
LOC 15 eLOC 11 lLOC 7 Comment 21 Lines 19
|
|
|
|
Function: QK_activate_
|
|
Parameters: (void)
|
|
Complexity Param 0 Return 1 Cyclo Vg 7 Total 8
|
|
LOC 60 eLOC 52 lLOC 29 Comment 48 Lines 86
|
|
|
|
Function: QMutex_init
|
|
Parameters: (QMutex * const me, uint_fast8_t prio)
|
|
Complexity Param 2 Return 1 Cyclo Vg 1 Total 4
|
|
LOC 4 eLOC 3 lLOC 2 Comment 17 Lines 4
|
|
|
|
Function: QMutex_lock
|
|
Parameters: (QMutex * const me)
|
|
Complexity Param 1 Return 1 Cyclo Vg 3 Total 5
|
|
LOC 16 eLOC 14 lLOC 7 Comment 28 Lines 23
|
|
|
|
Function: QMutex_unlock
|
|
Parameters: (QMutex * const me)
|
|
Complexity Param 1 Return 1 Cyclo Vg 5 Total 7
|
|
LOC 23 eLOC 20 lLOC 10 Comment 28 Lines 30
|
|
|
|
Function: QS_initBuf
|
|
Parameters: (uint8_t sto[], uint_fast16_t stoSize)
|
|
Complexity Param 2 Return 1 Cyclo Vg 1 Total 4
|
|
LOC 21 eLOC 20 lLOC 19 Comment 31 Lines 31
|
|
|
|
Function: QS_filterOn
|
|
Parameters: (uint_fast8_t rec)
|
|
Complexity Param 1 Return 1 Cyclo Vg 16 Total 18
|
|
LOC 73 eLOC 56 lLOC 39 Comment 16 Lines 75
|
|
|
|
Function: QS_filterOff
|
|
Parameters: (uint_fast8_t rec)
|
|
Complexity Param 1 Return 1 Cyclo Vg 16 Total 18
|
|
LOC 76 eLOC 59 lLOC 43 Comment 16 Lines 80
|
|
|
|
Function: QS_beginRec
|
|
Parameters: (uint_fast8_t rec)
|
|
Complexity Param 1 Return 1 Cyclo Vg 1 Total 3
|
|
LOC 14 eLOC 13 lLOC 10 Comment 18 Lines 18
|
|
|
|
Function: QS_endRec
|
|
Parameters: (void)
|
|
Complexity Param 0 Return 1 Cyclo Vg 4 Total 5
|
|
LOC 22 eLOC 18 lLOC 10 Comment 17 Lines 28
|
|
|
|
Function: QS_target_info_
|
|
Parameters: (uint8_t isReset)
|
|
Complexity Param 1 Return 1 Cyclo Vg 15 Total 17
|
|
LOC 97 eLOC 90 lLOC 48 Comment 10 Lines 111
|
|
|
|
Function: QS_u8
|
|
Parameters: (uint8_t format, uint8_t d)
|
|
Complexity Param 2 Return 1 Cyclo Vg 1 Total 4
|
|
LOC 11 eLOC 10 lLOC 7 Comment 13 Lines 14
|
|
|
|
Function: QS_u16
|
|
Parameters: (uint8_t format, uint16_t d)
|
|
Complexity Param 2 Return 1 Cyclo Vg 1 Total 4
|
|
LOC 15 eLOC 14 lLOC 10 Comment 13 Lines 20
|
|
|
|
Function: QS_u32
|
|
Parameters: (uint8_t format, uint32_t d)
|
|
Complexity Param 2 Return 1 Cyclo Vg 2 Total 5
|
|
LOC 16 eLOC 14 lLOC 11 Comment 14 Lines 20
|
|
|
|
Function: QS_u8_
|
|
Parameters: (uint8_t d)
|
|
Complexity Param 1 Return 1 Cyclo Vg 1 Total 3
|
|
LOC 10 eLOC 9 lLOC 7 Comment 12 Lines 12
|
|
|
|
Function: QS_u8u8_
|
|
Parameters: (uint8_t d1, uint8_t d2)
|
|
Complexity Param 2 Return 1 Cyclo Vg 1 Total 4
|
|
LOC 11 eLOC 10 lLOC 7 Comment 11 Lines 13
|
|
|
|
Function: QS_u16_
|
|
Parameters: (uint16_t d)
|
|
Complexity Param 1 Return 1 Cyclo Vg 1 Total 3
|
|
LOC 14 eLOC 13 lLOC 10 Comment 12 Lines 18
|
|
|
|
Function: QS_u32_
|
|
Parameters: (uint32_t d)
|
|
Complexity Param 1 Return 1 Cyclo Vg 2 Total 4
|
|
LOC 15 eLOC 13 lLOC 11 Comment 11 Lines 17
|
|
|
|
Function: QS_str_
|
|
Parameters: (char_t const *s)
|
|
Complexity Param 1 Return 1 Cyclo Vg 2 Total 4
|
|
LOC 20 eLOC 18 lLOC 14 Comment 16 Lines 22
|
|
|
|
Function: QS_getByte
|
|
Parameters: (void)
|
|
Complexity Param 0 Return 1 Cyclo Vg 3 Total 4
|
|
LOC 18 eLOC 14 lLOC 10 Comment 20 Lines 18
|
|
|
|
Function: QS_getBlock
|
|
Parameters: (uint16_t *pNbytes)
|
|
Complexity Param 1 Return 1 Cyclo Vg 5 Total 7
|
|
LOC 28 eLOC 22 lLOC 16 Comment 32 Lines 32
|
|
|
|
Function: QS_sig_dict
|
|
Parameters: (enum_t const sig, void const * const obj, char_t const *nam
|
|
e)
|
|
Complexity Param 3 Return 1 Cyclo Vg 2 Total 6
|
|
LOC 14 eLOC 11 lLOC 9 Comment 3 Lines 15
|
|
|
|
Function: QS_obj_dict
|
|
Parameters: (void const * const obj, char_t const *name)
|
|
Complexity Param 2 Return 1 Cyclo Vg 2 Total 5
|
|
LOC 13 eLOC 10 lLOC 8 Comment 3 Lines 14
|
|
|
|
Function: QS_fun_dict
|
|
Parameters: (void (* const fun)(void), char_t const *name)
|
|
Complexity Param 2 Return 1 Cyclo Vg 2 Total 5
|
|
LOC 13 eLOC 11 lLOC 8 Comment 3 Lines 14
|
|
|
|
Function: QS_usr_dict
|
|
Parameters: (enum_t const rec, char_t const * const name)
|
|
Complexity Param 2 Return 1 Cyclo Vg 1 Total 4
|
|
LOC 10 eLOC 8 lLOC 7 Comment 3 Lines 11
|
|
|
|
Function: QS_mem
|
|
Parameters: (uint8_t const *blk, uint8_t size)
|
|
Complexity Param 2 Return 1 Cyclo Vg 2 Total 5
|
|
LOC 18 eLOC 16 lLOC 11 Comment 11 Lines 23
|
|
|
|
Function: QS_str
|
|
Parameters: (char_t const *s)
|
|
Complexity Param 1 Return 1 Cyclo Vg 2 Total 4
|
|
LOC 21 eLOC 19 lLOC 14 Comment 16 Lines 24
|
|
|
|
Function: QS_u64_
|
|
Parameters: (uint64_t d)
|
|
Complexity Param 1 Return 1 Cyclo Vg 2 Total 4
|
|
LOC 15 eLOC 13 lLOC 11 Comment 7 Lines 17
|
|
|
|
Function: QS_u64
|
|
Parameters: (uint8_t format, uint64_t d)
|
|
Complexity Param 2 Return 1 Cyclo Vg 2 Total 5
|
|
LOC 16 eLOC 14 lLOC 11 Comment 9 Lines 20
|
|
|
|
Function: QS_f32
|
|
Parameters: (uint8_t format, float32_t f)
|
|
Complexity Param 2 Return 1 Cyclo Vg 2 Total 5
|
|
LOC 21 eLOC 19 lLOC 15 Comment 16 Lines 26
|
|
|
|
Function: QS_f64
|
|
Parameters: (uint8_t format, float64_t d)
|
|
Complexity Param 2 Return 1 Cyclo Vg 4 Total 7
|
|
LOC 38 eLOC 34 lLOC 26 Comment 17 Lines 49
|
|
|
|
Function: QS_rxInitBuf
|
|
Parameters: (uint8_t sto[], uint16_t stoSize)
|
|
Complexity Param 2 Return 1 Cyclo Vg 1 Total 4
|
|
LOC 24 eLOC 23 lLOC 20 Comment 23 Lines 29
|
|
|
|
Function: QS_rxGetNfree
|
|
Parameters: (void)
|
|
Complexity Param 0 Return 1 Cyclo Vg 3 Total 4
|
|
LOC 14 eLOC 10 lLOC 5 Comment 9 Lines 14
|
|
|
|
Function: QS_rxParse
|
|
Parameters: (void)
|
|
Complexity Param 0 Return 1 Cyclo Vg 7 Total 8
|
|
LOC 38 eLOC 28 lLOC 18 Comment 6 Lines 43
|
|
|
|
Function: QS_rxParseData_
|
|
Parameters: (uint8_t b)
|
|
Complexity Param 1 Return 1 Cyclo Vg 95 Total 97
|
|
LOC 412 eLOC 324 lLOC 200 Comment 26 Lines 435
|
|
|
|
Function: QS_rxHandleGoodFrame_
|
|
Parameters: (uint8_t state)
|
|
Complexity Param 1 Return 1 Cyclo Vg 47 Total 49
|
|
LOC 238 eLOC 185 lLOC 107 Comment 57 Lines 267
|
|
|
|
Function: QS_rxHandleBadFrame_
|
|
Parameters: (uint8_t state)
|
|
Complexity Param 1 Return 1 Cyclo Vg 2 Total 4
|
|
LOC 13 eLOC 9 lLOC 5 Comment 3 Lines 13
|
|
|
|
Function: QS_rxReportAck_
|
|
Parameters: (enum QSpyRxRecords recId)
|
|
Complexity Param 1 Return 1 Cyclo Vg 1 Total 3
|
|
LOC 6 eLOC 5 lLOC 4 Comment 2 Lines 6
|
|
|
|
Function: QS_rxReportError_
|
|
Parameters: (uint8_t code)
|
|
Complexity Param 1 Return 1 Cyclo Vg 1 Total 3
|
|
LOC 6 eLOC 5 lLOC 4 Comment 2 Lines 6
|
|
|
|
Function: QS_rxReportDone_
|
|
Parameters: (enum QSpyRxRecords recId)
|
|
Complexity Param 1 Return 1 Cyclo Vg 1 Total 3
|
|
LOC 7 eLOC 6 lLOC 5 Comment 3 Lines 7
|
|
|
|
Function: QS_rxPoke_
|
|
Parameters: (void)
|
|
Complexity Param 0 Return 1 Cyclo Vg 4 Total 5
|
|
LOC 21 eLOC 19 lLOC 12 Comment 1 Lines 22
|
|
|
|
Function: QS_getTestProbe_
|
|
Parameters: (void (* const api)(void))
|
|
Complexity Param 1 Return 1 Cyclo Vg 4 Total 6
|
|
LOC 20 eLOC 16 lLOC 14 Comment 18 Lines 22
|
|
|
|
Function: QS_onGetTime
|
|
Parameters: (void)
|
|
Complexity Param 0 Return 1 Cyclo Vg 1 Total 2
|
|
LOC 3 eLOC 2 lLOC 1 Comment 1 Lines 3
|
|
|
|
Function: QF_init
|
|
Parameters: (void)
|
|
Complexity Param 0 Return 1 Cyclo Vg 1 Total 2
|
|
LOC 7 eLOC 6 lLOC 5 Comment 1 Lines 8
|
|
|
|
Function: QF_run
|
|
Parameters: (void)
|
|
Complexity Param 0 Return 1 Cyclo Vg 1 Total 2
|
|
LOC 7 eLOC 6 lLOC 5 Comment 5 Lines 9
|
|
|
|
Function: QActive_post_
|
|
Parameters: (QActive * const me, QEvt const * const e, uint_fast16_t con
|
|
st margin, void const * const sender)
|
|
Complexity Param 4 Return 1 Cyclo Vg 5 Total 10
|
|
LOC 49 eLOC 42 lLOC 29 Comment 30 Lines 67
|
|
|
|
Function: QActive_postLIFO_
|
|
Parameters: (QActive * const me, QEvt const * const e)
|
|
Complexity Param 2 Return 1 Cyclo Vg 2 Total 5
|
|
LOC 22 eLOC 19 lLOC 12 Comment 12 Lines 29
|
|
|
|
Function: QActive_start_
|
|
Parameters: (QActive * const me, uint_fast8_t prio, QEvt const *qSto[],
|
|
uint_fast16_t qLen, void *stkSto, uint_fast16_t stkSize, QEv
|
|
t const *ie)
|
|
Complexity Param 7 Return 1 Cyclo Vg 2 Total 10
|
|
LOC 11 eLOC 9 lLOC 8 Comment 7 Lines 14
|
|
|
|
Function: QActive_stop
|
|
Parameters: (QActive * const me)
|
|
Complexity Param 1 Return 1 Cyclo Vg 1 Total 3
|
|
LOC 3 eLOC 2 lLOC 1 Comment 2 Lines 3
|
|
|
|
Function: QTimeEvt_ctr
|
|
Parameters: (QTimeEvt const * const me)
|
|
Complexity Param 1 Return 1 Cyclo Vg 1 Total 3
|
|
LOC 16 eLOC 15 lLOC 11 Comment 7 Lines 19
|
|
|
|
Function: QTimeEvt_ctorX
|
|
Parameters: (QTimeEvt * const me, QActive * const act, enum_t const sig,
|
|
uint_fast8_t tickRate)
|
|
Complexity Param 4 Return 1 Cyclo Vg 2 Total 7
|
|
LOC 11 eLOC 9 lLOC 8 Comment 2 Lines 14
|
|
|
|
Function: QTimeEvt_armX
|
|
Parameters: (QTimeEvt * const me, QTimeEvtCtr const nTicks, QTimeEvtCtr
|
|
const interval)
|
|
Complexity Param 3 Return 1 Cyclo Vg 5 Total 9
|
|
LOC 23 eLOC 21 lLOC 13 Comment 10 Lines 30
|
|
|
|
Function: QTimeEvt_disarm
|
|
Parameters: (QTimeEvt * const me)
|
|
Complexity Param 1 Return 1 Cyclo Vg 2 Total 4
|
|
LOC 29 eLOC 26 lLOC 17 Comment 14 Lines 37
|
|
|
|
Function: QTimeEvt_rearm
|
|
Parameters: (QTimeEvt * const me, QTimeEvtCtr const nTicks)
|
|
Complexity Param 2 Return 1 Cyclo Vg 7 Total 10
|
|
LOC 32 eLOC 28 lLOC 16 Comment 19 Lines 49
|
|
|
|
Function: QF_tickX_
|
|
Parameters: (uint_fast8_t const tickRate, void const * const sender)
|
|
Complexity Param 2 Return 1 Cyclo Vg 3 Total 6
|
|
LOC 32 eLOC 28 lLOC 17 Comment 18 Lines 42
|
|
|
|
Function: Q_onAssert
|
|
Parameters: (char_t const * const module, int_t location)
|
|
Complexity Param 2 Return 1 Cyclo Vg 1 Total 4
|
|
LOC 5 eLOC 4 lLOC 3 Comment 4 Lines 5
|
|
|
|
Function: QF_init
|
|
Parameters: (void)
|
|
Complexity Param 0 Return 1 Cyclo Vg 1 Total 2
|
|
LOC 11 eLOC 10 lLOC 7 Comment 12 Lines 13
|
|
|
|
Function: QF_stop
|
|
Parameters: (void)
|
|
Complexity Param 0 Return 1 Cyclo Vg 1 Total 2
|
|
LOC 3 eLOC 2 lLOC 1 Comment 14 Lines 4
|
|
|
|
Function: QF_run
|
|
Parameters: (void)
|
|
Complexity Param 0 Return 1 Cyclo Vg 5 Total 6
|
|
LOC 48 eLOC 42 lLOC 24 Comment 45 Lines 75
|
|
|
|
Function: QActive_start_
|
|
Parameters: (QActive * const me, uint_fast8_t prio, QEvt const *qSto[],
|
|
uint_fast16_t qLen, void *stkSto, uint_fast16_t stkSize, QEv
|
|
t const *ie)
|
|
Complexity Param 7 Return 1 Cyclo Vg 3 Total 11
|
|
LOC 11 eLOC 9 lLOC 7 Comment 31 Lines 17
|
|
|
|
Function: QActive_stop
|
|
Parameters: (QActive * const me)
|
|
Complexity Param 1 Return 1 Cyclo Vg 1 Total 3
|
|
LOC 7 eLOC 6 lLOC 4 Comment 13 Lines 9
|
|
|
|
Function: 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: QF_stop
|
|
Parameters: (void)
|
|
Complexity Param 0 Return 1 Cyclo Vg 1 Total 2
|
|
LOC 3 eLOC 2 lLOC 1 Comment 14 Lines 4
|
|
|
|
Function: 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: QF_run
|
|
Parameters: (void)
|
|
Complexity Param 0 Return 1 Cyclo Vg 2 Total 3
|
|
LOC 12 eLOC 10 lLOC 7 Comment 13 Lines 15
|
|
|
|
Function: QActive_start_
|
|
Parameters: (QActive * const me, uint_fast8_t prio, QEvt const *qSto[],
|
|
uint_fast16_t qLen, void *stkSto, uint_fast16_t stkSize, QEv
|
|
t const *ie)
|
|
Complexity Param 7 Return 1 Cyclo Vg 6 Total 14
|
|
LOC 19 eLOC 16 lLOC 10 Comment 35 Lines 28
|
|
|
|
Function: QActive_stop
|
|
Parameters: (QActive * const me)
|
|
Complexity Param 1 Return 1 Cyclo Vg 2 Total 4
|
|
LOC 11 eLOC 9 lLOC 6 Comment 13 Lines 15
|
|
|
|
Function: QXK_sched_
|
|
Parameters: (void)
|
|
Complexity Param 0 Return 1 Cyclo Vg 6 Total 7
|
|
LOC 50 eLOC 40 lLOC 22 Comment 33 Lines 67
|
|
|
|
Function: QXK_activate_
|
|
Parameters: (void)
|
|
Complexity Param 0 Return 1 Cyclo Vg 8 Total 9
|
|
LOC 75 eLOC 65 lLOC 36 Comment 54 Lines 104
|
|
|
|
Function: QXK_current
|
|
Parameters: (void)
|
|
Complexity Param 0 Return 1 Cyclo Vg 1 Total 2
|
|
LOC 8 eLOC 7 lLOC 5 Comment 1 Lines 10
|
|
|
|
Function: QXMutex_init
|
|
Parameters: (QXMutex * const me, uint_fast8_t prio)
|
|
Complexity Param 2 Return 1 Cyclo Vg 1 Total 4
|
|
LOC 4 eLOC 3 lLOC 2 Comment 17 Lines 4
|
|
|
|
Function: QXMutex_lock
|
|
Parameters: (QXMutex * const me)
|
|
Complexity Param 1 Return 1 Cyclo Vg 4 Total 6
|
|
LOC 21 eLOC 19 lLOC 9 Comment 36 Lines 29
|
|
|
|
Function: QXMutex_unlock
|
|
Parameters: (QXMutex * const me)
|
|
Complexity Param 1 Return 1 Cyclo Vg 5 Total 7
|
|
LOC 29 eLOC 24 lLOC 13 Comment 39 Lines 37
|
|
|
|
Function: QXSemaphore_init
|
|
Parameters: (QXSemaphore * const me, uint_fast16_t count)
|
|
Complexity Param 2 Return 1 Cyclo Vg 1 Total 4
|
|
LOC 4 eLOC 3 lLOC 2 Comment 16 Lines 4
|
|
|
|
Function: QXSemaphore_wait
|
|
Parameters: (QXSemaphore * const me, uint_fast16_t const nTicks, uint_fa
|
|
st8_t const tickRate)
|
|
Complexity Param 3 Return 1 Cyclo Vg 4 Total 8
|
|
LOC 27 eLOC 23 lLOC 18 Comment 34 Lines 35
|
|
|
|
Function: QXSemaphore_signal
|
|
Parameters: (QXSemaphore * const me)
|
|
Complexity Param 1 Return 1 Cyclo Vg 4 Total 6
|
|
LOC 23 eLOC 19 lLOC 12 Comment 21 Lines 30
|
|
|
|
Function: QXThread_ctor
|
|
Parameters: (QXThread * const me, QXThreadHandler handler, uint_fast8_t
|
|
tickRate)
|
|
Complexity Param 3 Return 1 Cyclo Vg 1 Total 5
|
|
LOC 13 eLOC 10 lLOC 5 Comment 24 Lines 16
|
|
|
|
Function: QXThread_init_
|
|
Parameters: (QMsm * const me, QEvt const * const e)
|
|
Complexity Param 2 Return 1 Cyclo Vg 1 Total 4
|
|
LOC 5 eLOC 4 lLOC 3 Comment 2 Lines 5
|
|
|
|
Function: QXThread_dispatch_
|
|
Parameters: (QMsm * const me, QEvt const * const e)
|
|
Complexity Param 2 Return 1 Cyclo Vg 1 Total 4
|
|
LOC 5 eLOC 4 lLOC 3 Comment 1 Lines 5
|
|
|
|
Function: QXThread_start_
|
|
Parameters: (QActive * const me, uint_fast8_t prio, QEvt const *qSto[],
|
|
uint_fast16_t qLen, void *stkSto, uint_fast16_t stkSize, QEv
|
|
t const *ie)
|
|
Complexity Param 7 Return 1 Cyclo Vg 6 Total 14
|
|
LOC 20 eLOC 17 lLOC 11 Comment 35 Lines 36
|
|
|
|
Function: QXThread_post_
|
|
Parameters: (QActive * const me, QEvt const * const e, uint_fast16_t con
|
|
st margin)
|
|
Complexity Param 3 Return 1 Cyclo Vg 10 Total 14
|
|
LOC 78 eLOC 64 lLOC 45 Comment 76 Lines 111
|
|
|
|
Function: QXThread_postLIFO_
|
|
Parameters: (QActive * const me, QEvt const * const e)
|
|
Complexity Param 2 Return 1 Cyclo Vg 1 Total 4
|
|
LOC 5 eLOC 4 lLOC 3 Comment 10 Lines 5
|
|
|
|
Function: QXThread_queueGet
|
|
Parameters: (uint_fast16_t const nTicks, uint_fast8_t const tickRate)
|
|
Complexity Param 2 Return 1 Cyclo Vg 7 Total 10
|
|
LOC 60 eLOC 52 lLOC 35 Comment 50 Lines 80
|
|
|
|
Function: QXThread_block_
|
|
Parameters: (QXThread const * const me)
|
|
Complexity Param 1 Return 1 Cyclo Vg 1 Total 3
|
|
LOC 5 eLOC 4 lLOC 3 Comment 9 Lines 6
|
|
|
|
Function: QXThread_unblock_
|
|
Parameters: (QXThread const * const me)
|
|
Complexity Param 1 Return 1 Cyclo Vg 3 Total 5
|
|
LOC 8 eLOC 5 lLOC 2 Comment 10 Lines 8
|
|
|
|
Function: QXThread_teArm_
|
|
Parameters: (QXThread * const me, QSignal sig, uint_fast16_t const nTick
|
|
s, uint_fast8_t const tickRate)
|
|
Complexity Param 4 Return 1 Cyclo Vg 3 Total 8
|
|
LOC 13 eLOC 9 lLOC 7 Comment 23 Lines 30
|
|
|
|
Function: QXThread_teDisarm_
|
|
Parameters: (QXThread * const me)
|
|
Complexity Param 1 Return 1 Cyclo Vg 2 Total 4
|
|
LOC 11 eLOC 8 lLOC 5 Comment 11 Lines 13
|
|
|
|
Function: QXThread_delay
|
|
Parameters: (uint_fast16_t const nTicks, uint_fast8_t const tickRate)
|
|
Complexity Param 2 Return 1 Cyclo Vg 1 Total 4
|
|
LOC 18 eLOC 17 lLOC 14 Comment 10 Lines 29
|
|
|
|
Function: QXThread_delayCancel
|
|
Parameters: (QXThread * const me)
|
|
Complexity Param 1 Return 1 Cyclo Vg 2 Total 4
|
|
LOC 14 eLOC 11 lLOC 7 Comment 2 Lines 16
|
|
|
|
Function: QXK_threadRet_
|
|
Parameters: (void)
|
|
Complexity Param 0 Return 1 Cyclo Vg 1 Total 2
|
|
LOC 10 eLOC 9 lLOC 7 Comment 12 Lines 12
|
|
|
|
Total: Functions
|
|
LOC 4080 eLOC 3402 lLOC 2218 InCmp 417 CycloCmp 654
|
|
Function Points FP(LOC) 31.7 FP(eLOC) 26.4 FP(lLOC) 17.2
|
|
|
|
------------------------------------------------------------------------
|
|
|
|
~~ Project Functional Analysis ~~
|
|
|
|
Total Functions .......: 156 Total Physical Lines ..: 5245
|
|
Total LOC .............: 4080 Total Function Pts LOC : 31.7
|
|
Total eLOC ............: 3402 Total Function Pts eLOC: 26.4
|
|
Total lLOC.............: 2218 Total Function Pts lLOC: 17.2
|
|
Total Cyclomatic Comp. : 654 Total Interface Comp. .: 417
|
|
Total Parameters ......: 261 Total Return Points ...: 156
|
|
Total Comment Lines ...: 3330 Total Blank Lines .....: 637
|
|
------ ----- ----- ------ ------ -----
|
|
Avg Physical Lines ....: 33.62
|
|
Avg LOC ...............: 26.15 Avg eLOC ..............: 21.81
|
|
Avg lLOC ..............: 14.22 Avg Cyclomatic Comp. ..: 4.19
|
|
Avg Interface Comp. ...: 2.67 Avg Parameters ........: 1.67
|
|
Avg Return Points .....: 1.00 Avg Comment Lines .....: 21.35
|
|
------ ----- ----- ------ ------ -----
|
|
Max LOC ...............: 412
|
|
Max eLOC ..............: 324 Max lLOC ..............: 200
|
|
Max Cyclomatic Comp. ..: 95 Max Interface Comp. ...: 8
|
|
Max Parameters ........: 7 Max Return Points .....: 1
|
|
Max Comment Lines .....: 77 Max Total Lines .......: 435
|
|
------ ----- ----- ------ ------ -----
|
|
Min LOC ...............: 3
|
|
Min eLOC ..............: 2 Min lLOC ..............: 1
|
|
Min Cyclomatic Comp. ..: 1 Min Interface Comp. ...: 1
|
|
Min Parameters ........: 0 Min Return Points .....: 1
|
|
Min Comment Lines .....: 1 Min Total Lines .......: 3
|
|
|
|
------------------------------------------------------------------------
|
|
|
|
~~ File Summary ~~
|
|
|
|
C Source Files *.c ....: 24 C/C++ Include Files *.h: 17
|
|
C++ Source Files *.c* .: 0 C++ Include Files *.h* : 0
|
|
C# Source Files *.cs ..: 0 Java Source File *.jav*: 0
|
|
Other File Count ......: 0 Total File Count ......: 41
|
|
________________________________________________________________________
|
|
|
|
@endcode
|
|
*/
|