diff --git a/3rd_party/CMSIS/Include/cmsis_ccs.h b/3rd_party/CMSIS/Include/cmsis_ccs.h
index 2f597604..7243f2e0 100644
--- a/3rd_party/CMSIS/Include/cmsis_ccs.h
+++ b/3rd_party/CMSIS/Include/cmsis_ccs.h
@@ -1,9 +1,6 @@
//*****************************************************************************
-// Updated by Quantum Leaps for CMIS 5.0.1
-// 2016-12-12
-//*****************************************************************************
//
-// Copyright (C) 2012 - 2014 Texas Instruments Incorporated - http://www.ti.com/
+// Copyright (C) 2012 - 2017 Texas Instruments Incorporated - http://www.ti.com/
//
// Redistribution and use in source and binary forms, with or without
// modification, are permitted provided that the following conditions
@@ -40,63 +37,18 @@
#ifndef CMSIS_CCS_H_
#define CMSIS_CCS_H_
-// Data Synchronization Barrier
-__attribute__( ( always_inline ) ) static inline void __DSB(void)
-{
- __asm(" dsb");
-}
-
-// Instruction Synchronization Barrier
-__attribute__( ( always_inline ) ) static inline void __ISB(void)
-{
- __asm(" isb");
-}
-
-#if (0)
-// Get Main Stack Pointer
-static inline uint32_t __get_MSP(void)
-{
- register uint32_t result;
- //__asm (" mrs result, msp");
- return(result);
-}
-
-// Set Main Stack Pointer
-static inline void __set_MSP(uint32_t topOfMainStack)
-{
- asm(" .global topOfMainStack");
- __asm (" msr msp, topOfMainStack");
-}
-
-
-// Get Priority Mask
-static inline uint32_t __get_PRIMASK(void)
-{
- uint32_t result;
- __asm (" mrs result, primask");
- return(result);
-}
-
-
-// Set Priority Mask
-static inline void __set_PRIMASK(uint32_t priMask)
-{
- __asm (" msr primask, priMask");
-}
-#endif
-
+//*****************************************************************************
+// CMSIS-compatible instruction calls
+//*****************************************************************************
//
// v5e, v6, Cortex-M3, Cortex-M4, Cortex-R4, and Cortex-A8 compiler intrinsics
//
-#define __CLZ _norm
-#define __SXTB _sxtb
-#define __SXTH _sxth
-#define __UXTB _uxtb
-#define __UXTH _uxth
-#define __NOP __nop
-#define __WFI __wfi
-
+#define __CLZ _norm
+#define __SXTB _sxtb
+#define __SXTH _sxth
+#define __UXTB _uxtb
+#define __UXTH _uxth
// CCS supports intrinsics to take advantage of the shift operand left/right
// before saturation extension of SSAT, but CMSIS does not take advantage
// of those, so tell the compiler to use a sat & shift left with a shift
@@ -108,18 +60,67 @@ static inline void __set_PRIMASK(uint32_t priMask)
// Only define M4 based intrinsics if we're not using an M4
//
#if defined (__TI_TMS470_V7M4__)
+
+//
+// Add definitions for enable and disable interrupts
+//
+#if defined (__TI_COMPILER_VERSION__)
+
+#if (__TI_COMPILER_VERSION__ >= 5002000)
+
+#define __enable_irq _enable_IRQ
+#define __disable_irq _disable_IRQ
+
+// No Operation
+#define __NOP __nop
+// Data Synchronization Barrier
+#define __DSB _dsb
+
+#define __ISB _isb
+
+#elif (__TI_COMPILER_VERSION__ >= 4009000)
+
+#define __enable_fault_irq _enable_interrupts
+#define __disable_fault_irq _disable_interrupts
+
+// No Operation
+__attribute__( ( always_inline ) ) static inline void __nop(void)
+{
+ __asm(" nop");
+}
+__attribute__( ( always_inline ) ) static inline void __NOP(void)
+{
+ __asm(" nop");
+}
+// Data Synchronization Barrier
+__attribute__( ( always_inline ) ) static inline void __DSB(void)
+{
+ __asm(" dsb");
+}
+
+__attribute__( ( always_inline ) ) static inline void __ISB(void)
+{
+ __asm(" isb");
+}
+
+#endif /*__TI_COMPILER_VERSION__ version*/
+
+#endif /*__TI_COMPILER_VERSION__*/
+
//
// V5E, V6, Cortex-M4, Cortex-R4, and Cortex-A8 compiler intrinsics
//
-#define __QADD _sadd
-#define __QDADD _sdadd
-#define __QDSUB _sdsub
-#define __SMLABB _smlabb
-#define __SMLABT _smlabt
-#define __SMLALBB _smlalbb
-#define __SMLALBT _smlalbt
-#define __SMLALTB _smlaltb
-#define __SMLALTT _smlaltt
+#define __ROR __ror
+#define __SXTB16(src) _sxtb16((src),0)
+#define __QADD _sadd
+#define __QDADD _sdadd
+#define __QDSUB _sdsub
+#define __SMLABB _smlabb
+#define __SMLABT _smlabt
+#define __SMLALBB _smlalbb
+#define __SMLALBT _smlalbt
+#define __SMLALTB _smlaltb
+#define __SMLALTT _smlaltt
#define __SMLATB _smlatb
#define __SMLATT _smlatt
#define __SMLAWB _smlawb
@@ -131,77 +132,77 @@ static inline void __set_PRIMASK(uint32_t priMask)
#define __SMULTT _smultt
#define __SMULWB _smulwb
#define __SMULWT _smulwt
-#define __QSUB _ssub
-#define __SUBC _subc
+#define __QSUB _ssub
+#define __SUBC _subc
//
// v6, Cortex-M4, Cortex-R4, and Cortex-A8 compiler intrinsics
//
-#define __SHASX _shaddsubx
-#define __SHSAX _shsubaddx
-#define __PKHBT _pkhbt
-#define __PKHTB _pkhtb
+#define __SHASX _shaddsubx
+#define __SHSAX _shsubaddx
+#define __PKHBT _pkhbt
+#define __PKHTB _pkhtb
#define __QADD16 _qadd16
-#define __QADD8 _qadd8
+#define __QADD8 _qadd8
#define __QSUB16 _qsub16
-#define __QSUB8 _qsub8
-#define __QASX _saddsubx
-#define __QSAX _qsubaddx
+#define __QSUB8 _qsub8
+#define __QASX _saddsubx
+#define __QSAX _qsubaddx
#define __SADD16 _sadd16
-#define __SADD8 _sadd8
-#define __SASX _saddsubx
-#define __SEL _sel
-#define __SHADD16 _shadd16
+#define __SADD8 _sadd8
+#define __SASX _saddsubx
+#define __SEL _sel
+#define __SHADD16 _shadd16
#define __SHADD8 _shadd8
-#define __SHSUB16 _shsub16
+#define __SHSUB16 _shsub16
#define __SHSUB8 _shsub8
-#define __SMLAD _smlad
+#define __SMLAD _smlad
#define __SMLADX _smladx
-#define __SMLALD _smlald
-#define __SMLALDX _smlaldx
-#define __SMLSD _smlsd
+#define __SMLALD(src1, src2, accumulator) _smlald(accumulator, src1, src2)
+#define __SMLALDX _smlaldx
+#define __SMLSD _smlsd
#define __SMLSDX _smlsdx
#define __SMLSLD _smlsld
-#define __SMLSLDX _smlsldx
-#define __SMMLA _smmla
+#define __SMLSLDX _smlsldx
+#define __SMMLA _smmla
#define __SMMLAR _smmlar
-#define __SMMLS _smmls
+#define __SMMLS _smmls
#define __SMMLSR _smmlsr
-#define __SMMUL _smmul
+#define __SMMUL _smmul
#define __SMMULR _smmulr
-#define __SMUAD _smuad
+#define __SMUAD _smuad
#define __SMUADX _smuadx
-#define __SMUSD _smusd
-#define __SMUSDX _smusd
+#define __SMUSD _smusd
+#define __SMUSDX _smusdx
#define __SSAT16 _ssat16
#define __SSUB16 _ssub16
-#define __SSUB8 _ssub8
-#define __SSAX _ssubaddx
-#define __SXTAB _sxtab
-#define __SXTAB16 _sxtab16
-#define __SXTAH _sxtah
-#define __UMAAL _umaal
+#define __SSUB8 _ssub8
+#define __SSAX _ssubaddx
+#define __SXTAB _sxtab
+#define __SXTAB16 _sxtab16
+#define __SXTAH _sxtah
+#define __UMAAL _umaal
#define __UADD16 _uadd16
-#define __UADD8 _uadd8
-#define __UHADD16 _uhadd16
+#define __UADD8 _uadd8
+#define __UHADD16 _uhadd16
#define __UHADD8 _uhadd8
-#define __UASX _uaddsubx
-#define __UHSUB16 _uhsub16
+#define __UASX _uaddsubx
+#define __UHSUB16 _uhsub16
#define __UHSUB8 _uhsub8
-#define __UQADD16 _uqadd16
+#define __UQADD16 _uqadd16
#define __UQADD8 _uqadd8
-#define __UQASX _uqaddsubx
-#define __UQSUB16 _uqsub16
+#define __UQASX _uqaddsubx
+#define __UQSUB16 _uqsub16
#define __UQSUB8 _uqsub8
-#define __UQSAX _uqsubaddx
-#define __USAD8 _usad8
+#define __UQSAX _uqsubaddx
+#define __USAD8 _usad8
#define __USAT16 _usat16
#define __USUB16 _usub16
-#define __USUB8 _usub8
-#define __USAX _usubaddx
-#define __UXTAB _uxtab
-#define __UXTAB16 _uxtab16
-#define __UXTAH _uxtah
+#define __USUB8 _usub8
+#define __USAX _usubaddx
+#define __UXTAB _uxtab
+#define __UXTAB16 _uxtab16
+#define __UXTAH _uxtah
#define __UXTB16 _uxtb16
#endif /*__TI_TMS470_V7M4__*/
diff --git a/README.md b/README.md
index 4ac94fb7..ee025c90 100644
--- a/README.md
+++ b/README.md
@@ -1,8 +1,9 @@
![QP framework](https://state-machine.com/img/qp_banner.jpg)
+> **NOTE:** If your company has a policy forbidding open source in your product, all QP frameworks can be [licensed commercially](https://state-machine.com/licensing), in which case you don't use any open source license and you do not violate your policy.
+
# What's New?
-View QP/C++ Revision History at:
-https://state-machine.com/qpcpp/history.html
+View QP/C++ Revision History at: https://state-machine.com/qpcpp/history.html
---------------------------------------------------------------------------
# About QP/C++
@@ -71,14 +72,20 @@ https://state-machine.com/doc/AN_Getting_Started_with_QPCpp.pdf
The guide also contains a tutorial, in which you build a simple "Blinky"
application.
-> NOTE: QP/C++ can be unzipped anywhere in your file system, but the
+> **NOTE:** QP/C++ can be unzipped anywhere in your file system, but the
recommended location is `C:\qp\qpcpp` on Windows and `~/qp/qpcpp`
on Linux/MacOS.
+
+---------------------------------------------------------------------------
+# QP/C++ Licensing
+QP/C++ is licensed under the increasingly popular [dual licensing model](https://state-machine.com/licensing), in which both the open source software distribution mechanism and traditional closed source software distribution models are combined.
+
+> **NOTE:** If your company has a policy forbidding open source in your product, all QP frameworks can be [licensed commercially](https://state-machine.com/licensing), in which case you don't use any open source license and you do not violate your policy.
+
---------------------------------------------------------------------------
# QP/C++ Documentation
-The **QP/C++ Manual** is located online at:
-- https://state-machine.com/qpcpp
+The **QP/C++ Manual** is located online at: https://state-machine.com/qpcpp
---------------------------------------------------------------------------
# How to get help?
diff --git a/doxygen/history.dox b/doxygen/history.dox
index b3fb027b..dd7cfa9d 100644
--- a/doxygen/history.dox
+++ b/doxygen/history.dox
@@ -4,8 +4,8 @@ namespace QP {
@section qpcpp_5_9_5 Version 5.9.5, 2017-07-20
This release fixes the following bugs:
-- bug#178 "GNU-ARM compiler reports "Error: unaligned opcodes..." in startup code for QP/C/C++/nano examples". The bug fix entails modifying the startup code for the GNU-ARM compiler in the `3rd_party` directory. Specifically, the proper alignment directives have been added to the inline assembly in the exception handlers.
-- bug#179 "Assertion ID 210 fires when signaling on a QXK semaphore"
+- bug#178 "GNU-ARM compiler reports "Error: unaligned opcodes..." in startup code for QP/C/C++/nano examples". The bug fix entails modifying the startup code for the GNU-ARM compiler in the `3rd_party` directory. Specifically, the proper alignment directives have been added to the inline assembly in the exception handlers.
+- bug#179 "Assertion ID 210 fires when signaling on a QXK semaphore"
This release fixes the naming problem of the startup code for the
STM32F7-Discovery board (in the `3rd_party/stm32f7-discovery/gnu/ and arm/`
diff --git a/doxygen/metrics.dox b/doxygen/metrics.dox
index 17c50f31..7b7cb30f 100644
--- a/doxygen/metrics.dox
+++ b/doxygen/metrics.dox
@@ -1,3156 +1,3156 @@
-/** @page metrics Code Metrics
-
-@code
- Standard Code Metrics for QP/C++ 5.9.5
-
- 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 20, 2017
- (C)1996-2009 M Squared Technologies LLC
- ________________________________________________________________________
-
- ~~ Function Metrics ~~
- ~~ Complexity Detail Analysis ~~
-
- File: ..\include\qassert.h
- ________________________________________________________________________
-
- ~~ Total File Summary ~~
-
- LOC 49 eLOC 48 lLOC 3 Comment 240 Lines 309
- ________________________________________________________________________
- End of File: ..\include\qassert.h
-
-
- File: ..\include\qep.h
- ________________________________________________________________________
-
- Inline Function: QP::QEvt::QEvt
- Parameters: (QSignal const s)
- Complexity Param 1 Return 1 Cyclo Vg 1 Total 3
- LOC 1 eLOC 1 lLOC 0 Comment 2 Lines 1
-
- Inline Function: QP::QEvt::QEvt
- Parameters: (QSignal const s, StaticEvt)
- Complexity Param 2 Return 1 Cyclo Vg 1 Total 4
- LOC 1 eLOC 1 lLOC 0 Comment 2 Lines 1
-
- Inline Function: QP::QEvt::~QEvt
- Parameters: ()
- Complexity Param 0 Return 1 Cyclo Vg 1 Total 2
- LOC 1 eLOC 1 lLOC 0 Comment 1 Lines 1
-
- Inline Function: QP::QHsm::init
- Parameters: (void)
- Complexity Param 0 Return 1 Cyclo Vg 1 Total 2
- LOC 1 eLOC 1 lLOC 1 Comment 1 Lines 1
-
- Inline Function: QP::QHsm::state
- Parameters: (void)
- Complexity Param 0 Return 1 Cyclo Vg 1 Total 2
- LOC 3 eLOC 2 lLOC 1 Comment 2 Lines 3
-
- Inline Function: QP::QHsm::Q_HANDLED
- Parameters: (void)
- Complexity Param 0 Return 1 Cyclo Vg 1 Total 2
- LOC 3 eLOC 2 lLOC 1 Comment 3 Lines 3
-
- Inline Function: QP::QHsm::Q_UNHANDLED
- Parameters: (void)
- Complexity Param 0 Return 1 Cyclo Vg 1 Total 2
- LOC 3 eLOC 2 lLOC 1 Comment 4 Lines 3
-
- Inline Function: QP::QHsm::tran_
- Parameters: (QStateHandler const target)
- Complexity Param 1 Return 1 Cyclo Vg 1 Total 3
- LOC 4 eLOC 3 lLOC 2 Comment 1 Lines 4
-
- Inline Function: QP::QHsm::tran_hist_
- Parameters: (QStateHandler const hist)
- Complexity Param 1 Return 1 Cyclo Vg 1 Total 3
- LOC 4 eLOC 3 lLOC 2 Comment 1 Lines 4
-
- Inline Function: QP::QHsm::super_
- Parameters: (QStateHandler const superstate)
- Complexity Param 1 Return 1 Cyclo Vg 1 Total 3
- LOC 4 eLOC 3 lLOC 2 Comment 1 Lines 4
-
- Inline Function: QP::QHsm::qm_tran_
- Parameters: (QMTranActTable const * const tatbl)
- Complexity Param 1 Return 1 Cyclo Vg 1 Total 3
- LOC 4 eLOC 3 lLOC 2 Comment 2 Lines 4
-
- Inline Function: QP::QHsm::qm_tran_hist_
- Parameters: (QMState const * const hist, QMTranActTable const * const ta
- tbl)
- Complexity Param 2 Return 1 Cyclo Vg 1 Total 4
- LOC 5 eLOC 3 lLOC 3 Comment 1 Lines 5
-
- Inline Function: QP::QHsm::qm_tran_init_
- Parameters: (QMTranActTable const * const tatbl)
- Complexity Param 1 Return 1 Cyclo Vg 1 Total 3
- LOC 4 eLOC 3 lLOC 2 Comment 1 Lines 4
-
- Inline Function: QP::QHsm::qm_tran_ep_
- Parameters: (QMTranActTable const * const tatbl)
- Complexity Param 1 Return 1 Cyclo Vg 1 Total 3
- LOC 4 eLOC 3 lLOC 2 Comment 2 Lines 4
-
- Inline Function: QP::QHsm::qm_tran_xp_
- Parameters: (QActionHandler const xp, QMTranActTable const *const tatbl)
- Complexity Param 2 Return 1 Cyclo Vg 1 Total 4
- LOC 5 eLOC 3 lLOC 3 Comment 2 Lines 5
-
- Inline Function: QP::QHsm::qm_entry_
- Parameters: (QMState const * const s)
- Complexity Param 1 Return 1 Cyclo Vg 1 Total 3
- LOC 4 eLOC 3 lLOC 2 Comment 1 Lines 4
-
- Inline Function: QP::QHsm::qm_exit_
- Parameters: (QMState const * const s)
- Complexity Param 1 Return 1 Cyclo Vg 1 Total 3
- LOC 4 eLOC 3 lLOC 2 Comment 1 Lines 4
-
- Inline Function: QP::QHsm::qm_super_sub_
- Parameters: (QMState const * const s)
- Complexity Param 1 Return 1 Cyclo Vg 1 Total 3
- LOC 4 eLOC 3 lLOC 2 Comment 2 Lines 4
-
- Inline Function: QP::QHsm::QM_HANDLED
- Parameters: (void)
- Complexity Param 0 Return 1 Cyclo Vg 1 Total 2
- LOC 3 eLOC 2 lLOC 1 Comment 2 Lines 3
-
- Inline Function: QP::QHsm::QM_UNHANDLED
- Parameters: (void)
- Complexity Param 0 Return 1 Cyclo Vg 1 Total 2
- LOC 3 eLOC 2 lLOC 1 Comment 2 Lines 3
-
- Inline Function: QP::QHsm::QM_SUPER
- Parameters: (void)
- Complexity Param 0 Return 1 Cyclo Vg 1 Total 2
- LOC 3 eLOC 2 lLOC 1 Comment 2 Lines 3
-
- Inline Function: QP::QMsm::init
- Parameters: (void)
- Complexity Param 0 Return 1 Cyclo Vg 1 Total 2
- LOC 1 eLOC 1 lLOC 1 Comment 2 Lines 1
-
- Inline Function: QP::QMsm::stateObj
- Parameters: (void) Non-ANSI Parameter Construct
- Complexity Param 1 Return 1 Cyclo Vg 1 Total 3
- LOC 3 eLOC 2 lLOC 1 Comment 1 Lines 3
-
- Inline Function: QP::QEP::getVersion
- Parameters: (void) Non-ANSI Parameter Construct
- Complexity Param 1 Return 1 Cyclo Vg 1 Total 3
- LOC 3 eLOC 2 lLOC 1 Comment 1 Lines 3
-
- ------------------------------------------------------------------------
-
- ~~ Total File Summary ~~
-
- LOC 259 eLOC 227 lLOC 129 Comment 317 Lines 664
- ------------------------------------------------------------------------
-
- ~~ File Functional Summary ~~
-
- File Function Count....: 24
- Total Function LOC.....: 75 Total Function Pts LOC : 0.0
- Total Function eLOC....: 54 Total Function Pts eLOC: 0.0
- Total Function lLOC....: 34 Total Function Pts lLOC: 0.0
- Total Function Params .: 18 Total Function Return .: 24
- Total Cyclo Complexity : 24 Total Function Complex.: 66
- ------ ----- ----- ------ ------ -----
- Max Function LOC ......: 5 Average Function LOC ..: 3.13
- Max Function eLOC .....: 3 Average Function eLOC .: 2.25
- Max Function lLOC .....: 3 Average Function lLOC .: 1.42
- ------ ----- ----- ------ ------ -----
- Max Function Parameters: 2 Avg Function Parameters: 0.75
- Max Function Returns ..: 1 Avg Function Returns ..: 1.00
- Max Interface Complex. : 3 Avg Interface Complex. : 1.75
- Max Cyclomatic Complex.: 1 Avg Cyclomatic Complex.: 1.00
- Max Total Complexity ..: 4 Avg Total Complexity ..: 2.75
- ________________________________________________________________________
- End of File: ..\include\qep.h
-
-
- File: ..\include\qequeue.h
- ________________________________________________________________________
-
- Inline Function: QP::QEQueue::getNFree
- Parameters: (void)
- Complexity Param 0 Return 1 Cyclo Vg 1 Total 2
- LOC 3 eLOC 2 lLOC 1 Comment 10 Lines 3
-
- Inline Function: QP::QEQueue::isEmpty
- Parameters: (void)
- Complexity Param 0 Return 1 Cyclo Vg 1 Total 2
- LOC 3 eLOC 2 lLOC 1 Comment 10 Lines 3
-
- ------------------------------------------------------------------------
-
- ~~ Total File Summary ~~
-
- LOC 46 eLOC 42 lLOC 24 Comment 184 Lines 257
- ------------------------------------------------------------------------
-
- ~~ File Functional Summary ~~
-
- File Function Count....: 2
- Total Function LOC.....: 6 Total Function Pts LOC : 0.0
- Total Function eLOC....: 4 Total Function Pts eLOC: 0.0
- Total Function lLOC....: 2 Total Function Pts lLOC: 0.0
- Total Function Params .: 0 Total Function Return .: 2
- Total Cyclo Complexity : 2 Total Function Complex.: 4
- ------ ----- ----- ------ ------ -----
- Max Function LOC ......: 3 Average Function LOC ..: 3.00
- Max Function eLOC .....: 2 Average Function eLOC .: 2.00
- Max Function lLOC .....: 1 Average Function lLOC .: 1.00
- ------ ----- ----- ------ ------ -----
- Max Function Parameters: 0 Avg Function Parameters: 0.00
- Max Function Returns ..: 1 Avg Function Returns ..: 1.00
- Max Interface Complex. : 1 Avg Interface Complex. : 1.00
- Max Cyclomatic Complex.: 1 Avg Cyclomatic Complex.: 1.00
- Max Total Complexity ..: 2 Avg Total Complexity ..: 2.00
- ________________________________________________________________________
- End of File: ..\include\qequeue.h
-
-
- File: ..\include\qf.h
- ________________________________________________________________________
-
- Inline Function: QP::QActive::start
- Parameters: (uint_fast8_t const prio, QEvt const *qSto[], uint_fast16_t
- const qLen, void * const stkSto, uint_fast16_t const stkSize
- )
- Complexity Param 5 Return 1 Cyclo Vg 1 Total 7
- LOC 4 eLOC 2 lLOC 1 Comment 1 Lines 4
-
- Inline Function: QP::QActive::getPrio
- Parameters: (void) Non-ANSI Parameter Construct
- Complexity Param 1 Return 1 Cyclo Vg 1 Total 3
- LOC 3 eLOC 2 lLOC 1 Comment 1 Lines 3
-
- Inline Function: QP::QActive::setPrio
- Parameters: (uint_fast8_t const prio)
- Complexity Param 1 Return 1 Cyclo Vg 1 Total 3
- LOC 3 eLOC 2 lLOC 1 Comment 1 Lines 3
-
- Inline Function: QP::QActive::getOsObject
- Parameters: (void)
- Complexity Param 0 Return 1 Cyclo Vg 1 Total 2
- LOC 1 eLOC 1 lLOC 1 Comment 2 Lines 1
-
- Inline Function: QP::QActive::getThread
- Parameters: (void)
- Complexity Param 0 Return 1 Cyclo Vg 1 Total 2
- LOC 1 eLOC 1 lLOC 1 Comment 2 Lines 1
-
- Inline Function: QP::QMActive::stateObj
- Parameters: (void) Non-ANSI Parameter Construct
- Complexity Param 1 Return 1 Cyclo Vg 1 Total 3
- LOC 3 eLOC 2 lLOC 1 Comment 1 Lines 3
-
- Inline Function: QP::QTimeEvt::QTimeEvt
- Parameters: (enum_t const sgnl) Non-ANSI Parameter Construct Defined By
- Compiler Directive
- Complexity Param 1 Return 1 Cyclo Vg 1 Total 3
- LOC 7 eLOC 5 lLOC 3 Comment 5 Lines 8
-
- Inline Function: QP::QTimeEvt::postIn
- Parameters: (QActive * const act, QTimeEvtCtr const nTicks)
- Complexity Param 2 Return 1 Cyclo Vg 1 Total 4
- LOC 4 eLOC 3 lLOC 2 Comment 1 Lines 4
-
- Inline Function: QP::QTimeEvt::postEvery
- Parameters: (QActive * const act, QTimeEvtCtr const nTicks)
- Complexity Param 2 Return 1 Cyclo Vg 1 Total 4
- LOC 4 eLOC 3 lLOC 2 Comment 1 Lines 4
-
- Inline Function: QP::QTimeEvt::toActive
- Parameters: (void)
- Complexity Param 0 Return 1 Cyclo Vg 1 Total 2
- LOC 1 eLOC 1 lLOC 1 Comment 1 Lines 1
-
- Inline Function: QP::QTimeEvt::toTimeEvt
- Parameters: (void)
- Complexity Param 0 Return 1 Cyclo Vg 1 Total 2
- LOC 1 eLOC 1 lLOC 1 Comment 1 Lines 1
-
- Inline Function: QP::QF::getVersion
- Parameters: (void)
- Complexity Param 0 Return 1 Cyclo Vg 1 Total 2
- LOC 3 eLOC 2 lLOC 1 Comment 1 Lines 3
-
- Inline Function: QP::QTicker::init
- Parameters: (void)
- Complexity Param 0 Return 1 Cyclo Vg 1 Total 2
- LOC 1 eLOC 1 lLOC 1 Comment 0 Lines 1
-
- ------------------------------------------------------------------------
-
- ~~ Total File Summary ~~
-
- LOC 280 eLOC 264 lLOC 117 Comment 483 Lines 867
- ------------------------------------------------------------------------
-
- ~~ File Functional Summary ~~
-
- File Function Count....: 13
- Total Function LOC.....: 36 Total Function Pts LOC : 0.0
- Total Function eLOC....: 26 Total Function Pts eLOC: 0.0
- Total Function lLOC....: 17 Total Function Pts lLOC: 0.0
- Total Function Params .: 13 Total Function Return .: 13
- Total Cyclo Complexity : 13 Total Function Complex.: 39
- ------ ----- ----- ------ ------ -----
- Max Function LOC ......: 7 Average Function LOC ..: 2.77
- Max Function eLOC .....: 5 Average Function eLOC .: 2.00
- Max Function lLOC .....: 3 Average Function lLOC .: 1.31
- ------ ----- ----- ------ ------ -----
- Max Function Parameters: 5 Avg Function Parameters: 1.00
- Max Function Returns ..: 1 Avg Function Returns ..: 1.00
- Max Interface Complex. : 6 Avg Interface Complex. : 2.00
- Max Cyclomatic Complex.: 1 Avg Cyclomatic Complex.: 1.00
- Max Total Complexity ..: 7 Avg Total Complexity ..: 3.00
- ________________________________________________________________________
- End of File: ..\include\qf.h
-
-
- File: ..\include\qk.h
- ________________________________________________________________________
-
- Inline Function: QP::QK::getVersion
- Parameters: (void)
- Complexity Param 0 Return 1 Cyclo Vg 1 Total 2
- LOC 3 eLOC 2 lLOC 1 Comment 1 Lines 3
-
- ------------------------------------------------------------------------
-
- ~~ Total File Summary ~~
-
- LOC 79 eLOC 73 lLOC 27 Comment 102 Lines 196
- ------------------------------------------------------------------------
-
- ~~ File Functional Summary ~~
-
- File Function Count....: 1
- Total Function LOC.....: 3 Total Function Pts LOC : 0.0
- Total Function eLOC....: 2 Total Function Pts eLOC: 0.0
- Total Function lLOC....: 1 Total Function Pts lLOC: 0.0
- Total Function Params .: 0 Total Function Return .: 1
- Total Cyclo Complexity : 1 Total Function Complex.: 2
- ------ ----- ----- ------ ------ -----
- Max Function LOC ......: 3 Average Function LOC ..: 3.00
- Max Function eLOC .....: 2 Average Function eLOC .: 2.00
- Max Function lLOC .....: 1 Average Function lLOC .: 1.00
- ------ ----- ----- ------ ------ -----
- Max Function Parameters: 0 Avg Function Parameters: 0.00
- Max Function Returns ..: 1 Avg Function Returns ..: 1.00
- Max Interface Complex. : 1 Avg Interface Complex. : 1.00
- Max Cyclomatic Complex.: 1 Avg Cyclomatic Complex.: 1.00
- Max Total Complexity ..: 2 Avg Total Complexity ..: 2.00
- ________________________________________________________________________
- End of File: ..\include\qk.h
-
-
- File: ..\include\qmpool.h
- ________________________________________________________________________
-
- Inline Function: QP::QMPool::getBlockSize
- Parameters: (void)
- Complexity Param 0 Return 1 Cyclo Vg 1 Total 2
- LOC 3 eLOC 2 lLOC 1 Comment 1 Lines 3
-
- ------------------------------------------------------------------------
-
- ~~ Total File Summary ~~
-
- LOC 54 eLOC 51 lLOC 23 Comment 94 Lines 166
- ------------------------------------------------------------------------
-
- ~~ File Functional Summary ~~
-
- File Function Count....: 1
- Total Function LOC.....: 3 Total Function Pts LOC : 0.0
- Total Function eLOC....: 2 Total Function Pts eLOC: 0.0
- Total Function lLOC....: 1 Total Function Pts lLOC: 0.0
- Total Function Params .: 0 Total Function Return .: 1
- Total Cyclo Complexity : 1 Total Function Complex.: 2
- ------ ----- ----- ------ ------ -----
- Max Function LOC ......: 3 Average Function LOC ..: 3.00
- Max Function eLOC .....: 2 Average Function eLOC .: 2.00
- Max Function lLOC .....: 1 Average Function lLOC .: 1.00
- ------ ----- ----- ------ ------ -----
- Max Function Parameters: 0 Avg Function Parameters: 0.00
- Max Function Returns ..: 1 Avg Function Returns ..: 1.00
- Max Interface Complex. : 1 Avg Interface Complex. : 1.00
- Max Cyclomatic Complex.: 1 Avg Cyclomatic Complex.: 1.00
- Max Total Complexity ..: 2 Avg Total Complexity ..: 2.00
- ________________________________________________________________________
- End of File: ..\include\qmpool.h
-
-
- File: ..\include\qp_port.h
- ________________________________________________________________________
-
- ~~ Total File Summary ~~
-
- LOC 4 eLOC 4 lLOC 0 Comment 38 Lines 44
- ________________________________________________________________________
- End of File: ..\include\qp_port.h
-
-
- File: ..\include\qpcpp.h
- ________________________________________________________________________
-
- ~~ Total File Summary ~~
-
- LOC 40 eLOC 39 lLOC 1 Comment 89 Lines 144
- ________________________________________________________________________
- End of File: ..\include\qpcpp.h
-
-
- File: ..\include\qpset.h
- ________________________________________________________________________
-
- Inline Function: QP::QF_LOG2
- Parameters: (uint32_t const 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 8 Lines 26
-
- Inline Function: QP::QPSet::setEmpty
- Parameters: (void)
- Complexity Param 0 Return 1 Cyclo Vg 1 Total 2
- LOC 3 eLOC 2 lLOC 1 Comment 1 Lines 3
-
- Inline Function: QP::QPSet::isEmpty
- Parameters: (void)
- Complexity Param 0 Return 1 Cyclo Vg 1 Total 2
- LOC 3 eLOC 2 lLOC 1 Comment 1 Lines 3
-
- Inline Function: QP::QPSet::notEmpty
- Parameters: (void)
- Complexity Param 0 Return 1 Cyclo Vg 1 Total 2
- LOC 3 eLOC 2 lLOC 1 Comment 1 Lines 3
-
- Inline Function: QP::QPSet::hasElement
- Parameters: (uint_fast8_t const n)
- Complexity Param 1 Return 1 Cyclo Vg 1 Total 3
- LOC 5 eLOC 4 lLOC 1 Comment 1 Lines 5
-
- Inline Function: QP::QPSet::insert
- Parameters: (uint_fast8_t const n)
- Complexity Param 1 Return 1 Cyclo Vg 1 Total 3
- LOC 4 eLOC 3 lLOC 1 Comment 1 Lines 4
-
- Inline Function: QP::QPSet::remove
- Parameters: (uint_fast8_t const n)
- Complexity Param 1 Return 1 Cyclo Vg 1 Total 3
- LOC 4 eLOC 3 lLOC 1 Comment 1 Lines 4
-
- Inline Function: QP::QPSet::findMax
- Parameters: (void)
- Complexity Param 0 Return 1 Cyclo Vg 1 Total 2
- LOC 3 eLOC 2 lLOC 1 Comment 1 Lines 3
-
- Inline Function: QP::QPSet::setEmpty
- Parameters: (void)
- Complexity Param 0 Return 1 Cyclo Vg 1 Total 2
- LOC 4 eLOC 3 lLOC 2 Comment 1 Lines 4
-
- Inline Function: QP::QPSet::isEmpty
- Parameters: (void)
- Cyclomatic Complexity Vg Detail
- Function Base : 1
- Inlined if-else ( ? : ) : 1
- Complexity Param 0 Return 1 Cyclo Vg 2 Total 3
- LOC 5 eLOC 4 lLOC 1 Comment 2 Lines 5
-
- Inline Function: QP::QPSet::notEmpty
- Parameters: (void)
- Cyclomatic Complexity Vg Detail
- Function Base : 1
- Inlined if-else ( ? : ) : 1
- Complexity Param 0 Return 1 Cyclo Vg 2 Total 3
- LOC 5 eLOC 4 lLOC 1 Comment 2 Lines 5
-
- Inline Function: QP::QPSet::hasElement
- Parameters: (uint_fast8_t const n)
- Cyclomatic Complexity Vg Detail
- Function Base : 1
- Inlined if-else ( ? : ) : 1
- Complexity Param 1 Return 1 Cyclo Vg 2 Total 4
- LOC 9 eLOC 8 lLOC 1 Comment 1 Lines 9
-
- Inline Function: QP::QPSet::insert
- Parameters: (uint_fast8_t const n)
- Cyclomatic Complexity Vg Detail
- Function Base : 1
- Conditional if / else if: 1
- Complexity Param 1 Return 1 Cyclo Vg 2 Total 4
- LOC 10 eLOC 7 lLOC 2 Comment 1 Lines 10
-
- Inline Function: QP::QPSet::remove
- Parameters: (uint_fast8_t const n)
- Cyclomatic Complexity Vg Detail
- Function Base : 1
- Conditional if / else if: 1
- Complexity Param 1 Return 1 Cyclo Vg 2 Total 4
- LOC 10 eLOC 7 lLOC 2 Comment 1 Lines 10
-
- Inline Function: QP::QPSet::findMax
- Parameters: (void)
- Cyclomatic Complexity Vg Detail
- Function Base : 1
- Inlined if-else ( ? : ) : 1
- Complexity Param 0 Return 1 Cyclo Vg 2 Total 3
- LOC 5 eLOC 4 lLOC 1 Comment 1 Lines 5
-
- ------------------------------------------------------------------------
-
- ~~ Total File Summary ~~
-
- LOC 120 eLOC 92 lLOC 33 Comment 88 Lines 234
- ------------------------------------------------------------------------
-
- ~~ File Functional Summary ~~
-
- File Function Count....: 15
- Total Function LOC.....: 98 Total Function Pts LOC : 0.0
- Total Function eLOC....: 73 Total Function Pts eLOC: 0.0
- Total Function lLOC....: 28 Total Function Pts lLOC: 0.0
- Total Function Params .: 7 Total Function Return .: 15
- Total Cyclo Complexity : 24 Total Function Complex.: 46
- ------ ----- ----- ------ ------ -----
- Max Function LOC ......: 25 Average Function LOC ..: 6.53
- Max Function eLOC .....: 18 Average Function eLOC .: 4.87
- Max Function lLOC .....: 11 Average Function lLOC .: 1.87
- ------ ----- ----- ------ ------ -----
- Max Function Parameters: 1 Avg Function Parameters: 0.47
- Max Function Returns ..: 1 Avg Function Returns ..: 1.00
- Max Interface Complex. : 2 Avg Interface Complex. : 1.47
- Max Cyclomatic Complex.: 4 Avg Cyclomatic Complex.: 1.60
- Max Total Complexity ..: 6 Avg Total Complexity ..: 3.07
- ________________________________________________________________________
- End of File: ..\include\qpset.h
-
-
- File: ..\include\qs.h
- ________________________________________________________________________
-
- Inline Function: QP::QS::getVersion
- Parameters: (void)
- Complexity Param 0 Return 1 Cyclo Vg 1 Total 2
- LOC 3 eLOC 2 lLOC 1 Comment 1 Lines 3
-
- Inline Function: QP::QS::rxPut
- Parameters: (uint8_t const b)
- Cyclomatic Complexity Vg Detail
- Function Base : 1
- Conditional if / else if: 3
- Complexity Param 1 Return 1 Cyclo Vg 4 Total 6
- LOC 14 eLOC 9 lLOC 4 Comment 1 Lines 14
-
- Inline Function: QP::QS::force_cast
- Parameters: (T_IN in)
- Template: template
- Complexity Param 1 Return 1 Cyclo Vg 1 Total 3
- LOC 7 eLOC 6 lLOC 4 Comment 2 Lines 7
-
-
- NOTICE: The end of the source file has been reached where the
- open brace count { 31 != 29 } 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 517 eLOC 500 lLOC 123 Comment 601 Lines 1124
- ------------------------------------------------------------------------
-
- ~~ File Functional Summary ~~
-
- File Function Count....: 3
- Total Function LOC.....: 24 Total Function Pts LOC : 0.0
- Total Function eLOC....: 17 Total Function Pts eLOC: 0.0
- Total Function lLOC....: 9 Total Function Pts lLOC: 0.0
- Total Function Params .: 2 Total Function Return .: 3
- Total Cyclo Complexity : 6 Total Function Complex.: 11
- ------ ----- ----- ------ ------ -----
- Max Function LOC ......: 14 Average Function LOC ..: 8.00
- Max Function eLOC .....: 9 Average Function eLOC .: 5.67
- Max Function lLOC .....: 4 Average Function lLOC .: 3.00
- ------ ----- ----- ------ ------ -----
- Max Function Parameters: 1 Avg Function Parameters: 0.67
- Max Function Returns ..: 1 Avg Function Returns ..: 1.00
- Max Interface Complex. : 2 Avg Interface Complex. : 1.67
- Max Cyclomatic Complex.: 4 Avg Cyclomatic Complex.: 2.00
- Max Total Complexity ..: 6 Avg Total Complexity ..: 3.67
- ________________________________________________________________________
- End of File: ..\include\qs.h
-
-
- File: ..\include\qs_dummy.h
- ________________________________________________________________________
-
- ~~ Total File Summary ~~
-
- LOC 72 eLOC 72 lLOC 0 Comment 41 Lines 123
- ________________________________________________________________________
- End of File: ..\include\qs_dummy.h
-
-
- File: ..\include\qv.h
- ________________________________________________________________________
-
- Inline Function: QP::QV::getVersion
- Parameters: (void)
- Complexity Param 0 Return 1 Cyclo Vg 1 Total 2
- LOC 3 eLOC 2 lLOC 1 Comment 1 Lines 3
-
- ------------------------------------------------------------------------
-
- ~~ Total File Summary ~~
-
- LOC 36 eLOC 32 lLOC 4 Comment 80 Lines 126
- ------------------------------------------------------------------------
-
- ~~ File Functional Summary ~~
-
- File Function Count....: 1
- Total Function LOC.....: 3 Total Function Pts LOC : 0.0
- Total Function eLOC....: 2 Total Function Pts eLOC: 0.0
- Total Function lLOC....: 1 Total Function Pts lLOC: 0.0
- Total Function Params .: 0 Total Function Return .: 1
- Total Cyclo Complexity : 1 Total Function Complex.: 2
- ------ ----- ----- ------ ------ -----
- Max Function LOC ......: 3 Average Function LOC ..: 3.00
- Max Function eLOC .....: 2 Average Function eLOC .: 2.00
- Max Function lLOC .....: 1 Average Function lLOC .: 1.00
- ------ ----- ----- ------ ------ -----
- Max Function Parameters: 0 Avg Function Parameters: 0.00
- Max Function Returns ..: 1 Avg Function Returns ..: 1.00
- Max Interface Complex. : 1 Avg Interface Complex. : 1.00
- Max Cyclomatic Complex.: 1 Avg Cyclomatic Complex.: 1.00
- Max Total Complexity ..: 2 Avg Total Complexity ..: 2.00
- ________________________________________________________________________
- End of File: ..\include\qv.h
-
-
- File: ..\include\qxk.h
- ________________________________________________________________________
-
- Inline Function: QP::QXK::getVersion
- Parameters: (void)
- Complexity Param 0 Return 1 Cyclo Vg 1 Total 2
- LOC 3 eLOC 2 lLOC 1 Comment 1 Lines 3
-
- ------------------------------------------------------------------------
-
- ~~ Total File Summary ~~
-
- LOC 90 eLOC 83 lLOC 32 Comment 131 Lines 240
- ------------------------------------------------------------------------
-
- ~~ File Functional Summary ~~
-
- File Function Count....: 1
- Total Function LOC.....: 3 Total Function Pts LOC : 0.0
- Total Function eLOC....: 2 Total Function Pts eLOC: 0.0
- Total Function lLOC....: 1 Total Function Pts lLOC: 0.0
- Total Function Params .: 0 Total Function Return .: 1
- Total Cyclo Complexity : 1 Total Function Complex.: 2
- ------ ----- ----- ------ ------ -----
- Max Function LOC ......: 3 Average Function LOC ..: 3.00
- Max Function eLOC .....: 2 Average Function eLOC .: 2.00
- Max Function lLOC .....: 1 Average Function lLOC .: 1.00
- ------ ----- ----- ------ ------ -----
- Max Function Parameters: 0 Avg Function Parameters: 0.00
- Max Function Returns ..: 1 Avg Function Returns ..: 1.00
- Max Interface Complex. : 1 Avg Interface Complex. : 1.00
- Max Cyclomatic Complex.: 1 Avg Cyclomatic Complex.: 1.00
- Max Total Complexity ..: 2 Avg Total Complexity ..: 2.00
- ________________________________________________________________________
- End of File: ..\include\qxk.h
-
-
- File: ..\include\qxthread.h
- ________________________________________________________________________
-
- Inline Function: QP::QXThread::init
- Parameters: (void)
- Complexity Param 0 Return 1 Cyclo Vg 1 Total 2
- LOC 1 eLOC 1 lLOC 1 Comment 2 Lines 1
-
- Inline Function: QP::QXThread::start
- Parameters: (uint_fast8_t const prio, QEvt const *qSto[], uint_fast16_t
- const qLen, void * const stkSto, uint_fast16_t const stkSize
- )
- Complexity Param 5 Return 1 Cyclo Vg 1 Total 7
- LOC 4 eLOC 2 lLOC 1 Comment 1 Lines 4
-
- ------------------------------------------------------------------------
-
- ~~ Total File Summary ~~
-
- LOC 56 eLOC 51 lLOC 27 Comment 83 Lines 161
- ------------------------------------------------------------------------
-
- ~~ File Functional Summary ~~
-
- File Function Count....: 2
- Total Function LOC.....: 5 Total Function Pts LOC : 0.0
- Total Function eLOC....: 3 Total Function Pts eLOC: 0.0
- Total Function lLOC....: 2 Total Function Pts lLOC: 0.0
- Total Function Params .: 5 Total Function Return .: 2
- Total Cyclo Complexity : 2 Total Function Complex.: 9
- ------ ----- ----- ------ ------ -----
- Max Function LOC ......: 4 Average Function LOC ..: 2.50
- Max Function eLOC .....: 2 Average Function eLOC .: 1.50
- Max Function lLOC .....: 1 Average Function lLOC .: 1.00
- ------ ----- ----- ------ ------ -----
- Max Function Parameters: 5 Avg Function Parameters: 2.50
- Max Function Returns ..: 1 Avg Function Returns ..: 1.00
- Max Interface Complex. : 6 Avg Interface Complex. : 3.50
- Max Cyclomatic Complex.: 1 Avg Cyclomatic Complex.: 1.00
- Max Total Complexity ..: 7 Avg Total Complexity ..: 4.50
- ________________________________________________________________________
- End of File: ..\include\qxthread.h
-
-
- File: ..\src\qf_pkg.h
- ________________________________________________________________________
-
- Inline Function: QP::QF_EVT_POOL_ID_
- Parameters: (QEvt const * const e)
- Complexity Param 1 Return 1 Cyclo Vg 1 Total 3
- LOC 1 eLOC 1 lLOC 1 Comment 1 Lines 1
-
- Inline Function: QP::QF_EVT_REF_CTR_
- Parameters: (QEvt const * const e)
- Complexity Param 1 Return 1 Cyclo Vg 1 Total 3
- LOC 1 eLOC 1 lLOC 1 Comment 1 Lines 1
-
- Inline Function: QP::QF_EVT_REF_CTR_INC_
- Parameters: (QEvt const * const e)
- Complexity Param 1 Return 1 Cyclo Vg 1 Total 3
- LOC 3 eLOC 2 lLOC 1 Comment 1 Lines 3
-
- Inline Function: QP::QF_EVT_REF_CTR_DEC_
- Parameters: (QEvt const * const e)
- Complexity Param 1 Return 1 Cyclo Vg 1 Total 3
- LOC 3 eLOC 2 lLOC 1 Comment 1 Lines 3
-
- ------------------------------------------------------------------------
-
- ~~ Total File Summary ~~
-
- LOC 71 eLOC 67 lLOC 11 Comment 109 Lines 205
- ------------------------------------------------------------------------
-
- ~~ File Functional Summary ~~
-
- File Function Count....: 4
- Total Function LOC.....: 8 Total Function Pts LOC : 0.0
- Total Function eLOC....: 6 Total Function Pts eLOC: 0.0
- Total Function lLOC....: 4 Total Function Pts lLOC: 0.0
- Total Function Params .: 4 Total Function Return .: 4
- Total Cyclo Complexity : 4 Total Function Complex.: 12
- ------ ----- ----- ------ ------ -----
- Max Function LOC ......: 3 Average Function LOC ..: 2.00
- Max Function eLOC .....: 2 Average Function eLOC .: 1.50
- Max Function lLOC .....: 1 Average Function lLOC .: 1.00
- ------ ----- ----- ------ ------ -----
- Max Function Parameters: 1 Avg Function Parameters: 1.00
- Max Function Returns ..: 1 Avg Function Returns ..: 1.00
- Max Interface Complex. : 2 Avg Interface Complex. : 2.00
- Max Cyclomatic Complex.: 1 Avg Cyclomatic Complex.: 1.00
- Max Total Complexity ..: 3 Avg Total Complexity ..: 3.00
- ________________________________________________________________________
- End of File: ..\src\qf_pkg.h
-
-
- File: ..\src\qs_pkg.h
- ________________________________________________________________________
-
- ~~ Total File Summary ~~
-
- LOC 28 eLOC 25 lLOC 10 Comment 59 Lines 98
- ________________________________________________________________________
- End of File: ..\src\qs_pkg.h
-
-
- File: ..\src\qxk_pkg.h
- ________________________________________________________________________
-
- ~~ Total File Summary ~~
-
- LOC 16 eLOC 13 lLOC 3 Comment 45 Lines 67
- ________________________________________________________________________
- End of File: ..\src\qxk_pkg.h
-
-
- File: ..\src\qf\qep_hsm.cpp
- ________________________________________________________________________
-
- Function: QP::QHsm::QHsm
- Parameters: (QStateHandler const initial)
- Complexity Param 1 Return 1 Cyclo Vg 1 Total 3
- LOC 4 eLOC 3 lLOC 2 Comment 8 Lines 4
-
- Function: QP::QHsm::~QHsm
- Parameters: ()
- Complexity Param 0 Return 1 Cyclo Vg 1 Total 2
- LOC 2 eLOC 1 lLOC 0 Comment 4 Lines 2
-
- Function: QP::QHsm::init
- Parameters: (QEvt const * const e)
- Cyclomatic Complexity Vg Detail
- Function Base : 1
- Loops while / do : 3
- Conditional if / else if: 1
- Logical and ( && ) : 1
- Complexity Param 1 Return 1 Cyclo Vg 6 Total 8
- LOC 49 eLOC 46 lLOC 30 Comment 30 Lines 67
-
- Function: QP::QHsm::top
- Parameters: (void * const, QEvt const * const)
- Complexity Param 2 Return 1 Cyclo Vg 1 Total 4
- LOC 3 eLOC 2 lLOC 1 Comment 15 Lines 3
-
- Function: QP::QHsm::dispatch
- Parameters: (QEvt const * const e)
- Cyclomatic Complexity Vg Detail
- Function Base : 1
- Loops while / do : 4
- Loops for / foreach : 2
- Conditional if / else if: 5
- Logical and ( && ) : 1
- Complexity Param 1 Return 1 Cyclo Vg 13 Total 15
- LOC 107 eLOC 96 lLOC 61 Comment 65 Lines 147
-
- Function: QP::QHsm::hsm_tran
- Parameters: (QStateHandler (&path)[MAX_NEST_DEPTH_])
- Cyclomatic Complexity Vg Detail
- Function Base : 1
- Loops while / do : 4
- Conditional if / else if: 10
- Complexity Param 1 Return 1 Cyclo Vg 15 Total 17
- LOC 99 eLOC 79 lLOC 48 Comment 61 Lines 140
-
- Function: QP::QHsm::isIn
- Parameters: (QStateHandler const s)
- Cyclomatic Complexity Vg Detail
- Function Base : 1
- Loops while / do : 1
- Conditional if / else if: 1
- Complexity Param 1 Return 1 Cyclo Vg 3 Total 5
- LOC 16 eLOC 13 lLOC 9 Comment 21 Lines 23
-
- Function: QP::QHsm::childState
- Parameters: (QStateHandler const parent)
- Cyclomatic Complexity Vg Detail
- Function Base : 1
- Loops while / do : 1
- Conditional if / else if: 1
- Complexity Param 1 Return 1 Cyclo Vg 3 Total 5
- LOC 19 eLOC 16 lLOC 12 Comment 27 Lines 25
-
- ------------------------------------------------------------------------
-
- ~~ Total File Summary ~~
-
- LOC 348 eLOC 302 lLOC 169 Comment 289 Lines 611
- ------------------------------------------------------------------------
-
- ~~ File Functional Summary ~~
-
- File Function Count....: 8
- Total Function LOC.....: 299 Total Function Pts LOC : 6.6
- Total Function eLOC....: 256 Total Function Pts eLOC: 5.7
- Total Function lLOC....: 163 Total Function Pts lLOC: 3.2
- Total Function Params .: 8 Total Function Return .: 8
- Total Cyclo Complexity : 43 Total Function Complex.: 59
- ------ ----- ----- ------ ------ -----
- Max Function LOC ......: 107 Average Function LOC ..: 37.38
- Max Function eLOC .....: 96 Average Function eLOC .: 32.00
- Max Function lLOC .....: 61 Average Function lLOC .: 20.38
- ------ ----- ----- ------ ------ -----
- Max Function Parameters: 2 Avg Function Parameters: 1.00
- Max Function Returns ..: 1 Avg Function Returns ..: 1.00
- Max Interface Complex. : 3 Avg Interface Complex. : 2.00
- Max Cyclomatic Complex.: 15 Avg Cyclomatic Complex.: 5.38
- Max Total Complexity ..: 17 Avg Total Complexity ..: 7.38
- ________________________________________________________________________
- End of File: ..\src\qf\qep_hsm.cpp
-
-
- File: ..\src\qf\qep_msm.cpp
- ________________________________________________________________________
-
- Function: QP::QMsm::QMsm
- Parameters: (QStateHandler const initial)
- Complexity Param 1 Return 1 Cyclo Vg 1 Total 3
- LOC 4 eLOC 2 lLOC 2 Comment 13 Lines 4
-
- Function: QP::QMsm::init
- Parameters: (QEvt const * const e)
- Cyclomatic Complexity Vg Detail
- Function Base : 1
- Loops while / do : 1
- Logical and ( && ) : 1
- Complexity Param 1 Return 1 Cyclo Vg 3 Total 5
- LOC 21 eLOC 20 lLOC 12 Comment 23 Lines 33
-
- Function: QP::QMsm::dispatch
- Parameters: (QEvt const * const e)
- Cyclomatic Complexity Vg Detail
- Function Base : 1
- Loops while / do : 2
- Conditional if / else if: 13
- Complexity Param 1 Return 1 Cyclo Vg 16 Total 18
- LOC 117 eLOC 100 lLOC 61 Comment 73 Lines 159
-
- Function: QP::QMsm::execTatbl_
- Parameters: (QMTranActTable const * const tatbl)
- Cyclomatic Complexity Vg Detail
- Function Base : 1
- Loops for / foreach : 1
- Conditional if / else if: 6
- Complexity Param 1 Return 1 Cyclo Vg 8 Total 10
- LOC 56 eLOC 46 lLOC 21 Comment 31 Lines 67
-
- Function: QP::QMsm::exitToTranSource_
- Parameters: (QMState const *s, QMState const * const ts)
- Cyclomatic Complexity Vg Detail
- Function Base : 1
- Loops while / do : 1
- Conditional if / else if: 2
- Complexity Param 2 Return 1 Cyclo Vg 4 Total 7
- LOC 18 eLOC 13 lLOC 6 Comment 17 Lines 24
-
- Function: QP::QMsm::enterHistory_
- Parameters: (QMState const * const hist)
- Cyclomatic Complexity Vg Detail
- Function Base : 1
- Loops while / do : 2
- Conditional if / else if: 3
- Complexity Param 1 Return 1 Cyclo Vg 6 Total 8
- LOC 40 eLOC 33 lLOC 21 Comment 22 Lines 48
-
- Function: QP::QMsm::isInState
- Parameters: (QMState const * const st)
- Cyclomatic Complexity Vg Detail
- Function Base : 1
- Loops for / foreach : 1
- Conditional if / else if: 1
- Complexity Param 1 Return 1 Cyclo Vg 3 Total 5
- LOC 13 eLOC 9 lLOC 5 Comment 15 Lines 14
-
- Function: QP::QMsm::childStateObj
- Parameters: (QMState const * const parent)
- Cyclomatic Complexity Vg Detail
- Function Base : 1
- Loops for / foreach : 1
- Conditional if / else if: 1
- Complexity Param 1 Return 1 Cyclo Vg 3 Total 5
- LOC 19 eLOC 14 lLOC 9 Comment 17 Lines 23
-
- ------------------------------------------------------------------------
-
- ~~ Total File Summary ~~
-
- LOC 312 eLOC 259 lLOC 139 Comment 262 Lines 544
- ------------------------------------------------------------------------
-
- ~~ File Functional Summary ~~
-
- File Function Count....: 8
- Total Function LOC.....: 288 Total Function Pts LOC : 5.9
- Total Function eLOC....: 237 Total Function Pts eLOC: 4.9
- Total Function lLOC....: 137 Total Function Pts lLOC: 2.6
- Total Function Params .: 9 Total Function Return .: 8
- Total Cyclo Complexity : 44 Total Function Complex.: 61
- ------ ----- ----- ------ ------ -----
- Max Function LOC ......: 117 Average Function LOC ..: 36.00
- Max Function eLOC .....: 100 Average Function eLOC .: 29.63
- Max Function lLOC .....: 61 Average Function lLOC .: 17.13
- ------ ----- ----- ------ ------ -----
- Max Function Parameters: 2 Avg Function Parameters: 1.13
- Max Function Returns ..: 1 Avg Function Returns ..: 1.00
- Max Interface Complex. : 3 Avg Interface Complex. : 2.13
- Max Cyclomatic Complex.: 16 Avg Cyclomatic Complex.: 5.50
- Max Total Complexity ..: 18 Avg Total Complexity ..: 7.63
- ________________________________________________________________________
- End of File: ..\src\qf\qep_msm.cpp
-
-
- File: ..\src\qf\qf_act.cpp
- ________________________________________________________________________
-
- Function: QP::QF::add_
- Parameters: (QActive * const a)
- Cyclomatic Complexity Vg Detail
- Function Base : 1
- Logical and ( && ) : 2
- Complexity Param 1 Return 1 Cyclo Vg 3 Total 5
- LOC 15 eLOC 14 lLOC 8 Comment 17 Lines 20
-
- Function: QP::QF::remove_
- Parameters: (QActive * const a)
- Cyclomatic Complexity Vg Detail
- Function Base : 1
- Logical and ( && ) : 2
- Complexity Param 1 Return 1 Cyclo Vg 3 Total 5
- LOC 16 eLOC 15 lLOC 9 Comment 18 Lines 21
-
- Function: QP::QF::bzero
- Parameters: (void * const start, uint_fast16_t len)
- Cyclomatic Complexity Vg Detail
- Function Base : 1
- Loops while / do : 1
- Complexity Param 2 Return 1 Cyclo Vg 2 Total 5
- LOC 8 eLOC 6 lLOC 4 Comment 13 Lines 8
-
- ------------------------------------------------------------------------
-
- ~~ Total File Summary ~~
-
- LOC 147 eLOC 141 lLOC 23 Comment 105 Lines 254
- ------------------------------------------------------------------------
-
- ~~ File Functional Summary ~~
-
- File Function Count....: 3
- Total Function LOC.....: 39 Total Function Pts LOC : 2.8
- Total Function eLOC....: 35 Total Function Pts eLOC: 2.7
- Total Function lLOC....: 21 Total Function Pts lLOC: 0.4
- Total Function Params .: 4 Total Function Return .: 3
- Total Cyclo Complexity : 8 Total Function Complex.: 15
- ------ ----- ----- ------ ------ -----
- Max Function LOC ......: 16 Average Function LOC ..: 13.00
- Max Function eLOC .....: 15 Average Function eLOC .: 11.67
- Max Function lLOC .....: 9 Average Function lLOC .: 7.00
- ------ ----- ----- ------ ------ -----
- Max Function Parameters: 2 Avg Function Parameters: 1.33
- Max Function Returns ..: 1 Avg Function Returns ..: 1.00
- Max Interface Complex. : 3 Avg Interface Complex. : 2.33
- Max Cyclomatic Complex.: 3 Avg Cyclomatic Complex.: 2.67
- Max Total Complexity ..: 5 Avg Total Complexity ..: 5.00
- ________________________________________________________________________
- End of File: ..\src\qf\qf_act.cpp
-
-
- File: ..\src\qf\qf_actq.cpp
- ________________________________________________________________________
-
- Function: QP::QActive::post_
- Parameters: (QEvt const * const e, uint_fast16_t const margin)
- Cyclomatic Complexity Vg Detail
- Function Base : 1
- Conditional if / else if: 5
- Logical or ( || ) : 1
- Logical and ( && ) : 1
- Complexity Param 2 Return 1 Cyclo Vg 8 Total 11
- LOC 59 eLOC 49 lLOC 34 Comment 71 Lines 81
-
- Function: QP::QActive::postLIFO
- Parameters: (QEvt const * const e)
- Cyclomatic Complexity Vg Detail
- Function Base : 1
- Conditional if / else if: 4
- Complexity Param 1 Return 1 Cyclo Vg 5 Total 7
- LOC 36 eLOC 30 lLOC 20 Comment 32 Lines 48
-
- Function: QP::QActive::get_
- Parameters: (void)
- Cyclomatic Complexity Vg Detail
- Function Base : 1
- Conditional if / else if: 2
- Complexity Param 0 Return 1 Cyclo Vg 3 Total 4
- LOC 37 eLOC 33 lLOC 21 Comment 27 Lines 48
-
- Function: QP::QF::getQueueMin
- Parameters: (uint_fast8_t const prio)
- Cyclomatic Complexity Vg Detail
- Function Base : 1
- Logical and ( && ) : 1
- Complexity Param 1 Return 1 Cyclo Vg 2 Total 4
- LOC 10 eLOC 9 lLOC 5 Comment 17 Lines 13
-
- Function: QP::QTicker::QTicker
- Parameters: (uint_fast8_t const tickRate)
- Complexity Param 1 Return 1 Cyclo Vg 1 Total 3
- LOC 3 eLOC 1 lLOC 1 Comment 2 Lines 4
-
- Function: QP::QTicker::init
- Parameters: (QEvt const * const)
- Complexity Param 1 Return 1 Cyclo Vg 1 Total 3
- LOC 3 eLOC 2 lLOC 1 Comment 2 Lines 3
-
- Function: QP::QTicker::dispatch
- Parameters: (QEvt const * const)
- Cyclomatic Complexity Vg Detail
- Function Base : 1
- Loops for / foreach : 1
- Complexity Param 1 Return 1 Cyclo Vg 2 Total 4
- LOC 10 eLOC 8 lLOC 6 Comment 4 Lines 11
-
- Function: QP::QTicker::post_
- Parameters: (QEvt const * const , uint_fast16_t const /*margin*/)
- Cyclomatic Complexity Vg Detail
- Function Base : 1
- Conditional if / else if: 1
- Complexity Param 2 Return 1 Cyclo Vg 2 Total 5
- LOC 31 eLOC 28 lLOC 16 Comment 16 Lines 38
-
- Function: QP::QTicker::postLIFO
- Parameters: (QEvt const * const)
- Complexity Param 1 Return 1 Cyclo Vg 1 Total 3
- LOC 3 eLOC 2 lLOC 1 Comment 3 Lines 3
-
- ------------------------------------------------------------------------
-
- ~~ Total File Summary ~~
-
- LOC 218 eLOC 187 lLOC 105 Comment 225 Lines 407
- ------------------------------------------------------------------------
-
- ~~ File Functional Summary ~~
-
- File Function Count....: 9
- Total Function LOC.....: 192 Total Function Pts LOC : 4.1
- Total Function eLOC....: 162 Total Function Pts eLOC: 3.5
- Total Function lLOC....: 105 Total Function Pts lLOC: 2.0
- Total Function Params .: 10 Total Function Return .: 9
- Total Cyclo Complexity : 25 Total Function Complex.: 44
- ------ ----- ----- ------ ------ -----
- Max Function LOC ......: 59 Average Function LOC ..: 21.33
- Max Function eLOC .....: 49 Average Function eLOC .: 18.00
- Max Function lLOC .....: 34 Average Function lLOC .: 11.67
- ------ ----- ----- ------ ------ -----
- Max Function Parameters: 2 Avg Function Parameters: 1.11
- Max Function Returns ..: 1 Avg Function Returns ..: 1.00
- Max Interface Complex. : 3 Avg Interface Complex. : 2.11
- Max Cyclomatic Complex.: 8 Avg Cyclomatic Complex.: 2.78
- Max Total Complexity ..: 11 Avg Total Complexity ..: 4.89
- ________________________________________________________________________
- End of File: ..\src\qf\qf_actq.cpp
-
-
- File: ..\src\qf\qf_defer.cpp
- ________________________________________________________________________
-
- Function: QP::QActive::defer
- Parameters: (QEQueue * const eq, QEvt const * const e)
- Complexity Param 2 Return 1 Cyclo Vg 1 Total 4
- LOC 3 eLOC 2 lLOC 1 Comment 22 Lines 3
-
- Function: QP::QActive::recall
- Parameters: (QEQueue * const eq)
- Cyclomatic Complexity Vg Detail
- Function Base : 1
- Conditional if / else if: 2
- Complexity Param 1 Return 1 Cyclo Vg 3 Total 5
- LOC 15 eLOC 12 lLOC 8 Comment 30 Lines 27
-
- Function: QP::QActive::flushDeferred
- Parameters: (QEQueue * const eq)
- Cyclomatic Complexity Vg Detail
- Function Base : 1
- Loops for / foreach : 1
- Complexity Param 1 Return 1 Cyclo Vg 2 Total 4
- LOC 11 eLOC 8 lLOC 5 Comment 15 Lines 11
-
- ------------------------------------------------------------------------
-
- ~~ Total File Summary ~~
-
- LOC 36 eLOC 28 lLOC 14 Comment 109 Lines 145
- ------------------------------------------------------------------------
-
- ~~ File Functional Summary ~~
-
- File Function Count....: 3
- Total Function LOC.....: 29 Total Function Pts LOC : 0.7
- Total Function eLOC....: 22 Total Function Pts eLOC: 0.5
- Total Function lLOC....: 14 Total Function Pts lLOC: 0.3
- Total Function Params .: 4 Total Function Return .: 3
- Total Cyclo Complexity : 6 Total Function Complex.: 13
- ------ ----- ----- ------ ------ -----
- Max Function LOC ......: 15 Average Function LOC ..: 9.67
- Max Function eLOC .....: 12 Average Function eLOC .: 7.33
- Max Function lLOC .....: 8 Average Function lLOC .: 4.67
- ------ ----- ----- ------ ------ -----
- Max Function Parameters: 2 Avg Function Parameters: 1.33
- Max Function Returns ..: 1 Avg Function Returns ..: 1.00
- Max Interface Complex. : 3 Avg Interface Complex. : 2.33
- Max Cyclomatic Complex.: 3 Avg Cyclomatic Complex.: 2.00
- Max Total Complexity ..: 5 Avg Total Complexity ..: 4.33
- ________________________________________________________________________
- End of File: ..\src\qf\qf_defer.cpp
-
-
- File: ..\src\qf\qf_dyn.cpp
- ________________________________________________________________________
-
- Function: QP::QF::poolInit
- Parameters: (void * const poolSto, uint_fast32_t const poolSize, uint_fa
- st16_t const evtSize)
- Cyclomatic Complexity Vg Detail
- Function Base : 1
- Logical or ( || ) : 1
- Complexity Param 3 Return 1 Cyclo Vg 2 Total 6
- LOC 10 eLOC 8 lLOC 4 Comment 36 Lines 13
-
- Function: QP::QF::newX_
- Parameters: (uint_fast16_t const evtSize, uint_fast16_t const margin, en
- um_t const sig)
- Cyclomatic Complexity Vg Detail
- Function Base : 1
- Loops for / foreach : 1
- Conditional if / else if: 2
- Inlined if-else ( ? : ) : 1
- Complexity Param 3 Return 1 Cyclo Vg 5 Total 9
- LOC 30 eLOC 24 lLOC 14 Comment 35 Lines 42
-
- Function: QP::QF::gc
- Parameters: (QEvt const * const e)
- Cyclomatic Complexity Vg Detail
- Function Base : 1
- Conditional if / else if: 2
- Complexity Param 1 Return 1 Cyclo Vg 3 Total 5
- LOC 32 eLOC 28 lLOC 14 Comment 39 Lines 47
-
- Function: QP::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 15 Lines 14
-
- Function: QP::QF::poolGetMaxBlockSize
- Parameters: (void)
- Complexity Param 0 Return 1 Cyclo Vg 1 Total 2
- LOC 4 eLOC 3 lLOC 1 Comment 4 Lines 4
-
- ------------------------------------------------------------------------
-
- ~~ Total File Summary ~~
-
- LOC 104 eLOC 88 lLOC 40 Comment 177 Lines 281
- ------------------------------------------------------------------------
-
- ~~ File Functional Summary ~~
-
- File Function Count....: 5
- Total Function LOC.....: 86 Total Function Pts LOC : 2.0
- Total Function eLOC....: 71 Total Function Pts eLOC: 1.7
- Total Function lLOC....: 38 Total Function Pts lLOC: 0.8
- Total Function Params .: 9 Total Function Return .: 5
- Total Cyclo Complexity : 13 Total Function Complex.: 27
- ------ ----- ----- ------ ------ -----
- Max Function LOC ......: 32 Average Function LOC ..: 17.20
- Max Function eLOC .....: 28 Average Function eLOC .: 14.20
- Max Function lLOC .....: 14 Average Function lLOC .: 7.60
- ------ ----- ----- ------ ------ -----
- Max Function Parameters: 3 Avg Function Parameters: 1.80
- Max Function Returns ..: 1 Avg Function Returns ..: 1.00
- Max Interface Complex. : 4 Avg Interface Complex. : 2.80
- Max Cyclomatic Complex.: 5 Avg Cyclomatic Complex.: 2.60
- Max Total Complexity ..: 9 Avg Total Complexity ..: 5.40
- ________________________________________________________________________
- End of File: ..\src\qf\qf_dyn.cpp
-
-
- File: ..\src\qf\qf_mem.cpp
- ________________________________________________________________________
-
- Function: QP::QMPool::QMPool
- Parameters: (void)
- Complexity Param 0 Return 1 Cyclo Vg 1 Total 2
- LOC 1 eLOC 1 lLOC 0 Comment 9 Lines 1
-
- Function: QP::QMPool::init
- Parameters: (void * const poolSto, uint_fast32_t poolSize, uint_fast16_t
- blockSize)
- Cyclomatic Complexity Vg Detail
- Function Base : 1
- Loops while / do : 2
- Logical and ( && ) : 2
- Complexity Param 3 Return 1 Cyclo Vg 5 Total 9
- LOC 35 eLOC 31 lLOC 22 Comment 51 Lines 58
-
- Function: QP::QMPool::put
- Parameters: (void * const b)
- Cyclomatic Complexity Vg Detail
- Function Base : 1
- Logical and ( && ) : 1
- Complexity Param 1 Return 1 Cyclo Vg 2 Total 4
- LOC 17 eLOC 16 lLOC 9 Comment 23 Lines 24
-
- Function: QP::QMPool::get
- Parameters: (uint_fast16_t const margin)
- Cyclomatic Complexity Vg Detail
- Function Base : 1
- Conditional if / else if: 3
- Complexity Param 1 Return 1 Cyclo Vg 4 Total 6
- LOC 41 eLOC 35 lLOC 22 Comment 46 Lines 61
-
- Function: QP::QF::getPoolMin
- Parameters: (uint_fast8_t const poolId)
- Cyclomatic Complexity Vg Detail
- Function Base : 1
- Logical and ( && ) : 1
- Complexity Param 1 Return 1 Cyclo Vg 2 Total 4
- LOC 10 eLOC 9 lLOC 5 Comment 13 Lines 14
-
- ------------------------------------------------------------------------
-
- ~~ Total File Summary ~~
-
- LOC 126 eLOC 113 lLOC 58 Comment 187 Lines 309
- ------------------------------------------------------------------------
-
- ~~ File Functional Summary ~~
-
- File Function Count....: 5
- Total Function LOC.....: 104 Total Function Pts LOC : 2.4
- Total Function eLOC....: 92 Total Function Pts eLOC: 2.1
- Total Function lLOC....: 58 Total Function Pts lLOC: 1.1
- Total Function Params .: 6 Total Function Return .: 5
- Total Cyclo Complexity : 14 Total Function Complex.: 25
- ------ ----- ----- ------ ------ -----
- Max Function LOC ......: 41 Average Function LOC ..: 20.80
- Max Function eLOC .....: 35 Average Function eLOC .: 18.40
- Max Function lLOC .....: 22 Average Function lLOC .: 11.60
- ------ ----- ----- ------ ------ -----
- Max Function Parameters: 3 Avg Function Parameters: 1.20
- Max Function Returns ..: 1 Avg Function Returns ..: 1.00
- Max Interface Complex. : 4 Avg Interface Complex. : 2.20
- Max Cyclomatic Complex.: 5 Avg Cyclomatic Complex.: 2.80
- Max Total Complexity ..: 9 Avg Total Complexity ..: 5.00
- ________________________________________________________________________
- End of File: ..\src\qf\qf_mem.cpp
-
-
- File: ..\src\qf\qf_ps.cpp
- ________________________________________________________________________
-
- Function: QP::QF::psInit
- Parameters: (QSubscrList * const subscrSto, enum_t const maxSignal)
- Complexity Param 2 Return 1 Cyclo Vg 1 Total 4
- LOC 7 eLOC 6 lLOC 3 Comment 30 Lines 11
-
- Function: QP::QF::publish_
- Parameters: (QEvt const * const e)
- Cyclomatic Complexity Vg Detail
- Function Base : 1
- Loops while / do : 1
- Loops for / foreach : 1
- Conditional if / else if: 4
- Logical and ( && ) : 10
- Complexity Param 1 Return 1 Cyclo Vg 17 Total 19
- LOC 95 eLOC 84 lLOC 44 Comment 111 Lines 191
-
-
- NOTICE: The end of the source file has been reached where the
- open brace count { 14 != 13 } close brace count
- This is an indication of non-compilable code within the source
- file. RSM processes all source code including code wrapped
- with preprocessor directives. Accurate metrics requires that
- all code present in this file must be compilable.
- ------------------------------------------------------------------------
-
- ~~ Total File Summary ~~
-
- LOC 116 eLOC 104 lLOC 49 Comment 189 Lines 306
- ------------------------------------------------------------------------
-
- ~~ File Functional Summary ~~
-
- File Function Count....: 2
- Total Function LOC.....: 102 Total Function Pts LOC : 2.2
- Total Function eLOC....: 90 Total Function Pts eLOC: 2.0
- Total Function lLOC....: 47 Total Function Pts lLOC: 0.9
- Total Function Params .: 3 Total Function Return .: 2
- Total Cyclo Complexity : 18 Total Function Complex.: 23
- ------ ----- ----- ------ ------ -----
- Max Function LOC ......: 95 Average Function LOC ..: 51.00
- Max Function eLOC .....: 84 Average Function eLOC .: 45.00
- Max Function lLOC .....: 44 Average Function lLOC .: 23.50
- ------ ----- ----- ------ ------ -----
- Max Function Parameters: 2 Avg Function Parameters: 1.50
- Max Function Returns ..: 1 Avg Function Returns ..: 1.00
- Max Interface Complex. : 3 Avg Interface Complex. : 2.50
- Max Cyclomatic Complex.: 17 Avg Cyclomatic Complex.: 9.00
- Max Total Complexity ..: 19 Avg Total Complexity ..: 11.50
- ________________________________________________________________________
- End of File: ..\src\qf\qf_ps.cpp
-
-
- File: ..\src\qf\qf_qact.cpp
- ________________________________________________________________________
-
- Function: QP::QActive::QActive
- Parameters: (QStateHandler const initial)
- Complexity Param 1 Return 1 Cyclo Vg 1 Total 3
- LOC 9 eLOC 7 lLOC 3 Comment 1 Lines 11
-
- ------------------------------------------------------------------------
-
- ~~ Total File Summary ~~
-
- LOC 16 eLOC 13 lLOC 3 Comment 40 Lines 59
- ------------------------------------------------------------------------
-
- ~~ File Functional Summary ~~
-
- File Function Count....: 1
- Total Function LOC.....: 9 Total Function Pts LOC : 0.3
- Total Function eLOC....: 7 Total Function Pts eLOC: 0.2
- Total Function lLOC....: 3 Total Function Pts lLOC: 0.1
- Total Function Params .: 1 Total Function Return .: 1
- Total Cyclo Complexity : 1 Total Function Complex.: 3
- ------ ----- ----- ------ ------ -----
- Max Function LOC ......: 9 Average Function LOC ..: 9.00
- Max Function eLOC .....: 7 Average Function eLOC .: 7.00
- Max Function lLOC .....: 3 Average Function lLOC .: 3.00
- ------ ----- ----- ------ ------ -----
- Max Function Parameters: 1 Avg Function Parameters: 1.00
- Max Function Returns ..: 1 Avg Function Returns ..: 1.00
- Max Interface Complex. : 2 Avg Interface Complex. : 2.00
- Max Cyclomatic Complex.: 1 Avg Cyclomatic Complex.: 1.00
- Max Total Complexity ..: 3 Avg Total Complexity ..: 3.00
- ________________________________________________________________________
- End of File: ..\src\qf\qf_qact.cpp
-
-
- File: ..\src\qf\qf_qeq.cpp
- ________________________________________________________________________
-
- Function: QP::QEQueue::QEQueue
- Parameters: (void)
- Complexity Param 0 Return 1 Cyclo Vg 1 Total 2
- LOC 1 eLOC 1 lLOC 0 Comment 4 Lines 1
-
- Function: QP::QEQueue::init
- Parameters: (QEvt const *qSto[], uint_fast16_t const qLen)
- Cyclomatic Complexity Vg Detail
- Function Base : 1
- Conditional if / else if: 1
- Complexity Param 2 Return 1 Cyclo Vg 2 Total 5
- LOC 17 eLOC 15 lLOC 9 Comment 19 Lines 18
-
- Function: QP::QEQueue::post
- Parameters: (QEvt const * const e, uint_fast16_t const margin)
- Cyclomatic Complexity Vg Detail
- Function Base : 1
- Conditional if / else if: 5
- Complexity Param 2 Return 1 Cyclo Vg 6 Total 9
- LOC 52 eLOC 44 lLOC 29 Comment 52 Lines 73
-
- Function: QP::QEQueue::postLIFO
- Parameters: (QEvt const * const e)
- Cyclomatic Complexity Vg Detail
- Function Base : 1
- Conditional if / else if: 4
- Complexity Param 1 Return 1 Cyclo Vg 5 Total 7
- LOC 33 eLOC 28 lLOC 19 Comment 36 Lines 44
-
- Function: QP::QEQueue::get
- Parameters: (void)
- Cyclomatic Complexity Vg Detail
- Function Base : 1
- Conditional if / else if: 3
- Complexity Param 0 Return 1 Cyclo Vg 4 Total 5
- LOC 39 eLOC 34 lLOC 21 Comment 31 Lines 48
-
- ------------------------------------------------------------------------
-
- ~~ Total File Summary ~~
-
- LOC 162 eLOC 141 lLOC 78 Comment 187 Lines 320
- ------------------------------------------------------------------------
-
- ~~ File Functional Summary ~~
-
- File Function Count....: 5
- Total Function LOC.....: 142 Total Function Pts LOC : 3.1
- Total Function eLOC....: 122 Total Function Pts eLOC: 2.7
- Total Function lLOC....: 78 Total Function Pts lLOC: 1.5
- Total Function Params .: 5 Total Function Return .: 5
- Total Cyclo Complexity : 18 Total Function Complex.: 28
- ------ ----- ----- ------ ------ -----
- Max Function LOC ......: 52 Average Function LOC ..: 28.40
- Max Function eLOC .....: 44 Average Function eLOC .: 24.40
- Max Function lLOC .....: 29 Average Function lLOC .: 15.60
- ------ ----- ----- ------ ------ -----
- Max Function Parameters: 2 Avg Function Parameters: 1.00
- Max Function Returns ..: 1 Avg Function Returns ..: 1.00
- Max Interface Complex. : 3 Avg Interface Complex. : 2.00
- Max Cyclomatic Complex.: 6 Avg Cyclomatic Complex.: 3.60
- Max Total Complexity ..: 9 Avg Total Complexity ..: 5.60
- ________________________________________________________________________
- End of File: ..\src\qf\qf_qeq.cpp
-
-
- File: ..\src\qf\qf_qmact.cpp
- ________________________________________________________________________
-
- Function: QP::QMActive::QMActive
- Parameters: (QStateHandler const initial)
- Complexity Param 1 Return 1 Cyclo Vg 1 Total 3
- LOC 4 eLOC 2 lLOC 2 Comment 1 Lines 4
-
- Function: QP::QMActive::init
- Parameters: (QEvt const * const e)
- Complexity Param 1 Return 1 Cyclo Vg 1 Total 3
- LOC 3 eLOC 2 lLOC 1 Comment 1 Lines 3
-
- Function: QP::QMActive::init
- Parameters: (void)
- Complexity Param 0 Return 1 Cyclo Vg 1 Total 2
- LOC 3 eLOC 2 lLOC 1 Comment 1 Lines 3
-
- Function: QP::QMActive::dispatch
- Parameters: (QEvt const * const e)
- Complexity Param 1 Return 1 Cyclo Vg 1 Total 3
- LOC 3 eLOC 2 lLOC 1 Comment 1 Lines 3
-
- Function: QP::QMActive::isInState
- Parameters: (QMState const * const st)
- Complexity Param 1 Return 1 Cyclo Vg 1 Total 3
- LOC 3 eLOC 2 lLOC 1 Comment 1 Lines 3
-
- Function: QP::QMActive::childStateObj
- Parameters: (QMState const * const parent)
- Complexity Param 1 Return 1 Cyclo Vg 1 Total 3
- LOC 3 eLOC 2 lLOC 1 Comment 1 Lines 3
-
- ------------------------------------------------------------------------
-
- ~~ Total File Summary ~~
-
- LOC 29 eLOC 21 lLOC 7 Comment 53 Lines 86
- ------------------------------------------------------------------------
-
- ~~ File Functional Summary ~~
-
- File Function Count....: 6
- Total Function LOC.....: 19 Total Function Pts LOC : 0.5
- Total Function eLOC....: 12 Total Function Pts eLOC: 0.4
- Total Function lLOC....: 7 Total Function Pts lLOC: 0.1
- Total Function Params .: 5 Total Function Return .: 6
- Total Cyclo Complexity : 6 Total Function Complex.: 17
- ------ ----- ----- ------ ------ -----
- Max Function LOC ......: 4 Average Function LOC ..: 3.17
- Max Function eLOC .....: 2 Average Function eLOC .: 2.00
- Max Function lLOC .....: 2 Average Function lLOC .: 1.17
- ------ ----- ----- ------ ------ -----
- Max Function Parameters: 1 Avg Function Parameters: 0.83
- Max Function Returns ..: 1 Avg Function Returns ..: 1.00
- Max Interface Complex. : 2 Avg Interface Complex. : 1.83
- Max Cyclomatic Complex.: 1 Avg Cyclomatic Complex.: 1.00
- Max Total Complexity ..: 3 Avg Total Complexity ..: 2.83
- ________________________________________________________________________
- End of File: ..\src\qf\qf_qmact.cpp
-
-
- File: ..\src\qf\qf_time.cpp
- ________________________________________________________________________
-
- Function: QP::QF::tickX_
- Parameters: (uint_fast8_t const tickRate)
- Cyclomatic Complexity Vg Detail
- Function Base : 1
- Loops for / foreach : 1
- Conditional if / else if: 5
- Complexity Param 1 Return 1 Cyclo Vg 7 Total 9
- LOC 66 eLOC 54 lLOC 36 Comment 52 Lines 95
-
- Function: QP::QF::noTimeEvtsActiveX
- Parameters: (uint_fast8_t const tickRate)
- Cyclomatic Complexity Vg Detail
- Function Base : 1
- Conditional if / else if: 2
- Complexity Param 1 Return 1 Cyclo Vg 3 Total 5
- LOC 14 eLOC 10 lLOC 6 Comment 12 Lines 16
-
- Function: QP::QTimeEvt::QTimeEvt
- Parameters: (QActive * const act, enum_t const sgnl, uint_fast8_t const
- tickRate) Defined By Compiler Directive
- Cyclomatic Complexity Vg Detail
- Function Base : 1
- Logical and ( && ) : 1
- Complexity Param 3 Return 1 Cyclo Vg 2 Total 6
- LOC 9 eLOC 7 lLOC 4 Comment 22 Lines 22
-
- Function: QP::QTimeEvt::QTimeEvt
- Parameters: () Defined By Compiler Directive
- Complexity Param 1 Return 1 Cyclo Vg 1 Total 3
- LOC 7 eLOC 5 lLOC 3 Comment 12 Lines 18
-
- Function: QP::QTimeEvt::armX
- Parameters: (QTimeEvtCtr const nTicks, QTimeEvtCtr const interval)
- Cyclomatic Complexity Vg Detail
- Function Base : 1
- Conditional if / else if: 1
- Logical and ( && ) : 4
- Complexity Param 2 Return 1 Cyclo Vg 6 Total 9
- LOC 28 eLOC 26 lLOC 16 Comment 48 Lines 50
-
- Function: QP::QTimeEvt::disarm
- Parameters: (void)
- Cyclomatic Complexity Vg Detail
- Function Base : 1
- Conditional if / else if: 1
- Complexity Param 0 Return 1 Cyclo Vg 2 Total 3
- LOC 30 eLOC 27 lLOC 17 Comment 27 Lines 38
-
- Function: QP::QTimeEvt::rearm
- Parameters: (QTimeEvtCtr const nTicks)
- Cyclomatic Complexity Vg Detail
- Function Base : 1
- Conditional if / else if: 3
- Logical and ( && ) : 3
- Complexity Param 1 Return 1 Cyclo Vg 7 Total 9
- LOC 42 eLOC 35 lLOC 20 Comment 49 Lines 68
-
- Function: QP::QTimeEvt::ctr
- Parameters: (void)
- Complexity Param 0 Return 1 Cyclo Vg 1 Total 2
- LOC 15 eLOC 14 lLOC 10 Comment 16 Lines 18
-
- ------------------------------------------------------------------------
-
- ~~ Total File Summary ~~
-
- LOC 248 eLOC 214 lLOC 113 Comment 301 Lines 537
- ------------------------------------------------------------------------
-
- ~~ File Functional Summary ~~
-
- File Function Count....: 8
- Total Function LOC.....: 211 Total Function Pts LOC : 4.7
- Total Function eLOC....: 178 Total Function Pts eLOC: 4.0
- Total Function lLOC....: 112 Total Function Pts lLOC: 2.1
- Total Function Params .: 9 Total Function Return .: 8
- Total Cyclo Complexity : 29 Total Function Complex.: 46
- ------ ----- ----- ------ ------ -----
- Max Function LOC ......: 66 Average Function LOC ..: 26.38
- Max Function eLOC .....: 54 Average Function eLOC .: 22.25
- Max Function lLOC .....: 36 Average Function lLOC .: 14.00
- ------ ----- ----- ------ ------ -----
- Max Function Parameters: 3 Avg Function Parameters: 1.13
- Max Function Returns ..: 1 Avg Function Returns ..: 1.00
- Max Interface Complex. : 4 Avg Interface Complex. : 2.13
- Max Cyclomatic Complex.: 7 Avg Cyclomatic Complex.: 3.63
- Max Total Complexity ..: 9 Avg Total Complexity ..: 5.75
- ________________________________________________________________________
- End of File: ..\src\qf\qf_time.cpp
-
-
- File: ..\src\qv\qv.cpp
- ________________________________________________________________________
-
- Function: QP::QF::stop
- Parameters: (void)
- Complexity Param 0 Return 1 Cyclo Vg 1 Total 2
- LOC 3 eLOC 2 lLOC 1 Comment 13 Lines 4
-
- Function: QP::QF::run
- Parameters: (void)
- Cyclomatic Complexity Vg Detail
- Function Base : 1
- Loops for / foreach : 1
- Conditional if / else if: 3
- Complexity Param 0 Return 1 Cyclo Vg 5 Total 6
- LOC 47 eLOC 41 lLOC 21 Comment 44 Lines 73
-
- Function: QP::QActive::start
- Parameters: (uint_fast8_t const prio, QEvt const *qSto[], uint_fast16_t
- const qLen, void * const stkSto, uint_fast16_t const, QEvt c
- onst * const ie)
- Cyclomatic Complexity Vg Detail
- Function Base : 1
- Logical and ( && ) : 2
- Complexity Param 6 Return 1 Cyclo Vg 3 Total 10
- LOC 10 eLOC 8 lLOC 6 Comment 26 Lines 16
-
- Function: QP::QActive::stop
- Parameters: (void)
- Complexity Param 0 Return 1 Cyclo Vg 1 Total 2
- LOC 7 eLOC 6 lLOC 4 Comment 14 Lines 8
-
- ------------------------------------------------------------------------
-
- ~~ Total File Summary ~~
-
- LOC 101 eLOC 88 lLOC 40 Comment 163 Lines 259
- ------------------------------------------------------------------------
-
- ~~ File Functional Summary ~~
-
- File Function Count....: 4
- Total Function LOC.....: 67 Total Function Pts LOC : 1.9
- Total Function eLOC....: 57 Total Function Pts eLOC: 1.7
- Total Function lLOC....: 32 Total Function Pts lLOC: 0.8
- Total Function Params .: 6 Total Function Return .: 4
- Total Cyclo Complexity : 10 Total Function Complex.: 20
- ------ ----- ----- ------ ------ -----
- Max Function LOC ......: 47 Average Function LOC ..: 16.75
- Max Function eLOC .....: 41 Average Function eLOC .: 14.25
- Max Function lLOC .....: 21 Average Function lLOC .: 8.00
- ------ ----- ----- ------ ------ -----
- Max Function Parameters: 6 Avg Function Parameters: 1.50
- Max Function Returns ..: 1 Avg Function Returns ..: 1.00
- Max Interface Complex. : 7 Avg Interface Complex. : 2.50
- Max Cyclomatic Complex.: 5 Avg Cyclomatic Complex.: 2.50
- Max Total Complexity ..: 10 Avg Total Complexity ..: 5.00
- ________________________________________________________________________
- End of File: ..\src\qv\qv.cpp
-
-
- File: ..\src\qk\qk.cpp
- ________________________________________________________________________
-
- Function: QP::QF::init
- Parameters: (void)
- Complexity Param 0 Return 1 Cyclo Vg 1 Total 2
- LOC 14 eLOC 13 lLOC 9 Comment 14 Lines 17
-
- Function: QP::QF::stop
- Parameters: (void)
- Complexity Param 0 Return 1 Cyclo Vg 1 Total 2
- LOC 3 eLOC 2 lLOC 1 Comment 13 Lines 4
-
- Function: QP::initial_events
- Parameters: (void)
- Cyclomatic Complexity Vg Detail
- Function Base : 1
- Conditional if / else if: 1
- Complexity Param 0 Return 1 Cyclo Vg 2 Total 3
- LOC 6 eLOC 4 lLOC 2 Comment 6 Lines 8
-
- Function: QP::QF::run
- Parameters: (void)
- Cyclomatic Complexity Vg Detail
- Function Base : 1
- Loops for / foreach : 1
- Complexity Param 0 Return 1 Cyclo Vg 2 Total 3
- LOC 12 eLOC 10 lLOC 7 Comment 21 Lines 14
-
- Function: QP::QActive::start
- Parameters: (uint_fast8_t const prio, QEvt const *qSto[], uint_fast16_t
- const qLen, void * const stkSto, uint_fast16_t const, QEvt c
- onst * const ie)
- Cyclomatic Complexity Vg Detail
- Function Base : 1
- Conditional if / else if: 1
- Logical and ( && ) : 3
- Complexity Param 6 Return 1 Cyclo Vg 5 Total 12
- LOC 17 eLOC 14 lLOC 9 Comment 29 Lines 26
-
- Function: QP::QActive::stop
- Parameters: (void)
- Cyclomatic Complexity Vg Detail
- Function Base : 1
- Conditional if / else if: 1
- Complexity Param 0 Return 1 Cyclo Vg 2 Total 3
- LOC 11 eLOC 9 lLOC 6 Comment 14 Lines 14
-
- 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 62 eLOC 54 lLOC 28 Comment 48 Lines 89
-
- ------------------------------------------------------------------------
-
- ~~ Total File Summary ~~
-
- LOC 164 eLOC 138 lLOC 70 Comment 217 Lines 365
- ------------------------------------------------------------------------
-
- ~~ File Functional Summary ~~
-
- File Function Count....: 7
- Total Function LOC.....: 125 Total Function Pts LOC : 3.1
- Total Function eLOC....: 106 Total Function Pts eLOC: 2.6
- Total Function lLOC....: 62 Total Function Pts lLOC: 1.3
- Total Function Params .: 6 Total Function Return .: 7
- Total Cyclo Complexity : 20 Total Function Complex.: 33
- ------ ----- ----- ------ ------ -----
- Max Function LOC ......: 62 Average Function LOC ..: 17.86
- Max Function eLOC .....: 54 Average Function eLOC .: 15.14
- Max Function lLOC .....: 28 Average Function lLOC .: 8.86
- ------ ----- ----- ------ ------ -----
- Max Function Parameters: 6 Avg Function Parameters: 0.86
- Max Function Returns ..: 1 Avg Function Returns ..: 1.00
- Max Interface Complex. : 7 Avg Interface Complex. : 1.86
- Max Cyclomatic Complex.: 7 Avg Cyclomatic Complex.: 2.86
- Max Total Complexity ..: 12 Avg Total Complexity ..: 4.71
- ________________________________________________________________________
- End of File: ..\src\qk\qk.cpp
-
-
- File: ..\src\qk\qk_mutex.cpp
- ________________________________________________________________________
-
- Function: QP::QMutex::init
- Parameters: (uint_fast8_t const prio)
- Complexity Param 1 Return 1 Cyclo Vg 1 Total 3
- LOC 4 eLOC 3 lLOC 2 Comment 15 Lines 4
-
- Function: QP::QMutex::lock
- Parameters: (void)
- Cyclomatic Complexity Vg Detail
- Function Base : 1
- Conditional if / else if: 1
- Logical and ( && ) : 1
- Complexity Param 0 Return 1 Cyclo Vg 3 Total 4
- LOC 17 eLOC 15 lLOC 7 Comment 24 Lines 23
-
- Function: QP::QMutex::unlock
- Parameters: (void)
- Cyclomatic Complexity Vg Detail
- Function Base : 1
- Conditional if / else if: 2
- Inlined if-else ( ? : ) : 1
- Logical and ( && ) : 1
- Complexity Param 0 Return 1 Cyclo Vg 5 Total 6
- LOC 23 eLOC 20 lLOC 9 Comment 25 Lines 31
-
- ------------------------------------------------------------------------
-
- ~~ Total File Summary ~~
-
- LOC 62 eLOC 54 lLOC 19 Comment 114 Lines 174
- ------------------------------------------------------------------------
-
- ~~ File Functional Summary ~~
-
- File Function Count....: 3
- Total Function LOC.....: 44 Total Function Pts LOC : 1.2
- Total Function eLOC....: 38 Total Function Pts eLOC: 1.0
- Total Function lLOC....: 18 Total Function Pts lLOC: 0.4
- Total Function Params .: 1 Total Function Return .: 3
- Total Cyclo Complexity : 9 Total Function Complex.: 13
- ------ ----- ----- ------ ------ -----
- Max Function LOC ......: 23 Average Function LOC ..: 14.67
- Max Function eLOC .....: 20 Average Function eLOC .: 12.67
- Max Function lLOC .....: 9 Average Function lLOC .: 6.00
- ------ ----- ----- ------ ------ -----
- Max Function Parameters: 1 Avg Function Parameters: 0.33
- Max Function Returns ..: 1 Avg Function Returns ..: 1.00
- Max Interface Complex. : 2 Avg Interface Complex. : 1.33
- Max Cyclomatic Complex.: 5 Avg Cyclomatic Complex.: 3.00
- Max Total Complexity ..: 6 Avg Total Complexity ..: 4.33
- ________________________________________________________________________
- End of File: ..\src\qk\qk_mutex.cpp
-
-
- File: ..\src\qxk\qxk.cpp
- ________________________________________________________________________
-
- Inline Function: QP::QXKIdleThread::QXKIdleThread
- Parameters: ()
- Complexity Param 0 Return 1 Cyclo Vg 1 Total 2
- LOC 1 eLOC 1 lLOC 0 Comment 0 Lines 1
-
- Function: QP::QF::init
- Parameters: (void)
- Complexity Param 0 Return 1 Cyclo Vg 1 Total 2
- LOC 15 eLOC 14 lLOC 11 Comment 15 Lines 21
-
- Function: QP::QF::stop
- Parameters: (void)
- Complexity Param 0 Return 1 Cyclo Vg 1 Total 2
- LOC 3 eLOC 2 lLOC 1 Comment 13 Lines 4
-
- Function: QP::initial_events
- Parameters: (void)
- Cyclomatic Complexity Vg Detail
- Function Base : 1
- Conditional if / else if: 1
- Complexity Param 0 Return 1 Cyclo Vg 2 Total 3
- LOC 6 eLOC 4 lLOC 2 Comment 6 Lines 8
-
- Function: QP::QF::run
- Parameters: (void)
- Cyclomatic Complexity Vg Detail
- Function Base : 1
- Loops for / foreach : 1
- Complexity Param 0 Return 1 Cyclo Vg 2 Total 3
- LOC 12 eLOC 10 lLOC 7 Comment 13 Lines 15
-
- Function: QP::QActive::start
- Parameters: (uint_fast8_t const prio, QEvt const *qSto[], uint_fast16_t
- const qLen, void * const stkSto, uint_fast16_t const stkSize
- , QEvt const * const ie)
- Cyclomatic Complexity Vg Detail
- Function Base : 1
- Conditional if / else if: 1
- Logical and ( && ) : 4
- Complexity Param 6 Return 1 Cyclo Vg 6 Total 13
- LOC 21 eLOC 18 lLOC 12 Comment 28 Lines 31
-
- Function: QP::QActive::stop
- Parameters: (void)
- Cyclomatic Complexity Vg Detail
- Function Base : 1
- Conditional if / else if: 1
- Logical and ( && ) : 1
- Complexity Param 0 Return 1 Cyclo Vg 3 Total 4
- LOC 12 eLOC 10 lLOC 6 Comment 14 Lines 15
-
- Function: static_cast
- Parameters: (0))
- Cyclomatic Complexity Vg Detail
- Function Base : 1
- Conditional if / else if: 2
- Complexity Param 1 Return 1 Cyclo Vg 3 Total 5
- LOC 24 eLOC 19 lLOC 8 Comment 8 Lines 28
-
- 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 78 eLOC 68 lLOC 34 Comment 54 Lines 108
-
- Function: QXK_current
- Parameters: (void)
- Complexity Param 0 Return 1 Cyclo Vg 1 Total 2
- LOC 9 eLOC 8 lLOC 6 Comment 2 Lines 13
-
- ------------------------------------------------------------------------
-
- ~~ Total File Summary ~~
-
- LOC 237 eLOC 201 lLOC 102 Comment 231 Lines 452
- ------------------------------------------------------------------------
-
- ~~ File Functional Summary ~~
-
- File Function Count....: 10
- Total Function LOC.....: 181 Total Function Pts LOC : 4.5
- Total Function eLOC....: 154 Total Function Pts eLOC: 3.8
- Total Function lLOC....: 87 Total Function Pts lLOC: 1.9
- Total Function Params .: 7 Total Function Return .: 10
- Total Cyclo Complexity : 28 Total Function Complex.: 45
- ------ ----- ----- ------ ------ -----
- Max Function LOC ......: 78 Average Function LOC ..: 18.10
- Max Function eLOC .....: 68 Average Function eLOC .: 15.40
- Max Function lLOC .....: 34 Average Function lLOC .: 8.70
- ------ ----- ----- ------ ------ -----
- Max Function Parameters: 6 Avg Function Parameters: 0.70
- Max Function Returns ..: 1 Avg Function Returns ..: 1.00
- Max Interface Complex. : 7 Avg Interface Complex. : 1.70
- Max Cyclomatic Complex.: 8 Avg Cyclomatic Complex.: 2.80
- Max Total Complexity ..: 13 Avg Total Complexity ..: 4.50
- ________________________________________________________________________
- End of File: ..\src\qxk\qxk.cpp
-
-
- File: ..\src\qxk\qxk_mutex.cpp
- ________________________________________________________________________
-
- Function: QP::QXMutex::init
- Parameters: (uint_fast8_t const prio)
- Complexity Param 1 Return 1 Cyclo Vg 1 Total 3
- LOC 4 eLOC 3 lLOC 2 Comment 15 Lines 4
-
- Function: QP::QXMutex::lock
- Parameters: (void)
- Cyclomatic Complexity Vg Detail
- Function Base : 1
- Conditional if / else if: 1
- Inlined if-else ( ? : ) : 1
- Logical and ( && ) : 1
- Complexity Param 0 Return 1 Cyclo Vg 4 Total 5
- LOC 22 eLOC 20 lLOC 9 Comment 28 Lines 29
-
- Function: QP::QXMutex::unlock
- Parameters: (void)
- Cyclomatic Complexity Vg Detail
- Function Base : 1
- Conditional if / else if: 2
- Inlined if-else ( ? : ) : 1
- Logical and ( && ) : 1
- Complexity Param 0 Return 1 Cyclo Vg 5 Total 6
- LOC 24 eLOC 21 lLOC 10 Comment 28 Lines 31
-
- ------------------------------------------------------------------------
-
- ~~ Total File Summary ~~
-
- LOC 68 eLOC 60 lLOC 22 Comment 121 Lines 183
- ------------------------------------------------------------------------
-
- ~~ File Functional Summary ~~
-
- File Function Count....: 3
- Total Function LOC.....: 50 Total Function Pts LOC : 1.3
- Total Function eLOC....: 44 Total Function Pts eLOC: 1.1
- Total Function lLOC....: 21 Total Function Pts lLOC: 0.4
- Total Function Params .: 1 Total Function Return .: 3
- Total Cyclo Complexity : 10 Total Function Complex.: 14
- ------ ----- ----- ------ ------ -----
- Max Function LOC ......: 24 Average Function LOC ..: 16.67
- Max Function eLOC .....: 21 Average Function eLOC .: 14.67
- Max Function lLOC .....: 10 Average Function lLOC .: 7.00
- ------ ----- ----- ------ ------ -----
- Max Function Parameters: 1 Avg Function Parameters: 0.33
- Max Function Returns ..: 1 Avg Function Returns ..: 1.00
- Max Interface Complex. : 2 Avg Interface Complex. : 1.33
- Max Cyclomatic Complex.: 5 Avg Cyclomatic Complex.: 3.33
- Max Total Complexity ..: 6 Avg Total Complexity ..: 4.67
- ________________________________________________________________________
- End of File: ..\src\qxk\qxk_mutex.cpp
-
-
- File: ..\src\qxk\qxk_sema.cpp
- ________________________________________________________________________
-
- Function: QP::QXSemaphore::init
- Parameters: (uint_fast16_t const count)
- Complexity Param 1 Return 1 Cyclo Vg 1 Total 3
- LOC 4 eLOC 3 lLOC 2 Comment 14 Lines 4
-
- Function: QP::QXSemaphore::wait
- Parameters: (uint_fast16_t const nTicks, uint_fast8_t const tickRate)
- Cyclomatic Complexity Vg Detail
- Function Base : 1
- Conditional if / else if: 1
- Logical and ( && ) : 2
- Complexity Param 2 Return 1 Cyclo Vg 4 Total 7
- LOC 27 eLOC 23 lLOC 17 Comment 32 Lines 35
-
- Function: QP::QXSemaphore::signal
- 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 20 eLOC 16 lLOC 10 Comment 17 Lines 27
-
- ------------------------------------------------------------------------
-
- ~~ Total File Summary ~~
-
- LOC 68 eLOC 58 lLOC 29 Comment 111 Lines 180
- ------------------------------------------------------------------------
-
- ~~ File Functional Summary ~~
-
- File Function Count....: 3
- Total Function LOC.....: 51 Total Function Pts LOC : 1.3
- Total Function eLOC....: 42 Total Function Pts eLOC: 1.1
- Total Function lLOC....: 29 Total Function Pts lLOC: 0.5
- Total Function Params .: 3 Total Function Return .: 3
- Total Cyclo Complexity : 9 Total Function Complex.: 15
- ------ ----- ----- ------ ------ -----
- Max Function LOC ......: 27 Average Function LOC ..: 17.00
- Max Function eLOC .....: 23 Average Function eLOC .: 14.00
- Max Function lLOC .....: 17 Average Function lLOC .: 9.67
- ------ ----- ----- ------ ------ -----
- Max Function Parameters: 2 Avg Function Parameters: 1.00
- Max Function Returns ..: 1 Avg Function Returns ..: 1.00
- Max Interface Complex. : 3 Avg Interface Complex. : 2.00
- Max Cyclomatic Complex.: 4 Avg Cyclomatic Complex.: 3.00
- Max Total Complexity ..: 7 Avg Total Complexity ..: 5.00
- ________________________________________________________________________
- End of File: ..\src\qxk\qxk_sema.cpp
-
-
- File: ..\src\qxk\qxk_xthr.cpp
- ________________________________________________________________________
-
- Function: QP::QXThread::QXThread
- Parameters: (QXThreadHandler const handler, uint_fast8_t const tickRate)
- Complexity Param 2 Return 1 Cyclo Vg 1 Total 4
- LOC 3 eLOC 1 lLOC 1 Comment 17 Lines 3
-
- Function: QP::QXThread::init
- Parameters: (QEvt const * const)
- Complexity Param 1 Return 1 Cyclo Vg 1 Total 3
- LOC 3 eLOC 2 lLOC 1 Comment 3 Lines 3
-
- Function: QP::QXThread::dispatch
- Parameters: (QEvt const * const)
- Complexity Param 1 Return 1 Cyclo Vg 1 Total 3
- LOC 3 eLOC 2 lLOC 1 Comment 2 Lines 3
-
- Function: QP::QXThread::start
- Parameters: (uint_fast8_t const prio, QEvt const *qSto[], uint_fast16_t
- const qLen, void * const stkSto, uint_fast16_t const stkSize
- , QEvt const * const)
- Cyclomatic Complexity Vg Detail
- Function Base : 1
- Conditional if / else if: 1
- Logical and ( && ) : 4
- Complexity Param 6 Return 1 Cyclo Vg 6 Total 13
- LOC 20 eLOC 17 lLOC 10 Comment 32 Lines 33
-
- Function: QP::QXThread::post_
- Parameters: (QEvt const * const e, uint_fast16_t const margin)
- Cyclomatic Complexity Vg Detail
- Function Base : 1
- Conditional if / else if: 9
- Complexity Param 2 Return 1 Cyclo Vg 10 Total 13
- LOC 79 eLOC 64 lLOC 44 Comment 63 Lines 111
-
- Function: QP::QXThread::postLIFO
- Parameters: (QEvt const * const)
- Complexity Param 1 Return 1 Cyclo Vg 1 Total 3
- LOC 3 eLOC 2 lLOC 1 Comment 9 Lines 3
-
- Function: QP::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 34 Comment 49 Lines 82
-
- Function: QP::QXThread::block_
- Parameters: (void)
- Complexity Param 0 Return 1 Cyclo Vg 1 Total 2
- LOC 5 eLOC 4 lLOC 3 Comment 8 Lines 6
-
- Function: QP::QXThread::unblock_
- Parameters: (void)
- Cyclomatic Complexity Vg Detail
- Function Base : 1
- Conditional if / else if: 1
- Logical and ( && ) : 1
- Complexity Param 0 Return 1 Cyclo Vg 3 Total 4
- LOC 8 eLOC 5 lLOC 2 Comment 9 Lines 9
-
- Function: QP::QXThread::teArm_
- Parameters: (enum_t const sig, uint_fast16_t const nTicks, uint_fast8_t
- const tickRate)
- Cyclomatic Complexity Vg Detail
- Function Base : 1
- Conditional if / else if: 2
- Complexity Param 3 Return 1 Cyclo Vg 3 Total 7
- LOC 16 eLOC 11 lLOC 7 Comment 21 Lines 32
-
- Function: QP::QXThread::teDisarm_
- Parameters: (void)
- Cyclomatic Complexity Vg Detail
- Function Base : 1
- Conditional if / else if: 1
- Complexity Param 0 Return 1 Cyclo Vg 2 Total 3
- LOC 11 eLOC 8 lLOC 5 Comment 10 Lines 14
-
- Function: QP::QXThread::delay
- Parameters: (uint_fast16_t const nTicks, uint_fast8_t const tickRate)
- Complexity Param 2 Return 1 Cyclo Vg 1 Total 4
- LOC 17 eLOC 15 lLOC 13 Comment 9 Lines 27
-
- Function: QP::QXThread::delayCancel
- Parameters: (void)
- Cyclomatic Complexity Vg Detail
- Function Base : 1
- Conditional if / else if: 1
- Complexity Param 0 Return 1 Cyclo Vg 2 Total 3
- LOC 14 eLOC 11 lLOC 7 Comment 2 Lines 16
-
- ------------------------------------------------------------------------
-
- ~~ Total File Summary ~~
-
- LOC 290 eLOC 239 lLOC 136 Comment 294 Lines 589
- ------------------------------------------------------------------------
-
- ~~ File Functional Summary ~~
-
- File Function Count....: 13
- Total Function LOC.....: 242 Total Function Pts LOC : 5.5
- Total Function eLOC....: 194 Total Function Pts eLOC: 4.5
- Total Function lLOC....: 129 Total Function Pts lLOC: 2.6
- Total Function Params .: 20 Total Function Return .: 13
- Total Cyclo Complexity : 39 Total Function Complex.: 72
- ------ ----- ----- ------ ------ -----
- Max Function LOC ......: 79 Average Function LOC ..: 18.62
- Max Function eLOC .....: 64 Average Function eLOC .: 14.92
- Max Function lLOC .....: 44 Average Function lLOC .: 9.92
- ------ ----- ----- ------ ------ -----
- Max Function Parameters: 6 Avg Function Parameters: 1.54
- Max Function Returns ..: 1 Avg Function Returns ..: 1.00
- Max Interface Complex. : 7 Avg Interface Complex. : 2.54
- Max Cyclomatic Complex.: 10 Avg Cyclomatic Complex.: 3.00
- Max Total Complexity ..: 13 Avg Total Complexity ..: 5.54
- ________________________________________________________________________
- End of File: ..\src\qxk\qxk_xthr.cpp
-
-
- ------------------------------------------------------------------------
-
- ~~ Project Analysis For 36 Files ~~
-
- ------------------------------------------------------------------------
-
- ~~ Total Project Summary ~~
-
- LOC 4669 eLOC 4132 lLOC 1783 Comment 6159 Lines 11086
- Average per File, metric/36 files
- LOC 129 eLOC 114 lLOC 49 Comment 171 Lines 307
-
- ------------------------------------------------------------------------
-
- ~~ Project Functional Metrics ~~
-
- Function: QP::QEvt::QEvt
- Parameters: (QSignal const s)
- Complexity Param 1 Return 1 Cyclo Vg 1 Total 3
- LOC 1 eLOC 1 lLOC 0 Comment 2 Lines 1
-
- Function: QP::QEvt::QEvt
- Parameters: (QSignal const s, StaticEvt)
- Complexity Param 2 Return 1 Cyclo Vg 1 Total 4
- LOC 1 eLOC 1 lLOC 0 Comment 2 Lines 1
-
- Function: QP::QEvt::~QEvt
- Parameters: ()
- Complexity Param 0 Return 1 Cyclo Vg 1 Total 2
- LOC 1 eLOC 1 lLOC 0 Comment 1 Lines 1
-
- Function: QP::QHsm::init
- Parameters: (void)
- Complexity Param 0 Return 1 Cyclo Vg 1 Total 2
- LOC 1 eLOC 1 lLOC 1 Comment 1 Lines 1
-
- Function: QP::QHsm::state
- Parameters: (void)
- Complexity Param 0 Return 1 Cyclo Vg 1 Total 2
- LOC 3 eLOC 2 lLOC 1 Comment 2 Lines 3
-
- Function: QP::QHsm::Q_HANDLED
- Parameters: (void)
- Complexity Param 0 Return 1 Cyclo Vg 1 Total 2
- LOC 3 eLOC 2 lLOC 1 Comment 3 Lines 3
-
- Function: QP::QHsm::Q_UNHANDLED
- Parameters: (void)
- Complexity Param 0 Return 1 Cyclo Vg 1 Total 2
- LOC 3 eLOC 2 lLOC 1 Comment 4 Lines 3
-
- Function: QP::QHsm::tran_
- Parameters: (QStateHandler const target)
- Complexity Param 1 Return 1 Cyclo Vg 1 Total 3
- LOC 4 eLOC 3 lLOC 2 Comment 1 Lines 4
-
- Function: QP::QHsm::tran_hist_
- Parameters: (QStateHandler const hist)
- Complexity Param 1 Return 1 Cyclo Vg 1 Total 3
- LOC 4 eLOC 3 lLOC 2 Comment 1 Lines 4
-
- Function: QP::QHsm::super_
- Parameters: (QStateHandler const superstate)
- Complexity Param 1 Return 1 Cyclo Vg 1 Total 3
- LOC 4 eLOC 3 lLOC 2 Comment 1 Lines 4
-
- Function: QP::QHsm::qm_tran_
- Parameters: (QMTranActTable const * const tatbl)
- Complexity Param 1 Return 1 Cyclo Vg 1 Total 3
- LOC 4 eLOC 3 lLOC 2 Comment 2 Lines 4
-
- Function: QP::QHsm::qm_tran_hist_
- Parameters: (QMState const * const hist, QMTranActTable const * const ta
- tbl)
- Complexity Param 2 Return 1 Cyclo Vg 1 Total 4
- LOC 5 eLOC 3 lLOC 3 Comment 1 Lines 5
-
- Function: QP::QHsm::qm_tran_init_
- Parameters: (QMTranActTable const * const tatbl)
- Complexity Param 1 Return 1 Cyclo Vg 1 Total 3
- LOC 4 eLOC 3 lLOC 2 Comment 1 Lines 4
-
- Function: QP::QHsm::qm_tran_ep_
- Parameters: (QMTranActTable const * const tatbl)
- Complexity Param 1 Return 1 Cyclo Vg 1 Total 3
- LOC 4 eLOC 3 lLOC 2 Comment 2 Lines 4
-
- Function: QP::QHsm::qm_tran_xp_
- Parameters: (QActionHandler const xp, QMTranActTable const *const tatbl)
- Complexity Param 2 Return 1 Cyclo Vg 1 Total 4
- LOC 5 eLOC 3 lLOC 3 Comment 2 Lines 5
-
- Function: QP::QHsm::qm_entry_
- Parameters: (QMState const * const s)
- Complexity Param 1 Return 1 Cyclo Vg 1 Total 3
- LOC 4 eLOC 3 lLOC 2 Comment 1 Lines 4
-
- Function: QP::QHsm::qm_exit_
- Parameters: (QMState const * const s)
- Complexity Param 1 Return 1 Cyclo Vg 1 Total 3
- LOC 4 eLOC 3 lLOC 2 Comment 1 Lines 4
-
- Function: QP::QHsm::qm_super_sub_
- Parameters: (QMState const * const s)
- Complexity Param 1 Return 1 Cyclo Vg 1 Total 3
- LOC 4 eLOC 3 lLOC 2 Comment 2 Lines 4
-
- Function: QP::QHsm::QM_HANDLED
- Parameters: (void)
- Complexity Param 0 Return 1 Cyclo Vg 1 Total 2
- LOC 3 eLOC 2 lLOC 1 Comment 2 Lines 3
-
- Function: QP::QHsm::QM_UNHANDLED
- Parameters: (void)
- Complexity Param 0 Return 1 Cyclo Vg 1 Total 2
- LOC 3 eLOC 2 lLOC 1 Comment 2 Lines 3
-
- Function: QP::QHsm::QM_SUPER
- Parameters: (void)
- Complexity Param 0 Return 1 Cyclo Vg 1 Total 2
- LOC 3 eLOC 2 lLOC 1 Comment 2 Lines 3
-
- Function: QP::QMsm::init
- Parameters: (void)
- Complexity Param 0 Return 1 Cyclo Vg 1 Total 2
- LOC 1 eLOC 1 lLOC 1 Comment 2 Lines 1
-
- Function: QP::QMsm::stateObj
- Parameters: (void) Non-ANSI Parameter Construct
- Complexity Param 1 Return 1 Cyclo Vg 1 Total 3
- LOC 3 eLOC 2 lLOC 1 Comment 1 Lines 3
-
- Function: QP::QEP::getVersion
- Parameters: (void) Non-ANSI Parameter Construct
- Complexity Param 1 Return 1 Cyclo Vg 1 Total 3
- LOC 3 eLOC 2 lLOC 1 Comment 1 Lines 3
-
- Function: QP::QEQueue::getNFree
- Parameters: (void)
- Complexity Param 0 Return 1 Cyclo Vg 1 Total 2
- LOC 3 eLOC 2 lLOC 1 Comment 10 Lines 3
-
- Function: QP::QEQueue::isEmpty
- Parameters: (void)
- Complexity Param 0 Return 1 Cyclo Vg 1 Total 2
- LOC 3 eLOC 2 lLOC 1 Comment 10 Lines 3
-
- Function: QP::QActive::start
- Parameters: (uint_fast8_t const prio, QEvt const *qSto[], uint_fast16_t
- const qLen, void * const stkSto, uint_fast16_t const stkSize
- )
- Complexity Param 5 Return 1 Cyclo Vg 1 Total 7
- LOC 4 eLOC 2 lLOC 1 Comment 1 Lines 4
-
- Function: QP::QActive::getPrio
- Parameters: (void) Non-ANSI Parameter Construct
- Complexity Param 1 Return 1 Cyclo Vg 1 Total 3
- LOC 3 eLOC 2 lLOC 1 Comment 1 Lines 3
-
- Function: QP::QActive::setPrio
- Parameters: (uint_fast8_t const prio)
- Complexity Param 1 Return 1 Cyclo Vg 1 Total 3
- LOC 3 eLOC 2 lLOC 1 Comment 1 Lines 3
-
- Function: QP::QActive::getOsObject
- Parameters: (void)
- Complexity Param 0 Return 1 Cyclo Vg 1 Total 2
- LOC 1 eLOC 1 lLOC 1 Comment 2 Lines 1
-
- Function: QP::QActive::getThread
- Parameters: (void)
- Complexity Param 0 Return 1 Cyclo Vg 1 Total 2
- LOC 1 eLOC 1 lLOC 1 Comment 2 Lines 1
-
- Function: QP::QMActive::stateObj
- Parameters: (void) Non-ANSI Parameter Construct
- Complexity Param 1 Return 1 Cyclo Vg 1 Total 3
- LOC 3 eLOC 2 lLOC 1 Comment 1 Lines 3
-
- Function: QP::QTimeEvt::QTimeEvt
- Parameters: (enum_t const sgnl) Non-ANSI Parameter Construct Defined By
- Compiler Directive
- Complexity Param 1 Return 1 Cyclo Vg 1 Total 3
- LOC 7 eLOC 5 lLOC 3 Comment 5 Lines 8
-
- Function: QP::QTimeEvt::postIn
- Parameters: (QActive * const act, QTimeEvtCtr const nTicks)
- Complexity Param 2 Return 1 Cyclo Vg 1 Total 4
- LOC 4 eLOC 3 lLOC 2 Comment 1 Lines 4
-
- Function: QP::QTimeEvt::postEvery
- Parameters: (QActive * const act, QTimeEvtCtr const nTicks)
- Complexity Param 2 Return 1 Cyclo Vg 1 Total 4
- LOC 4 eLOC 3 lLOC 2 Comment 1 Lines 4
-
- Function: QP::QTimeEvt::toActive
- Parameters: (void)
- Complexity Param 0 Return 1 Cyclo Vg 1 Total 2
- LOC 1 eLOC 1 lLOC 1 Comment 1 Lines 1
-
- Function: QP::QTimeEvt::toTimeEvt
- Parameters: (void)
- Complexity Param 0 Return 1 Cyclo Vg 1 Total 2
- LOC 1 eLOC 1 lLOC 1 Comment 1 Lines 1
-
- Function: QP::QF::getVersion
- Parameters: (void)
- Complexity Param 0 Return 1 Cyclo Vg 1 Total 2
- LOC 3 eLOC 2 lLOC 1 Comment 1 Lines 3
-
- Function: QP::QTicker::init
- Parameters: (void)
- Complexity Param 0 Return 1 Cyclo Vg 1 Total 2
- LOC 1 eLOC 1 lLOC 1 Comment 0 Lines 1
-
- Function: QP::QK::getVersion
- Parameters: (void)
- Complexity Param 0 Return 1 Cyclo Vg 1 Total 2
- LOC 3 eLOC 2 lLOC 1 Comment 1 Lines 3
-
- Function: QP::QMPool::getBlockSize
- Parameters: (void)
- Complexity Param 0 Return 1 Cyclo Vg 1 Total 2
- LOC 3 eLOC 2 lLOC 1 Comment 1 Lines 3
-
- Function: QP::QF_LOG2
- Parameters: (uint32_t const x)
- Complexity Param 1 Return 1 Cyclo Vg 4 Total 6
- LOC 25 eLOC 18 lLOC 11 Comment 8 Lines 26
-
- Function: QP::QPSet::setEmpty
- Parameters: (void)
- Complexity Param 0 Return 1 Cyclo Vg 1 Total 2
- LOC 3 eLOC 2 lLOC 1 Comment 1 Lines 3
-
- Function: QP::QPSet::isEmpty
- Parameters: (void)
- Complexity Param 0 Return 1 Cyclo Vg 1 Total 2
- LOC 3 eLOC 2 lLOC 1 Comment 1 Lines 3
-
- Function: QP::QPSet::notEmpty
- Parameters: (void)
- Complexity Param 0 Return 1 Cyclo Vg 1 Total 2
- LOC 3 eLOC 2 lLOC 1 Comment 1 Lines 3
-
- Function: QP::QPSet::hasElement
- Parameters: (uint_fast8_t const n)
- Complexity Param 1 Return 1 Cyclo Vg 1 Total 3
- LOC 5 eLOC 4 lLOC 1 Comment 1 Lines 5
-
- Function: QP::QPSet::insert
- Parameters: (uint_fast8_t const n)
- Complexity Param 1 Return 1 Cyclo Vg 1 Total 3
- LOC 4 eLOC 3 lLOC 1 Comment 1 Lines 4
-
- Function: QP::QPSet::remove
- Parameters: (uint_fast8_t const n)
- Complexity Param 1 Return 1 Cyclo Vg 1 Total 3
- LOC 4 eLOC 3 lLOC 1 Comment 1 Lines 4
-
- Function: QP::QPSet::findMax
- Parameters: (void)
- Complexity Param 0 Return 1 Cyclo Vg 1 Total 2
- LOC 3 eLOC 2 lLOC 1 Comment 1 Lines 3
-
- Function: QP::QPSet::setEmpty
- Parameters: (void)
- Complexity Param 0 Return 1 Cyclo Vg 1 Total 2
- LOC 4 eLOC 3 lLOC 2 Comment 1 Lines 4
-
- Function: QP::QPSet::isEmpty
- Parameters: (void)
- Complexity Param 0 Return 1 Cyclo Vg 2 Total 3
- LOC 5 eLOC 4 lLOC 1 Comment 2 Lines 5
-
- Function: QP::QPSet::notEmpty
- Parameters: (void)
- Complexity Param 0 Return 1 Cyclo Vg 2 Total 3
- LOC 5 eLOC 4 lLOC 1 Comment 2 Lines 5
-
- Function: QP::QPSet::hasElement
- Parameters: (uint_fast8_t const n)
- Complexity Param 1 Return 1 Cyclo Vg 2 Total 4
- LOC 9 eLOC 8 lLOC 1 Comment 1 Lines 9
-
- Function: QP::QPSet::insert
- Parameters: (uint_fast8_t const n)
- Complexity Param 1 Return 1 Cyclo Vg 2 Total 4
- LOC 10 eLOC 7 lLOC 2 Comment 1 Lines 10
-
- Function: QP::QPSet::remove
- Parameters: (uint_fast8_t const n)
- Complexity Param 1 Return 1 Cyclo Vg 2 Total 4
- LOC 10 eLOC 7 lLOC 2 Comment 1 Lines 10
-
- Function: QP::QPSet::findMax
- Parameters: (void)
- Complexity Param 0 Return 1 Cyclo Vg 2 Total 3
- LOC 5 eLOC 4 lLOC 1 Comment 1 Lines 5
-
- Function: QP::QS::getVersion
- Parameters: (void)
- Complexity Param 0 Return 1 Cyclo Vg 1 Total 2
- LOC 3 eLOC 2 lLOC 1 Comment 1 Lines 3
-
- Function: QP::QS::rxPut
- Parameters: (uint8_t const b)
- Complexity Param 1 Return 1 Cyclo Vg 4 Total 6
- LOC 14 eLOC 9 lLOC 4 Comment 1 Lines 14
-
- Function: QP::QS::force_cast
- Parameters: (T_IN in)
- Template: template
- Complexity Param 1 Return 1 Cyclo Vg 1 Total 3
- LOC 7 eLOC 6 lLOC 4 Comment 2 Lines 7
-
- Function: QP::QV::getVersion
- Parameters: (void)
- Complexity Param 0 Return 1 Cyclo Vg 1 Total 2
- LOC 3 eLOC 2 lLOC 1 Comment 1 Lines 3
-
- Function: QP::QXK::getVersion
- Parameters: (void)
- Complexity Param 0 Return 1 Cyclo Vg 1 Total 2
- LOC 3 eLOC 2 lLOC 1 Comment 1 Lines 3
-
- Function: QP::QXThread::init
- Parameters: (void)
- Complexity Param 0 Return 1 Cyclo Vg 1 Total 2
- LOC 1 eLOC 1 lLOC 1 Comment 2 Lines 1
-
- Function: QP::QXThread::start
- Parameters: (uint_fast8_t const prio, QEvt const *qSto[], uint_fast16_t
- const qLen, void * const stkSto, uint_fast16_t const stkSize
- )
- Complexity Param 5 Return 1 Cyclo Vg 1 Total 7
- LOC 4 eLOC 2 lLOC 1 Comment 1 Lines 4
-
- Function: QP::QF_EVT_POOL_ID_
- Parameters: (QEvt const * const e)
- Complexity Param 1 Return 1 Cyclo Vg 1 Total 3
- LOC 1 eLOC 1 lLOC 1 Comment 1 Lines 1
-
- Function: QP::QF_EVT_REF_CTR_
- Parameters: (QEvt const * const e)
- Complexity Param 1 Return 1 Cyclo Vg 1 Total 3
- LOC 1 eLOC 1 lLOC 1 Comment 1 Lines 1
-
- Function: QP::QF_EVT_REF_CTR_INC_
- Parameters: (QEvt const * const e)
- Complexity Param 1 Return 1 Cyclo Vg 1 Total 3
- LOC 3 eLOC 2 lLOC 1 Comment 1 Lines 3
-
- Function: QP::QF_EVT_REF_CTR_DEC_
- Parameters: (QEvt const * const e)
- Complexity Param 1 Return 1 Cyclo Vg 1 Total 3
- LOC 3 eLOC 2 lLOC 1 Comment 1 Lines 3
-
- Function: QP::QHsm::QHsm
- Parameters: (QStateHandler const initial)
- Complexity Param 1 Return 1 Cyclo Vg 1 Total 3
- LOC 4 eLOC 3 lLOC 2 Comment 8 Lines 4
-
- Function: QP::QHsm::~QHsm
- Parameters: ()
- Complexity Param 0 Return 1 Cyclo Vg 1 Total 2
- LOC 2 eLOC 1 lLOC 0 Comment 4 Lines 2
-
- Function: QP::QHsm::init
- Parameters: (QEvt const * const e)
- Complexity Param 1 Return 1 Cyclo Vg 6 Total 8
- LOC 49 eLOC 46 lLOC 30 Comment 30 Lines 67
-
- Function: QP::QHsm::top
- Parameters: (void * const, QEvt const * const)
- Complexity Param 2 Return 1 Cyclo Vg 1 Total 4
- LOC 3 eLOC 2 lLOC 1 Comment 15 Lines 3
-
- Function: QP::QHsm::dispatch
- Parameters: (QEvt const * const e)
- Complexity Param 1 Return 1 Cyclo Vg 13 Total 15
- LOC 107 eLOC 96 lLOC 61 Comment 65 Lines 147
-
- Function: QP::QHsm::hsm_tran
- Parameters: (QStateHandler (&path)[MAX_NEST_DEPTH_])
- Complexity Param 1 Return 1 Cyclo Vg 15 Total 17
- LOC 99 eLOC 79 lLOC 48 Comment 61 Lines 140
-
- Function: QP::QHsm::isIn
- Parameters: (QStateHandler const s)
- Complexity Param 1 Return 1 Cyclo Vg 3 Total 5
- LOC 16 eLOC 13 lLOC 9 Comment 21 Lines 23
-
- Function: QP::QHsm::childState
- Parameters: (QStateHandler const parent)
- Complexity Param 1 Return 1 Cyclo Vg 3 Total 5
- LOC 19 eLOC 16 lLOC 12 Comment 27 Lines 25
-
- Function: QP::QMsm::QMsm
- Parameters: (QStateHandler const initial)
- Complexity Param 1 Return 1 Cyclo Vg 1 Total 3
- LOC 4 eLOC 2 lLOC 2 Comment 13 Lines 4
-
- Function: QP::QMsm::init
- Parameters: (QEvt const * const e)
- Complexity Param 1 Return 1 Cyclo Vg 3 Total 5
- LOC 21 eLOC 20 lLOC 12 Comment 23 Lines 33
-
- Function: QP::QMsm::dispatch
- Parameters: (QEvt const * const e)
- Complexity Param 1 Return 1 Cyclo Vg 16 Total 18
- LOC 117 eLOC 100 lLOC 61 Comment 73 Lines 159
-
- Function: QP::QMsm::execTatbl_
- Parameters: (QMTranActTable const * const tatbl)
- Complexity Param 1 Return 1 Cyclo Vg 8 Total 10
- LOC 56 eLOC 46 lLOC 21 Comment 31 Lines 67
-
- Function: QP::QMsm::exitToTranSource_
- Parameters: (QMState const *s, QMState const * const ts)
- Complexity Param 2 Return 1 Cyclo Vg 4 Total 7
- LOC 18 eLOC 13 lLOC 6 Comment 17 Lines 24
-
- Function: QP::QMsm::enterHistory_
- Parameters: (QMState const * const hist)
- Complexity Param 1 Return 1 Cyclo Vg 6 Total 8
- LOC 40 eLOC 33 lLOC 21 Comment 22 Lines 48
-
- Function: QP::QMsm::isInState
- Parameters: (QMState const * const st)
- Complexity Param 1 Return 1 Cyclo Vg 3 Total 5
- LOC 13 eLOC 9 lLOC 5 Comment 15 Lines 14
-
- Function: QP::QMsm::childStateObj
- Parameters: (QMState const * const parent)
- Complexity Param 1 Return 1 Cyclo Vg 3 Total 5
- LOC 19 eLOC 14 lLOC 9 Comment 17 Lines 23
-
- Function: QP::QF::add_
- Parameters: (QActive * const a)
- Complexity Param 1 Return 1 Cyclo Vg 3 Total 5
- LOC 15 eLOC 14 lLOC 8 Comment 17 Lines 20
-
- Function: QP::QF::remove_
- Parameters: (QActive * const a)
- Complexity Param 1 Return 1 Cyclo Vg 3 Total 5
- LOC 16 eLOC 15 lLOC 9 Comment 18 Lines 21
-
- Function: QP::QF::bzero
- Parameters: (void * const start, uint_fast16_t len)
- Complexity Param 2 Return 1 Cyclo Vg 2 Total 5
- LOC 8 eLOC 6 lLOC 4 Comment 13 Lines 8
-
- Function: QP::QActive::post_
- Parameters: (QEvt const * const e, uint_fast16_t const margin)
- Complexity Param 2 Return 1 Cyclo Vg 8 Total 11
- LOC 59 eLOC 49 lLOC 34 Comment 71 Lines 81
-
- Function: QP::QActive::postLIFO
- Parameters: (QEvt const * const e)
- Complexity Param 1 Return 1 Cyclo Vg 5 Total 7
- LOC 36 eLOC 30 lLOC 20 Comment 32 Lines 48
-
- Function: QP::QActive::get_
- Parameters: (void)
- Complexity Param 0 Return 1 Cyclo Vg 3 Total 4
- LOC 37 eLOC 33 lLOC 21 Comment 27 Lines 48
-
- Function: QP::QF::getQueueMin
- Parameters: (uint_fast8_t const prio)
- Complexity Param 1 Return 1 Cyclo Vg 2 Total 4
- LOC 10 eLOC 9 lLOC 5 Comment 17 Lines 13
-
- Function: QP::QTicker::QTicker
- Parameters: (uint_fast8_t const tickRate)
- Complexity Param 1 Return 1 Cyclo Vg 1 Total 3
- LOC 3 eLOC 1 lLOC 1 Comment 2 Lines 4
-
- Function: QP::QTicker::init
- Parameters: (QEvt const * const)
- Complexity Param 1 Return 1 Cyclo Vg 1 Total 3
- LOC 3 eLOC 2 lLOC 1 Comment 2 Lines 3
-
- Function: QP::QTicker::dispatch
- Parameters: (QEvt const * const)
- Complexity Param 1 Return 1 Cyclo Vg 2 Total 4
- LOC 10 eLOC 8 lLOC 6 Comment 4 Lines 11
-
- Function: QP::QTicker::post_
- Parameters: (QEvt const * const , uint_fast16_t const /*margin*/)
- Complexity Param 2 Return 1 Cyclo Vg 2 Total 5
- LOC 31 eLOC 28 lLOC 16 Comment 16 Lines 38
-
- Function: QP::QTicker::postLIFO
- Parameters: (QEvt const * const)
- Complexity Param 1 Return 1 Cyclo Vg 1 Total 3
- LOC 3 eLOC 2 lLOC 1 Comment 3 Lines 3
-
- Function: QP::QActive::defer
- Parameters: (QEQueue * const eq, QEvt const * const e)
- Complexity Param 2 Return 1 Cyclo Vg 1 Total 4
- LOC 3 eLOC 2 lLOC 1 Comment 22 Lines 3
-
- Function: QP::QActive::recall
- Parameters: (QEQueue * const eq)
- Complexity Param 1 Return 1 Cyclo Vg 3 Total 5
- LOC 15 eLOC 12 lLOC 8 Comment 30 Lines 27
-
- Function: QP::QActive::flushDeferred
- Parameters: (QEQueue * const eq)
- Complexity Param 1 Return 1 Cyclo Vg 2 Total 4
- LOC 11 eLOC 8 lLOC 5 Comment 15 Lines 11
-
- Function: QP::QF::poolInit
- Parameters: (void * const poolSto, uint_fast32_t const poolSize, uint_fa
- st16_t const evtSize)
- Complexity Param 3 Return 1 Cyclo Vg 2 Total 6
- LOC 10 eLOC 8 lLOC 4 Comment 36 Lines 13
-
- Function: QP::QF::newX_
- Parameters: (uint_fast16_t const evtSize, uint_fast16_t const margin, en
- um_t const sig)
- Complexity Param 3 Return 1 Cyclo Vg 5 Total 9
- LOC 30 eLOC 24 lLOC 14 Comment 35 Lines 42
-
- Function: QP::QF::gc
- Parameters: (QEvt const * const e)
- Complexity Param 1 Return 1 Cyclo Vg 3 Total 5
- LOC 32 eLOC 28 lLOC 14 Comment 39 Lines 47
-
- Function: QP::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 15 Lines 14
-
- Function: QP::QF::poolGetMaxBlockSize
- Parameters: (void)
- Complexity Param 0 Return 1 Cyclo Vg 1 Total 2
- LOC 4 eLOC 3 lLOC 1 Comment 4 Lines 4
-
- Function: QP::QMPool::QMPool
- Parameters: (void)
- Complexity Param 0 Return 1 Cyclo Vg 1 Total 2
- LOC 1 eLOC 1 lLOC 0 Comment 9 Lines 1
-
- Function: QP::QMPool::init
- Parameters: (void * const poolSto, uint_fast32_t poolSize, uint_fast16_t
- blockSize)
- Complexity Param 3 Return 1 Cyclo Vg 5 Total 9
- LOC 35 eLOC 31 lLOC 22 Comment 51 Lines 58
-
- Function: QP::QMPool::put
- Parameters: (void * const b)
- Complexity Param 1 Return 1 Cyclo Vg 2 Total 4
- LOC 17 eLOC 16 lLOC 9 Comment 23 Lines 24
-
- Function: QP::QMPool::get
- Parameters: (uint_fast16_t const margin)
- Complexity Param 1 Return 1 Cyclo Vg 4 Total 6
- LOC 41 eLOC 35 lLOC 22 Comment 46 Lines 61
-
- Function: QP::QF::getPoolMin
- Parameters: (uint_fast8_t const poolId)
- Complexity Param 1 Return 1 Cyclo Vg 2 Total 4
- LOC 10 eLOC 9 lLOC 5 Comment 13 Lines 14
-
- Function: QP::QF::psInit
- Parameters: (QSubscrList * const subscrSto, enum_t const maxSignal)
- Complexity Param 2 Return 1 Cyclo Vg 1 Total 4
- LOC 7 eLOC 6 lLOC 3 Comment 30 Lines 11
-
- Function: QP::QF::publish_
- Parameters: (QEvt const * const e)
- Complexity Param 1 Return 1 Cyclo Vg 17 Total 19
- LOC 95 eLOC 84 lLOC 44 Comment 111 Lines 191
-
- Function: QP::QActive::QActive
- Parameters: (QStateHandler const initial)
- Complexity Param 1 Return 1 Cyclo Vg 1 Total 3
- LOC 9 eLOC 7 lLOC 3 Comment 1 Lines 11
-
- Function: QP::QEQueue::QEQueue
- Parameters: (void)
- Complexity Param 0 Return 1 Cyclo Vg 1 Total 2
- LOC 1 eLOC 1 lLOC 0 Comment 4 Lines 1
-
- Function: QP::QEQueue::init
- Parameters: (QEvt const *qSto[], uint_fast16_t const qLen)
- Complexity Param 2 Return 1 Cyclo Vg 2 Total 5
- LOC 17 eLOC 15 lLOC 9 Comment 19 Lines 18
-
- Function: QP::QEQueue::post
- Parameters: (QEvt const * const e, uint_fast16_t const margin)
- Complexity Param 2 Return 1 Cyclo Vg 6 Total 9
- LOC 52 eLOC 44 lLOC 29 Comment 52 Lines 73
-
- Function: QP::QEQueue::postLIFO
- Parameters: (QEvt const * const e)
- Complexity Param 1 Return 1 Cyclo Vg 5 Total 7
- LOC 33 eLOC 28 lLOC 19 Comment 36 Lines 44
-
- Function: QP::QEQueue::get
- Parameters: (void)
- Complexity Param 0 Return 1 Cyclo Vg 4 Total 5
- LOC 39 eLOC 34 lLOC 21 Comment 31 Lines 48
-
- Function: QP::QMActive::QMActive
- Parameters: (QStateHandler const initial)
- Complexity Param 1 Return 1 Cyclo Vg 1 Total 3
- LOC 4 eLOC 2 lLOC 2 Comment 1 Lines 4
-
- Function: QP::QMActive::init
- Parameters: (QEvt const * const e)
- Complexity Param 1 Return 1 Cyclo Vg 1 Total 3
- LOC 3 eLOC 2 lLOC 1 Comment 1 Lines 3
-
- Function: QP::QMActive::init
- Parameters: (void)
- Complexity Param 0 Return 1 Cyclo Vg 1 Total 2
- LOC 3 eLOC 2 lLOC 1 Comment 1 Lines 3
-
- Function: QP::QMActive::dispatch
- Parameters: (QEvt const * const e)
- Complexity Param 1 Return 1 Cyclo Vg 1 Total 3
- LOC 3 eLOC 2 lLOC 1 Comment 1 Lines 3
-
- Function: QP::QMActive::isInState
- Parameters: (QMState const * const st)
- Complexity Param 1 Return 1 Cyclo Vg 1 Total 3
- LOC 3 eLOC 2 lLOC 1 Comment 1 Lines 3
-
- Function: QP::QMActive::childStateObj
- Parameters: (QMState const * const parent)
- Complexity Param 1 Return 1 Cyclo Vg 1 Total 3
- LOC 3 eLOC 2 lLOC 1 Comment 1 Lines 3
-
- Function: QP::QF::tickX_
- Parameters: (uint_fast8_t const tickRate)
- Complexity Param 1 Return 1 Cyclo Vg 7 Total 9
- LOC 66 eLOC 54 lLOC 36 Comment 52 Lines 95
-
- Function: QP::QF::noTimeEvtsActiveX
- Parameters: (uint_fast8_t const tickRate)
- Complexity Param 1 Return 1 Cyclo Vg 3 Total 5
- LOC 14 eLOC 10 lLOC 6 Comment 12 Lines 16
-
- Function: QP::QTimeEvt::QTimeEvt
- Parameters: (QActive * const act, enum_t const sgnl, uint_fast8_t const
- tickRate) Defined By Compiler Directive
- Complexity Param 3 Return 1 Cyclo Vg 2 Total 6
- LOC 9 eLOC 7 lLOC 4 Comment 22 Lines 22
-
- Function: QP::QTimeEvt::QTimeEvt
- Parameters: () Defined By Compiler Directive
- Complexity Param 1 Return 1 Cyclo Vg 1 Total 3
- LOC 7 eLOC 5 lLOC 3 Comment 12 Lines 18
-
- Function: QP::QTimeEvt::armX
- Parameters: (QTimeEvtCtr const nTicks, QTimeEvtCtr const interval)
- Complexity Param 2 Return 1 Cyclo Vg 6 Total 9
- LOC 28 eLOC 26 lLOC 16 Comment 48 Lines 50
-
- Function: QP::QTimeEvt::disarm
- Parameters: (void)
- Complexity Param 0 Return 1 Cyclo Vg 2 Total 3
- LOC 30 eLOC 27 lLOC 17 Comment 27 Lines 38
-
- Function: QP::QTimeEvt::rearm
- Parameters: (QTimeEvtCtr const nTicks)
- Complexity Param 1 Return 1 Cyclo Vg 7 Total 9
- LOC 42 eLOC 35 lLOC 20 Comment 49 Lines 68
-
- Function: QP::QTimeEvt::ctr
- Parameters: (void)
- Complexity Param 0 Return 1 Cyclo Vg 1 Total 2
- LOC 15 eLOC 14 lLOC 10 Comment 16 Lines 18
-
- Function: QP::QF::stop
- Parameters: (void)
- Complexity Param 0 Return 1 Cyclo Vg 1 Total 2
- LOC 3 eLOC 2 lLOC 1 Comment 13 Lines 4
-
- Function: QP::QF::run
- Parameters: (void)
- Complexity Param 0 Return 1 Cyclo Vg 5 Total 6
- LOC 47 eLOC 41 lLOC 21 Comment 44 Lines 73
-
- Function: QP::QActive::start
- Parameters: (uint_fast8_t const prio, QEvt const *qSto[], uint_fast16_t
- const qLen, void * const stkSto, uint_fast16_t const, QEvt c
- onst * const ie)
- Complexity Param 6 Return 1 Cyclo Vg 3 Total 10
- LOC 10 eLOC 8 lLOC 6 Comment 26 Lines 16
-
- Function: QP::QActive::stop
- Parameters: (void)
- Complexity Param 0 Return 1 Cyclo Vg 1 Total 2
- LOC 7 eLOC 6 lLOC 4 Comment 14 Lines 8
-
- Function: QP::QF::init
- Parameters: (void)
- Complexity Param 0 Return 1 Cyclo Vg 1 Total 2
- LOC 14 eLOC 13 lLOC 9 Comment 14 Lines 17
-
- Function: QP::QF::stop
- Parameters: (void)
- Complexity Param 0 Return 1 Cyclo Vg 1 Total 2
- LOC 3 eLOC 2 lLOC 1 Comment 13 Lines 4
-
- Function: QP::initial_events
- Parameters: (void)
- Complexity Param 0 Return 1 Cyclo Vg 2 Total 3
- LOC 6 eLOC 4 lLOC 2 Comment 6 Lines 8
-
- Function: QP::QF::run
- Parameters: (void)
- Complexity Param 0 Return 1 Cyclo Vg 2 Total 3
- LOC 12 eLOC 10 lLOC 7 Comment 21 Lines 14
-
- Function: QP::QActive::start
- Parameters: (uint_fast8_t const prio, QEvt const *qSto[], uint_fast16_t
- const qLen, void * const stkSto, uint_fast16_t const, QEvt c
- onst * const ie)
- Complexity Param 6 Return 1 Cyclo Vg 5 Total 12
- LOC 17 eLOC 14 lLOC 9 Comment 29 Lines 26
-
- Function: QP::QActive::stop
- Parameters: (void)
- Complexity Param 0 Return 1 Cyclo Vg 2 Total 3
- LOC 11 eLOC 9 lLOC 6 Comment 14 Lines 14
-
- Function: QK_activate_
- Parameters: (void)
- Complexity Param 0 Return 1 Cyclo Vg 7 Total 8
- LOC 62 eLOC 54 lLOC 28 Comment 48 Lines 89
-
- Function: QP::QMutex::init
- Parameters: (uint_fast8_t const prio)
- Complexity Param 1 Return 1 Cyclo Vg 1 Total 3
- LOC 4 eLOC 3 lLOC 2 Comment 15 Lines 4
-
- Function: QP::QMutex::lock
- Parameters: (void)
- Complexity Param 0 Return 1 Cyclo Vg 3 Total 4
- LOC 17 eLOC 15 lLOC 7 Comment 24 Lines 23
-
- Function: QP::QMutex::unlock
- Parameters: (void)
- Complexity Param 0 Return 1 Cyclo Vg 5 Total 6
- LOC 23 eLOC 20 lLOC 9 Comment 25 Lines 31
-
- Function: QP::QXKIdleThread::QXKIdleThread
- Parameters: ()
- Complexity Param 0 Return 1 Cyclo Vg 1 Total 2
- LOC 1 eLOC 1 lLOC 0 Comment 0 Lines 1
-
- Function: QP::QF::init
- Parameters: (void)
- Complexity Param 0 Return 1 Cyclo Vg 1 Total 2
- LOC 15 eLOC 14 lLOC 11 Comment 15 Lines 21
-
- Function: QP::QF::stop
- Parameters: (void)
- Complexity Param 0 Return 1 Cyclo Vg 1 Total 2
- LOC 3 eLOC 2 lLOC 1 Comment 13 Lines 4
-
- Function: QP::initial_events
- Parameters: (void)
- Complexity Param 0 Return 1 Cyclo Vg 2 Total 3
- LOC 6 eLOC 4 lLOC 2 Comment 6 Lines 8
-
- Function: QP::QF::run
- Parameters: (void)
- Complexity Param 0 Return 1 Cyclo Vg 2 Total 3
- LOC 12 eLOC 10 lLOC 7 Comment 13 Lines 15
-
- Function: QP::QActive::start
- Parameters: (uint_fast8_t const prio, QEvt const *qSto[], uint_fast16_t
- const qLen, void * const stkSto, uint_fast16_t const stkSize
- , QEvt const * const ie)
- Complexity Param 6 Return 1 Cyclo Vg 6 Total 13
- LOC 21 eLOC 18 lLOC 12 Comment 28 Lines 31
-
- Function: QP::QActive::stop
- Parameters: (void)
- Complexity Param 0 Return 1 Cyclo Vg 3 Total 4
- LOC 12 eLOC 10 lLOC 6 Comment 14 Lines 15
-
- Function: static_cast
- Parameters: (0))
- Complexity Param 1 Return 1 Cyclo Vg 3 Total 5
- LOC 24 eLOC 19 lLOC 8 Comment 8 Lines 28
-
- Function: QXK_activate_
- Parameters: (void)
- Complexity Param 0 Return 1 Cyclo Vg 8 Total 9
- LOC 78 eLOC 68 lLOC 34 Comment 54 Lines 108
-
- Function: QXK_current
- Parameters: (void)
- Complexity Param 0 Return 1 Cyclo Vg 1 Total 2
- LOC 9 eLOC 8 lLOC 6 Comment 2 Lines 13
-
- Function: QP::QXMutex::init
- Parameters: (uint_fast8_t const prio)
- Complexity Param 1 Return 1 Cyclo Vg 1 Total 3
- LOC 4 eLOC 3 lLOC 2 Comment 15 Lines 4
-
- Function: QP::QXMutex::lock
- Parameters: (void)
- Complexity Param 0 Return 1 Cyclo Vg 4 Total 5
- LOC 22 eLOC 20 lLOC 9 Comment 28 Lines 29
-
- Function: QP::QXMutex::unlock
- Parameters: (void)
- Complexity Param 0 Return 1 Cyclo Vg 5 Total 6
- LOC 24 eLOC 21 lLOC 10 Comment 28 Lines 31
-
- Function: QP::QXSemaphore::init
- Parameters: (uint_fast16_t const count)
- Complexity Param 1 Return 1 Cyclo Vg 1 Total 3
- LOC 4 eLOC 3 lLOC 2 Comment 14 Lines 4
-
- Function: QP::QXSemaphore::wait
- Parameters: (uint_fast16_t const nTicks, uint_fast8_t const tickRate)
- Complexity Param 2 Return 1 Cyclo Vg 4 Total 7
- LOC 27 eLOC 23 lLOC 17 Comment 32 Lines 35
-
- Function: QP::QXSemaphore::signal
- Parameters: (void)
- Complexity Param 0 Return 1 Cyclo Vg 4 Total 5
- LOC 20 eLOC 16 lLOC 10 Comment 17 Lines 27
-
- Function: QP::QXThread::QXThread
- Parameters: (QXThreadHandler const handler, uint_fast8_t const tickRate)
- Complexity Param 2 Return 1 Cyclo Vg 1 Total 4
- LOC 3 eLOC 1 lLOC 1 Comment 17 Lines 3
-
- Function: QP::QXThread::init
- Parameters: (QEvt const * const)
- Complexity Param 1 Return 1 Cyclo Vg 1 Total 3
- LOC 3 eLOC 2 lLOC 1 Comment 3 Lines 3
-
- Function: QP::QXThread::dispatch
- Parameters: (QEvt const * const)
- Complexity Param 1 Return 1 Cyclo Vg 1 Total 3
- LOC 3 eLOC 2 lLOC 1 Comment 2 Lines 3
-
- Function: QP::QXThread::start
- Parameters: (uint_fast8_t const prio, QEvt const *qSto[], uint_fast16_t
- const qLen, void * const stkSto, uint_fast16_t const stkSize
- , QEvt const * const)
- Complexity Param 6 Return 1 Cyclo Vg 6 Total 13
- LOC 20 eLOC 17 lLOC 10 Comment 32 Lines 33
-
- Function: QP::QXThread::post_
- Parameters: (QEvt const * const e, uint_fast16_t const margin)
- Complexity Param 2 Return 1 Cyclo Vg 10 Total 13
- LOC 79 eLOC 64 lLOC 44 Comment 63 Lines 111
-
- Function: QP::QXThread::postLIFO
- Parameters: (QEvt const * const)
- Complexity Param 1 Return 1 Cyclo Vg 1 Total 3
- LOC 3 eLOC 2 lLOC 1 Comment 9 Lines 3
-
- Function: QP::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 34 Comment 49 Lines 82
-
- Function: QP::QXThread::block_
- Parameters: (void)
- Complexity Param 0 Return 1 Cyclo Vg 1 Total 2
- LOC 5 eLOC 4 lLOC 3 Comment 8 Lines 6
-
- Function: QP::QXThread::unblock_
- Parameters: (void)
- Complexity Param 0 Return 1 Cyclo Vg 3 Total 4
- LOC 8 eLOC 5 lLOC 2 Comment 9 Lines 9
-
- Function: QP::QXThread::teArm_
- Parameters: (enum_t const sig, uint_fast16_t const nTicks, uint_fast8_t
- const tickRate)
- Complexity Param 3 Return 1 Cyclo Vg 3 Total 7
- LOC 16 eLOC 11 lLOC 7 Comment 21 Lines 32
-
- Function: QP::QXThread::teDisarm_
- Parameters: (void)
- Complexity Param 0 Return 1 Cyclo Vg 2 Total 3
- LOC 11 eLOC 8 lLOC 5 Comment 10 Lines 14
-
- Function: QP::QXThread::delay
- Parameters: (uint_fast16_t const nTicks, uint_fast8_t const tickRate)
- Complexity Param 2 Return 1 Cyclo Vg 1 Total 4
- LOC 17 eLOC 15 lLOC 13 Comment 9 Lines 27
-
- Function: QP::QXThread::delayCancel
- Parameters: (void)
- Complexity Param 0 Return 1 Cyclo Vg 2 Total 3
- LOC 14 eLOC 11 lLOC 7 Comment 2 Lines 16
-
- Total: Functions
- LOC 2544 eLOC 2110 lLOC 1261 InCmp 339 CycloCmp 429
- Function Points FP(LOC) 43.0 FP(eLOC) 36.2 FP(lLOC) 21.9
-
- ------------------------------------------------------------------------
-
- ~~ Project Functional Analysis ~~
-
- Total Functions .......: 173 Total Physical Lines ..: 3454
- Total LOC .............: 2544 Total Function Pts LOC : 43.0
- Total eLOC ............: 2110 Total Function Pts eLOC: 36.2
- Total lLOC.............: 1261 Total Function Pts lLOC: 21.9
- Total Cyclomatic Comp. : 429 Total Interface Comp. .: 339
- Total Parameters ......: 166 Total Return Points ...: 173
- Total Comment Lines ...: 2474 Total Blank Lines .....: 461
- ------ ----- ----- ------ ------ -----
- Avg Physical Lines ....: 19.97
- Avg LOC ...............: 14.71 Avg eLOC ..............: 12.20
- Avg lLOC ..............: 7.29 Avg Cyclomatic Comp. ..: 2.48
- Avg Interface Comp. ...: 1.96 Avg Parameters ........: 0.96
- Avg Return Points .....: 1.00 Avg Comment Lines .....: 14.30
- ------ ----- ----- ------ ------ -----
- Max LOC ...............: 117
- Max eLOC ..............: 100 Max lLOC ..............: 61
- Max Cyclomatic Comp. ..: 17 Max Interface Comp. ...: 7
- Max Parameters ........: 6 Max Return Points .....: 1
- Max Comment Lines .....: 111 Max Total Lines .......: 191
- ------ ----- ----- ------ ------ -----
- Min LOC ...............: 1
- Min eLOC ..............: 1 Min lLOC ..............: 0
- Min Cyclomatic Comp. ..: 1 Min Interface Comp. ...: 1
- Min Parameters ........: 0 Min Return Points .....: 1
- Min Comment Lines .....: 0 Min Total Lines .......: 1
-
- ------------------------------------------------------------------------
-
- ~~ File Summary ~~
-
- C Source Files *.c ....: 0 C/C++ Include Files *.h: 17
- C++ Source Files *.c* .: 19 C++ Include Files *.h* : 0
- C# Source Files *.cs ..: 0 Java Source File *.jav*: 0
- Other File Count ......: 0 Total File Count ......: 36
- ________________________________________________________________________
-
-@endcode
-*/
+/** @page metrics Code Metrics
+
+@code
+ Standard Code Metrics for QP/C++ 5.9.5
+
+ 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 20, 2017
+ (C)1996-2009 M Squared Technologies LLC
+ ________________________________________________________________________
+
+ ~~ Function Metrics ~~
+ ~~ Complexity Detail Analysis ~~
+
+ File: ..\include\qassert.h
+ ________________________________________________________________________
+
+ ~~ Total File Summary ~~
+
+ LOC 49 eLOC 48 lLOC 3 Comment 240 Lines 309
+ ________________________________________________________________________
+ End of File: ..\include\qassert.h
+
+
+ File: ..\include\qep.h
+ ________________________________________________________________________
+
+ Inline Function: QP::QEvt::QEvt
+ Parameters: (QSignal const s)
+ Complexity Param 1 Return 1 Cyclo Vg 1 Total 3
+ LOC 1 eLOC 1 lLOC 0 Comment 2 Lines 1
+
+ Inline Function: QP::QEvt::QEvt
+ Parameters: (QSignal const s, StaticEvt)
+ Complexity Param 2 Return 1 Cyclo Vg 1 Total 4
+ LOC 1 eLOC 1 lLOC 0 Comment 2 Lines 1
+
+ Inline Function: QP::QEvt::~QEvt
+ Parameters: ()
+ Complexity Param 0 Return 1 Cyclo Vg 1 Total 2
+ LOC 1 eLOC 1 lLOC 0 Comment 1 Lines 1
+
+ Inline Function: QP::QHsm::init
+ Parameters: (void)
+ Complexity Param 0 Return 1 Cyclo Vg 1 Total 2
+ LOC 1 eLOC 1 lLOC 1 Comment 1 Lines 1
+
+ Inline Function: QP::QHsm::state
+ Parameters: (void)
+ Complexity Param 0 Return 1 Cyclo Vg 1 Total 2
+ LOC 3 eLOC 2 lLOC 1 Comment 2 Lines 3
+
+ Inline Function: QP::QHsm::Q_HANDLED
+ Parameters: (void)
+ Complexity Param 0 Return 1 Cyclo Vg 1 Total 2
+ LOC 3 eLOC 2 lLOC 1 Comment 3 Lines 3
+
+ Inline Function: QP::QHsm::Q_UNHANDLED
+ Parameters: (void)
+ Complexity Param 0 Return 1 Cyclo Vg 1 Total 2
+ LOC 3 eLOC 2 lLOC 1 Comment 4 Lines 3
+
+ Inline Function: QP::QHsm::tran_
+ Parameters: (QStateHandler const target)
+ Complexity Param 1 Return 1 Cyclo Vg 1 Total 3
+ LOC 4 eLOC 3 lLOC 2 Comment 1 Lines 4
+
+ Inline Function: QP::QHsm::tran_hist_
+ Parameters: (QStateHandler const hist)
+ Complexity Param 1 Return 1 Cyclo Vg 1 Total 3
+ LOC 4 eLOC 3 lLOC 2 Comment 1 Lines 4
+
+ Inline Function: QP::QHsm::super_
+ Parameters: (QStateHandler const superstate)
+ Complexity Param 1 Return 1 Cyclo Vg 1 Total 3
+ LOC 4 eLOC 3 lLOC 2 Comment 1 Lines 4
+
+ Inline Function: QP::QHsm::qm_tran_
+ Parameters: (QMTranActTable const * const tatbl)
+ Complexity Param 1 Return 1 Cyclo Vg 1 Total 3
+ LOC 4 eLOC 3 lLOC 2 Comment 2 Lines 4
+
+ Inline Function: QP::QHsm::qm_tran_hist_
+ Parameters: (QMState const * const hist, QMTranActTable const * const ta
+ tbl)
+ Complexity Param 2 Return 1 Cyclo Vg 1 Total 4
+ LOC 5 eLOC 3 lLOC 3 Comment 1 Lines 5
+
+ Inline Function: QP::QHsm::qm_tran_init_
+ Parameters: (QMTranActTable const * const tatbl)
+ Complexity Param 1 Return 1 Cyclo Vg 1 Total 3
+ LOC 4 eLOC 3 lLOC 2 Comment 1 Lines 4
+
+ Inline Function: QP::QHsm::qm_tran_ep_
+ Parameters: (QMTranActTable const * const tatbl)
+ Complexity Param 1 Return 1 Cyclo Vg 1 Total 3
+ LOC 4 eLOC 3 lLOC 2 Comment 2 Lines 4
+
+ Inline Function: QP::QHsm::qm_tran_xp_
+ Parameters: (QActionHandler const xp, QMTranActTable const *const tatbl)
+ Complexity Param 2 Return 1 Cyclo Vg 1 Total 4
+ LOC 5 eLOC 3 lLOC 3 Comment 2 Lines 5
+
+ Inline Function: QP::QHsm::qm_entry_
+ Parameters: (QMState const * const s)
+ Complexity Param 1 Return 1 Cyclo Vg 1 Total 3
+ LOC 4 eLOC 3 lLOC 2 Comment 1 Lines 4
+
+ Inline Function: QP::QHsm::qm_exit_
+ Parameters: (QMState const * const s)
+ Complexity Param 1 Return 1 Cyclo Vg 1 Total 3
+ LOC 4 eLOC 3 lLOC 2 Comment 1 Lines 4
+
+ Inline Function: QP::QHsm::qm_super_sub_
+ Parameters: (QMState const * const s)
+ Complexity Param 1 Return 1 Cyclo Vg 1 Total 3
+ LOC 4 eLOC 3 lLOC 2 Comment 2 Lines 4
+
+ Inline Function: QP::QHsm::QM_HANDLED
+ Parameters: (void)
+ Complexity Param 0 Return 1 Cyclo Vg 1 Total 2
+ LOC 3 eLOC 2 lLOC 1 Comment 2 Lines 3
+
+ Inline Function: QP::QHsm::QM_UNHANDLED
+ Parameters: (void)
+ Complexity Param 0 Return 1 Cyclo Vg 1 Total 2
+ LOC 3 eLOC 2 lLOC 1 Comment 2 Lines 3
+
+ Inline Function: QP::QHsm::QM_SUPER
+ Parameters: (void)
+ Complexity Param 0 Return 1 Cyclo Vg 1 Total 2
+ LOC 3 eLOC 2 lLOC 1 Comment 2 Lines 3
+
+ Inline Function: QP::QMsm::init
+ Parameters: (void)
+ Complexity Param 0 Return 1 Cyclo Vg 1 Total 2
+ LOC 1 eLOC 1 lLOC 1 Comment 2 Lines 1
+
+ Inline Function: QP::QMsm::stateObj
+ Parameters: (void) Non-ANSI Parameter Construct
+ Complexity Param 1 Return 1 Cyclo Vg 1 Total 3
+ LOC 3 eLOC 2 lLOC 1 Comment 1 Lines 3
+
+ Inline Function: QP::QEP::getVersion
+ Parameters: (void) Non-ANSI Parameter Construct
+ Complexity Param 1 Return 1 Cyclo Vg 1 Total 3
+ LOC 3 eLOC 2 lLOC 1 Comment 1 Lines 3
+
+ ------------------------------------------------------------------------
+
+ ~~ Total File Summary ~~
+
+ LOC 259 eLOC 227 lLOC 129 Comment 317 Lines 664
+ ------------------------------------------------------------------------
+
+ ~~ File Functional Summary ~~
+
+ File Function Count....: 24
+ Total Function LOC.....: 75 Total Function Pts LOC : 0.0
+ Total Function eLOC....: 54 Total Function Pts eLOC: 0.0
+ Total Function lLOC....: 34 Total Function Pts lLOC: 0.0
+ Total Function Params .: 18 Total Function Return .: 24
+ Total Cyclo Complexity : 24 Total Function Complex.: 66
+ ------ ----- ----- ------ ------ -----
+ Max Function LOC ......: 5 Average Function LOC ..: 3.13
+ Max Function eLOC .....: 3 Average Function eLOC .: 2.25
+ Max Function lLOC .....: 3 Average Function lLOC .: 1.42
+ ------ ----- ----- ------ ------ -----
+ Max Function Parameters: 2 Avg Function Parameters: 0.75
+ Max Function Returns ..: 1 Avg Function Returns ..: 1.00
+ Max Interface Complex. : 3 Avg Interface Complex. : 1.75
+ Max Cyclomatic Complex.: 1 Avg Cyclomatic Complex.: 1.00
+ Max Total Complexity ..: 4 Avg Total Complexity ..: 2.75
+ ________________________________________________________________________
+ End of File: ..\include\qep.h
+
+
+ File: ..\include\qequeue.h
+ ________________________________________________________________________
+
+ Inline Function: QP::QEQueue::getNFree
+ Parameters: (void)
+ Complexity Param 0 Return 1 Cyclo Vg 1 Total 2
+ LOC 3 eLOC 2 lLOC 1 Comment 10 Lines 3
+
+ Inline Function: QP::QEQueue::isEmpty
+ Parameters: (void)
+ Complexity Param 0 Return 1 Cyclo Vg 1 Total 2
+ LOC 3 eLOC 2 lLOC 1 Comment 10 Lines 3
+
+ ------------------------------------------------------------------------
+
+ ~~ Total File Summary ~~
+
+ LOC 46 eLOC 42 lLOC 24 Comment 184 Lines 257
+ ------------------------------------------------------------------------
+
+ ~~ File Functional Summary ~~
+
+ File Function Count....: 2
+ Total Function LOC.....: 6 Total Function Pts LOC : 0.0
+ Total Function eLOC....: 4 Total Function Pts eLOC: 0.0
+ Total Function lLOC....: 2 Total Function Pts lLOC: 0.0
+ Total Function Params .: 0 Total Function Return .: 2
+ Total Cyclo Complexity : 2 Total Function Complex.: 4
+ ------ ----- ----- ------ ------ -----
+ Max Function LOC ......: 3 Average Function LOC ..: 3.00
+ Max Function eLOC .....: 2 Average Function eLOC .: 2.00
+ Max Function lLOC .....: 1 Average Function lLOC .: 1.00
+ ------ ----- ----- ------ ------ -----
+ Max Function Parameters: 0 Avg Function Parameters: 0.00
+ Max Function Returns ..: 1 Avg Function Returns ..: 1.00
+ Max Interface Complex. : 1 Avg Interface Complex. : 1.00
+ Max Cyclomatic Complex.: 1 Avg Cyclomatic Complex.: 1.00
+ Max Total Complexity ..: 2 Avg Total Complexity ..: 2.00
+ ________________________________________________________________________
+ End of File: ..\include\qequeue.h
+
+
+ File: ..\include\qf.h
+ ________________________________________________________________________
+
+ Inline Function: QP::QActive::start
+ Parameters: (uint_fast8_t const prio, QEvt const *qSto[], uint_fast16_t
+ const qLen, void * const stkSto, uint_fast16_t const stkSize
+ )
+ Complexity Param 5 Return 1 Cyclo Vg 1 Total 7
+ LOC 4 eLOC 2 lLOC 1 Comment 1 Lines 4
+
+ Inline Function: QP::QActive::getPrio
+ Parameters: (void) Non-ANSI Parameter Construct
+ Complexity Param 1 Return 1 Cyclo Vg 1 Total 3
+ LOC 3 eLOC 2 lLOC 1 Comment 1 Lines 3
+
+ Inline Function: QP::QActive::setPrio
+ Parameters: (uint_fast8_t const prio)
+ Complexity Param 1 Return 1 Cyclo Vg 1 Total 3
+ LOC 3 eLOC 2 lLOC 1 Comment 1 Lines 3
+
+ Inline Function: QP::QActive::getOsObject
+ Parameters: (void)
+ Complexity Param 0 Return 1 Cyclo Vg 1 Total 2
+ LOC 1 eLOC 1 lLOC 1 Comment 2 Lines 1
+
+ Inline Function: QP::QActive::getThread
+ Parameters: (void)
+ Complexity Param 0 Return 1 Cyclo Vg 1 Total 2
+ LOC 1 eLOC 1 lLOC 1 Comment 2 Lines 1
+
+ Inline Function: QP::QMActive::stateObj
+ Parameters: (void) Non-ANSI Parameter Construct
+ Complexity Param 1 Return 1 Cyclo Vg 1 Total 3
+ LOC 3 eLOC 2 lLOC 1 Comment 1 Lines 3
+
+ Inline Function: QP::QTimeEvt::QTimeEvt
+ Parameters: (enum_t const sgnl) Non-ANSI Parameter Construct Defined By
+ Compiler Directive
+ Complexity Param 1 Return 1 Cyclo Vg 1 Total 3
+ LOC 7 eLOC 5 lLOC 3 Comment 5 Lines 8
+
+ Inline Function: QP::QTimeEvt::postIn
+ Parameters: (QActive * const act, QTimeEvtCtr const nTicks)
+ Complexity Param 2 Return 1 Cyclo Vg 1 Total 4
+ LOC 4 eLOC 3 lLOC 2 Comment 1 Lines 4
+
+ Inline Function: QP::QTimeEvt::postEvery
+ Parameters: (QActive * const act, QTimeEvtCtr const nTicks)
+ Complexity Param 2 Return 1 Cyclo Vg 1 Total 4
+ LOC 4 eLOC 3 lLOC 2 Comment 1 Lines 4
+
+ Inline Function: QP::QTimeEvt::toActive
+ Parameters: (void)
+ Complexity Param 0 Return 1 Cyclo Vg 1 Total 2
+ LOC 1 eLOC 1 lLOC 1 Comment 1 Lines 1
+
+ Inline Function: QP::QTimeEvt::toTimeEvt
+ Parameters: (void)
+ Complexity Param 0 Return 1 Cyclo Vg 1 Total 2
+ LOC 1 eLOC 1 lLOC 1 Comment 1 Lines 1
+
+ Inline Function: QP::QF::getVersion
+ Parameters: (void)
+ Complexity Param 0 Return 1 Cyclo Vg 1 Total 2
+ LOC 3 eLOC 2 lLOC 1 Comment 1 Lines 3
+
+ Inline Function: QP::QTicker::init
+ Parameters: (void)
+ Complexity Param 0 Return 1 Cyclo Vg 1 Total 2
+ LOC 1 eLOC 1 lLOC 1 Comment 0 Lines 1
+
+ ------------------------------------------------------------------------
+
+ ~~ Total File Summary ~~
+
+ LOC 280 eLOC 264 lLOC 117 Comment 483 Lines 867
+ ------------------------------------------------------------------------
+
+ ~~ File Functional Summary ~~
+
+ File Function Count....: 13
+ Total Function LOC.....: 36 Total Function Pts LOC : 0.0
+ Total Function eLOC....: 26 Total Function Pts eLOC: 0.0
+ Total Function lLOC....: 17 Total Function Pts lLOC: 0.0
+ Total Function Params .: 13 Total Function Return .: 13
+ Total Cyclo Complexity : 13 Total Function Complex.: 39
+ ------ ----- ----- ------ ------ -----
+ Max Function LOC ......: 7 Average Function LOC ..: 2.77
+ Max Function eLOC .....: 5 Average Function eLOC .: 2.00
+ Max Function lLOC .....: 3 Average Function lLOC .: 1.31
+ ------ ----- ----- ------ ------ -----
+ Max Function Parameters: 5 Avg Function Parameters: 1.00
+ Max Function Returns ..: 1 Avg Function Returns ..: 1.00
+ Max Interface Complex. : 6 Avg Interface Complex. : 2.00
+ Max Cyclomatic Complex.: 1 Avg Cyclomatic Complex.: 1.00
+ Max Total Complexity ..: 7 Avg Total Complexity ..: 3.00
+ ________________________________________________________________________
+ End of File: ..\include\qf.h
+
+
+ File: ..\include\qk.h
+ ________________________________________________________________________
+
+ Inline Function: QP::QK::getVersion
+ Parameters: (void)
+ Complexity Param 0 Return 1 Cyclo Vg 1 Total 2
+ LOC 3 eLOC 2 lLOC 1 Comment 1 Lines 3
+
+ ------------------------------------------------------------------------
+
+ ~~ Total File Summary ~~
+
+ LOC 79 eLOC 73 lLOC 27 Comment 102 Lines 196
+ ------------------------------------------------------------------------
+
+ ~~ File Functional Summary ~~
+
+ File Function Count....: 1
+ Total Function LOC.....: 3 Total Function Pts LOC : 0.0
+ Total Function eLOC....: 2 Total Function Pts eLOC: 0.0
+ Total Function lLOC....: 1 Total Function Pts lLOC: 0.0
+ Total Function Params .: 0 Total Function Return .: 1
+ Total Cyclo Complexity : 1 Total Function Complex.: 2
+ ------ ----- ----- ------ ------ -----
+ Max Function LOC ......: 3 Average Function LOC ..: 3.00
+ Max Function eLOC .....: 2 Average Function eLOC .: 2.00
+ Max Function lLOC .....: 1 Average Function lLOC .: 1.00
+ ------ ----- ----- ------ ------ -----
+ Max Function Parameters: 0 Avg Function Parameters: 0.00
+ Max Function Returns ..: 1 Avg Function Returns ..: 1.00
+ Max Interface Complex. : 1 Avg Interface Complex. : 1.00
+ Max Cyclomatic Complex.: 1 Avg Cyclomatic Complex.: 1.00
+ Max Total Complexity ..: 2 Avg Total Complexity ..: 2.00
+ ________________________________________________________________________
+ End of File: ..\include\qk.h
+
+
+ File: ..\include\qmpool.h
+ ________________________________________________________________________
+
+ Inline Function: QP::QMPool::getBlockSize
+ Parameters: (void)
+ Complexity Param 0 Return 1 Cyclo Vg 1 Total 2
+ LOC 3 eLOC 2 lLOC 1 Comment 1 Lines 3
+
+ ------------------------------------------------------------------------
+
+ ~~ Total File Summary ~~
+
+ LOC 54 eLOC 51 lLOC 23 Comment 94 Lines 166
+ ------------------------------------------------------------------------
+
+ ~~ File Functional Summary ~~
+
+ File Function Count....: 1
+ Total Function LOC.....: 3 Total Function Pts LOC : 0.0
+ Total Function eLOC....: 2 Total Function Pts eLOC: 0.0
+ Total Function lLOC....: 1 Total Function Pts lLOC: 0.0
+ Total Function Params .: 0 Total Function Return .: 1
+ Total Cyclo Complexity : 1 Total Function Complex.: 2
+ ------ ----- ----- ------ ------ -----
+ Max Function LOC ......: 3 Average Function LOC ..: 3.00
+ Max Function eLOC .....: 2 Average Function eLOC .: 2.00
+ Max Function lLOC .....: 1 Average Function lLOC .: 1.00
+ ------ ----- ----- ------ ------ -----
+ Max Function Parameters: 0 Avg Function Parameters: 0.00
+ Max Function Returns ..: 1 Avg Function Returns ..: 1.00
+ Max Interface Complex. : 1 Avg Interface Complex. : 1.00
+ Max Cyclomatic Complex.: 1 Avg Cyclomatic Complex.: 1.00
+ Max Total Complexity ..: 2 Avg Total Complexity ..: 2.00
+ ________________________________________________________________________
+ End of File: ..\include\qmpool.h
+
+
+ File: ..\include\qp_port.h
+ ________________________________________________________________________
+
+ ~~ Total File Summary ~~
+
+ LOC 4 eLOC 4 lLOC 0 Comment 38 Lines 44
+ ________________________________________________________________________
+ End of File: ..\include\qp_port.h
+
+
+ File: ..\include\qpcpp.h
+ ________________________________________________________________________
+
+ ~~ Total File Summary ~~
+
+ LOC 40 eLOC 39 lLOC 1 Comment 89 Lines 144
+ ________________________________________________________________________
+ End of File: ..\include\qpcpp.h
+
+
+ File: ..\include\qpset.h
+ ________________________________________________________________________
+
+ Inline Function: QP::QF_LOG2
+ Parameters: (uint32_t const 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 8 Lines 26
+
+ Inline Function: QP::QPSet::setEmpty
+ Parameters: (void)
+ Complexity Param 0 Return 1 Cyclo Vg 1 Total 2
+ LOC 3 eLOC 2 lLOC 1 Comment 1 Lines 3
+
+ Inline Function: QP::QPSet::isEmpty
+ Parameters: (void)
+ Complexity Param 0 Return 1 Cyclo Vg 1 Total 2
+ LOC 3 eLOC 2 lLOC 1 Comment 1 Lines 3
+
+ Inline Function: QP::QPSet::notEmpty
+ Parameters: (void)
+ Complexity Param 0 Return 1 Cyclo Vg 1 Total 2
+ LOC 3 eLOC 2 lLOC 1 Comment 1 Lines 3
+
+ Inline Function: QP::QPSet::hasElement
+ Parameters: (uint_fast8_t const n)
+ Complexity Param 1 Return 1 Cyclo Vg 1 Total 3
+ LOC 5 eLOC 4 lLOC 1 Comment 1 Lines 5
+
+ Inline Function: QP::QPSet::insert
+ Parameters: (uint_fast8_t const n)
+ Complexity Param 1 Return 1 Cyclo Vg 1 Total 3
+ LOC 4 eLOC 3 lLOC 1 Comment 1 Lines 4
+
+ Inline Function: QP::QPSet::remove
+ Parameters: (uint_fast8_t const n)
+ Complexity Param 1 Return 1 Cyclo Vg 1 Total 3
+ LOC 4 eLOC 3 lLOC 1 Comment 1 Lines 4
+
+ Inline Function: QP::QPSet::findMax
+ Parameters: (void)
+ Complexity Param 0 Return 1 Cyclo Vg 1 Total 2
+ LOC 3 eLOC 2 lLOC 1 Comment 1 Lines 3
+
+ Inline Function: QP::QPSet::setEmpty
+ Parameters: (void)
+ Complexity Param 0 Return 1 Cyclo Vg 1 Total 2
+ LOC 4 eLOC 3 lLOC 2 Comment 1 Lines 4
+
+ Inline Function: QP::QPSet::isEmpty
+ Parameters: (void)
+ Cyclomatic Complexity Vg Detail
+ Function Base : 1
+ Inlined if-else ( ? : ) : 1
+ Complexity Param 0 Return 1 Cyclo Vg 2 Total 3
+ LOC 5 eLOC 4 lLOC 1 Comment 2 Lines 5
+
+ Inline Function: QP::QPSet::notEmpty
+ Parameters: (void)
+ Cyclomatic Complexity Vg Detail
+ Function Base : 1
+ Inlined if-else ( ? : ) : 1
+ Complexity Param 0 Return 1 Cyclo Vg 2 Total 3
+ LOC 5 eLOC 4 lLOC 1 Comment 2 Lines 5
+
+ Inline Function: QP::QPSet::hasElement
+ Parameters: (uint_fast8_t const n)
+ Cyclomatic Complexity Vg Detail
+ Function Base : 1
+ Inlined if-else ( ? : ) : 1
+ Complexity Param 1 Return 1 Cyclo Vg 2 Total 4
+ LOC 9 eLOC 8 lLOC 1 Comment 1 Lines 9
+
+ Inline Function: QP::QPSet::insert
+ Parameters: (uint_fast8_t const n)
+ Cyclomatic Complexity Vg Detail
+ Function Base : 1
+ Conditional if / else if: 1
+ Complexity Param 1 Return 1 Cyclo Vg 2 Total 4
+ LOC 10 eLOC 7 lLOC 2 Comment 1 Lines 10
+
+ Inline Function: QP::QPSet::remove
+ Parameters: (uint_fast8_t const n)
+ Cyclomatic Complexity Vg Detail
+ Function Base : 1
+ Conditional if / else if: 1
+ Complexity Param 1 Return 1 Cyclo Vg 2 Total 4
+ LOC 10 eLOC 7 lLOC 2 Comment 1 Lines 10
+
+ Inline Function: QP::QPSet::findMax
+ Parameters: (void)
+ Cyclomatic Complexity Vg Detail
+ Function Base : 1
+ Inlined if-else ( ? : ) : 1
+ Complexity Param 0 Return 1 Cyclo Vg 2 Total 3
+ LOC 5 eLOC 4 lLOC 1 Comment 1 Lines 5
+
+ ------------------------------------------------------------------------
+
+ ~~ Total File Summary ~~
+
+ LOC 120 eLOC 92 lLOC 33 Comment 88 Lines 234
+ ------------------------------------------------------------------------
+
+ ~~ File Functional Summary ~~
+
+ File Function Count....: 15
+ Total Function LOC.....: 98 Total Function Pts LOC : 0.0
+ Total Function eLOC....: 73 Total Function Pts eLOC: 0.0
+ Total Function lLOC....: 28 Total Function Pts lLOC: 0.0
+ Total Function Params .: 7 Total Function Return .: 15
+ Total Cyclo Complexity : 24 Total Function Complex.: 46
+ ------ ----- ----- ------ ------ -----
+ Max Function LOC ......: 25 Average Function LOC ..: 6.53
+ Max Function eLOC .....: 18 Average Function eLOC .: 4.87
+ Max Function lLOC .....: 11 Average Function lLOC .: 1.87
+ ------ ----- ----- ------ ------ -----
+ Max Function Parameters: 1 Avg Function Parameters: 0.47
+ Max Function Returns ..: 1 Avg Function Returns ..: 1.00
+ Max Interface Complex. : 2 Avg Interface Complex. : 1.47
+ Max Cyclomatic Complex.: 4 Avg Cyclomatic Complex.: 1.60
+ Max Total Complexity ..: 6 Avg Total Complexity ..: 3.07
+ ________________________________________________________________________
+ End of File: ..\include\qpset.h
+
+
+ File: ..\include\qs.h
+ ________________________________________________________________________
+
+ Inline Function: QP::QS::getVersion
+ Parameters: (void)
+ Complexity Param 0 Return 1 Cyclo Vg 1 Total 2
+ LOC 3 eLOC 2 lLOC 1 Comment 1 Lines 3
+
+ Inline Function: QP::QS::rxPut
+ Parameters: (uint8_t const b)
+ Cyclomatic Complexity Vg Detail
+ Function Base : 1
+ Conditional if / else if: 3
+ Complexity Param 1 Return 1 Cyclo Vg 4 Total 6
+ LOC 14 eLOC 9 lLOC 4 Comment 1 Lines 14
+
+ Inline Function: QP::QS::force_cast
+ Parameters: (T_IN in)
+ Template: template
+ Complexity Param 1 Return 1 Cyclo Vg 1 Total 3
+ LOC 7 eLOC 6 lLOC 4 Comment 2 Lines 7
+
+
+ NOTICE: The end of the source file has been reached where the
+ open brace count { 31 != 29 } 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 517 eLOC 500 lLOC 123 Comment 601 Lines 1124
+ ------------------------------------------------------------------------
+
+ ~~ File Functional Summary ~~
+
+ File Function Count....: 3
+ Total Function LOC.....: 24 Total Function Pts LOC : 0.0
+ Total Function eLOC....: 17 Total Function Pts eLOC: 0.0
+ Total Function lLOC....: 9 Total Function Pts lLOC: 0.0
+ Total Function Params .: 2 Total Function Return .: 3
+ Total Cyclo Complexity : 6 Total Function Complex.: 11
+ ------ ----- ----- ------ ------ -----
+ Max Function LOC ......: 14 Average Function LOC ..: 8.00
+ Max Function eLOC .....: 9 Average Function eLOC .: 5.67
+ Max Function lLOC .....: 4 Average Function lLOC .: 3.00
+ ------ ----- ----- ------ ------ -----
+ Max Function Parameters: 1 Avg Function Parameters: 0.67
+ Max Function Returns ..: 1 Avg Function Returns ..: 1.00
+ Max Interface Complex. : 2 Avg Interface Complex. : 1.67
+ Max Cyclomatic Complex.: 4 Avg Cyclomatic Complex.: 2.00
+ Max Total Complexity ..: 6 Avg Total Complexity ..: 3.67
+ ________________________________________________________________________
+ End of File: ..\include\qs.h
+
+
+ File: ..\include\qs_dummy.h
+ ________________________________________________________________________
+
+ ~~ Total File Summary ~~
+
+ LOC 72 eLOC 72 lLOC 0 Comment 41 Lines 123
+ ________________________________________________________________________
+ End of File: ..\include\qs_dummy.h
+
+
+ File: ..\include\qv.h
+ ________________________________________________________________________
+
+ Inline Function: QP::QV::getVersion
+ Parameters: (void)
+ Complexity Param 0 Return 1 Cyclo Vg 1 Total 2
+ LOC 3 eLOC 2 lLOC 1 Comment 1 Lines 3
+
+ ------------------------------------------------------------------------
+
+ ~~ Total File Summary ~~
+
+ LOC 36 eLOC 32 lLOC 4 Comment 80 Lines 126
+ ------------------------------------------------------------------------
+
+ ~~ File Functional Summary ~~
+
+ File Function Count....: 1
+ Total Function LOC.....: 3 Total Function Pts LOC : 0.0
+ Total Function eLOC....: 2 Total Function Pts eLOC: 0.0
+ Total Function lLOC....: 1 Total Function Pts lLOC: 0.0
+ Total Function Params .: 0 Total Function Return .: 1
+ Total Cyclo Complexity : 1 Total Function Complex.: 2
+ ------ ----- ----- ------ ------ -----
+ Max Function LOC ......: 3 Average Function LOC ..: 3.00
+ Max Function eLOC .....: 2 Average Function eLOC .: 2.00
+ Max Function lLOC .....: 1 Average Function lLOC .: 1.00
+ ------ ----- ----- ------ ------ -----
+ Max Function Parameters: 0 Avg Function Parameters: 0.00
+ Max Function Returns ..: 1 Avg Function Returns ..: 1.00
+ Max Interface Complex. : 1 Avg Interface Complex. : 1.00
+ Max Cyclomatic Complex.: 1 Avg Cyclomatic Complex.: 1.00
+ Max Total Complexity ..: 2 Avg Total Complexity ..: 2.00
+ ________________________________________________________________________
+ End of File: ..\include\qv.h
+
+
+ File: ..\include\qxk.h
+ ________________________________________________________________________
+
+ Inline Function: QP::QXK::getVersion
+ Parameters: (void)
+ Complexity Param 0 Return 1 Cyclo Vg 1 Total 2
+ LOC 3 eLOC 2 lLOC 1 Comment 1 Lines 3
+
+ ------------------------------------------------------------------------
+
+ ~~ Total File Summary ~~
+
+ LOC 90 eLOC 83 lLOC 32 Comment 131 Lines 240
+ ------------------------------------------------------------------------
+
+ ~~ File Functional Summary ~~
+
+ File Function Count....: 1
+ Total Function LOC.....: 3 Total Function Pts LOC : 0.0
+ Total Function eLOC....: 2 Total Function Pts eLOC: 0.0
+ Total Function lLOC....: 1 Total Function Pts lLOC: 0.0
+ Total Function Params .: 0 Total Function Return .: 1
+ Total Cyclo Complexity : 1 Total Function Complex.: 2
+ ------ ----- ----- ------ ------ -----
+ Max Function LOC ......: 3 Average Function LOC ..: 3.00
+ Max Function eLOC .....: 2 Average Function eLOC .: 2.00
+ Max Function lLOC .....: 1 Average Function lLOC .: 1.00
+ ------ ----- ----- ------ ------ -----
+ Max Function Parameters: 0 Avg Function Parameters: 0.00
+ Max Function Returns ..: 1 Avg Function Returns ..: 1.00
+ Max Interface Complex. : 1 Avg Interface Complex. : 1.00
+ Max Cyclomatic Complex.: 1 Avg Cyclomatic Complex.: 1.00
+ Max Total Complexity ..: 2 Avg Total Complexity ..: 2.00
+ ________________________________________________________________________
+ End of File: ..\include\qxk.h
+
+
+ File: ..\include\qxthread.h
+ ________________________________________________________________________
+
+ Inline Function: QP::QXThread::init
+ Parameters: (void)
+ Complexity Param 0 Return 1 Cyclo Vg 1 Total 2
+ LOC 1 eLOC 1 lLOC 1 Comment 2 Lines 1
+
+ Inline Function: QP::QXThread::start
+ Parameters: (uint_fast8_t const prio, QEvt const *qSto[], uint_fast16_t
+ const qLen, void * const stkSto, uint_fast16_t const stkSize
+ )
+ Complexity Param 5 Return 1 Cyclo Vg 1 Total 7
+ LOC 4 eLOC 2 lLOC 1 Comment 1 Lines 4
+
+ ------------------------------------------------------------------------
+
+ ~~ Total File Summary ~~
+
+ LOC 56 eLOC 51 lLOC 27 Comment 83 Lines 161
+ ------------------------------------------------------------------------
+
+ ~~ File Functional Summary ~~
+
+ File Function Count....: 2
+ Total Function LOC.....: 5 Total Function Pts LOC : 0.0
+ Total Function eLOC....: 3 Total Function Pts eLOC: 0.0
+ Total Function lLOC....: 2 Total Function Pts lLOC: 0.0
+ Total Function Params .: 5 Total Function Return .: 2
+ Total Cyclo Complexity : 2 Total Function Complex.: 9
+ ------ ----- ----- ------ ------ -----
+ Max Function LOC ......: 4 Average Function LOC ..: 2.50
+ Max Function eLOC .....: 2 Average Function eLOC .: 1.50
+ Max Function lLOC .....: 1 Average Function lLOC .: 1.00
+ ------ ----- ----- ------ ------ -----
+ Max Function Parameters: 5 Avg Function Parameters: 2.50
+ Max Function Returns ..: 1 Avg Function Returns ..: 1.00
+ Max Interface Complex. : 6 Avg Interface Complex. : 3.50
+ Max Cyclomatic Complex.: 1 Avg Cyclomatic Complex.: 1.00
+ Max Total Complexity ..: 7 Avg Total Complexity ..: 4.50
+ ________________________________________________________________________
+ End of File: ..\include\qxthread.h
+
+
+ File: ..\src\qf_pkg.h
+ ________________________________________________________________________
+
+ Inline Function: QP::QF_EVT_POOL_ID_
+ Parameters: (QEvt const * const e)
+ Complexity Param 1 Return 1 Cyclo Vg 1 Total 3
+ LOC 1 eLOC 1 lLOC 1 Comment 1 Lines 1
+
+ Inline Function: QP::QF_EVT_REF_CTR_
+ Parameters: (QEvt const * const e)
+ Complexity Param 1 Return 1 Cyclo Vg 1 Total 3
+ LOC 1 eLOC 1 lLOC 1 Comment 1 Lines 1
+
+ Inline Function: QP::QF_EVT_REF_CTR_INC_
+ Parameters: (QEvt const * const e)
+ Complexity Param 1 Return 1 Cyclo Vg 1 Total 3
+ LOC 3 eLOC 2 lLOC 1 Comment 1 Lines 3
+
+ Inline Function: QP::QF_EVT_REF_CTR_DEC_
+ Parameters: (QEvt const * const e)
+ Complexity Param 1 Return 1 Cyclo Vg 1 Total 3
+ LOC 3 eLOC 2 lLOC 1 Comment 1 Lines 3
+
+ ------------------------------------------------------------------------
+
+ ~~ Total File Summary ~~
+
+ LOC 71 eLOC 67 lLOC 11 Comment 109 Lines 205
+ ------------------------------------------------------------------------
+
+ ~~ File Functional Summary ~~
+
+ File Function Count....: 4
+ Total Function LOC.....: 8 Total Function Pts LOC : 0.0
+ Total Function eLOC....: 6 Total Function Pts eLOC: 0.0
+ Total Function lLOC....: 4 Total Function Pts lLOC: 0.0
+ Total Function Params .: 4 Total Function Return .: 4
+ Total Cyclo Complexity : 4 Total Function Complex.: 12
+ ------ ----- ----- ------ ------ -----
+ Max Function LOC ......: 3 Average Function LOC ..: 2.00
+ Max Function eLOC .....: 2 Average Function eLOC .: 1.50
+ Max Function lLOC .....: 1 Average Function lLOC .: 1.00
+ ------ ----- ----- ------ ------ -----
+ Max Function Parameters: 1 Avg Function Parameters: 1.00
+ Max Function Returns ..: 1 Avg Function Returns ..: 1.00
+ Max Interface Complex. : 2 Avg Interface Complex. : 2.00
+ Max Cyclomatic Complex.: 1 Avg Cyclomatic Complex.: 1.00
+ Max Total Complexity ..: 3 Avg Total Complexity ..: 3.00
+ ________________________________________________________________________
+ End of File: ..\src\qf_pkg.h
+
+
+ File: ..\src\qs_pkg.h
+ ________________________________________________________________________
+
+ ~~ Total File Summary ~~
+
+ LOC 28 eLOC 25 lLOC 10 Comment 59 Lines 98
+ ________________________________________________________________________
+ End of File: ..\src\qs_pkg.h
+
+
+ File: ..\src\qxk_pkg.h
+ ________________________________________________________________________
+
+ ~~ Total File Summary ~~
+
+ LOC 16 eLOC 13 lLOC 3 Comment 45 Lines 67
+ ________________________________________________________________________
+ End of File: ..\src\qxk_pkg.h
+
+
+ File: ..\src\qf\qep_hsm.cpp
+ ________________________________________________________________________
+
+ Function: QP::QHsm::QHsm
+ Parameters: (QStateHandler const initial)
+ Complexity Param 1 Return 1 Cyclo Vg 1 Total 3
+ LOC 4 eLOC 3 lLOC 2 Comment 8 Lines 4
+
+ Function: QP::QHsm::~QHsm
+ Parameters: ()
+ Complexity Param 0 Return 1 Cyclo Vg 1 Total 2
+ LOC 2 eLOC 1 lLOC 0 Comment 4 Lines 2
+
+ Function: QP::QHsm::init
+ Parameters: (QEvt const * const e)
+ Cyclomatic Complexity Vg Detail
+ Function Base : 1
+ Loops while / do : 3
+ Conditional if / else if: 1
+ Logical and ( && ) : 1
+ Complexity Param 1 Return 1 Cyclo Vg 6 Total 8
+ LOC 49 eLOC 46 lLOC 30 Comment 30 Lines 67
+
+ Function: QP::QHsm::top
+ Parameters: (void * const, QEvt const * const)
+ Complexity Param 2 Return 1 Cyclo Vg 1 Total 4
+ LOC 3 eLOC 2 lLOC 1 Comment 15 Lines 3
+
+ Function: QP::QHsm::dispatch
+ Parameters: (QEvt const * const e)
+ Cyclomatic Complexity Vg Detail
+ Function Base : 1
+ Loops while / do : 4
+ Loops for / foreach : 2
+ Conditional if / else if: 5
+ Logical and ( && ) : 1
+ Complexity Param 1 Return 1 Cyclo Vg 13 Total 15
+ LOC 107 eLOC 96 lLOC 61 Comment 65 Lines 147
+
+ Function: QP::QHsm::hsm_tran
+ Parameters: (QStateHandler (&path)[MAX_NEST_DEPTH_])
+ Cyclomatic Complexity Vg Detail
+ Function Base : 1
+ Loops while / do : 4
+ Conditional if / else if: 10
+ Complexity Param 1 Return 1 Cyclo Vg 15 Total 17
+ LOC 99 eLOC 79 lLOC 48 Comment 61 Lines 140
+
+ Function: QP::QHsm::isIn
+ Parameters: (QStateHandler const s)
+ Cyclomatic Complexity Vg Detail
+ Function Base : 1
+ Loops while / do : 1
+ Conditional if / else if: 1
+ Complexity Param 1 Return 1 Cyclo Vg 3 Total 5
+ LOC 16 eLOC 13 lLOC 9 Comment 21 Lines 23
+
+ Function: QP::QHsm::childState
+ Parameters: (QStateHandler const parent)
+ Cyclomatic Complexity Vg Detail
+ Function Base : 1
+ Loops while / do : 1
+ Conditional if / else if: 1
+ Complexity Param 1 Return 1 Cyclo Vg 3 Total 5
+ LOC 19 eLOC 16 lLOC 12 Comment 27 Lines 25
+
+ ------------------------------------------------------------------------
+
+ ~~ Total File Summary ~~
+
+ LOC 348 eLOC 302 lLOC 169 Comment 289 Lines 611
+ ------------------------------------------------------------------------
+
+ ~~ File Functional Summary ~~
+
+ File Function Count....: 8
+ Total Function LOC.....: 299 Total Function Pts LOC : 6.6
+ Total Function eLOC....: 256 Total Function Pts eLOC: 5.7
+ Total Function lLOC....: 163 Total Function Pts lLOC: 3.2
+ Total Function Params .: 8 Total Function Return .: 8
+ Total Cyclo Complexity : 43 Total Function Complex.: 59
+ ------ ----- ----- ------ ------ -----
+ Max Function LOC ......: 107 Average Function LOC ..: 37.38
+ Max Function eLOC .....: 96 Average Function eLOC .: 32.00
+ Max Function lLOC .....: 61 Average Function lLOC .: 20.38
+ ------ ----- ----- ------ ------ -----
+ Max Function Parameters: 2 Avg Function Parameters: 1.00
+ Max Function Returns ..: 1 Avg Function Returns ..: 1.00
+ Max Interface Complex. : 3 Avg Interface Complex. : 2.00
+ Max Cyclomatic Complex.: 15 Avg Cyclomatic Complex.: 5.38
+ Max Total Complexity ..: 17 Avg Total Complexity ..: 7.38
+ ________________________________________________________________________
+ End of File: ..\src\qf\qep_hsm.cpp
+
+
+ File: ..\src\qf\qep_msm.cpp
+ ________________________________________________________________________
+
+ Function: QP::QMsm::QMsm
+ Parameters: (QStateHandler const initial)
+ Complexity Param 1 Return 1 Cyclo Vg 1 Total 3
+ LOC 4 eLOC 2 lLOC 2 Comment 13 Lines 4
+
+ Function: QP::QMsm::init
+ Parameters: (QEvt const * const e)
+ Cyclomatic Complexity Vg Detail
+ Function Base : 1
+ Loops while / do : 1
+ Logical and ( && ) : 1
+ Complexity Param 1 Return 1 Cyclo Vg 3 Total 5
+ LOC 21 eLOC 20 lLOC 12 Comment 23 Lines 33
+
+ Function: QP::QMsm::dispatch
+ Parameters: (QEvt const * const e)
+ Cyclomatic Complexity Vg Detail
+ Function Base : 1
+ Loops while / do : 2
+ Conditional if / else if: 13
+ Complexity Param 1 Return 1 Cyclo Vg 16 Total 18
+ LOC 117 eLOC 100 lLOC 61 Comment 73 Lines 159
+
+ Function: QP::QMsm::execTatbl_
+ Parameters: (QMTranActTable const * const tatbl)
+ Cyclomatic Complexity Vg Detail
+ Function Base : 1
+ Loops for / foreach : 1
+ Conditional if / else if: 6
+ Complexity Param 1 Return 1 Cyclo Vg 8 Total 10
+ LOC 56 eLOC 46 lLOC 21 Comment 31 Lines 67
+
+ Function: QP::QMsm::exitToTranSource_
+ Parameters: (QMState const *s, QMState const * const ts)
+ Cyclomatic Complexity Vg Detail
+ Function Base : 1
+ Loops while / do : 1
+ Conditional if / else if: 2
+ Complexity Param 2 Return 1 Cyclo Vg 4 Total 7
+ LOC 18 eLOC 13 lLOC 6 Comment 17 Lines 24
+
+ Function: QP::QMsm::enterHistory_
+ Parameters: (QMState const * const hist)
+ Cyclomatic Complexity Vg Detail
+ Function Base : 1
+ Loops while / do : 2
+ Conditional if / else if: 3
+ Complexity Param 1 Return 1 Cyclo Vg 6 Total 8
+ LOC 40 eLOC 33 lLOC 21 Comment 22 Lines 48
+
+ Function: QP::QMsm::isInState
+ Parameters: (QMState const * const st)
+ Cyclomatic Complexity Vg Detail
+ Function Base : 1
+ Loops for / foreach : 1
+ Conditional if / else if: 1
+ Complexity Param 1 Return 1 Cyclo Vg 3 Total 5
+ LOC 13 eLOC 9 lLOC 5 Comment 15 Lines 14
+
+ Function: QP::QMsm::childStateObj
+ Parameters: (QMState const * const parent)
+ Cyclomatic Complexity Vg Detail
+ Function Base : 1
+ Loops for / foreach : 1
+ Conditional if / else if: 1
+ Complexity Param 1 Return 1 Cyclo Vg 3 Total 5
+ LOC 19 eLOC 14 lLOC 9 Comment 17 Lines 23
+
+ ------------------------------------------------------------------------
+
+ ~~ Total File Summary ~~
+
+ LOC 312 eLOC 259 lLOC 139 Comment 262 Lines 544
+ ------------------------------------------------------------------------
+
+ ~~ File Functional Summary ~~
+
+ File Function Count....: 8
+ Total Function LOC.....: 288 Total Function Pts LOC : 5.9
+ Total Function eLOC....: 237 Total Function Pts eLOC: 4.9
+ Total Function lLOC....: 137 Total Function Pts lLOC: 2.6
+ Total Function Params .: 9 Total Function Return .: 8
+ Total Cyclo Complexity : 44 Total Function Complex.: 61
+ ------ ----- ----- ------ ------ -----
+ Max Function LOC ......: 117 Average Function LOC ..: 36.00
+ Max Function eLOC .....: 100 Average Function eLOC .: 29.63
+ Max Function lLOC .....: 61 Average Function lLOC .: 17.13
+ ------ ----- ----- ------ ------ -----
+ Max Function Parameters: 2 Avg Function Parameters: 1.13
+ Max Function Returns ..: 1 Avg Function Returns ..: 1.00
+ Max Interface Complex. : 3 Avg Interface Complex. : 2.13
+ Max Cyclomatic Complex.: 16 Avg Cyclomatic Complex.: 5.50
+ Max Total Complexity ..: 18 Avg Total Complexity ..: 7.63
+ ________________________________________________________________________
+ End of File: ..\src\qf\qep_msm.cpp
+
+
+ File: ..\src\qf\qf_act.cpp
+ ________________________________________________________________________
+
+ Function: QP::QF::add_
+ Parameters: (QActive * const a)
+ Cyclomatic Complexity Vg Detail
+ Function Base : 1
+ Logical and ( && ) : 2
+ Complexity Param 1 Return 1 Cyclo Vg 3 Total 5
+ LOC 15 eLOC 14 lLOC 8 Comment 17 Lines 20
+
+ Function: QP::QF::remove_
+ Parameters: (QActive * const a)
+ Cyclomatic Complexity Vg Detail
+ Function Base : 1
+ Logical and ( && ) : 2
+ Complexity Param 1 Return 1 Cyclo Vg 3 Total 5
+ LOC 16 eLOC 15 lLOC 9 Comment 18 Lines 21
+
+ Function: QP::QF::bzero
+ Parameters: (void * const start, uint_fast16_t len)
+ Cyclomatic Complexity Vg Detail
+ Function Base : 1
+ Loops while / do : 1
+ Complexity Param 2 Return 1 Cyclo Vg 2 Total 5
+ LOC 8 eLOC 6 lLOC 4 Comment 13 Lines 8
+
+ ------------------------------------------------------------------------
+
+ ~~ Total File Summary ~~
+
+ LOC 147 eLOC 141 lLOC 23 Comment 105 Lines 254
+ ------------------------------------------------------------------------
+
+ ~~ File Functional Summary ~~
+
+ File Function Count....: 3
+ Total Function LOC.....: 39 Total Function Pts LOC : 2.8
+ Total Function eLOC....: 35 Total Function Pts eLOC: 2.7
+ Total Function lLOC....: 21 Total Function Pts lLOC: 0.4
+ Total Function Params .: 4 Total Function Return .: 3
+ Total Cyclo Complexity : 8 Total Function Complex.: 15
+ ------ ----- ----- ------ ------ -----
+ Max Function LOC ......: 16 Average Function LOC ..: 13.00
+ Max Function eLOC .....: 15 Average Function eLOC .: 11.67
+ Max Function lLOC .....: 9 Average Function lLOC .: 7.00
+ ------ ----- ----- ------ ------ -----
+ Max Function Parameters: 2 Avg Function Parameters: 1.33
+ Max Function Returns ..: 1 Avg Function Returns ..: 1.00
+ Max Interface Complex. : 3 Avg Interface Complex. : 2.33
+ Max Cyclomatic Complex.: 3 Avg Cyclomatic Complex.: 2.67
+ Max Total Complexity ..: 5 Avg Total Complexity ..: 5.00
+ ________________________________________________________________________
+ End of File: ..\src\qf\qf_act.cpp
+
+
+ File: ..\src\qf\qf_actq.cpp
+ ________________________________________________________________________
+
+ Function: QP::QActive::post_
+ Parameters: (QEvt const * const e, uint_fast16_t const margin)
+ Cyclomatic Complexity Vg Detail
+ Function Base : 1
+ Conditional if / else if: 5
+ Logical or ( || ) : 1
+ Logical and ( && ) : 1
+ Complexity Param 2 Return 1 Cyclo Vg 8 Total 11
+ LOC 59 eLOC 49 lLOC 34 Comment 71 Lines 81
+
+ Function: QP::QActive::postLIFO
+ Parameters: (QEvt const * const e)
+ Cyclomatic Complexity Vg Detail
+ Function Base : 1
+ Conditional if / else if: 4
+ Complexity Param 1 Return 1 Cyclo Vg 5 Total 7
+ LOC 36 eLOC 30 lLOC 20 Comment 32 Lines 48
+
+ Function: QP::QActive::get_
+ Parameters: (void)
+ Cyclomatic Complexity Vg Detail
+ Function Base : 1
+ Conditional if / else if: 2
+ Complexity Param 0 Return 1 Cyclo Vg 3 Total 4
+ LOC 37 eLOC 33 lLOC 21 Comment 27 Lines 48
+
+ Function: QP::QF::getQueueMin
+ Parameters: (uint_fast8_t const prio)
+ Cyclomatic Complexity Vg Detail
+ Function Base : 1
+ Logical and ( && ) : 1
+ Complexity Param 1 Return 1 Cyclo Vg 2 Total 4
+ LOC 10 eLOC 9 lLOC 5 Comment 17 Lines 13
+
+ Function: QP::QTicker::QTicker
+ Parameters: (uint_fast8_t const tickRate)
+ Complexity Param 1 Return 1 Cyclo Vg 1 Total 3
+ LOC 3 eLOC 1 lLOC 1 Comment 2 Lines 4
+
+ Function: QP::QTicker::init
+ Parameters: (QEvt const * const)
+ Complexity Param 1 Return 1 Cyclo Vg 1 Total 3
+ LOC 3 eLOC 2 lLOC 1 Comment 2 Lines 3
+
+ Function: QP::QTicker::dispatch
+ Parameters: (QEvt const * const)
+ Cyclomatic Complexity Vg Detail
+ Function Base : 1
+ Loops for / foreach : 1
+ Complexity Param 1 Return 1 Cyclo Vg 2 Total 4
+ LOC 10 eLOC 8 lLOC 6 Comment 4 Lines 11
+
+ Function: QP::QTicker::post_
+ Parameters: (QEvt const * const , uint_fast16_t const /*margin*/)
+ Cyclomatic Complexity Vg Detail
+ Function Base : 1
+ Conditional if / else if: 1
+ Complexity Param 2 Return 1 Cyclo Vg 2 Total 5
+ LOC 31 eLOC 28 lLOC 16 Comment 16 Lines 38
+
+ Function: QP::QTicker::postLIFO
+ Parameters: (QEvt const * const)
+ Complexity Param 1 Return 1 Cyclo Vg 1 Total 3
+ LOC 3 eLOC 2 lLOC 1 Comment 3 Lines 3
+
+ ------------------------------------------------------------------------
+
+ ~~ Total File Summary ~~
+
+ LOC 218 eLOC 187 lLOC 105 Comment 225 Lines 407
+ ------------------------------------------------------------------------
+
+ ~~ File Functional Summary ~~
+
+ File Function Count....: 9
+ Total Function LOC.....: 192 Total Function Pts LOC : 4.1
+ Total Function eLOC....: 162 Total Function Pts eLOC: 3.5
+ Total Function lLOC....: 105 Total Function Pts lLOC: 2.0
+ Total Function Params .: 10 Total Function Return .: 9
+ Total Cyclo Complexity : 25 Total Function Complex.: 44
+ ------ ----- ----- ------ ------ -----
+ Max Function LOC ......: 59 Average Function LOC ..: 21.33
+ Max Function eLOC .....: 49 Average Function eLOC .: 18.00
+ Max Function lLOC .....: 34 Average Function lLOC .: 11.67
+ ------ ----- ----- ------ ------ -----
+ Max Function Parameters: 2 Avg Function Parameters: 1.11
+ Max Function Returns ..: 1 Avg Function Returns ..: 1.00
+ Max Interface Complex. : 3 Avg Interface Complex. : 2.11
+ Max Cyclomatic Complex.: 8 Avg Cyclomatic Complex.: 2.78
+ Max Total Complexity ..: 11 Avg Total Complexity ..: 4.89
+ ________________________________________________________________________
+ End of File: ..\src\qf\qf_actq.cpp
+
+
+ File: ..\src\qf\qf_defer.cpp
+ ________________________________________________________________________
+
+ Function: QP::QActive::defer
+ Parameters: (QEQueue * const eq, QEvt const * const e)
+ Complexity Param 2 Return 1 Cyclo Vg 1 Total 4
+ LOC 3 eLOC 2 lLOC 1 Comment 22 Lines 3
+
+ Function: QP::QActive::recall
+ Parameters: (QEQueue * const eq)
+ Cyclomatic Complexity Vg Detail
+ Function Base : 1
+ Conditional if / else if: 2
+ Complexity Param 1 Return 1 Cyclo Vg 3 Total 5
+ LOC 15 eLOC 12 lLOC 8 Comment 30 Lines 27
+
+ Function: QP::QActive::flushDeferred
+ Parameters: (QEQueue * const eq)
+ Cyclomatic Complexity Vg Detail
+ Function Base : 1
+ Loops for / foreach : 1
+ Complexity Param 1 Return 1 Cyclo Vg 2 Total 4
+ LOC 11 eLOC 8 lLOC 5 Comment 15 Lines 11
+
+ ------------------------------------------------------------------------
+
+ ~~ Total File Summary ~~
+
+ LOC 36 eLOC 28 lLOC 14 Comment 109 Lines 145
+ ------------------------------------------------------------------------
+
+ ~~ File Functional Summary ~~
+
+ File Function Count....: 3
+ Total Function LOC.....: 29 Total Function Pts LOC : 0.7
+ Total Function eLOC....: 22 Total Function Pts eLOC: 0.5
+ Total Function lLOC....: 14 Total Function Pts lLOC: 0.3
+ Total Function Params .: 4 Total Function Return .: 3
+ Total Cyclo Complexity : 6 Total Function Complex.: 13
+ ------ ----- ----- ------ ------ -----
+ Max Function LOC ......: 15 Average Function LOC ..: 9.67
+ Max Function eLOC .....: 12 Average Function eLOC .: 7.33
+ Max Function lLOC .....: 8 Average Function lLOC .: 4.67
+ ------ ----- ----- ------ ------ -----
+ Max Function Parameters: 2 Avg Function Parameters: 1.33
+ Max Function Returns ..: 1 Avg Function Returns ..: 1.00
+ Max Interface Complex. : 3 Avg Interface Complex. : 2.33
+ Max Cyclomatic Complex.: 3 Avg Cyclomatic Complex.: 2.00
+ Max Total Complexity ..: 5 Avg Total Complexity ..: 4.33
+ ________________________________________________________________________
+ End of File: ..\src\qf\qf_defer.cpp
+
+
+ File: ..\src\qf\qf_dyn.cpp
+ ________________________________________________________________________
+
+ Function: QP::QF::poolInit
+ Parameters: (void * const poolSto, uint_fast32_t const poolSize, uint_fa
+ st16_t const evtSize)
+ Cyclomatic Complexity Vg Detail
+ Function Base : 1
+ Logical or ( || ) : 1
+ Complexity Param 3 Return 1 Cyclo Vg 2 Total 6
+ LOC 10 eLOC 8 lLOC 4 Comment 36 Lines 13
+
+ Function: QP::QF::newX_
+ Parameters: (uint_fast16_t const evtSize, uint_fast16_t const margin, en
+ um_t const sig)
+ Cyclomatic Complexity Vg Detail
+ Function Base : 1
+ Loops for / foreach : 1
+ Conditional if / else if: 2
+ Inlined if-else ( ? : ) : 1
+ Complexity Param 3 Return 1 Cyclo Vg 5 Total 9
+ LOC 30 eLOC 24 lLOC 14 Comment 35 Lines 42
+
+ Function: QP::QF::gc
+ Parameters: (QEvt const * const e)
+ Cyclomatic Complexity Vg Detail
+ Function Base : 1
+ Conditional if / else if: 2
+ Complexity Param 1 Return 1 Cyclo Vg 3 Total 5
+ LOC 32 eLOC 28 lLOC 14 Comment 39 Lines 47
+
+ Function: QP::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 15 Lines 14
+
+ Function: QP::QF::poolGetMaxBlockSize
+ Parameters: (void)
+ Complexity Param 0 Return 1 Cyclo Vg 1 Total 2
+ LOC 4 eLOC 3 lLOC 1 Comment 4 Lines 4
+
+ ------------------------------------------------------------------------
+
+ ~~ Total File Summary ~~
+
+ LOC 104 eLOC 88 lLOC 40 Comment 177 Lines 281
+ ------------------------------------------------------------------------
+
+ ~~ File Functional Summary ~~
+
+ File Function Count....: 5
+ Total Function LOC.....: 86 Total Function Pts LOC : 2.0
+ Total Function eLOC....: 71 Total Function Pts eLOC: 1.7
+ Total Function lLOC....: 38 Total Function Pts lLOC: 0.8
+ Total Function Params .: 9 Total Function Return .: 5
+ Total Cyclo Complexity : 13 Total Function Complex.: 27
+ ------ ----- ----- ------ ------ -----
+ Max Function LOC ......: 32 Average Function LOC ..: 17.20
+ Max Function eLOC .....: 28 Average Function eLOC .: 14.20
+ Max Function lLOC .....: 14 Average Function lLOC .: 7.60
+ ------ ----- ----- ------ ------ -----
+ Max Function Parameters: 3 Avg Function Parameters: 1.80
+ Max Function Returns ..: 1 Avg Function Returns ..: 1.00
+ Max Interface Complex. : 4 Avg Interface Complex. : 2.80
+ Max Cyclomatic Complex.: 5 Avg Cyclomatic Complex.: 2.60
+ Max Total Complexity ..: 9 Avg Total Complexity ..: 5.40
+ ________________________________________________________________________
+ End of File: ..\src\qf\qf_dyn.cpp
+
+
+ File: ..\src\qf\qf_mem.cpp
+ ________________________________________________________________________
+
+ Function: QP::QMPool::QMPool
+ Parameters: (void)
+ Complexity Param 0 Return 1 Cyclo Vg 1 Total 2
+ LOC 1 eLOC 1 lLOC 0 Comment 9 Lines 1
+
+ Function: QP::QMPool::init
+ Parameters: (void * const poolSto, uint_fast32_t poolSize, uint_fast16_t
+ blockSize)
+ Cyclomatic Complexity Vg Detail
+ Function Base : 1
+ Loops while / do : 2
+ Logical and ( && ) : 2
+ Complexity Param 3 Return 1 Cyclo Vg 5 Total 9
+ LOC 35 eLOC 31 lLOC 22 Comment 51 Lines 58
+
+ Function: QP::QMPool::put
+ Parameters: (void * const b)
+ Cyclomatic Complexity Vg Detail
+ Function Base : 1
+ Logical and ( && ) : 1
+ Complexity Param 1 Return 1 Cyclo Vg 2 Total 4
+ LOC 17 eLOC 16 lLOC 9 Comment 23 Lines 24
+
+ Function: QP::QMPool::get
+ Parameters: (uint_fast16_t const margin)
+ Cyclomatic Complexity Vg Detail
+ Function Base : 1
+ Conditional if / else if: 3
+ Complexity Param 1 Return 1 Cyclo Vg 4 Total 6
+ LOC 41 eLOC 35 lLOC 22 Comment 46 Lines 61
+
+ Function: QP::QF::getPoolMin
+ Parameters: (uint_fast8_t const poolId)
+ Cyclomatic Complexity Vg Detail
+ Function Base : 1
+ Logical and ( && ) : 1
+ Complexity Param 1 Return 1 Cyclo Vg 2 Total 4
+ LOC 10 eLOC 9 lLOC 5 Comment 13 Lines 14
+
+ ------------------------------------------------------------------------
+
+ ~~ Total File Summary ~~
+
+ LOC 126 eLOC 113 lLOC 58 Comment 187 Lines 309
+ ------------------------------------------------------------------------
+
+ ~~ File Functional Summary ~~
+
+ File Function Count....: 5
+ Total Function LOC.....: 104 Total Function Pts LOC : 2.4
+ Total Function eLOC....: 92 Total Function Pts eLOC: 2.1
+ Total Function lLOC....: 58 Total Function Pts lLOC: 1.1
+ Total Function Params .: 6 Total Function Return .: 5
+ Total Cyclo Complexity : 14 Total Function Complex.: 25
+ ------ ----- ----- ------ ------ -----
+ Max Function LOC ......: 41 Average Function LOC ..: 20.80
+ Max Function eLOC .....: 35 Average Function eLOC .: 18.40
+ Max Function lLOC .....: 22 Average Function lLOC .: 11.60
+ ------ ----- ----- ------ ------ -----
+ Max Function Parameters: 3 Avg Function Parameters: 1.20
+ Max Function Returns ..: 1 Avg Function Returns ..: 1.00
+ Max Interface Complex. : 4 Avg Interface Complex. : 2.20
+ Max Cyclomatic Complex.: 5 Avg Cyclomatic Complex.: 2.80
+ Max Total Complexity ..: 9 Avg Total Complexity ..: 5.00
+ ________________________________________________________________________
+ End of File: ..\src\qf\qf_mem.cpp
+
+
+ File: ..\src\qf\qf_ps.cpp
+ ________________________________________________________________________
+
+ Function: QP::QF::psInit
+ Parameters: (QSubscrList * const subscrSto, enum_t const maxSignal)
+ Complexity Param 2 Return 1 Cyclo Vg 1 Total 4
+ LOC 7 eLOC 6 lLOC 3 Comment 30 Lines 11
+
+ Function: QP::QF::publish_
+ Parameters: (QEvt const * const e)
+ Cyclomatic Complexity Vg Detail
+ Function Base : 1
+ Loops while / do : 1
+ Loops for / foreach : 1
+ Conditional if / else if: 4
+ Logical and ( && ) : 10
+ Complexity Param 1 Return 1 Cyclo Vg 17 Total 19
+ LOC 95 eLOC 84 lLOC 44 Comment 111 Lines 191
+
+
+ NOTICE: The end of the source file has been reached where the
+ open brace count { 14 != 13 } close brace count
+ This is an indication of non-compilable code within the source
+ file. RSM processes all source code including code wrapped
+ with preprocessor directives. Accurate metrics requires that
+ all code present in this file must be compilable.
+ ------------------------------------------------------------------------
+
+ ~~ Total File Summary ~~
+
+ LOC 116 eLOC 104 lLOC 49 Comment 189 Lines 306
+ ------------------------------------------------------------------------
+
+ ~~ File Functional Summary ~~
+
+ File Function Count....: 2
+ Total Function LOC.....: 102 Total Function Pts LOC : 2.2
+ Total Function eLOC....: 90 Total Function Pts eLOC: 2.0
+ Total Function lLOC....: 47 Total Function Pts lLOC: 0.9
+ Total Function Params .: 3 Total Function Return .: 2
+ Total Cyclo Complexity : 18 Total Function Complex.: 23
+ ------ ----- ----- ------ ------ -----
+ Max Function LOC ......: 95 Average Function LOC ..: 51.00
+ Max Function eLOC .....: 84 Average Function eLOC .: 45.00
+ Max Function lLOC .....: 44 Average Function lLOC .: 23.50
+ ------ ----- ----- ------ ------ -----
+ Max Function Parameters: 2 Avg Function Parameters: 1.50
+ Max Function Returns ..: 1 Avg Function Returns ..: 1.00
+ Max Interface Complex. : 3 Avg Interface Complex. : 2.50
+ Max Cyclomatic Complex.: 17 Avg Cyclomatic Complex.: 9.00
+ Max Total Complexity ..: 19 Avg Total Complexity ..: 11.50
+ ________________________________________________________________________
+ End of File: ..\src\qf\qf_ps.cpp
+
+
+ File: ..\src\qf\qf_qact.cpp
+ ________________________________________________________________________
+
+ Function: QP::QActive::QActive
+ Parameters: (QStateHandler const initial)
+ Complexity Param 1 Return 1 Cyclo Vg 1 Total 3
+ LOC 9 eLOC 7 lLOC 3 Comment 1 Lines 11
+
+ ------------------------------------------------------------------------
+
+ ~~ Total File Summary ~~
+
+ LOC 16 eLOC 13 lLOC 3 Comment 40 Lines 59
+ ------------------------------------------------------------------------
+
+ ~~ File Functional Summary ~~
+
+ File Function Count....: 1
+ Total Function LOC.....: 9 Total Function Pts LOC : 0.3
+ Total Function eLOC....: 7 Total Function Pts eLOC: 0.2
+ Total Function lLOC....: 3 Total Function Pts lLOC: 0.1
+ Total Function Params .: 1 Total Function Return .: 1
+ Total Cyclo Complexity : 1 Total Function Complex.: 3
+ ------ ----- ----- ------ ------ -----
+ Max Function LOC ......: 9 Average Function LOC ..: 9.00
+ Max Function eLOC .....: 7 Average Function eLOC .: 7.00
+ Max Function lLOC .....: 3 Average Function lLOC .: 3.00
+ ------ ----- ----- ------ ------ -----
+ Max Function Parameters: 1 Avg Function Parameters: 1.00
+ Max Function Returns ..: 1 Avg Function Returns ..: 1.00
+ Max Interface Complex. : 2 Avg Interface Complex. : 2.00
+ Max Cyclomatic Complex.: 1 Avg Cyclomatic Complex.: 1.00
+ Max Total Complexity ..: 3 Avg Total Complexity ..: 3.00
+ ________________________________________________________________________
+ End of File: ..\src\qf\qf_qact.cpp
+
+
+ File: ..\src\qf\qf_qeq.cpp
+ ________________________________________________________________________
+
+ Function: QP::QEQueue::QEQueue
+ Parameters: (void)
+ Complexity Param 0 Return 1 Cyclo Vg 1 Total 2
+ LOC 1 eLOC 1 lLOC 0 Comment 4 Lines 1
+
+ Function: QP::QEQueue::init
+ Parameters: (QEvt const *qSto[], uint_fast16_t const qLen)
+ Cyclomatic Complexity Vg Detail
+ Function Base : 1
+ Conditional if / else if: 1
+ Complexity Param 2 Return 1 Cyclo Vg 2 Total 5
+ LOC 17 eLOC 15 lLOC 9 Comment 19 Lines 18
+
+ Function: QP::QEQueue::post
+ Parameters: (QEvt const * const e, uint_fast16_t const margin)
+ Cyclomatic Complexity Vg Detail
+ Function Base : 1
+ Conditional if / else if: 5
+ Complexity Param 2 Return 1 Cyclo Vg 6 Total 9
+ LOC 52 eLOC 44 lLOC 29 Comment 52 Lines 73
+
+ Function: QP::QEQueue::postLIFO
+ Parameters: (QEvt const * const e)
+ Cyclomatic Complexity Vg Detail
+ Function Base : 1
+ Conditional if / else if: 4
+ Complexity Param 1 Return 1 Cyclo Vg 5 Total 7
+ LOC 33 eLOC 28 lLOC 19 Comment 36 Lines 44
+
+ Function: QP::QEQueue::get
+ Parameters: (void)
+ Cyclomatic Complexity Vg Detail
+ Function Base : 1
+ Conditional if / else if: 3
+ Complexity Param 0 Return 1 Cyclo Vg 4 Total 5
+ LOC 39 eLOC 34 lLOC 21 Comment 31 Lines 48
+
+ ------------------------------------------------------------------------
+
+ ~~ Total File Summary ~~
+
+ LOC 162 eLOC 141 lLOC 78 Comment 187 Lines 320
+ ------------------------------------------------------------------------
+
+ ~~ File Functional Summary ~~
+
+ File Function Count....: 5
+ Total Function LOC.....: 142 Total Function Pts LOC : 3.1
+ Total Function eLOC....: 122 Total Function Pts eLOC: 2.7
+ Total Function lLOC....: 78 Total Function Pts lLOC: 1.5
+ Total Function Params .: 5 Total Function Return .: 5
+ Total Cyclo Complexity : 18 Total Function Complex.: 28
+ ------ ----- ----- ------ ------ -----
+ Max Function LOC ......: 52 Average Function LOC ..: 28.40
+ Max Function eLOC .....: 44 Average Function eLOC .: 24.40
+ Max Function lLOC .....: 29 Average Function lLOC .: 15.60
+ ------ ----- ----- ------ ------ -----
+ Max Function Parameters: 2 Avg Function Parameters: 1.00
+ Max Function Returns ..: 1 Avg Function Returns ..: 1.00
+ Max Interface Complex. : 3 Avg Interface Complex. : 2.00
+ Max Cyclomatic Complex.: 6 Avg Cyclomatic Complex.: 3.60
+ Max Total Complexity ..: 9 Avg Total Complexity ..: 5.60
+ ________________________________________________________________________
+ End of File: ..\src\qf\qf_qeq.cpp
+
+
+ File: ..\src\qf\qf_qmact.cpp
+ ________________________________________________________________________
+
+ Function: QP::QMActive::QMActive
+ Parameters: (QStateHandler const initial)
+ Complexity Param 1 Return 1 Cyclo Vg 1 Total 3
+ LOC 4 eLOC 2 lLOC 2 Comment 1 Lines 4
+
+ Function: QP::QMActive::init
+ Parameters: (QEvt const * const e)
+ Complexity Param 1 Return 1 Cyclo Vg 1 Total 3
+ LOC 3 eLOC 2 lLOC 1 Comment 1 Lines 3
+
+ Function: QP::QMActive::init
+ Parameters: (void)
+ Complexity Param 0 Return 1 Cyclo Vg 1 Total 2
+ LOC 3 eLOC 2 lLOC 1 Comment 1 Lines 3
+
+ Function: QP::QMActive::dispatch
+ Parameters: (QEvt const * const e)
+ Complexity Param 1 Return 1 Cyclo Vg 1 Total 3
+ LOC 3 eLOC 2 lLOC 1 Comment 1 Lines 3
+
+ Function: QP::QMActive::isInState
+ Parameters: (QMState const * const st)
+ Complexity Param 1 Return 1 Cyclo Vg 1 Total 3
+ LOC 3 eLOC 2 lLOC 1 Comment 1 Lines 3
+
+ Function: QP::QMActive::childStateObj
+ Parameters: (QMState const * const parent)
+ Complexity Param 1 Return 1 Cyclo Vg 1 Total 3
+ LOC 3 eLOC 2 lLOC 1 Comment 1 Lines 3
+
+ ------------------------------------------------------------------------
+
+ ~~ Total File Summary ~~
+
+ LOC 29 eLOC 21 lLOC 7 Comment 53 Lines 86
+ ------------------------------------------------------------------------
+
+ ~~ File Functional Summary ~~
+
+ File Function Count....: 6
+ Total Function LOC.....: 19 Total Function Pts LOC : 0.5
+ Total Function eLOC....: 12 Total Function Pts eLOC: 0.4
+ Total Function lLOC....: 7 Total Function Pts lLOC: 0.1
+ Total Function Params .: 5 Total Function Return .: 6
+ Total Cyclo Complexity : 6 Total Function Complex.: 17
+ ------ ----- ----- ------ ------ -----
+ Max Function LOC ......: 4 Average Function LOC ..: 3.17
+ Max Function eLOC .....: 2 Average Function eLOC .: 2.00
+ Max Function lLOC .....: 2 Average Function lLOC .: 1.17
+ ------ ----- ----- ------ ------ -----
+ Max Function Parameters: 1 Avg Function Parameters: 0.83
+ Max Function Returns ..: 1 Avg Function Returns ..: 1.00
+ Max Interface Complex. : 2 Avg Interface Complex. : 1.83
+ Max Cyclomatic Complex.: 1 Avg Cyclomatic Complex.: 1.00
+ Max Total Complexity ..: 3 Avg Total Complexity ..: 2.83
+ ________________________________________________________________________
+ End of File: ..\src\qf\qf_qmact.cpp
+
+
+ File: ..\src\qf\qf_time.cpp
+ ________________________________________________________________________
+
+ Function: QP::QF::tickX_
+ Parameters: (uint_fast8_t const tickRate)
+ Cyclomatic Complexity Vg Detail
+ Function Base : 1
+ Loops for / foreach : 1
+ Conditional if / else if: 5
+ Complexity Param 1 Return 1 Cyclo Vg 7 Total 9
+ LOC 66 eLOC 54 lLOC 36 Comment 52 Lines 95
+
+ Function: QP::QF::noTimeEvtsActiveX
+ Parameters: (uint_fast8_t const tickRate)
+ Cyclomatic Complexity Vg Detail
+ Function Base : 1
+ Conditional if / else if: 2
+ Complexity Param 1 Return 1 Cyclo Vg 3 Total 5
+ LOC 14 eLOC 10 lLOC 6 Comment 12 Lines 16
+
+ Function: QP::QTimeEvt::QTimeEvt
+ Parameters: (QActive * const act, enum_t const sgnl, uint_fast8_t const
+ tickRate) Defined By Compiler Directive
+ Cyclomatic Complexity Vg Detail
+ Function Base : 1
+ Logical and ( && ) : 1
+ Complexity Param 3 Return 1 Cyclo Vg 2 Total 6
+ LOC 9 eLOC 7 lLOC 4 Comment 22 Lines 22
+
+ Function: QP::QTimeEvt::QTimeEvt
+ Parameters: () Defined By Compiler Directive
+ Complexity Param 1 Return 1 Cyclo Vg 1 Total 3
+ LOC 7 eLOC 5 lLOC 3 Comment 12 Lines 18
+
+ Function: QP::QTimeEvt::armX
+ Parameters: (QTimeEvtCtr const nTicks, QTimeEvtCtr const interval)
+ Cyclomatic Complexity Vg Detail
+ Function Base : 1
+ Conditional if / else if: 1
+ Logical and ( && ) : 4
+ Complexity Param 2 Return 1 Cyclo Vg 6 Total 9
+ LOC 28 eLOC 26 lLOC 16 Comment 48 Lines 50
+
+ Function: QP::QTimeEvt::disarm
+ Parameters: (void)
+ Cyclomatic Complexity Vg Detail
+ Function Base : 1
+ Conditional if / else if: 1
+ Complexity Param 0 Return 1 Cyclo Vg 2 Total 3
+ LOC 30 eLOC 27 lLOC 17 Comment 27 Lines 38
+
+ Function: QP::QTimeEvt::rearm
+ Parameters: (QTimeEvtCtr const nTicks)
+ Cyclomatic Complexity Vg Detail
+ Function Base : 1
+ Conditional if / else if: 3
+ Logical and ( && ) : 3
+ Complexity Param 1 Return 1 Cyclo Vg 7 Total 9
+ LOC 42 eLOC 35 lLOC 20 Comment 49 Lines 68
+
+ Function: QP::QTimeEvt::ctr
+ Parameters: (void)
+ Complexity Param 0 Return 1 Cyclo Vg 1 Total 2
+ LOC 15 eLOC 14 lLOC 10 Comment 16 Lines 18
+
+ ------------------------------------------------------------------------
+
+ ~~ Total File Summary ~~
+
+ LOC 248 eLOC 214 lLOC 113 Comment 301 Lines 537
+ ------------------------------------------------------------------------
+
+ ~~ File Functional Summary ~~
+
+ File Function Count....: 8
+ Total Function LOC.....: 211 Total Function Pts LOC : 4.7
+ Total Function eLOC....: 178 Total Function Pts eLOC: 4.0
+ Total Function lLOC....: 112 Total Function Pts lLOC: 2.1
+ Total Function Params .: 9 Total Function Return .: 8
+ Total Cyclo Complexity : 29 Total Function Complex.: 46
+ ------ ----- ----- ------ ------ -----
+ Max Function LOC ......: 66 Average Function LOC ..: 26.38
+ Max Function eLOC .....: 54 Average Function eLOC .: 22.25
+ Max Function lLOC .....: 36 Average Function lLOC .: 14.00
+ ------ ----- ----- ------ ------ -----
+ Max Function Parameters: 3 Avg Function Parameters: 1.13
+ Max Function Returns ..: 1 Avg Function Returns ..: 1.00
+ Max Interface Complex. : 4 Avg Interface Complex. : 2.13
+ Max Cyclomatic Complex.: 7 Avg Cyclomatic Complex.: 3.63
+ Max Total Complexity ..: 9 Avg Total Complexity ..: 5.75
+ ________________________________________________________________________
+ End of File: ..\src\qf\qf_time.cpp
+
+
+ File: ..\src\qv\qv.cpp
+ ________________________________________________________________________
+
+ Function: QP::QF::stop
+ Parameters: (void)
+ Complexity Param 0 Return 1 Cyclo Vg 1 Total 2
+ LOC 3 eLOC 2 lLOC 1 Comment 13 Lines 4
+
+ Function: QP::QF::run
+ Parameters: (void)
+ Cyclomatic Complexity Vg Detail
+ Function Base : 1
+ Loops for / foreach : 1
+ Conditional if / else if: 3
+ Complexity Param 0 Return 1 Cyclo Vg 5 Total 6
+ LOC 47 eLOC 41 lLOC 21 Comment 44 Lines 73
+
+ Function: QP::QActive::start
+ Parameters: (uint_fast8_t const prio, QEvt const *qSto[], uint_fast16_t
+ const qLen, void * const stkSto, uint_fast16_t const, QEvt c
+ onst * const ie)
+ Cyclomatic Complexity Vg Detail
+ Function Base : 1
+ Logical and ( && ) : 2
+ Complexity Param 6 Return 1 Cyclo Vg 3 Total 10
+ LOC 10 eLOC 8 lLOC 6 Comment 26 Lines 16
+
+ Function: QP::QActive::stop
+ Parameters: (void)
+ Complexity Param 0 Return 1 Cyclo Vg 1 Total 2
+ LOC 7 eLOC 6 lLOC 4 Comment 14 Lines 8
+
+ ------------------------------------------------------------------------
+
+ ~~ Total File Summary ~~
+
+ LOC 101 eLOC 88 lLOC 40 Comment 163 Lines 259
+ ------------------------------------------------------------------------
+
+ ~~ File Functional Summary ~~
+
+ File Function Count....: 4
+ Total Function LOC.....: 67 Total Function Pts LOC : 1.9
+ Total Function eLOC....: 57 Total Function Pts eLOC: 1.7
+ Total Function lLOC....: 32 Total Function Pts lLOC: 0.8
+ Total Function Params .: 6 Total Function Return .: 4
+ Total Cyclo Complexity : 10 Total Function Complex.: 20
+ ------ ----- ----- ------ ------ -----
+ Max Function LOC ......: 47 Average Function LOC ..: 16.75
+ Max Function eLOC .....: 41 Average Function eLOC .: 14.25
+ Max Function lLOC .....: 21 Average Function lLOC .: 8.00
+ ------ ----- ----- ------ ------ -----
+ Max Function Parameters: 6 Avg Function Parameters: 1.50
+ Max Function Returns ..: 1 Avg Function Returns ..: 1.00
+ Max Interface Complex. : 7 Avg Interface Complex. : 2.50
+ Max Cyclomatic Complex.: 5 Avg Cyclomatic Complex.: 2.50
+ Max Total Complexity ..: 10 Avg Total Complexity ..: 5.00
+ ________________________________________________________________________
+ End of File: ..\src\qv\qv.cpp
+
+
+ File: ..\src\qk\qk.cpp
+ ________________________________________________________________________
+
+ Function: QP::QF::init
+ Parameters: (void)
+ Complexity Param 0 Return 1 Cyclo Vg 1 Total 2
+ LOC 14 eLOC 13 lLOC 9 Comment 14 Lines 17
+
+ Function: QP::QF::stop
+ Parameters: (void)
+ Complexity Param 0 Return 1 Cyclo Vg 1 Total 2
+ LOC 3 eLOC 2 lLOC 1 Comment 13 Lines 4
+
+ Function: QP::initial_events
+ Parameters: (void)
+ Cyclomatic Complexity Vg Detail
+ Function Base : 1
+ Conditional if / else if: 1
+ Complexity Param 0 Return 1 Cyclo Vg 2 Total 3
+ LOC 6 eLOC 4 lLOC 2 Comment 6 Lines 8
+
+ Function: QP::QF::run
+ Parameters: (void)
+ Cyclomatic Complexity Vg Detail
+ Function Base : 1
+ Loops for / foreach : 1
+ Complexity Param 0 Return 1 Cyclo Vg 2 Total 3
+ LOC 12 eLOC 10 lLOC 7 Comment 21 Lines 14
+
+ Function: QP::QActive::start
+ Parameters: (uint_fast8_t const prio, QEvt const *qSto[], uint_fast16_t
+ const qLen, void * const stkSto, uint_fast16_t const, QEvt c
+ onst * const ie)
+ Cyclomatic Complexity Vg Detail
+ Function Base : 1
+ Conditional if / else if: 1
+ Logical and ( && ) : 3
+ Complexity Param 6 Return 1 Cyclo Vg 5 Total 12
+ LOC 17 eLOC 14 lLOC 9 Comment 29 Lines 26
+
+ Function: QP::QActive::stop
+ Parameters: (void)
+ Cyclomatic Complexity Vg Detail
+ Function Base : 1
+ Conditional if / else if: 1
+ Complexity Param 0 Return 1 Cyclo Vg 2 Total 3
+ LOC 11 eLOC 9 lLOC 6 Comment 14 Lines 14
+
+ 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 62 eLOC 54 lLOC 28 Comment 48 Lines 89
+
+ ------------------------------------------------------------------------
+
+ ~~ Total File Summary ~~
+
+ LOC 164 eLOC 138 lLOC 70 Comment 217 Lines 365
+ ------------------------------------------------------------------------
+
+ ~~ File Functional Summary ~~
+
+ File Function Count....: 7
+ Total Function LOC.....: 125 Total Function Pts LOC : 3.1
+ Total Function eLOC....: 106 Total Function Pts eLOC: 2.6
+ Total Function lLOC....: 62 Total Function Pts lLOC: 1.3
+ Total Function Params .: 6 Total Function Return .: 7
+ Total Cyclo Complexity : 20 Total Function Complex.: 33
+ ------ ----- ----- ------ ------ -----
+ Max Function LOC ......: 62 Average Function LOC ..: 17.86
+ Max Function eLOC .....: 54 Average Function eLOC .: 15.14
+ Max Function lLOC .....: 28 Average Function lLOC .: 8.86
+ ------ ----- ----- ------ ------ -----
+ Max Function Parameters: 6 Avg Function Parameters: 0.86
+ Max Function Returns ..: 1 Avg Function Returns ..: 1.00
+ Max Interface Complex. : 7 Avg Interface Complex. : 1.86
+ Max Cyclomatic Complex.: 7 Avg Cyclomatic Complex.: 2.86
+ Max Total Complexity ..: 12 Avg Total Complexity ..: 4.71
+ ________________________________________________________________________
+ End of File: ..\src\qk\qk.cpp
+
+
+ File: ..\src\qk\qk_mutex.cpp
+ ________________________________________________________________________
+
+ Function: QP::QMutex::init
+ Parameters: (uint_fast8_t const prio)
+ Complexity Param 1 Return 1 Cyclo Vg 1 Total 3
+ LOC 4 eLOC 3 lLOC 2 Comment 15 Lines 4
+
+ Function: QP::QMutex::lock
+ Parameters: (void)
+ Cyclomatic Complexity Vg Detail
+ Function Base : 1
+ Conditional if / else if: 1
+ Logical and ( && ) : 1
+ Complexity Param 0 Return 1 Cyclo Vg 3 Total 4
+ LOC 17 eLOC 15 lLOC 7 Comment 24 Lines 23
+
+ Function: QP::QMutex::unlock
+ Parameters: (void)
+ Cyclomatic Complexity Vg Detail
+ Function Base : 1
+ Conditional if / else if: 2
+ Inlined if-else ( ? : ) : 1
+ Logical and ( && ) : 1
+ Complexity Param 0 Return 1 Cyclo Vg 5 Total 6
+ LOC 23 eLOC 20 lLOC 9 Comment 25 Lines 31
+
+ ------------------------------------------------------------------------
+
+ ~~ Total File Summary ~~
+
+ LOC 62 eLOC 54 lLOC 19 Comment 114 Lines 174
+ ------------------------------------------------------------------------
+
+ ~~ File Functional Summary ~~
+
+ File Function Count....: 3
+ Total Function LOC.....: 44 Total Function Pts LOC : 1.2
+ Total Function eLOC....: 38 Total Function Pts eLOC: 1.0
+ Total Function lLOC....: 18 Total Function Pts lLOC: 0.4
+ Total Function Params .: 1 Total Function Return .: 3
+ Total Cyclo Complexity : 9 Total Function Complex.: 13
+ ------ ----- ----- ------ ------ -----
+ Max Function LOC ......: 23 Average Function LOC ..: 14.67
+ Max Function eLOC .....: 20 Average Function eLOC .: 12.67
+ Max Function lLOC .....: 9 Average Function lLOC .: 6.00
+ ------ ----- ----- ------ ------ -----
+ Max Function Parameters: 1 Avg Function Parameters: 0.33
+ Max Function Returns ..: 1 Avg Function Returns ..: 1.00
+ Max Interface Complex. : 2 Avg Interface Complex. : 1.33
+ Max Cyclomatic Complex.: 5 Avg Cyclomatic Complex.: 3.00
+ Max Total Complexity ..: 6 Avg Total Complexity ..: 4.33
+ ________________________________________________________________________
+ End of File: ..\src\qk\qk_mutex.cpp
+
+
+ File: ..\src\qxk\qxk.cpp
+ ________________________________________________________________________
+
+ Inline Function: QP::QXKIdleThread::QXKIdleThread
+ Parameters: ()
+ Complexity Param 0 Return 1 Cyclo Vg 1 Total 2
+ LOC 1 eLOC 1 lLOC 0 Comment 0 Lines 1
+
+ Function: QP::QF::init
+ Parameters: (void)
+ Complexity Param 0 Return 1 Cyclo Vg 1 Total 2
+ LOC 15 eLOC 14 lLOC 11 Comment 15 Lines 21
+
+ Function: QP::QF::stop
+ Parameters: (void)
+ Complexity Param 0 Return 1 Cyclo Vg 1 Total 2
+ LOC 3 eLOC 2 lLOC 1 Comment 13 Lines 4
+
+ Function: QP::initial_events
+ Parameters: (void)
+ Cyclomatic Complexity Vg Detail
+ Function Base : 1
+ Conditional if / else if: 1
+ Complexity Param 0 Return 1 Cyclo Vg 2 Total 3
+ LOC 6 eLOC 4 lLOC 2 Comment 6 Lines 8
+
+ Function: QP::QF::run
+ Parameters: (void)
+ Cyclomatic Complexity Vg Detail
+ Function Base : 1
+ Loops for / foreach : 1
+ Complexity Param 0 Return 1 Cyclo Vg 2 Total 3
+ LOC 12 eLOC 10 lLOC 7 Comment 13 Lines 15
+
+ Function: QP::QActive::start
+ Parameters: (uint_fast8_t const prio, QEvt const *qSto[], uint_fast16_t
+ const qLen, void * const stkSto, uint_fast16_t const stkSize
+ , QEvt const * const ie)
+ Cyclomatic Complexity Vg Detail
+ Function Base : 1
+ Conditional if / else if: 1
+ Logical and ( && ) : 4
+ Complexity Param 6 Return 1 Cyclo Vg 6 Total 13
+ LOC 21 eLOC 18 lLOC 12 Comment 28 Lines 31
+
+ Function: QP::QActive::stop
+ Parameters: (void)
+ Cyclomatic Complexity Vg Detail
+ Function Base : 1
+ Conditional if / else if: 1
+ Logical and ( && ) : 1
+ Complexity Param 0 Return 1 Cyclo Vg 3 Total 4
+ LOC 12 eLOC 10 lLOC 6 Comment 14 Lines 15
+
+ Function: static_cast
+ Parameters: (0))
+ Cyclomatic Complexity Vg Detail
+ Function Base : 1
+ Conditional if / else if: 2
+ Complexity Param 1 Return 1 Cyclo Vg 3 Total 5
+ LOC 24 eLOC 19 lLOC 8 Comment 8 Lines 28
+
+ 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 78 eLOC 68 lLOC 34 Comment 54 Lines 108
+
+ Function: QXK_current
+ Parameters: (void)
+ Complexity Param 0 Return 1 Cyclo Vg 1 Total 2
+ LOC 9 eLOC 8 lLOC 6 Comment 2 Lines 13
+
+ ------------------------------------------------------------------------
+
+ ~~ Total File Summary ~~
+
+ LOC 237 eLOC 201 lLOC 102 Comment 231 Lines 452
+ ------------------------------------------------------------------------
+
+ ~~ File Functional Summary ~~
+
+ File Function Count....: 10
+ Total Function LOC.....: 181 Total Function Pts LOC : 4.5
+ Total Function eLOC....: 154 Total Function Pts eLOC: 3.8
+ Total Function lLOC....: 87 Total Function Pts lLOC: 1.9
+ Total Function Params .: 7 Total Function Return .: 10
+ Total Cyclo Complexity : 28 Total Function Complex.: 45
+ ------ ----- ----- ------ ------ -----
+ Max Function LOC ......: 78 Average Function LOC ..: 18.10
+ Max Function eLOC .....: 68 Average Function eLOC .: 15.40
+ Max Function lLOC .....: 34 Average Function lLOC .: 8.70
+ ------ ----- ----- ------ ------ -----
+ Max Function Parameters: 6 Avg Function Parameters: 0.70
+ Max Function Returns ..: 1 Avg Function Returns ..: 1.00
+ Max Interface Complex. : 7 Avg Interface Complex. : 1.70
+ Max Cyclomatic Complex.: 8 Avg Cyclomatic Complex.: 2.80
+ Max Total Complexity ..: 13 Avg Total Complexity ..: 4.50
+ ________________________________________________________________________
+ End of File: ..\src\qxk\qxk.cpp
+
+
+ File: ..\src\qxk\qxk_mutex.cpp
+ ________________________________________________________________________
+
+ Function: QP::QXMutex::init
+ Parameters: (uint_fast8_t const prio)
+ Complexity Param 1 Return 1 Cyclo Vg 1 Total 3
+ LOC 4 eLOC 3 lLOC 2 Comment 15 Lines 4
+
+ Function: QP::QXMutex::lock
+ Parameters: (void)
+ Cyclomatic Complexity Vg Detail
+ Function Base : 1
+ Conditional if / else if: 1
+ Inlined if-else ( ? : ) : 1
+ Logical and ( && ) : 1
+ Complexity Param 0 Return 1 Cyclo Vg 4 Total 5
+ LOC 22 eLOC 20 lLOC 9 Comment 28 Lines 29
+
+ Function: QP::QXMutex::unlock
+ Parameters: (void)
+ Cyclomatic Complexity Vg Detail
+ Function Base : 1
+ Conditional if / else if: 2
+ Inlined if-else ( ? : ) : 1
+ Logical and ( && ) : 1
+ Complexity Param 0 Return 1 Cyclo Vg 5 Total 6
+ LOC 24 eLOC 21 lLOC 10 Comment 28 Lines 31
+
+ ------------------------------------------------------------------------
+
+ ~~ Total File Summary ~~
+
+ LOC 68 eLOC 60 lLOC 22 Comment 121 Lines 183
+ ------------------------------------------------------------------------
+
+ ~~ File Functional Summary ~~
+
+ File Function Count....: 3
+ Total Function LOC.....: 50 Total Function Pts LOC : 1.3
+ Total Function eLOC....: 44 Total Function Pts eLOC: 1.1
+ Total Function lLOC....: 21 Total Function Pts lLOC: 0.4
+ Total Function Params .: 1 Total Function Return .: 3
+ Total Cyclo Complexity : 10 Total Function Complex.: 14
+ ------ ----- ----- ------ ------ -----
+ Max Function LOC ......: 24 Average Function LOC ..: 16.67
+ Max Function eLOC .....: 21 Average Function eLOC .: 14.67
+ Max Function lLOC .....: 10 Average Function lLOC .: 7.00
+ ------ ----- ----- ------ ------ -----
+ Max Function Parameters: 1 Avg Function Parameters: 0.33
+ Max Function Returns ..: 1 Avg Function Returns ..: 1.00
+ Max Interface Complex. : 2 Avg Interface Complex. : 1.33
+ Max Cyclomatic Complex.: 5 Avg Cyclomatic Complex.: 3.33
+ Max Total Complexity ..: 6 Avg Total Complexity ..: 4.67
+ ________________________________________________________________________
+ End of File: ..\src\qxk\qxk_mutex.cpp
+
+
+ File: ..\src\qxk\qxk_sema.cpp
+ ________________________________________________________________________
+
+ Function: QP::QXSemaphore::init
+ Parameters: (uint_fast16_t const count)
+ Complexity Param 1 Return 1 Cyclo Vg 1 Total 3
+ LOC 4 eLOC 3 lLOC 2 Comment 14 Lines 4
+
+ Function: QP::QXSemaphore::wait
+ Parameters: (uint_fast16_t const nTicks, uint_fast8_t const tickRate)
+ Cyclomatic Complexity Vg Detail
+ Function Base : 1
+ Conditional if / else if: 1
+ Logical and ( && ) : 2
+ Complexity Param 2 Return 1 Cyclo Vg 4 Total 7
+ LOC 27 eLOC 23 lLOC 17 Comment 32 Lines 35
+
+ Function: QP::QXSemaphore::signal
+ 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 20 eLOC 16 lLOC 10 Comment 17 Lines 27
+
+ ------------------------------------------------------------------------
+
+ ~~ Total File Summary ~~
+
+ LOC 68 eLOC 58 lLOC 29 Comment 111 Lines 180
+ ------------------------------------------------------------------------
+
+ ~~ File Functional Summary ~~
+
+ File Function Count....: 3
+ Total Function LOC.....: 51 Total Function Pts LOC : 1.3
+ Total Function eLOC....: 42 Total Function Pts eLOC: 1.1
+ Total Function lLOC....: 29 Total Function Pts lLOC: 0.5
+ Total Function Params .: 3 Total Function Return .: 3
+ Total Cyclo Complexity : 9 Total Function Complex.: 15
+ ------ ----- ----- ------ ------ -----
+ Max Function LOC ......: 27 Average Function LOC ..: 17.00
+ Max Function eLOC .....: 23 Average Function eLOC .: 14.00
+ Max Function lLOC .....: 17 Average Function lLOC .: 9.67
+ ------ ----- ----- ------ ------ -----
+ Max Function Parameters: 2 Avg Function Parameters: 1.00
+ Max Function Returns ..: 1 Avg Function Returns ..: 1.00
+ Max Interface Complex. : 3 Avg Interface Complex. : 2.00
+ Max Cyclomatic Complex.: 4 Avg Cyclomatic Complex.: 3.00
+ Max Total Complexity ..: 7 Avg Total Complexity ..: 5.00
+ ________________________________________________________________________
+ End of File: ..\src\qxk\qxk_sema.cpp
+
+
+ File: ..\src\qxk\qxk_xthr.cpp
+ ________________________________________________________________________
+
+ Function: QP::QXThread::QXThread
+ Parameters: (QXThreadHandler const handler, uint_fast8_t const tickRate)
+ Complexity Param 2 Return 1 Cyclo Vg 1 Total 4
+ LOC 3 eLOC 1 lLOC 1 Comment 17 Lines 3
+
+ Function: QP::QXThread::init
+ Parameters: (QEvt const * const)
+ Complexity Param 1 Return 1 Cyclo Vg 1 Total 3
+ LOC 3 eLOC 2 lLOC 1 Comment 3 Lines 3
+
+ Function: QP::QXThread::dispatch
+ Parameters: (QEvt const * const)
+ Complexity Param 1 Return 1 Cyclo Vg 1 Total 3
+ LOC 3 eLOC 2 lLOC 1 Comment 2 Lines 3
+
+ Function: QP::QXThread::start
+ Parameters: (uint_fast8_t const prio, QEvt const *qSto[], uint_fast16_t
+ const qLen, void * const stkSto, uint_fast16_t const stkSize
+ , QEvt const * const)
+ Cyclomatic Complexity Vg Detail
+ Function Base : 1
+ Conditional if / else if: 1
+ Logical and ( && ) : 4
+ Complexity Param 6 Return 1 Cyclo Vg 6 Total 13
+ LOC 20 eLOC 17 lLOC 10 Comment 32 Lines 33
+
+ Function: QP::QXThread::post_
+ Parameters: (QEvt const * const e, uint_fast16_t const margin)
+ Cyclomatic Complexity Vg Detail
+ Function Base : 1
+ Conditional if / else if: 9
+ Complexity Param 2 Return 1 Cyclo Vg 10 Total 13
+ LOC 79 eLOC 64 lLOC 44 Comment 63 Lines 111
+
+ Function: QP::QXThread::postLIFO
+ Parameters: (QEvt const * const)
+ Complexity Param 1 Return 1 Cyclo Vg 1 Total 3
+ LOC 3 eLOC 2 lLOC 1 Comment 9 Lines 3
+
+ Function: QP::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 34 Comment 49 Lines 82
+
+ Function: QP::QXThread::block_
+ Parameters: (void)
+ Complexity Param 0 Return 1 Cyclo Vg 1 Total 2
+ LOC 5 eLOC 4 lLOC 3 Comment 8 Lines 6
+
+ Function: QP::QXThread::unblock_
+ Parameters: (void)
+ Cyclomatic Complexity Vg Detail
+ Function Base : 1
+ Conditional if / else if: 1
+ Logical and ( && ) : 1
+ Complexity Param 0 Return 1 Cyclo Vg 3 Total 4
+ LOC 8 eLOC 5 lLOC 2 Comment 9 Lines 9
+
+ Function: QP::QXThread::teArm_
+ Parameters: (enum_t const sig, uint_fast16_t const nTicks, uint_fast8_t
+ const tickRate)
+ Cyclomatic Complexity Vg Detail
+ Function Base : 1
+ Conditional if / else if: 2
+ Complexity Param 3 Return 1 Cyclo Vg 3 Total 7
+ LOC 16 eLOC 11 lLOC 7 Comment 21 Lines 32
+
+ Function: QP::QXThread::teDisarm_
+ Parameters: (void)
+ Cyclomatic Complexity Vg Detail
+ Function Base : 1
+ Conditional if / else if: 1
+ Complexity Param 0 Return 1 Cyclo Vg 2 Total 3
+ LOC 11 eLOC 8 lLOC 5 Comment 10 Lines 14
+
+ Function: QP::QXThread::delay
+ Parameters: (uint_fast16_t const nTicks, uint_fast8_t const tickRate)
+ Complexity Param 2 Return 1 Cyclo Vg 1 Total 4
+ LOC 17 eLOC 15 lLOC 13 Comment 9 Lines 27
+
+ Function: QP::QXThread::delayCancel
+ Parameters: (void)
+ Cyclomatic Complexity Vg Detail
+ Function Base : 1
+ Conditional if / else if: 1
+ Complexity Param 0 Return 1 Cyclo Vg 2 Total 3
+ LOC 14 eLOC 11 lLOC 7 Comment 2 Lines 16
+
+ ------------------------------------------------------------------------
+
+ ~~ Total File Summary ~~
+
+ LOC 290 eLOC 239 lLOC 136 Comment 294 Lines 589
+ ------------------------------------------------------------------------
+
+ ~~ File Functional Summary ~~
+
+ File Function Count....: 13
+ Total Function LOC.....: 242 Total Function Pts LOC : 5.5
+ Total Function eLOC....: 194 Total Function Pts eLOC: 4.5
+ Total Function lLOC....: 129 Total Function Pts lLOC: 2.6
+ Total Function Params .: 20 Total Function Return .: 13
+ Total Cyclo Complexity : 39 Total Function Complex.: 72
+ ------ ----- ----- ------ ------ -----
+ Max Function LOC ......: 79 Average Function LOC ..: 18.62
+ Max Function eLOC .....: 64 Average Function eLOC .: 14.92
+ Max Function lLOC .....: 44 Average Function lLOC .: 9.92
+ ------ ----- ----- ------ ------ -----
+ Max Function Parameters: 6 Avg Function Parameters: 1.54
+ Max Function Returns ..: 1 Avg Function Returns ..: 1.00
+ Max Interface Complex. : 7 Avg Interface Complex. : 2.54
+ Max Cyclomatic Complex.: 10 Avg Cyclomatic Complex.: 3.00
+ Max Total Complexity ..: 13 Avg Total Complexity ..: 5.54
+ ________________________________________________________________________
+ End of File: ..\src\qxk\qxk_xthr.cpp
+
+
+ ------------------------------------------------------------------------
+
+ ~~ Project Analysis For 36 Files ~~
+
+ ------------------------------------------------------------------------
+
+ ~~ Total Project Summary ~~
+
+ LOC 4669 eLOC 4132 lLOC 1783 Comment 6159 Lines 11086
+ Average per File, metric/36 files
+ LOC 129 eLOC 114 lLOC 49 Comment 171 Lines 307
+
+ ------------------------------------------------------------------------
+
+ ~~ Project Functional Metrics ~~
+
+ Function: QP::QEvt::QEvt
+ Parameters: (QSignal const s)
+ Complexity Param 1 Return 1 Cyclo Vg 1 Total 3
+ LOC 1 eLOC 1 lLOC 0 Comment 2 Lines 1
+
+ Function: QP::QEvt::QEvt
+ Parameters: (QSignal const s, StaticEvt)
+ Complexity Param 2 Return 1 Cyclo Vg 1 Total 4
+ LOC 1 eLOC 1 lLOC 0 Comment 2 Lines 1
+
+ Function: QP::QEvt::~QEvt
+ Parameters: ()
+ Complexity Param 0 Return 1 Cyclo Vg 1 Total 2
+ LOC 1 eLOC 1 lLOC 0 Comment 1 Lines 1
+
+ Function: QP::QHsm::init
+ Parameters: (void)
+ Complexity Param 0 Return 1 Cyclo Vg 1 Total 2
+ LOC 1 eLOC 1 lLOC 1 Comment 1 Lines 1
+
+ Function: QP::QHsm::state
+ Parameters: (void)
+ Complexity Param 0 Return 1 Cyclo Vg 1 Total 2
+ LOC 3 eLOC 2 lLOC 1 Comment 2 Lines 3
+
+ Function: QP::QHsm::Q_HANDLED
+ Parameters: (void)
+ Complexity Param 0 Return 1 Cyclo Vg 1 Total 2
+ LOC 3 eLOC 2 lLOC 1 Comment 3 Lines 3
+
+ Function: QP::QHsm::Q_UNHANDLED
+ Parameters: (void)
+ Complexity Param 0 Return 1 Cyclo Vg 1 Total 2
+ LOC 3 eLOC 2 lLOC 1 Comment 4 Lines 3
+
+ Function: QP::QHsm::tran_
+ Parameters: (QStateHandler const target)
+ Complexity Param 1 Return 1 Cyclo Vg 1 Total 3
+ LOC 4 eLOC 3 lLOC 2 Comment 1 Lines 4
+
+ Function: QP::QHsm::tran_hist_
+ Parameters: (QStateHandler const hist)
+ Complexity Param 1 Return 1 Cyclo Vg 1 Total 3
+ LOC 4 eLOC 3 lLOC 2 Comment 1 Lines 4
+
+ Function: QP::QHsm::super_
+ Parameters: (QStateHandler const superstate)
+ Complexity Param 1 Return 1 Cyclo Vg 1 Total 3
+ LOC 4 eLOC 3 lLOC 2 Comment 1 Lines 4
+
+ Function: QP::QHsm::qm_tran_
+ Parameters: (QMTranActTable const * const tatbl)
+ Complexity Param 1 Return 1 Cyclo Vg 1 Total 3
+ LOC 4 eLOC 3 lLOC 2 Comment 2 Lines 4
+
+ Function: QP::QHsm::qm_tran_hist_
+ Parameters: (QMState const * const hist, QMTranActTable const * const ta
+ tbl)
+ Complexity Param 2 Return 1 Cyclo Vg 1 Total 4
+ LOC 5 eLOC 3 lLOC 3 Comment 1 Lines 5
+
+ Function: QP::QHsm::qm_tran_init_
+ Parameters: (QMTranActTable const * const tatbl)
+ Complexity Param 1 Return 1 Cyclo Vg 1 Total 3
+ LOC 4 eLOC 3 lLOC 2 Comment 1 Lines 4
+
+ Function: QP::QHsm::qm_tran_ep_
+ Parameters: (QMTranActTable const * const tatbl)
+ Complexity Param 1 Return 1 Cyclo Vg 1 Total 3
+ LOC 4 eLOC 3 lLOC 2 Comment 2 Lines 4
+
+ Function: QP::QHsm::qm_tran_xp_
+ Parameters: (QActionHandler const xp, QMTranActTable const *const tatbl)
+ Complexity Param 2 Return 1 Cyclo Vg 1 Total 4
+ LOC 5 eLOC 3 lLOC 3 Comment 2 Lines 5
+
+ Function: QP::QHsm::qm_entry_
+ Parameters: (QMState const * const s)
+ Complexity Param 1 Return 1 Cyclo Vg 1 Total 3
+ LOC 4 eLOC 3 lLOC 2 Comment 1 Lines 4
+
+ Function: QP::QHsm::qm_exit_
+ Parameters: (QMState const * const s)
+ Complexity Param 1 Return 1 Cyclo Vg 1 Total 3
+ LOC 4 eLOC 3 lLOC 2 Comment 1 Lines 4
+
+ Function: QP::QHsm::qm_super_sub_
+ Parameters: (QMState const * const s)
+ Complexity Param 1 Return 1 Cyclo Vg 1 Total 3
+ LOC 4 eLOC 3 lLOC 2 Comment 2 Lines 4
+
+ Function: QP::QHsm::QM_HANDLED
+ Parameters: (void)
+ Complexity Param 0 Return 1 Cyclo Vg 1 Total 2
+ LOC 3 eLOC 2 lLOC 1 Comment 2 Lines 3
+
+ Function: QP::QHsm::QM_UNHANDLED
+ Parameters: (void)
+ Complexity Param 0 Return 1 Cyclo Vg 1 Total 2
+ LOC 3 eLOC 2 lLOC 1 Comment 2 Lines 3
+
+ Function: QP::QHsm::QM_SUPER
+ Parameters: (void)
+ Complexity Param 0 Return 1 Cyclo Vg 1 Total 2
+ LOC 3 eLOC 2 lLOC 1 Comment 2 Lines 3
+
+ Function: QP::QMsm::init
+ Parameters: (void)
+ Complexity Param 0 Return 1 Cyclo Vg 1 Total 2
+ LOC 1 eLOC 1 lLOC 1 Comment 2 Lines 1
+
+ Function: QP::QMsm::stateObj
+ Parameters: (void) Non-ANSI Parameter Construct
+ Complexity Param 1 Return 1 Cyclo Vg 1 Total 3
+ LOC 3 eLOC 2 lLOC 1 Comment 1 Lines 3
+
+ Function: QP::QEP::getVersion
+ Parameters: (void) Non-ANSI Parameter Construct
+ Complexity Param 1 Return 1 Cyclo Vg 1 Total 3
+ LOC 3 eLOC 2 lLOC 1 Comment 1 Lines 3
+
+ Function: QP::QEQueue::getNFree
+ Parameters: (void)
+ Complexity Param 0 Return 1 Cyclo Vg 1 Total 2
+ LOC 3 eLOC 2 lLOC 1 Comment 10 Lines 3
+
+ Function: QP::QEQueue::isEmpty
+ Parameters: (void)
+ Complexity Param 0 Return 1 Cyclo Vg 1 Total 2
+ LOC 3 eLOC 2 lLOC 1 Comment 10 Lines 3
+
+ Function: QP::QActive::start
+ Parameters: (uint_fast8_t const prio, QEvt const *qSto[], uint_fast16_t
+ const qLen, void * const stkSto, uint_fast16_t const stkSize
+ )
+ Complexity Param 5 Return 1 Cyclo Vg 1 Total 7
+ LOC 4 eLOC 2 lLOC 1 Comment 1 Lines 4
+
+ Function: QP::QActive::getPrio
+ Parameters: (void) Non-ANSI Parameter Construct
+ Complexity Param 1 Return 1 Cyclo Vg 1 Total 3
+ LOC 3 eLOC 2 lLOC 1 Comment 1 Lines 3
+
+ Function: QP::QActive::setPrio
+ Parameters: (uint_fast8_t const prio)
+ Complexity Param 1 Return 1 Cyclo Vg 1 Total 3
+ LOC 3 eLOC 2 lLOC 1 Comment 1 Lines 3
+
+ Function: QP::QActive::getOsObject
+ Parameters: (void)
+ Complexity Param 0 Return 1 Cyclo Vg 1 Total 2
+ LOC 1 eLOC 1 lLOC 1 Comment 2 Lines 1
+
+ Function: QP::QActive::getThread
+ Parameters: (void)
+ Complexity Param 0 Return 1 Cyclo Vg 1 Total 2
+ LOC 1 eLOC 1 lLOC 1 Comment 2 Lines 1
+
+ Function: QP::QMActive::stateObj
+ Parameters: (void) Non-ANSI Parameter Construct
+ Complexity Param 1 Return 1 Cyclo Vg 1 Total 3
+ LOC 3 eLOC 2 lLOC 1 Comment 1 Lines 3
+
+ Function: QP::QTimeEvt::QTimeEvt
+ Parameters: (enum_t const sgnl) Non-ANSI Parameter Construct Defined By
+ Compiler Directive
+ Complexity Param 1 Return 1 Cyclo Vg 1 Total 3
+ LOC 7 eLOC 5 lLOC 3 Comment 5 Lines 8
+
+ Function: QP::QTimeEvt::postIn
+ Parameters: (QActive * const act, QTimeEvtCtr const nTicks)
+ Complexity Param 2 Return 1 Cyclo Vg 1 Total 4
+ LOC 4 eLOC 3 lLOC 2 Comment 1 Lines 4
+
+ Function: QP::QTimeEvt::postEvery
+ Parameters: (QActive * const act, QTimeEvtCtr const nTicks)
+ Complexity Param 2 Return 1 Cyclo Vg 1 Total 4
+ LOC 4 eLOC 3 lLOC 2 Comment 1 Lines 4
+
+ Function: QP::QTimeEvt::toActive
+ Parameters: (void)
+ Complexity Param 0 Return 1 Cyclo Vg 1 Total 2
+ LOC 1 eLOC 1 lLOC 1 Comment 1 Lines 1
+
+ Function: QP::QTimeEvt::toTimeEvt
+ Parameters: (void)
+ Complexity Param 0 Return 1 Cyclo Vg 1 Total 2
+ LOC 1 eLOC 1 lLOC 1 Comment 1 Lines 1
+
+ Function: QP::QF::getVersion
+ Parameters: (void)
+ Complexity Param 0 Return 1 Cyclo Vg 1 Total 2
+ LOC 3 eLOC 2 lLOC 1 Comment 1 Lines 3
+
+ Function: QP::QTicker::init
+ Parameters: (void)
+ Complexity Param 0 Return 1 Cyclo Vg 1 Total 2
+ LOC 1 eLOC 1 lLOC 1 Comment 0 Lines 1
+
+ Function: QP::QK::getVersion
+ Parameters: (void)
+ Complexity Param 0 Return 1 Cyclo Vg 1 Total 2
+ LOC 3 eLOC 2 lLOC 1 Comment 1 Lines 3
+
+ Function: QP::QMPool::getBlockSize
+ Parameters: (void)
+ Complexity Param 0 Return 1 Cyclo Vg 1 Total 2
+ LOC 3 eLOC 2 lLOC 1 Comment 1 Lines 3
+
+ Function: QP::QF_LOG2
+ Parameters: (uint32_t const x)
+ Complexity Param 1 Return 1 Cyclo Vg 4 Total 6
+ LOC 25 eLOC 18 lLOC 11 Comment 8 Lines 26
+
+ Function: QP::QPSet::setEmpty
+ Parameters: (void)
+ Complexity Param 0 Return 1 Cyclo Vg 1 Total 2
+ LOC 3 eLOC 2 lLOC 1 Comment 1 Lines 3
+
+ Function: QP::QPSet::isEmpty
+ Parameters: (void)
+ Complexity Param 0 Return 1 Cyclo Vg 1 Total 2
+ LOC 3 eLOC 2 lLOC 1 Comment 1 Lines 3
+
+ Function: QP::QPSet::notEmpty
+ Parameters: (void)
+ Complexity Param 0 Return 1 Cyclo Vg 1 Total 2
+ LOC 3 eLOC 2 lLOC 1 Comment 1 Lines 3
+
+ Function: QP::QPSet::hasElement
+ Parameters: (uint_fast8_t const n)
+ Complexity Param 1 Return 1 Cyclo Vg 1 Total 3
+ LOC 5 eLOC 4 lLOC 1 Comment 1 Lines 5
+
+ Function: QP::QPSet::insert
+ Parameters: (uint_fast8_t const n)
+ Complexity Param 1 Return 1 Cyclo Vg 1 Total 3
+ LOC 4 eLOC 3 lLOC 1 Comment 1 Lines 4
+
+ Function: QP::QPSet::remove
+ Parameters: (uint_fast8_t const n)
+ Complexity Param 1 Return 1 Cyclo Vg 1 Total 3
+ LOC 4 eLOC 3 lLOC 1 Comment 1 Lines 4
+
+ Function: QP::QPSet::findMax
+ Parameters: (void)
+ Complexity Param 0 Return 1 Cyclo Vg 1 Total 2
+ LOC 3 eLOC 2 lLOC 1 Comment 1 Lines 3
+
+ Function: QP::QPSet::setEmpty
+ Parameters: (void)
+ Complexity Param 0 Return 1 Cyclo Vg 1 Total 2
+ LOC 4 eLOC 3 lLOC 2 Comment 1 Lines 4
+
+ Function: QP::QPSet::isEmpty
+ Parameters: (void)
+ Complexity Param 0 Return 1 Cyclo Vg 2 Total 3
+ LOC 5 eLOC 4 lLOC 1 Comment 2 Lines 5
+
+ Function: QP::QPSet::notEmpty
+ Parameters: (void)
+ Complexity Param 0 Return 1 Cyclo Vg 2 Total 3
+ LOC 5 eLOC 4 lLOC 1 Comment 2 Lines 5
+
+ Function: QP::QPSet::hasElement
+ Parameters: (uint_fast8_t const n)
+ Complexity Param 1 Return 1 Cyclo Vg 2 Total 4
+ LOC 9 eLOC 8 lLOC 1 Comment 1 Lines 9
+
+ Function: QP::QPSet::insert
+ Parameters: (uint_fast8_t const n)
+ Complexity Param 1 Return 1 Cyclo Vg 2 Total 4
+ LOC 10 eLOC 7 lLOC 2 Comment 1 Lines 10
+
+ Function: QP::QPSet::remove
+ Parameters: (uint_fast8_t const n)
+ Complexity Param 1 Return 1 Cyclo Vg 2 Total 4
+ LOC 10 eLOC 7 lLOC 2 Comment 1 Lines 10
+
+ Function: QP::QPSet::findMax
+ Parameters: (void)
+ Complexity Param 0 Return 1 Cyclo Vg 2 Total 3
+ LOC 5 eLOC 4 lLOC 1 Comment 1 Lines 5
+
+ Function: QP::QS::getVersion
+ Parameters: (void)
+ Complexity Param 0 Return 1 Cyclo Vg 1 Total 2
+ LOC 3 eLOC 2 lLOC 1 Comment 1 Lines 3
+
+ Function: QP::QS::rxPut
+ Parameters: (uint8_t const b)
+ Complexity Param 1 Return 1 Cyclo Vg 4 Total 6
+ LOC 14 eLOC 9 lLOC 4 Comment 1 Lines 14
+
+ Function: QP::QS::force_cast
+ Parameters: (T_IN in)
+ Template: template
+ Complexity Param 1 Return 1 Cyclo Vg 1 Total 3
+ LOC 7 eLOC 6 lLOC 4 Comment 2 Lines 7
+
+ Function: QP::QV::getVersion
+ Parameters: (void)
+ Complexity Param 0 Return 1 Cyclo Vg 1 Total 2
+ LOC 3 eLOC 2 lLOC 1 Comment 1 Lines 3
+
+ Function: QP::QXK::getVersion
+ Parameters: (void)
+ Complexity Param 0 Return 1 Cyclo Vg 1 Total 2
+ LOC 3 eLOC 2 lLOC 1 Comment 1 Lines 3
+
+ Function: QP::QXThread::init
+ Parameters: (void)
+ Complexity Param 0 Return 1 Cyclo Vg 1 Total 2
+ LOC 1 eLOC 1 lLOC 1 Comment 2 Lines 1
+
+ Function: QP::QXThread::start
+ Parameters: (uint_fast8_t const prio, QEvt const *qSto[], uint_fast16_t
+ const qLen, void * const stkSto, uint_fast16_t const stkSize
+ )
+ Complexity Param 5 Return 1 Cyclo Vg 1 Total 7
+ LOC 4 eLOC 2 lLOC 1 Comment 1 Lines 4
+
+ Function: QP::QF_EVT_POOL_ID_
+ Parameters: (QEvt const * const e)
+ Complexity Param 1 Return 1 Cyclo Vg 1 Total 3
+ LOC 1 eLOC 1 lLOC 1 Comment 1 Lines 1
+
+ Function: QP::QF_EVT_REF_CTR_
+ Parameters: (QEvt const * const e)
+ Complexity Param 1 Return 1 Cyclo Vg 1 Total 3
+ LOC 1 eLOC 1 lLOC 1 Comment 1 Lines 1
+
+ Function: QP::QF_EVT_REF_CTR_INC_
+ Parameters: (QEvt const * const e)
+ Complexity Param 1 Return 1 Cyclo Vg 1 Total 3
+ LOC 3 eLOC 2 lLOC 1 Comment 1 Lines 3
+
+ Function: QP::QF_EVT_REF_CTR_DEC_
+ Parameters: (QEvt const * const e)
+ Complexity Param 1 Return 1 Cyclo Vg 1 Total 3
+ LOC 3 eLOC 2 lLOC 1 Comment 1 Lines 3
+
+ Function: QP::QHsm::QHsm
+ Parameters: (QStateHandler const initial)
+ Complexity Param 1 Return 1 Cyclo Vg 1 Total 3
+ LOC 4 eLOC 3 lLOC 2 Comment 8 Lines 4
+
+ Function: QP::QHsm::~QHsm
+ Parameters: ()
+ Complexity Param 0 Return 1 Cyclo Vg 1 Total 2
+ LOC 2 eLOC 1 lLOC 0 Comment 4 Lines 2
+
+ Function: QP::QHsm::init
+ Parameters: (QEvt const * const e)
+ Complexity Param 1 Return 1 Cyclo Vg 6 Total 8
+ LOC 49 eLOC 46 lLOC 30 Comment 30 Lines 67
+
+ Function: QP::QHsm::top
+ Parameters: (void * const, QEvt const * const)
+ Complexity Param 2 Return 1 Cyclo Vg 1 Total 4
+ LOC 3 eLOC 2 lLOC 1 Comment 15 Lines 3
+
+ Function: QP::QHsm::dispatch
+ Parameters: (QEvt const * const e)
+ Complexity Param 1 Return 1 Cyclo Vg 13 Total 15
+ LOC 107 eLOC 96 lLOC 61 Comment 65 Lines 147
+
+ Function: QP::QHsm::hsm_tran
+ Parameters: (QStateHandler (&path)[MAX_NEST_DEPTH_])
+ Complexity Param 1 Return 1 Cyclo Vg 15 Total 17
+ LOC 99 eLOC 79 lLOC 48 Comment 61 Lines 140
+
+ Function: QP::QHsm::isIn
+ Parameters: (QStateHandler const s)
+ Complexity Param 1 Return 1 Cyclo Vg 3 Total 5
+ LOC 16 eLOC 13 lLOC 9 Comment 21 Lines 23
+
+ Function: QP::QHsm::childState
+ Parameters: (QStateHandler const parent)
+ Complexity Param 1 Return 1 Cyclo Vg 3 Total 5
+ LOC 19 eLOC 16 lLOC 12 Comment 27 Lines 25
+
+ Function: QP::QMsm::QMsm
+ Parameters: (QStateHandler const initial)
+ Complexity Param 1 Return 1 Cyclo Vg 1 Total 3
+ LOC 4 eLOC 2 lLOC 2 Comment 13 Lines 4
+
+ Function: QP::QMsm::init
+ Parameters: (QEvt const * const e)
+ Complexity Param 1 Return 1 Cyclo Vg 3 Total 5
+ LOC 21 eLOC 20 lLOC 12 Comment 23 Lines 33
+
+ Function: QP::QMsm::dispatch
+ Parameters: (QEvt const * const e)
+ Complexity Param 1 Return 1 Cyclo Vg 16 Total 18
+ LOC 117 eLOC 100 lLOC 61 Comment 73 Lines 159
+
+ Function: QP::QMsm::execTatbl_
+ Parameters: (QMTranActTable const * const tatbl)
+ Complexity Param 1 Return 1 Cyclo Vg 8 Total 10
+ LOC 56 eLOC 46 lLOC 21 Comment 31 Lines 67
+
+ Function: QP::QMsm::exitToTranSource_
+ Parameters: (QMState const *s, QMState const * const ts)
+ Complexity Param 2 Return 1 Cyclo Vg 4 Total 7
+ LOC 18 eLOC 13 lLOC 6 Comment 17 Lines 24
+
+ Function: QP::QMsm::enterHistory_
+ Parameters: (QMState const * const hist)
+ Complexity Param 1 Return 1 Cyclo Vg 6 Total 8
+ LOC 40 eLOC 33 lLOC 21 Comment 22 Lines 48
+
+ Function: QP::QMsm::isInState
+ Parameters: (QMState const * const st)
+ Complexity Param 1 Return 1 Cyclo Vg 3 Total 5
+ LOC 13 eLOC 9 lLOC 5 Comment 15 Lines 14
+
+ Function: QP::QMsm::childStateObj
+ Parameters: (QMState const * const parent)
+ Complexity Param 1 Return 1 Cyclo Vg 3 Total 5
+ LOC 19 eLOC 14 lLOC 9 Comment 17 Lines 23
+
+ Function: QP::QF::add_
+ Parameters: (QActive * const a)
+ Complexity Param 1 Return 1 Cyclo Vg 3 Total 5
+ LOC 15 eLOC 14 lLOC 8 Comment 17 Lines 20
+
+ Function: QP::QF::remove_
+ Parameters: (QActive * const a)
+ Complexity Param 1 Return 1 Cyclo Vg 3 Total 5
+ LOC 16 eLOC 15 lLOC 9 Comment 18 Lines 21
+
+ Function: QP::QF::bzero
+ Parameters: (void * const start, uint_fast16_t len)
+ Complexity Param 2 Return 1 Cyclo Vg 2 Total 5
+ LOC 8 eLOC 6 lLOC 4 Comment 13 Lines 8
+
+ Function: QP::QActive::post_
+ Parameters: (QEvt const * const e, uint_fast16_t const margin)
+ Complexity Param 2 Return 1 Cyclo Vg 8 Total 11
+ LOC 59 eLOC 49 lLOC 34 Comment 71 Lines 81
+
+ Function: QP::QActive::postLIFO
+ Parameters: (QEvt const * const e)
+ Complexity Param 1 Return 1 Cyclo Vg 5 Total 7
+ LOC 36 eLOC 30 lLOC 20 Comment 32 Lines 48
+
+ Function: QP::QActive::get_
+ Parameters: (void)
+ Complexity Param 0 Return 1 Cyclo Vg 3 Total 4
+ LOC 37 eLOC 33 lLOC 21 Comment 27 Lines 48
+
+ Function: QP::QF::getQueueMin
+ Parameters: (uint_fast8_t const prio)
+ Complexity Param 1 Return 1 Cyclo Vg 2 Total 4
+ LOC 10 eLOC 9 lLOC 5 Comment 17 Lines 13
+
+ Function: QP::QTicker::QTicker
+ Parameters: (uint_fast8_t const tickRate)
+ Complexity Param 1 Return 1 Cyclo Vg 1 Total 3
+ LOC 3 eLOC 1 lLOC 1 Comment 2 Lines 4
+
+ Function: QP::QTicker::init
+ Parameters: (QEvt const * const)
+ Complexity Param 1 Return 1 Cyclo Vg 1 Total 3
+ LOC 3 eLOC 2 lLOC 1 Comment 2 Lines 3
+
+ Function: QP::QTicker::dispatch
+ Parameters: (QEvt const * const)
+ Complexity Param 1 Return 1 Cyclo Vg 2 Total 4
+ LOC 10 eLOC 8 lLOC 6 Comment 4 Lines 11
+
+ Function: QP::QTicker::post_
+ Parameters: (QEvt const * const , uint_fast16_t const /*margin*/)
+ Complexity Param 2 Return 1 Cyclo Vg 2 Total 5
+ LOC 31 eLOC 28 lLOC 16 Comment 16 Lines 38
+
+ Function: QP::QTicker::postLIFO
+ Parameters: (QEvt const * const)
+ Complexity Param 1 Return 1 Cyclo Vg 1 Total 3
+ LOC 3 eLOC 2 lLOC 1 Comment 3 Lines 3
+
+ Function: QP::QActive::defer
+ Parameters: (QEQueue * const eq, QEvt const * const e)
+ Complexity Param 2 Return 1 Cyclo Vg 1 Total 4
+ LOC 3 eLOC 2 lLOC 1 Comment 22 Lines 3
+
+ Function: QP::QActive::recall
+ Parameters: (QEQueue * const eq)
+ Complexity Param 1 Return 1 Cyclo Vg 3 Total 5
+ LOC 15 eLOC 12 lLOC 8 Comment 30 Lines 27
+
+ Function: QP::QActive::flushDeferred
+ Parameters: (QEQueue * const eq)
+ Complexity Param 1 Return 1 Cyclo Vg 2 Total 4
+ LOC 11 eLOC 8 lLOC 5 Comment 15 Lines 11
+
+ Function: QP::QF::poolInit
+ Parameters: (void * const poolSto, uint_fast32_t const poolSize, uint_fa
+ st16_t const evtSize)
+ Complexity Param 3 Return 1 Cyclo Vg 2 Total 6
+ LOC 10 eLOC 8 lLOC 4 Comment 36 Lines 13
+
+ Function: QP::QF::newX_
+ Parameters: (uint_fast16_t const evtSize, uint_fast16_t const margin, en
+ um_t const sig)
+ Complexity Param 3 Return 1 Cyclo Vg 5 Total 9
+ LOC 30 eLOC 24 lLOC 14 Comment 35 Lines 42
+
+ Function: QP::QF::gc
+ Parameters: (QEvt const * const e)
+ Complexity Param 1 Return 1 Cyclo Vg 3 Total 5
+ LOC 32 eLOC 28 lLOC 14 Comment 39 Lines 47
+
+ Function: QP::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 15 Lines 14
+
+ Function: QP::QF::poolGetMaxBlockSize
+ Parameters: (void)
+ Complexity Param 0 Return 1 Cyclo Vg 1 Total 2
+ LOC 4 eLOC 3 lLOC 1 Comment 4 Lines 4
+
+ Function: QP::QMPool::QMPool
+ Parameters: (void)
+ Complexity Param 0 Return 1 Cyclo Vg 1 Total 2
+ LOC 1 eLOC 1 lLOC 0 Comment 9 Lines 1
+
+ Function: QP::QMPool::init
+ Parameters: (void * const poolSto, uint_fast32_t poolSize, uint_fast16_t
+ blockSize)
+ Complexity Param 3 Return 1 Cyclo Vg 5 Total 9
+ LOC 35 eLOC 31 lLOC 22 Comment 51 Lines 58
+
+ Function: QP::QMPool::put
+ Parameters: (void * const b)
+ Complexity Param 1 Return 1 Cyclo Vg 2 Total 4
+ LOC 17 eLOC 16 lLOC 9 Comment 23 Lines 24
+
+ Function: QP::QMPool::get
+ Parameters: (uint_fast16_t const margin)
+ Complexity Param 1 Return 1 Cyclo Vg 4 Total 6
+ LOC 41 eLOC 35 lLOC 22 Comment 46 Lines 61
+
+ Function: QP::QF::getPoolMin
+ Parameters: (uint_fast8_t const poolId)
+ Complexity Param 1 Return 1 Cyclo Vg 2 Total 4
+ LOC 10 eLOC 9 lLOC 5 Comment 13 Lines 14
+
+ Function: QP::QF::psInit
+ Parameters: (QSubscrList * const subscrSto, enum_t const maxSignal)
+ Complexity Param 2 Return 1 Cyclo Vg 1 Total 4
+ LOC 7 eLOC 6 lLOC 3 Comment 30 Lines 11
+
+ Function: QP::QF::publish_
+ Parameters: (QEvt const * const e)
+ Complexity Param 1 Return 1 Cyclo Vg 17 Total 19
+ LOC 95 eLOC 84 lLOC 44 Comment 111 Lines 191
+
+ Function: QP::QActive::QActive
+ Parameters: (QStateHandler const initial)
+ Complexity Param 1 Return 1 Cyclo Vg 1 Total 3
+ LOC 9 eLOC 7 lLOC 3 Comment 1 Lines 11
+
+ Function: QP::QEQueue::QEQueue
+ Parameters: (void)
+ Complexity Param 0 Return 1 Cyclo Vg 1 Total 2
+ LOC 1 eLOC 1 lLOC 0 Comment 4 Lines 1
+
+ Function: QP::QEQueue::init
+ Parameters: (QEvt const *qSto[], uint_fast16_t const qLen)
+ Complexity Param 2 Return 1 Cyclo Vg 2 Total 5
+ LOC 17 eLOC 15 lLOC 9 Comment 19 Lines 18
+
+ Function: QP::QEQueue::post
+ Parameters: (QEvt const * const e, uint_fast16_t const margin)
+ Complexity Param 2 Return 1 Cyclo Vg 6 Total 9
+ LOC 52 eLOC 44 lLOC 29 Comment 52 Lines 73
+
+ Function: QP::QEQueue::postLIFO
+ Parameters: (QEvt const * const e)
+ Complexity Param 1 Return 1 Cyclo Vg 5 Total 7
+ LOC 33 eLOC 28 lLOC 19 Comment 36 Lines 44
+
+ Function: QP::QEQueue::get
+ Parameters: (void)
+ Complexity Param 0 Return 1 Cyclo Vg 4 Total 5
+ LOC 39 eLOC 34 lLOC 21 Comment 31 Lines 48
+
+ Function: QP::QMActive::QMActive
+ Parameters: (QStateHandler const initial)
+ Complexity Param 1 Return 1 Cyclo Vg 1 Total 3
+ LOC 4 eLOC 2 lLOC 2 Comment 1 Lines 4
+
+ Function: QP::QMActive::init
+ Parameters: (QEvt const * const e)
+ Complexity Param 1 Return 1 Cyclo Vg 1 Total 3
+ LOC 3 eLOC 2 lLOC 1 Comment 1 Lines 3
+
+ Function: QP::QMActive::init
+ Parameters: (void)
+ Complexity Param 0 Return 1 Cyclo Vg 1 Total 2
+ LOC 3 eLOC 2 lLOC 1 Comment 1 Lines 3
+
+ Function: QP::QMActive::dispatch
+ Parameters: (QEvt const * const e)
+ Complexity Param 1 Return 1 Cyclo Vg 1 Total 3
+ LOC 3 eLOC 2 lLOC 1 Comment 1 Lines 3
+
+ Function: QP::QMActive::isInState
+ Parameters: (QMState const * const st)
+ Complexity Param 1 Return 1 Cyclo Vg 1 Total 3
+ LOC 3 eLOC 2 lLOC 1 Comment 1 Lines 3
+
+ Function: QP::QMActive::childStateObj
+ Parameters: (QMState const * const parent)
+ Complexity Param 1 Return 1 Cyclo Vg 1 Total 3
+ LOC 3 eLOC 2 lLOC 1 Comment 1 Lines 3
+
+ Function: QP::QF::tickX_
+ Parameters: (uint_fast8_t const tickRate)
+ Complexity Param 1 Return 1 Cyclo Vg 7 Total 9
+ LOC 66 eLOC 54 lLOC 36 Comment 52 Lines 95
+
+ Function: QP::QF::noTimeEvtsActiveX
+ Parameters: (uint_fast8_t const tickRate)
+ Complexity Param 1 Return 1 Cyclo Vg 3 Total 5
+ LOC 14 eLOC 10 lLOC 6 Comment 12 Lines 16
+
+ Function: QP::QTimeEvt::QTimeEvt
+ Parameters: (QActive * const act, enum_t const sgnl, uint_fast8_t const
+ tickRate) Defined By Compiler Directive
+ Complexity Param 3 Return 1 Cyclo Vg 2 Total 6
+ LOC 9 eLOC 7 lLOC 4 Comment 22 Lines 22
+
+ Function: QP::QTimeEvt::QTimeEvt
+ Parameters: () Defined By Compiler Directive
+ Complexity Param 1 Return 1 Cyclo Vg 1 Total 3
+ LOC 7 eLOC 5 lLOC 3 Comment 12 Lines 18
+
+ Function: QP::QTimeEvt::armX
+ Parameters: (QTimeEvtCtr const nTicks, QTimeEvtCtr const interval)
+ Complexity Param 2 Return 1 Cyclo Vg 6 Total 9
+ LOC 28 eLOC 26 lLOC 16 Comment 48 Lines 50
+
+ Function: QP::QTimeEvt::disarm
+ Parameters: (void)
+ Complexity Param 0 Return 1 Cyclo Vg 2 Total 3
+ LOC 30 eLOC 27 lLOC 17 Comment 27 Lines 38
+
+ Function: QP::QTimeEvt::rearm
+ Parameters: (QTimeEvtCtr const nTicks)
+ Complexity Param 1 Return 1 Cyclo Vg 7 Total 9
+ LOC 42 eLOC 35 lLOC 20 Comment 49 Lines 68
+
+ Function: QP::QTimeEvt::ctr
+ Parameters: (void)
+ Complexity Param 0 Return 1 Cyclo Vg 1 Total 2
+ LOC 15 eLOC 14 lLOC 10 Comment 16 Lines 18
+
+ Function: QP::QF::stop
+ Parameters: (void)
+ Complexity Param 0 Return 1 Cyclo Vg 1 Total 2
+ LOC 3 eLOC 2 lLOC 1 Comment 13 Lines 4
+
+ Function: QP::QF::run
+ Parameters: (void)
+ Complexity Param 0 Return 1 Cyclo Vg 5 Total 6
+ LOC 47 eLOC 41 lLOC 21 Comment 44 Lines 73
+
+ Function: QP::QActive::start
+ Parameters: (uint_fast8_t const prio, QEvt const *qSto[], uint_fast16_t
+ const qLen, void * const stkSto, uint_fast16_t const, QEvt c
+ onst * const ie)
+ Complexity Param 6 Return 1 Cyclo Vg 3 Total 10
+ LOC 10 eLOC 8 lLOC 6 Comment 26 Lines 16
+
+ Function: QP::QActive::stop
+ Parameters: (void)
+ Complexity Param 0 Return 1 Cyclo Vg 1 Total 2
+ LOC 7 eLOC 6 lLOC 4 Comment 14 Lines 8
+
+ Function: QP::QF::init
+ Parameters: (void)
+ Complexity Param 0 Return 1 Cyclo Vg 1 Total 2
+ LOC 14 eLOC 13 lLOC 9 Comment 14 Lines 17
+
+ Function: QP::QF::stop
+ Parameters: (void)
+ Complexity Param 0 Return 1 Cyclo Vg 1 Total 2
+ LOC 3 eLOC 2 lLOC 1 Comment 13 Lines 4
+
+ Function: QP::initial_events
+ Parameters: (void)
+ Complexity Param 0 Return 1 Cyclo Vg 2 Total 3
+ LOC 6 eLOC 4 lLOC 2 Comment 6 Lines 8
+
+ Function: QP::QF::run
+ Parameters: (void)
+ Complexity Param 0 Return 1 Cyclo Vg 2 Total 3
+ LOC 12 eLOC 10 lLOC 7 Comment 21 Lines 14
+
+ Function: QP::QActive::start
+ Parameters: (uint_fast8_t const prio, QEvt const *qSto[], uint_fast16_t
+ const qLen, void * const stkSto, uint_fast16_t const, QEvt c
+ onst * const ie)
+ Complexity Param 6 Return 1 Cyclo Vg 5 Total 12
+ LOC 17 eLOC 14 lLOC 9 Comment 29 Lines 26
+
+ Function: QP::QActive::stop
+ Parameters: (void)
+ Complexity Param 0 Return 1 Cyclo Vg 2 Total 3
+ LOC 11 eLOC 9 lLOC 6 Comment 14 Lines 14
+
+ Function: QK_activate_
+ Parameters: (void)
+ Complexity Param 0 Return 1 Cyclo Vg 7 Total 8
+ LOC 62 eLOC 54 lLOC 28 Comment 48 Lines 89
+
+ Function: QP::QMutex::init
+ Parameters: (uint_fast8_t const prio)
+ Complexity Param 1 Return 1 Cyclo Vg 1 Total 3
+ LOC 4 eLOC 3 lLOC 2 Comment 15 Lines 4
+
+ Function: QP::QMutex::lock
+ Parameters: (void)
+ Complexity Param 0 Return 1 Cyclo Vg 3 Total 4
+ LOC 17 eLOC 15 lLOC 7 Comment 24 Lines 23
+
+ Function: QP::QMutex::unlock
+ Parameters: (void)
+ Complexity Param 0 Return 1 Cyclo Vg 5 Total 6
+ LOC 23 eLOC 20 lLOC 9 Comment 25 Lines 31
+
+ Function: QP::QXKIdleThread::QXKIdleThread
+ Parameters: ()
+ Complexity Param 0 Return 1 Cyclo Vg 1 Total 2
+ LOC 1 eLOC 1 lLOC 0 Comment 0 Lines 1
+
+ Function: QP::QF::init
+ Parameters: (void)
+ Complexity Param 0 Return 1 Cyclo Vg 1 Total 2
+ LOC 15 eLOC 14 lLOC 11 Comment 15 Lines 21
+
+ Function: QP::QF::stop
+ Parameters: (void)
+ Complexity Param 0 Return 1 Cyclo Vg 1 Total 2
+ LOC 3 eLOC 2 lLOC 1 Comment 13 Lines 4
+
+ Function: QP::initial_events
+ Parameters: (void)
+ Complexity Param 0 Return 1 Cyclo Vg 2 Total 3
+ LOC 6 eLOC 4 lLOC 2 Comment 6 Lines 8
+
+ Function: QP::QF::run
+ Parameters: (void)
+ Complexity Param 0 Return 1 Cyclo Vg 2 Total 3
+ LOC 12 eLOC 10 lLOC 7 Comment 13 Lines 15
+
+ Function: QP::QActive::start
+ Parameters: (uint_fast8_t const prio, QEvt const *qSto[], uint_fast16_t
+ const qLen, void * const stkSto, uint_fast16_t const stkSize
+ , QEvt const * const ie)
+ Complexity Param 6 Return 1 Cyclo Vg 6 Total 13
+ LOC 21 eLOC 18 lLOC 12 Comment 28 Lines 31
+
+ Function: QP::QActive::stop
+ Parameters: (void)
+ Complexity Param 0 Return 1 Cyclo Vg 3 Total 4
+ LOC 12 eLOC 10 lLOC 6 Comment 14 Lines 15
+
+ Function: static_cast
+ Parameters: (0))
+ Complexity Param 1 Return 1 Cyclo Vg 3 Total 5
+ LOC 24 eLOC 19 lLOC 8 Comment 8 Lines 28
+
+ Function: QXK_activate_
+ Parameters: (void)
+ Complexity Param 0 Return 1 Cyclo Vg 8 Total 9
+ LOC 78 eLOC 68 lLOC 34 Comment 54 Lines 108
+
+ Function: QXK_current
+ Parameters: (void)
+ Complexity Param 0 Return 1 Cyclo Vg 1 Total 2
+ LOC 9 eLOC 8 lLOC 6 Comment 2 Lines 13
+
+ Function: QP::QXMutex::init
+ Parameters: (uint_fast8_t const prio)
+ Complexity Param 1 Return 1 Cyclo Vg 1 Total 3
+ LOC 4 eLOC 3 lLOC 2 Comment 15 Lines 4
+
+ Function: QP::QXMutex::lock
+ Parameters: (void)
+ Complexity Param 0 Return 1 Cyclo Vg 4 Total 5
+ LOC 22 eLOC 20 lLOC 9 Comment 28 Lines 29
+
+ Function: QP::QXMutex::unlock
+ Parameters: (void)
+ Complexity Param 0 Return 1 Cyclo Vg 5 Total 6
+ LOC 24 eLOC 21 lLOC 10 Comment 28 Lines 31
+
+ Function: QP::QXSemaphore::init
+ Parameters: (uint_fast16_t const count)
+ Complexity Param 1 Return 1 Cyclo Vg 1 Total 3
+ LOC 4 eLOC 3 lLOC 2 Comment 14 Lines 4
+
+ Function: QP::QXSemaphore::wait
+ Parameters: (uint_fast16_t const nTicks, uint_fast8_t const tickRate)
+ Complexity Param 2 Return 1 Cyclo Vg 4 Total 7
+ LOC 27 eLOC 23 lLOC 17 Comment 32 Lines 35
+
+ Function: QP::QXSemaphore::signal
+ Parameters: (void)
+ Complexity Param 0 Return 1 Cyclo Vg 4 Total 5
+ LOC 20 eLOC 16 lLOC 10 Comment 17 Lines 27
+
+ Function: QP::QXThread::QXThread
+ Parameters: (QXThreadHandler const handler, uint_fast8_t const tickRate)
+ Complexity Param 2 Return 1 Cyclo Vg 1 Total 4
+ LOC 3 eLOC 1 lLOC 1 Comment 17 Lines 3
+
+ Function: QP::QXThread::init
+ Parameters: (QEvt const * const)
+ Complexity Param 1 Return 1 Cyclo Vg 1 Total 3
+ LOC 3 eLOC 2 lLOC 1 Comment 3 Lines 3
+
+ Function: QP::QXThread::dispatch
+ Parameters: (QEvt const * const)
+ Complexity Param 1 Return 1 Cyclo Vg 1 Total 3
+ LOC 3 eLOC 2 lLOC 1 Comment 2 Lines 3
+
+ Function: QP::QXThread::start
+ Parameters: (uint_fast8_t const prio, QEvt const *qSto[], uint_fast16_t
+ const qLen, void * const stkSto, uint_fast16_t const stkSize
+ , QEvt const * const)
+ Complexity Param 6 Return 1 Cyclo Vg 6 Total 13
+ LOC 20 eLOC 17 lLOC 10 Comment 32 Lines 33
+
+ Function: QP::QXThread::post_
+ Parameters: (QEvt const * const e, uint_fast16_t const margin)
+ Complexity Param 2 Return 1 Cyclo Vg 10 Total 13
+ LOC 79 eLOC 64 lLOC 44 Comment 63 Lines 111
+
+ Function: QP::QXThread::postLIFO
+ Parameters: (QEvt const * const)
+ Complexity Param 1 Return 1 Cyclo Vg 1 Total 3
+ LOC 3 eLOC 2 lLOC 1 Comment 9 Lines 3
+
+ Function: QP::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 34 Comment 49 Lines 82
+
+ Function: QP::QXThread::block_
+ Parameters: (void)
+ Complexity Param 0 Return 1 Cyclo Vg 1 Total 2
+ LOC 5 eLOC 4 lLOC 3 Comment 8 Lines 6
+
+ Function: QP::QXThread::unblock_
+ Parameters: (void)
+ Complexity Param 0 Return 1 Cyclo Vg 3 Total 4
+ LOC 8 eLOC 5 lLOC 2 Comment 9 Lines 9
+
+ Function: QP::QXThread::teArm_
+ Parameters: (enum_t const sig, uint_fast16_t const nTicks, uint_fast8_t
+ const tickRate)
+ Complexity Param 3 Return 1 Cyclo Vg 3 Total 7
+ LOC 16 eLOC 11 lLOC 7 Comment 21 Lines 32
+
+ Function: QP::QXThread::teDisarm_
+ Parameters: (void)
+ Complexity Param 0 Return 1 Cyclo Vg 2 Total 3
+ LOC 11 eLOC 8 lLOC 5 Comment 10 Lines 14
+
+ Function: QP::QXThread::delay
+ Parameters: (uint_fast16_t const nTicks, uint_fast8_t const tickRate)
+ Complexity Param 2 Return 1 Cyclo Vg 1 Total 4
+ LOC 17 eLOC 15 lLOC 13 Comment 9 Lines 27
+
+ Function: QP::QXThread::delayCancel
+ Parameters: (void)
+ Complexity Param 0 Return 1 Cyclo Vg 2 Total 3
+ LOC 14 eLOC 11 lLOC 7 Comment 2 Lines 16
+
+ Total: Functions
+ LOC 2544 eLOC 2110 lLOC 1261 InCmp 339 CycloCmp 429
+ Function Points FP(LOC) 43.0 FP(eLOC) 36.2 FP(lLOC) 21.9
+
+ ------------------------------------------------------------------------
+
+ ~~ Project Functional Analysis ~~
+
+ Total Functions .......: 173 Total Physical Lines ..: 3454
+ Total LOC .............: 2544 Total Function Pts LOC : 43.0
+ Total eLOC ............: 2110 Total Function Pts eLOC: 36.2
+ Total lLOC.............: 1261 Total Function Pts lLOC: 21.9
+ Total Cyclomatic Comp. : 429 Total Interface Comp. .: 339
+ Total Parameters ......: 166 Total Return Points ...: 173
+ Total Comment Lines ...: 2474 Total Blank Lines .....: 461
+ ------ ----- ----- ------ ------ -----
+ Avg Physical Lines ....: 19.97
+ Avg LOC ...............: 14.71 Avg eLOC ..............: 12.20
+ Avg lLOC ..............: 7.29 Avg Cyclomatic Comp. ..: 2.48
+ Avg Interface Comp. ...: 1.96 Avg Parameters ........: 0.96
+ Avg Return Points .....: 1.00 Avg Comment Lines .....: 14.30
+ ------ ----- ----- ------ ------ -----
+ Max LOC ...............: 117
+ Max eLOC ..............: 100 Max lLOC ..............: 61
+ Max Cyclomatic Comp. ..: 17 Max Interface Comp. ...: 7
+ Max Parameters ........: 6 Max Return Points .....: 1
+ Max Comment Lines .....: 111 Max Total Lines .......: 191
+ ------ ----- ----- ------ ------ -----
+ Min LOC ...............: 1
+ Min eLOC ..............: 1 Min lLOC ..............: 0
+ Min Cyclomatic Comp. ..: 1 Min Interface Comp. ...: 1
+ Min Parameters ........: 0 Min Return Points .....: 1
+ Min Comment Lines .....: 0 Min Total Lines .......: 1
+
+ ------------------------------------------------------------------------
+
+ ~~ File Summary ~~
+
+ C Source Files *.c ....: 0 C/C++ Include Files *.h: 17
+ C++ Source Files *.c* .: 19 C++ Include Files *.h* : 0
+ C# Source Files *.cs ..: 0 Java Source File *.jav*: 0
+ Other File Count ......: 0 Total File Count ......: 36
+ ________________________________________________________________________
+
+@endcode
+*/
diff --git a/doxygen/snippets/qep_qhsm.cpp b/doxygen/snippets/qep_qhsm.cpp
index 31af2d92..8b047600 100644
--- a/doxygen/snippets/qep_qhsm.cpp
+++ b/doxygen/snippets/qep_qhsm.cpp
@@ -7,15 +7,15 @@ private:
uint8_t m_opKey;
public:
- Calc() : QHsm(Q_STATE_CAST(&QCalc::initial)) { // ctor
+ Calc() : QHsm(Q_STATE_CAST(&Calc::initial)) { // ctor
}
protected:
- static QState initial (Calc * const me, QEvt const *e);
- static QState on (Calc * const me, QEvt const *e);
- static QState error (Calc * const me, QEvt const *e);
- static QState ready (Calc * const me, QEvt const *e);
- static QState result (Calc * const me, QEvt const *e);
- static QState begin (Calc * const me, QEvt const *e);
+ static QState initial(Calc * const me, QEvt const *e);
+ static QState on (Calc * const me, QEvt const *e);
+ static QState error (Calc * const me, QEvt const *e);
+ static QState ready (Calc * const me, QEvt const *e);
+ static QState result (Calc * const me, QEvt const *e);
+ static QState begin (Calc * const me, QEvt const *e);
. . .
};
diff --git a/doxygen/snippets/qep_qmsm.cpp b/doxygen/snippets/qep_qmsm.cpp
index 23767fbb..4e777200 100644
--- a/doxygen/snippets/qep_qmsm.cpp
+++ b/doxygen/snippets/qep_qmsm.cpp
@@ -13,11 +13,11 @@ protected:
// NOTE: QMsm state machine code is not intended for manual
// coding but rather needs to be generated automatically by
// the QM modeling tool
- static QState initial (Calc * const me, QEvt const *e);
- static QState on (Calc * const me, QEvt const *e);
- static QState error (Calc * const me, QEvt const *e);
- static QState ready (Calc * const me, QEvt const *e);
- static QState result (Calc * const me, QEvt const *e);
- static QState begin (Calc * const me, QEvt const *e);
+ static QState initial(Calc * const me, QEvt const *e);
+ static QState on (Calc * const me, QEvt const *e);
+ static QState error (Calc * const me, QEvt const *e);
+ static QState ready (Calc * const me, QEvt const *e);
+ static QState result (Calc * const me, QEvt const *e);
+ static QState begin (Calc * const me, QEvt const *e);
. . .
};
diff --git a/examples/arm-cm/dpp_efm32-slstk3401a/qxk/iar/dpp-qxk.ewp b/examples/arm-cm/dpp_efm32-slstk3401a/qxk/iar/dpp-qxk.ewp
index 3d629d50..335bb580 100644
--- a/examples/arm-cm/dpp_efm32-slstk3401a/qxk/iar/dpp-qxk.ewp
+++ b/examples/arm-cm/dpp_efm32-slstk3401a/qxk/iar/dpp-qxk.ewp
@@ -32,11 +32,11 @@