From af0b6f2f00f96b9753aa1dcbe734284e6f99f25c Mon Sep 17 00:00:00 2001 From: QL Date: Fri, 3 Jan 2020 10:21:17 -0500 Subject: [PATCH] 6.7.0 --- README.md | 12 +- doxygen/Doxyfile | 11 +- doxygen/Doxyfile-CHM | 11 +- doxygen/Doxyfile-DOC | 11 +- doxygen/Doxyfile.gen | 376 ---- doxygen/gs.dox | 13 +- doxygen/make.bat | 1 + doxygen/metrics.dox | 4448 +++++++++++++++++++++--------------------- include/qs.h | 6 +- 9 files changed, 2248 insertions(+), 2641 deletions(-) delete mode 100644 doxygen/Doxyfile.gen diff --git a/README.md b/README.md index 01d09bd8..7f86016c 100644 --- a/README.md +++ b/README.md @@ -82,16 +82,10 @@ model of concurrency with hierarchical state machines. --------------------------------------------------------------------------- # Getting Started with QP/C -The following "Getting Started with QP/C" guide provides step-by-step -instructions on how to download, install, and get started with QP/C quickly: -https://www.state-machine.com/doc/AN_Getting_Started_with_QPC.pdf +The [QP/C Reference Manual](https://www.state-machine.com/qpc/) provides instructions on how to download, install, and get started with QP/C quickly. + +The [AppNote: "Getting Started with QP/C"](https://www.state-machine.com/doc/AN_Getting_Started_with_QPC.pdf) contains also a tutorial, in which you build a simple "Blinky" application. -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 -recommended location is `C:\qp\qpc` on Windows and `~/qp/qpc` -on Linux/MacOS. --------------------------------------------------------------------------- # QP/C Licensing diff --git a/doxygen/Doxyfile b/doxygen/Doxyfile index 2dd1365c..fb82eefc 100644 --- a/doxygen/Doxyfile +++ b/doxygen/Doxyfile @@ -43,7 +43,7 @@ OPTIMIZE_FOR_FORTRAN = NO OPTIMIZE_OUTPUT_VHDL = NO EXTENSION_MAPPING = lnt=Objective-C MARKDOWN_SUPPORT = YES -TOC_INCLUDE_HEADINGS = YES +TOC_INCLUDE_HEADINGS = 4 AUTOLINK_SUPPORT = YES BUILTIN_STL_SUPPORT = NO CPP_CLI_SUPPORT = NO @@ -135,8 +135,7 @@ INPUT = \ ../include \ ../src \ ../ports/lint-plus \ - ../../doxygen/help.dox \ - ../../doxygen/glossary.dox + ../../doxygen/help.dox INPUT_ENCODING = UTF-8 FILE_PATTERNS = \ @@ -152,8 +151,7 @@ RECURSIVE = YES EXCLUDE = \ ../include/qs_dummy.h \ ../src/qk \ - ../src/qxk \ - ../ports/lint/MISRA_Exemplar_Suite_test + ../src/qxk EXCLUDE_SYMLINKS = NO EXCLUDE_PATTERNS = @@ -188,7 +186,6 @@ USE_HTAGS = NO VERBATIM_HEADERS = YES CLANG_ASSISTED_PARSING = NO CLANG_OPTIONS = -CLANG_COMPILATION_DATABASE_PATH = 0 #--------------------------------------------------------------------------- # Configuration options related to the alphabetical class index #--------------------------------------------------------------------------- @@ -343,12 +340,10 @@ GENERATE_TAGFILE = ALLEXTERNALS = NO EXTERNAL_GROUPS = YES EXTERNAL_PAGES = YES -PERL_PATH = /usr/bin/perl #--------------------------------------------------------------------------- # Configuration options related to the dot tool #--------------------------------------------------------------------------- CLASS_DIAGRAMS = YES -MSCGEN_PATH = DIA_PATH = HIDE_UNDOC_RELATIONS = YES HAVE_DOT = YES diff --git a/doxygen/Doxyfile-CHM b/doxygen/Doxyfile-CHM index 788649a9..c4ac6b8b 100644 --- a/doxygen/Doxyfile-CHM +++ b/doxygen/Doxyfile-CHM @@ -43,7 +43,7 @@ OPTIMIZE_FOR_FORTRAN = NO OPTIMIZE_OUTPUT_VHDL = NO EXTENSION_MAPPING = lnt=Objective-C MARKDOWN_SUPPORT = YES -TOC_INCLUDE_HEADINGS = YES +TOC_INCLUDE_HEADINGS = 4 AUTOLINK_SUPPORT = YES BUILTIN_STL_SUPPORT = NO CPP_CLI_SUPPORT = NO @@ -135,8 +135,7 @@ INPUT = \ ../include \ ../src \ ../ports/lint-plus \ - ../../doxygen/help.dox \ - ../../doxygen/glossary.dox + ../../doxygen/help.dox INPUT_ENCODING = UTF-8 FILE_PATTERNS = \ @@ -152,8 +151,7 @@ RECURSIVE = YES EXCLUDE = \ ../include/qs_dummy.h \ ../src/qk \ - ../src/qxk \ - ../ports/lint/MISRA_Exemplar_Suite_test + ../src/qxk EXCLUDE_SYMLINKS = NO EXCLUDE_PATTERNS = @@ -188,7 +186,6 @@ USE_HTAGS = NO VERBATIM_HEADERS = YES CLANG_ASSISTED_PARSING = NO CLANG_OPTIONS = -CLANG_COMPILATION_DATABASE_PATH = 0 #--------------------------------------------------------------------------- # Configuration options related to the alphabetical class index #--------------------------------------------------------------------------- @@ -343,12 +340,10 @@ GENERATE_TAGFILE = ALLEXTERNALS = NO EXTERNAL_GROUPS = YES EXTERNAL_PAGES = YES -PERL_PATH = /usr/bin/perl #--------------------------------------------------------------------------- # Configuration options related to the dot tool #--------------------------------------------------------------------------- CLASS_DIAGRAMS = YES -MSCGEN_PATH = DIA_PATH = HIDE_UNDOC_RELATIONS = YES HAVE_DOT = YES diff --git a/doxygen/Doxyfile-DOC b/doxygen/Doxyfile-DOC index 20f31b64..27534f4f 100644 --- a/doxygen/Doxyfile-DOC +++ b/doxygen/Doxyfile-DOC @@ -43,7 +43,7 @@ OPTIMIZE_FOR_FORTRAN = NO OPTIMIZE_OUTPUT_VHDL = NO EXTENSION_MAPPING = lnt=Objective-C MARKDOWN_SUPPORT = YES -TOC_INCLUDE_HEADINGS = YES +TOC_INCLUDE_HEADINGS = 4 AUTOLINK_SUPPORT = YES BUILTIN_STL_SUPPORT = NO CPP_CLI_SUPPORT = NO @@ -139,8 +139,7 @@ INPUT = \ ../include \ ../src \ ../ports/lint-plus \ - ../../doxygen/help.dox \ - ../../doxygen/glossary.dox + ../../doxygen/help.dox INPUT_ENCODING = UTF-8 FILE_PATTERNS = \ @@ -156,8 +155,7 @@ RECURSIVE = YES EXCLUDE = \ ../include/qs_dummy.h \ ../src/qk \ - ../src/qxk \ - ../ports/lint/MISRA_Exemplar_Suite_test + ../src/qxk EXCLUDE_SYMLINKS = NO EXCLUDE_PATTERNS = @@ -192,7 +190,6 @@ USE_HTAGS = NO VERBATIM_HEADERS = YES CLANG_ASSISTED_PARSING = NO CLANG_OPTIONS = -CLANG_COMPILATION_DATABASE_PATH = 0 #--------------------------------------------------------------------------- # Configuration options related to the alphabetical class index #--------------------------------------------------------------------------- @@ -347,12 +344,10 @@ GENERATE_TAGFILE = ALLEXTERNALS = NO EXTERNAL_GROUPS = YES EXTERNAL_PAGES = YES -PERL_PATH = /usr/bin/perl #--------------------------------------------------------------------------- # Configuration options related to the dot tool #--------------------------------------------------------------------------- CLASS_DIAGRAMS = YES -MSCGEN_PATH = DIA_PATH = HIDE_UNDOC_RELATIONS = YES HAVE_DOT = YES diff --git a/doxygen/Doxyfile.gen b/doxygen/Doxyfile.gen deleted file mode 100644 index 5ec54e2a..00000000 --- a/doxygen/Doxyfile.gen +++ /dev/null @@ -1,376 +0,0 @@ -# Doxyfile 1.8.14 - -#--------------------------------------------------------------------------- -# Project related configuration options -#--------------------------------------------------------------------------- -DOXYFILE_ENCODING = UTF-8 -PROJECT_NAME = "My Project" -PROJECT_NUMBER = -PROJECT_BRIEF = -PROJECT_LOGO = -OUTPUT_DIRECTORY = -CREATE_SUBDIRS = NO -ALLOW_UNICODE_NAMES = NO -OUTPUT_LANGUAGE = English -BRIEF_MEMBER_DESC = YES -REPEAT_BRIEF = YES -ABBREVIATE_BRIEF = "The $name class" \ - "The $name widget" \ - "The $name file" \ - is \ - provides \ - specifies \ - contains \ - represents \ - a \ - an \ - the -ALWAYS_DETAILED_SEC = NO -INLINE_INHERITED_MEMB = NO -FULL_PATH_NAMES = YES -STRIP_FROM_PATH = -STRIP_FROM_INC_PATH = -SHORT_NAMES = NO -JAVADOC_AUTOBRIEF = NO -QT_AUTOBRIEF = NO -MULTILINE_CPP_IS_BRIEF = NO -INHERIT_DOCS = YES -SEPARATE_MEMBER_PAGES = NO -TAB_SIZE = 4 -ALIASES = -TCL_SUBST = -OPTIMIZE_OUTPUT_FOR_C = NO -OPTIMIZE_OUTPUT_JAVA = NO -OPTIMIZE_FOR_FORTRAN = NO -OPTIMIZE_OUTPUT_VHDL = NO -EXTENSION_MAPPING = -MARKDOWN_SUPPORT = YES -TOC_INCLUDE_HEADINGS = 0 -AUTOLINK_SUPPORT = YES -BUILTIN_STL_SUPPORT = NO -CPP_CLI_SUPPORT = NO -SIP_SUPPORT = NO -IDL_PROPERTY_SUPPORT = YES -DISTRIBUTE_GROUP_DOC = NO -GROUP_NESTED_COMPOUNDS = NO -SUBGROUPING = YES -INLINE_GROUPED_CLASSES = NO -INLINE_SIMPLE_STRUCTS = NO -TYPEDEF_HIDES_STRUCT = NO -LOOKUP_CACHE_SIZE = 0 -#--------------------------------------------------------------------------- -# Build related configuration options -#--------------------------------------------------------------------------- -EXTRACT_ALL = NO -EXTRACT_PRIVATE = NO -EXTRACT_PACKAGE = NO -EXTRACT_STATIC = NO -EXTRACT_LOCAL_CLASSES = YES -EXTRACT_LOCAL_METHODS = NO -EXTRACT_ANON_NSPACES = NO -HIDE_UNDOC_MEMBERS = NO -HIDE_UNDOC_CLASSES = NO -HIDE_FRIEND_COMPOUNDS = NO -HIDE_IN_BODY_DOCS = NO -INTERNAL_DOCS = NO -CASE_SENSE_NAMES = NO -HIDE_SCOPE_NAMES = NO -HIDE_COMPOUND_REFERENCE= NO -SHOW_INCLUDE_FILES = YES -SHOW_GROUPED_MEMB_INC = NO -FORCE_LOCAL_INCLUDES = NO -INLINE_INFO = YES -SORT_MEMBER_DOCS = YES -SORT_BRIEF_DOCS = NO -SORT_MEMBERS_CTORS_1ST = NO -SORT_GROUP_NAMES = NO -SORT_BY_SCOPE_NAME = NO -STRICT_PROTO_MATCHING = NO -GENERATE_TODOLIST = YES -GENERATE_TESTLIST = YES -GENERATE_BUGLIST = YES -GENERATE_DEPRECATEDLIST= YES -ENABLED_SECTIONS = -MAX_INITIALIZER_LINES = 30 -SHOW_USED_FILES = YES -SHOW_FILES = YES -SHOW_NAMESPACES = YES -FILE_VERSION_FILTER = -LAYOUT_FILE = -CITE_BIB_FILES = -#--------------------------------------------------------------------------- -# Configuration options related to warning and progress messages -#--------------------------------------------------------------------------- -QUIET = NO -WARNINGS = YES -WARN_IF_UNDOCUMENTED = YES -WARN_IF_DOC_ERROR = YES -WARN_NO_PARAMDOC = NO -WARN_AS_ERROR = NO -WARN_FORMAT = "$file:$line: $text" -WARN_LOGFILE = -#--------------------------------------------------------------------------- -# Configuration options related to the input files -#--------------------------------------------------------------------------- -INPUT = -INPUT_ENCODING = UTF-8 -FILE_PATTERNS = *.c \ - *.cc \ - *.cxx \ - *.cpp \ - *.c++ \ - *.java \ - *.ii \ - *.ixx \ - *.ipp \ - *.i++ \ - *.inl \ - *.idl \ - *.ddl \ - *.odl \ - *.h \ - *.hh \ - *.hxx \ - *.hpp \ - *.h++ \ - *.cs \ - *.d \ - *.php \ - *.php4 \ - *.php5 \ - *.phtml \ - *.inc \ - *.m \ - *.markdown \ - *.md \ - *.mm \ - *.dox \ - *.py \ - *.pyw \ - *.f90 \ - *.f95 \ - *.f03 \ - *.f08 \ - *.f \ - *.for \ - *.tcl \ - *.vhd \ - *.vhdl \ - *.ucf \ - *.qsf -RECURSIVE = NO -EXCLUDE = -EXCLUDE_SYMLINKS = NO -EXCLUDE_PATTERNS = -EXCLUDE_SYMBOLS = -EXAMPLE_PATH = -EXAMPLE_PATTERNS = * -EXAMPLE_RECURSIVE = NO -IMAGE_PATH = -INPUT_FILTER = -FILTER_PATTERNS = -FILTER_SOURCE_FILES = NO -FILTER_SOURCE_PATTERNS = -USE_MDFILE_AS_MAINPAGE = -#--------------------------------------------------------------------------- -# Configuration options related to source browsing -#--------------------------------------------------------------------------- -SOURCE_BROWSER = NO -INLINE_SOURCES = NO -STRIP_CODE_COMMENTS = YES -REFERENCED_BY_RELATION = NO -REFERENCES_RELATION = NO -REFERENCES_LINK_SOURCE = YES -SOURCE_TOOLTIPS = YES -USE_HTAGS = NO -VERBATIM_HEADERS = YES -CLANG_ASSISTED_PARSING = NO -CLANG_OPTIONS = -CLANG_COMPILATION_DATABASE_PATH = 0 -#--------------------------------------------------------------------------- -# Configuration options related to the alphabetical class index -#--------------------------------------------------------------------------- -ALPHABETICAL_INDEX = YES -COLS_IN_ALPHA_INDEX = 5 -IGNORE_PREFIX = -#--------------------------------------------------------------------------- -# Configuration options related to the HTML output -#--------------------------------------------------------------------------- -GENERATE_HTML = YES -HTML_OUTPUT = html -HTML_FILE_EXTENSION = .html -HTML_HEADER = -HTML_FOOTER = -HTML_STYLESHEET = -HTML_EXTRA_STYLESHEET = -HTML_EXTRA_FILES = -HTML_COLORSTYLE_HUE = 220 -HTML_COLORSTYLE_SAT = 100 -HTML_COLORSTYLE_GAMMA = 80 -HTML_TIMESTAMP = NO -HTML_DYNAMIC_MENUS = YES -HTML_DYNAMIC_SECTIONS = NO -HTML_INDEX_NUM_ENTRIES = 100 -GENERATE_DOCSET = NO -DOCSET_FEEDNAME = "Doxygen generated docs" -DOCSET_BUNDLE_ID = org.doxygen.Project -DOCSET_PUBLISHER_ID = org.doxygen.Publisher -DOCSET_PUBLISHER_NAME = Publisher -GENERATE_HTMLHELP = NO -CHM_FILE = -HHC_LOCATION = -GENERATE_CHI = NO -CHM_INDEX_ENCODING = -BINARY_TOC = NO -TOC_EXPAND = NO -GENERATE_QHP = NO -QCH_FILE = -QHP_NAMESPACE = org.doxygen.Project -QHP_VIRTUAL_FOLDER = doc -QHP_CUST_FILTER_NAME = -QHP_CUST_FILTER_ATTRS = -QHP_SECT_FILTER_ATTRS = -QHG_LOCATION = -GENERATE_ECLIPSEHELP = NO -ECLIPSE_DOC_ID = org.doxygen.Project -DISABLE_INDEX = NO -GENERATE_TREEVIEW = NO -ENUM_VALUES_PER_LINE = 4 -TREEVIEW_WIDTH = 250 -EXT_LINKS_IN_WINDOW = NO -FORMULA_FONTSIZE = 10 -FORMULA_TRANSPARENT = YES -USE_MATHJAX = NO -MATHJAX_FORMAT = HTML-CSS -MATHJAX_RELPATH = https://cdnjs.cloudflare.com/ajax/libs/mathjax/2.7.2/ -MATHJAX_EXTENSIONS = -MATHJAX_CODEFILE = -SEARCHENGINE = YES -SERVER_BASED_SEARCH = NO -EXTERNAL_SEARCH = NO -SEARCHENGINE_URL = -SEARCHDATA_FILE = searchdata.xml -EXTERNAL_SEARCH_ID = -EXTRA_SEARCH_MAPPINGS = -#--------------------------------------------------------------------------- -# Configuration options related to the LaTeX output -#--------------------------------------------------------------------------- -GENERATE_LATEX = YES -LATEX_OUTPUT = latex -LATEX_CMD_NAME = latex -MAKEINDEX_CMD_NAME = makeindex -COMPACT_LATEX = NO -PAPER_TYPE = a4 -EXTRA_PACKAGES = -LATEX_HEADER = -LATEX_FOOTER = -LATEX_EXTRA_STYLESHEET = -LATEX_EXTRA_FILES = -PDF_HYPERLINKS = YES -USE_PDFLATEX = YES -LATEX_BATCHMODE = NO -LATEX_HIDE_INDICES = NO -LATEX_SOURCE_CODE = NO -LATEX_BIB_STYLE = plain -LATEX_TIMESTAMP = NO -#--------------------------------------------------------------------------- -# Configuration options related to the RTF output -#--------------------------------------------------------------------------- -GENERATE_RTF = NO -RTF_OUTPUT = rtf -COMPACT_RTF = NO -RTF_HYPERLINKS = NO -RTF_STYLESHEET_FILE = -RTF_EXTENSIONS_FILE = -RTF_SOURCE_CODE = NO -#--------------------------------------------------------------------------- -# Configuration options related to the man page output -#--------------------------------------------------------------------------- -GENERATE_MAN = NO -MAN_OUTPUT = man -MAN_EXTENSION = .3 -MAN_SUBDIR = -MAN_LINKS = NO -#--------------------------------------------------------------------------- -# Configuration options related to the XML output -#--------------------------------------------------------------------------- -GENERATE_XML = NO -XML_OUTPUT = xml -XML_PROGRAMLISTING = YES -#--------------------------------------------------------------------------- -# Configuration options related to the DOCBOOK output -#--------------------------------------------------------------------------- -GENERATE_DOCBOOK = NO -DOCBOOK_OUTPUT = docbook -DOCBOOK_PROGRAMLISTING = NO -#--------------------------------------------------------------------------- -# Configuration options for the AutoGen Definitions output -#--------------------------------------------------------------------------- -GENERATE_AUTOGEN_DEF = NO -#--------------------------------------------------------------------------- -# Configuration options related to the Perl module output -#--------------------------------------------------------------------------- -GENERATE_PERLMOD = NO -PERLMOD_LATEX = NO -PERLMOD_PRETTY = YES -PERLMOD_MAKEVAR_PREFIX = -#--------------------------------------------------------------------------- -# Configuration options related to the preprocessor -#--------------------------------------------------------------------------- -ENABLE_PREPROCESSING = YES -MACRO_EXPANSION = NO -EXPAND_ONLY_PREDEF = NO -SEARCH_INCLUDES = YES -INCLUDE_PATH = -INCLUDE_FILE_PATTERNS = -PREDEFINED = -EXPAND_AS_DEFINED = -SKIP_FUNCTION_MACROS = YES -#--------------------------------------------------------------------------- -# Configuration options related to external references -#--------------------------------------------------------------------------- -TAGFILES = -GENERATE_TAGFILE = -ALLEXTERNALS = NO -EXTERNAL_GROUPS = YES -EXTERNAL_PAGES = YES -PERL_PATH = /usr/bin/perl -#--------------------------------------------------------------------------- -# Configuration options related to the dot tool -#--------------------------------------------------------------------------- -CLASS_DIAGRAMS = YES -MSCGEN_PATH = -DIA_PATH = -HIDE_UNDOC_RELATIONS = YES -HAVE_DOT = NO -DOT_NUM_THREADS = 0 -DOT_FONTNAME = Helvetica -DOT_FONTSIZE = 10 -DOT_FONTPATH = -CLASS_GRAPH = YES -COLLABORATION_GRAPH = YES -GROUP_GRAPHS = YES -UML_LOOK = NO -UML_LIMIT_NUM_FIELDS = 10 -TEMPLATE_RELATIONS = NO -INCLUDE_GRAPH = YES -INCLUDED_BY_GRAPH = YES -CALL_GRAPH = NO -CALLER_GRAPH = NO -GRAPHICAL_HIERARCHY = YES -DIRECTORY_GRAPH = YES -DOT_IMAGE_FORMAT = png -INTERACTIVE_SVG = NO -DOT_PATH = -DOTFILE_DIRS = -MSCFILE_DIRS = -DIAFILE_DIRS = -PLANTUML_JAR_PATH = -PLANTUML_CFG_FILE = -PLANTUML_INCLUDE_PATH = -DOT_GRAPH_MAX_NODES = 50 -MAX_DOT_GRAPH_DEPTH = 0 -DOT_TRANSPARENT = NO -DOT_MULTI_TARGETS = NO -GENERATE_LEGEND = YES -DOT_CLEANUP = YES diff --git a/doxygen/gs.dox b/doxygen/gs.dox index 3c0a21c1..78289fb0 100644 --- a/doxygen/gs.dox +++ b/doxygen/gs.dox @@ -1,18 +1,23 @@ /*! @page gs Getting Started +@section gs_obtain Downloading & Installing QP/C™ +@tableofcontents + +

The most recommended way of obtaining QP/C™ is by downloading the QP-bundle™, which includes QP/C™ as well as other QP frameworks and also the QM™ modeling tool and the QTools™ collection. The main advantage of obtaining QP/C™ bundled together like that is that you get all components, tools and examples ready to go. + @note -The features of this online help and tips for using it are described in Section @subpage help. +QP-bundle™ is the **most recommended** way of downloading and installing QP/C™. However, if you are allergic to installers and GUIs or don't have administrator privileges you can also **download and install QP/C™ separately** as described in the Application Note: "Getting Started with QP/C" below. ------------------------------------------------------------------------------ -@section gs_an Getting Started with QP/C App Note -The Quantum Leaps Application Note Getting Started with QP/C provides step-by-step instructions on how to download, install, and get started with QP/C quickly. The application note also contains a **QP/C Tutorial**, in which you build a simple "Blinky" application. +@section gs_an Getting Started with QP/C™ App Note +The Quantum Leaps Application Note Getting Started with QP/C provides instructions on how to download, install and get started with QP/C quickly. The application note also contains a **QP/C Tutorial**, in which you build a simple "Blinky" application. @htmlonly

-Application Note: Getting Started with QP/C +Application Note: Getting Started with QP/C™
@endhtmlonly diff --git a/doxygen/make.bat b/doxygen/make.bat index 7f6ae9e9..04e29a33 100644 --- a/doxygen/make.bat +++ b/doxygen/make.bat @@ -88,6 +88,7 @@ if "%1"=="-CHM" ( @echo Generating HTML... %DOXHOME%\doxygen.exe Doxyfile + @qclean C:\qp_lab\qpc\html ) @endlocal diff --git a/doxygen/metrics.dox b/doxygen/metrics.dox index 8c2bc354..42634798 100644 --- a/doxygen/metrics.dox +++ b/doxygen/metrics.dox @@ -1,2224 +1,2224 @@ -/** @page metrics Code Metrics - -@code{c} - Standard Code Metrics for QP/C 6.7.0 - - 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: Dec 31, 2019 - (C)1996-2009 M Squared Technologies LLC - ________________________________________________________________________ - - ~~ Function Metrics ~~ - ~~ Complexity Detail Analysis ~~ - - File: ..\include\qassert.h - ________________________________________________________________________ - - ~~ Total File Summary ~~ - - LOC 49 eLOC 48 lLOC 5 Comment 258 Lines 334 - ________________________________________________________________________ - End of File: ..\include\qassert.h - - - File: ..\include\qep.h - ________________________________________________________________________ - - ~~ Total File Summary ~~ - - LOC 160 eLOC 154 lLOC 62 Comment 412 Lines 624 - ________________________________________________________________________ - End of File: ..\include\qep.h - - - File: ..\include\qequeue.h - ________________________________________________________________________ - - ~~ Total File Summary ~~ - - LOC 33 eLOC 33 lLOC 15 Comment 180 Lines 233 - ________________________________________________________________________ - End of File: ..\include\qequeue.h - - - File: ..\include\qf.h - ________________________________________________________________________ - - ~~ Total File Summary ~~ - - LOC 191 eLOC 191 lLOC 76 Comment 540 Lines 829 - ________________________________________________________________________ - End of File: ..\include\qf.h - - - File: ..\include\qk.h - ________________________________________________________________________ - - ~~ Total File Summary ~~ - - LOC 61 eLOC 61 lLOC 22 Comment 128 Lines 205 - ________________________________________________________________________ - End of File: ..\include\qk.h - - - File: ..\include\qmpool.h - ________________________________________________________________________ - - ~~ Total File Summary ~~ - - LOC 42 eLOC 42 lLOC 18 Comment 109 Lines 169 - ________________________________________________________________________ - End of File: ..\include\qmpool.h - - - File: ..\include\qpc.h - ________________________________________________________________________ - - ~~ Total File Summary ~~ - - LOC 34 eLOC 33 lLOC 3 Comment 100 Lines 148 - ________________________________________________________________________ - End of File: ..\include\qpc.h - - - File: ..\include\qpset.h - ________________________________________________________________________ - - ~~ Total File Summary ~~ - - LOC 78 eLOC 78 lLOC 14 Comment 82 Lines 179 - ________________________________________________________________________ - End of File: ..\include\qpset.h - - - File: ..\include\qs.h - ________________________________________________________________________ - - - NOTICE: The end of the source file has been reached where the - open brace count { 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 582 eLOC 572 lLOC 132 Comment 771 Lines 1387 - ________________________________________________________________________ - End of File: ..\include\qs.h - - - File: ..\include\qs_dummy.h - ________________________________________________________________________ - - ~~ Total File Summary ~~ - - LOC 75 eLOC 75 lLOC 0 Comment 45 Lines 129 - ________________________________________________________________________ - End of File: ..\include\qs_dummy.h - - - File: ..\include\qv.h - ________________________________________________________________________ - - ~~ Total File Summary ~~ - - LOC 24 eLOC 24 lLOC 2 Comment 78 Lines 108 - ________________________________________________________________________ - End of File: ..\include\qv.h - - - File: ..\include\qxk.h - ________________________________________________________________________ - - ~~ Total File Summary ~~ - - LOC 66 eLOC 66 lLOC 25 Comment 137 Lines 217 - ________________________________________________________________________ - End of File: ..\include\qxk.h - - - File: ..\include\qxthread.h - ________________________________________________________________________ - - ~~ Total File Summary ~~ - - LOC 44 eLOC 43 lLOC 27 Comment 207 Lines 263 - ________________________________________________________________________ - End of File: ..\include\qxthread.h - - - File: ..\src\qf_pkg.h - ________________________________________________________________________ - - ~~ Total File Summary ~~ - - LOC 60 eLOC 59 lLOC 18 Comment 111 Lines 188 - ________________________________________________________________________ - End of File: ..\src\qf_pkg.h - - - File: ..\src\qs_pkg.h - ________________________________________________________________________ - - ~~ Total File Summary ~~ - - LOC 27 eLOC 25 lLOC 8 Comment 68 Lines 105 - ________________________________________________________________________ - End of File: ..\src\qs_pkg.h - - - File: ..\src\qxk_pkg.h - ________________________________________________________________________ - - ~~ Total File Summary ~~ - - LOC 20 eLOC 19 lLOC 8 Comment 60 Lines 90 - ________________________________________________________________________ - End of File: ..\src\qxk_pkg.h - - - File: ..\src\qf\qep_hsm.c - ________________________________________________________________________ - - Function: QHsm_ctor - Parameters: (QHsm * const me, QStateHandler initial) - Complexity Param 2 Return 1 Cyclo Vg 1 Total 4 - LOC 9 eLOC 7 lLOC 4 Comment 21 Lines 9 - - Function: QHsm_init_ - Parameters: (QHsm * const me, void const * const e) - Cyclomatic Complexity Vg Detail - Function Base : 1 - Loops while / do : 3 - Conditional if / else if: 1 - Logical and ( && ) : 2 - Complexity Param 2 Return 1 Cyclo Vg 7 Total 10 - LOC 50 eLOC 47 lLOC 31 Comment 35 Lines 71 - - Function: QHsm_top - Parameters: (void const * const me, QEvt const * const e) - Complexity Param 2 Return 1 Cyclo Vg 1 Total 4 - LOC 5 eLOC 4 lLOC 3 Comment 18 Lines 5 - - Function: QHsm_dispatch_ - Parameters: (QHsm * const me, QEvt const * const e) - Cyclomatic Complexity Vg Detail - Function Base : 1 - Loops while / do : 4 - Loops for / foreach : 2 - Conditional if / else if: 5 - Logical and ( && ) : 1 - Complexity Param 2 Return 1 Cyclo Vg 13 Total 16 - LOC 106 eLOC 95 lLOC 62 Comment 67 Lines 147 - - Function: QHsm_tran_ - Parameters: (QHsm * const me, QStateHandler path[QHSM_MAX_NEST_DEPTH_]) - Cyclomatic Complexity Vg Detail - Function Base : 1 - Loops while / do : 4 - Conditional if / else if: 10 - Complexity Param 2 Return 1 Cyclo Vg 15 Total 18 - LOC 97 eLOC 76 lLOC 48 Comment 63 Lines 134 - - Function: QHsm_isIn - Parameters: (QHsm * const me, QStateHandler const state) - Cyclomatic Complexity Vg Detail - Function Base : 1 - Loops while / do : 1 - Conditional if / else if: 1 - Complexity Param 2 Return 1 Cyclo Vg 3 Total 6 - LOC 16 eLOC 13 lLOC 9 Comment 22 Lines 21 - - Function: QHsm_childState_ - Parameters: (QHsm * const me, QStateHandler const parent) - Cyclomatic Complexity Vg Detail - Function Base : 1 - Loops while / do : 1 - Conditional if / else if: 1 - Complexity Param 2 Return 1 Cyclo Vg 3 Total 6 - LOC 22 eLOC 18 lLOC 13 Comment 34 Lines 28 - - ------------------------------------------------------------------------ - - ~~ Total File Summary ~~ - - LOC 349 eLOC 302 lLOC 178 Comment 323 Lines 638 - ------------------------------------------------------------------------ - - ~~ File Functional Summary ~~ - - File Function Count....: 7 - Total Function LOC.....: 305 Total Function Pts LOC : 2.7 - Total Function eLOC....: 260 Total Function Pts eLOC: 2.4 - Total Function lLOC....: 170 Total Function Pts lLOC: 1.4 - Total Function Params .: 14 Total Function Return .: 7 - Total Cyclo Complexity : 43 Total Function Complex.: 64 - ------ ----- ----- ------ ------ ----- - Max Function LOC ......: 106 Average Function LOC ..: 43.57 - Max Function eLOC .....: 95 Average Function eLOC .: 37.14 - Max Function lLOC .....: 62 Average Function lLOC .: 24.29 - ------ ----- ----- ------ ------ ----- - Max Function Parameters: 2 Avg Function Parameters: 2.00 - Max Function Returns ..: 1 Avg Function Returns ..: 1.00 - Max Interface Complex. : 3 Avg Interface Complex. : 3.00 - Max Cyclomatic Complex.: 15 Avg Cyclomatic Complex.: 6.14 - Max Total Complexity ..: 18 Avg Total Complexity ..: 9.14 - ________________________________________________________________________ - End of File: ..\src\qf\qep_hsm.c - - - File: ..\src\qf\qep_msm.c - ________________________________________________________________________ - - Function: QMsm_ctor - Parameters: (QMsm * const me, QStateHandler initial) - Complexity Param 2 Return 1 Cyclo Vg 1 Total 4 - LOC 9 eLOC 7 lLOC 4 Comment 29 Lines 10 - - Function: QMsm_init_ - Parameters: (QHsm * const me, void const * const e) - Cyclomatic Complexity Vg Detail - Function Base : 1 - Loops while / do : 1 - Logical and ( && ) : 2 - Complexity Param 2 Return 1 Cyclo Vg 4 Total 7 - LOC 23 eLOC 22 lLOC 13 Comment 26 Lines 38 - - Function: QMsm_dispatch_ - Parameters: (QHsm * const me, QEvt const * const e) - Cyclomatic Complexity Vg Detail - Function Base : 1 - Loops while / do : 2 - Conditional if / else if: 12 - Complexity Param 2 Return 1 Cyclo Vg 15 Total 18 - LOC 124 eLOC 107 lLOC 65 Comment 83 Lines 164 - - Function: QMsm_execTatbl_ - Parameters: (QMsm * const me, struct QMTranActTable const *tatbl) - Cyclomatic Complexity Vg Detail - Function Base : 1 - Loops for / foreach : 1 - Conditional if / else if: 5 - Inlined if-else ( ? : ) : 1 - Complexity Param 2 Return 1 Cyclo Vg 8 Total 11 - LOC 50 eLOC 41 lLOC 20 Comment 32 Lines 60 - - Function: QMsm_exitToTranSource_ - Parameters: (QMsm * const me, QMState const *cs, QMState const *ts) - Cyclomatic Complexity Vg Detail - Function Base : 1 - Loops while / do : 1 - Conditional if / else if: 2 - Complexity Param 3 Return 1 Cyclo Vg 4 Total 8 - LOC 18 eLOC 13 lLOC 7 Comment 20 Lines 25 - - Function: QMsm_enterHistory_ - Parameters: (QMsm * const me, QMState const *const hist) - Cyclomatic Complexity Vg Detail - Function Base : 1 - Loops while / do : 2 - Conditional if / else if: 3 - Complexity Param 2 Return 1 Cyclo Vg 6 Total 9 - LOC 40 eLOC 33 lLOC 21 Comment 25 Lines 48 - - Function: QMsm_isInState - Parameters: (QMsm const * const me, QMState const * const state) - Cyclomatic Complexity Vg Detail - Function Base : 1 - Loops for / foreach : 1 - Conditional if / else if: 1 - Complexity Param 2 Return 1 Cyclo Vg 3 Total 6 - LOC 11 eLOC 8 lLOC 6 Comment 17 Lines 12 - - Function: QMsm_childStateObj_ - Parameters: (QMsm const * const me, QMState const * const parent) - Cyclomatic Complexity Vg Detail - Function Base : 1 - Loops for / foreach : 1 - Conditional if / else if: 1 - Complexity Param 2 Return 1 Cyclo Vg 3 Total 6 - LOC 22 eLOC 16 lLOC 10 Comment 23 Lines 26 - - ------------------------------------------------------------------------ - - ~~ Total File Summary ~~ - - LOC 328 eLOC 276 lLOC 151 Comment 314 Lines 604 - ------------------------------------------------------------------------ - - ~~ File Functional Summary ~~ - - File Function Count....: 8 - Total Function LOC.....: 297 Total Function Pts LOC : 2.6 - Total Function eLOC....: 247 Total Function Pts eLOC: 2.2 - Total Function lLOC....: 146 Total Function Pts lLOC: 1.2 - Total Function Params .: 17 Total Function Return .: 8 - Total Cyclo Complexity : 44 Total Function Complex.: 69 - ------ ----- ----- ------ ------ ----- - Max Function LOC ......: 124 Average Function LOC ..: 37.13 - Max Function eLOC .....: 107 Average Function eLOC .: 30.88 - Max Function lLOC .....: 65 Average Function lLOC .: 18.25 - ------ ----- ----- ------ ------ ----- - Max Function Parameters: 3 Avg Function Parameters: 2.13 - Max Function Returns ..: 1 Avg Function Returns ..: 1.00 - Max Interface Complex. : 4 Avg Interface Complex. : 3.13 - Max Cyclomatic Complex.: 15 Avg Cyclomatic Complex.: 5.50 - Max Total Complexity ..: 18 Avg Total Complexity ..: 8.63 - ________________________________________________________________________ - End of File: ..\src\qf\qep_msm.c - - - File: ..\src\qf\qf_act.c - ________________________________________________________________________ - - Function: QF_add_ - Parameters: (QActive * const a) - Cyclomatic Complexity Vg Detail - Function Base : 1 - Logical and ( && ) : 2 - Complexity Param 1 Return 1 Cyclo Vg 3 Total 5 - LOC 10 eLOC 9 lLOC 5 Comment 20 Lines 17 - - Function: QF_remove_ - Parameters: (QActive * const a) - Cyclomatic Complexity Vg Detail - Function Base : 1 - Logical and ( && ) : 2 - Complexity Param 1 Return 1 Cyclo Vg 3 Total 5 - LOC 11 eLOC 10 lLOC 6 Comment 21 Lines 17 - - Function: QF_bzero - Parameters: (void * const start, uint_fast16_t len) - Cyclomatic Complexity Vg Detail - Function Base : 1 - Loops for / foreach : 1 - Complexity Param 2 Return 1 Cyclo Vg 2 Total 5 - LOC 8 eLOC 6 lLOC 5 Comment 14 Lines 8 - - Function: QF_LOG2 - Parameters: (QPSetBits x) - Cyclomatic Complexity Vg Detail - Function Base : 1 - Conditional if / else if: 3 - Complexity Param 1 Return 1 Cyclo Vg 4 Total 6 - LOC 30 eLOC 25 lLOC 13 Comment 0 Lines 31 - - ------------------------------------------------------------------------ - - ~~ Total File Summary ~~ - - LOC 73 eLOC 64 lLOC 30 Comment 114 Lines 189 - ------------------------------------------------------------------------ - - ~~ File Functional Summary ~~ - - File Function Count....: 4 - Total Function LOC.....: 59 Total Function Pts LOC : 0.6 - Total Function eLOC....: 50 Total Function Pts eLOC: 0.5 - Total Function lLOC....: 29 Total Function Pts lLOC: 0.2 - Total Function Params .: 5 Total Function Return .: 4 - Total Cyclo Complexity : 12 Total Function Complex.: 21 - ------ ----- ----- ------ ------ ----- - Max Function LOC ......: 30 Average Function LOC ..: 14.75 - Max Function eLOC .....: 25 Average Function eLOC .: 12.50 - Max Function lLOC .....: 13 Average Function lLOC .: 7.25 - ------ ----- ----- ------ ------ ----- - Max Function Parameters: 2 Avg Function Parameters: 1.25 - Max Function Returns ..: 1 Avg Function Returns ..: 1.00 - Max Interface Complex. : 3 Avg Interface Complex. : 2.25 - Max Cyclomatic Complex.: 4 Avg Cyclomatic Complex.: 3.00 - Max Total Complexity ..: 6 Avg Total Complexity ..: 5.25 - ________________________________________________________________________ - End of File: ..\src\qf\qf_act.c - - - File: ..\src\qf\qf_actq.c - ________________________________________________________________________ - - Function: QActive_post_ - Parameters: (QActive * const me, QEvt const * const e, uint_fast16_t con - st margin) - Cyclomatic Complexity Vg Detail - Function Base : 1 - Conditional if / else if: 10 - Logical or ( || ) : 2 - Complexity Param 3 Return 1 Cyclo Vg 13 Total 17 - LOC 88 eLOC 69 lLOC 40 Comment 81 Lines 122 - - Function: QActive_postLIFO_ - Parameters: (QActive * const me, QEvt const * const e) - Cyclomatic Complexity Vg Detail - Function Base : 1 - Conditional if / else if: 5 - Logical or ( || ) : 1 - Complexity Param 2 Return 1 Cyclo Vg 7 Total 10 - LOC 48 eLOC 39 lLOC 24 Comment 46 Lines 69 - - Function: QActive_get_ - Parameters: (QActive * const me) - Cyclomatic Complexity Vg Detail - Function Base : 1 - Conditional if / else if: 2 - Complexity Param 1 Return 1 Cyclo Vg 3 Total 5 - LOC 37 eLOC 33 lLOC 23 Comment 41 Lines 47 - - Function: QF_getQueueMin - Parameters: (uint_fast8_t const prio) - Cyclomatic Complexity Vg Detail - Function Base : 1 - Logical and ( && ) : 1 - Complexity Param 1 Return 1 Cyclo Vg 2 Total 4 - LOC 10 eLOC 9 lLOC 6 Comment 19 Lines 13 - - Function: QTicker_ctor - Parameters: (QTicker * const me, uint8_t tickRate) - Complexity Param 2 Return 1 Cyclo Vg 1 Total 4 - LOC 12 eLOC 10 lLOC 4 Comment 6 Lines 14 - - Function: QTicker_init_ - Parameters: (QHsm * const me, void const *par) - Complexity Param 2 Return 1 Cyclo Vg 1 Total 4 - LOC 5 eLOC 4 lLOC 3 Comment 1 Lines 5 - - Function: QTicker_dispatch_ - Parameters: (QHsm * const me, QEvt const * const e) - Cyclomatic Complexity Vg Detail - Function Base : 1 - Loops for / foreach : 1 - Complexity Param 2 Return 1 Cyclo Vg 2 Total 5 - LOC 12 eLOC 10 lLOC 8 Comment 4 Lines 15 - - Function: QTicker_post_ - Parameters: (QActive * const me, QEvt const * const e, uint_fast16_t con - st margin) - Cyclomatic Complexity Vg Detail - Function Base : 1 - Conditional if / else if: 1 - Complexity Param 3 Return 1 Cyclo Vg 2 Total 6 - LOC 24 eLOC 21 lLOC 17 Comment 15 Lines 32 - - Function: QTicker_postLIFO_ - Parameters: (QActive * const me, QEvt const * const e) - Complexity Param 2 Return 1 Cyclo Vg 1 Total 4 - LOC 5 eLOC 4 lLOC 3 Comment 3 Lines 5 - - ------------------------------------------------------------------------ - - ~~ Total File Summary ~~ - - LOC 277 eLOC 235 lLOC 133 Comment 278 Lines 520 - ------------------------------------------------------------------------ - - ~~ File Functional Summary ~~ - - File Function Count....: 9 - Total Function LOC.....: 241 Total Function Pts LOC : 2.2 - Total Function eLOC....: 199 Total Function Pts eLOC: 1.8 - Total Function lLOC....: 128 Total Function Pts lLOC: 1.0 - Total Function Params .: 18 Total Function Return .: 9 - Total Cyclo Complexity : 32 Total Function Complex.: 59 - ------ ----- ----- ------ ------ ----- - Max Function LOC ......: 88 Average Function LOC ..: 26.78 - Max Function eLOC .....: 69 Average Function eLOC .: 22.11 - Max Function lLOC .....: 40 Average Function lLOC .: 14.22 - ------ ----- ----- ------ ------ ----- - Max Function Parameters: 3 Avg Function Parameters: 2.00 - Max Function Returns ..: 1 Avg Function Returns ..: 1.00 - Max Interface Complex. : 4 Avg Interface Complex. : 3.00 - Max Cyclomatic Complex.: 13 Avg Cyclomatic Complex.: 3.56 - Max Total Complexity ..: 17 Avg Total Complexity ..: 6.56 - ________________________________________________________________________ - End of File: ..\src\qf\qf_actq.c - - - File: ..\src\qf\qf_defer.c - ________________________________________________________________________ - - Function: QActive_defer - Parameters: (QActive const * const me, QEQueue * const eq, QEvt const * - const e) - Complexity Param 3 Return 1 Cyclo Vg 1 Total 5 - LOC 13 eLOC 11 lLOC 8 Comment 31 Lines 16 - - Function: QActive_recall - Parameters: (QActive * const me, QEQueue * const eq) - Cyclomatic Complexity Vg Detail - Function Base : 1 - Conditional if / else if: 2 - Complexity Param 2 Return 1 Cyclo Vg 3 Total 6 - LOC 32 eLOC 28 lLOC 18 Comment 43 Lines 52 - - Function: QActive_flushDeferred - Parameters: (QActive const * const me, QEQueue * const eq) - Cyclomatic Complexity Vg Detail - Function Base : 1 - Loops for / foreach : 1 - Complexity Param 2 Return 1 Cyclo Vg 2 Total 5 - LOC 10 eLOC 7 lLOC 7 Comment 19 Lines 12 - - ------------------------------------------------------------------------ - - ~~ Total File Summary ~~ - - LOC 69 eLOC 60 lLOC 33 Comment 140 Lines 201 - ------------------------------------------------------------------------ - - ~~ File Functional Summary ~~ - - File Function Count....: 3 - Total Function LOC.....: 55 Total Function Pts LOC : 0.5 - Total Function eLOC....: 46 Total Function Pts eLOC: 0.5 - Total Function lLOC....: 33 Total Function Pts lLOC: 0.3 - Total Function Params .: 7 Total Function Return .: 3 - Total Cyclo Complexity : 6 Total Function Complex.: 16 - ------ ----- ----- ------ ------ ----- - Max Function LOC ......: 32 Average Function LOC ..: 18.33 - Max Function eLOC .....: 28 Average Function eLOC .: 15.33 - Max Function lLOC .....: 18 Average Function lLOC .: 11.00 - ------ ----- ----- ------ ------ ----- - Max Function Parameters: 3 Avg Function Parameters: 2.33 - Max Function Returns ..: 1 Avg Function Returns ..: 1.00 - Max Interface Complex. : 4 Avg Interface Complex. : 3.33 - Max Cyclomatic Complex.: 3 Avg Cyclomatic Complex.: 2.00 - Max Total Complexity ..: 6 Avg Total Complexity ..: 5.33 - ________________________________________________________________________ - End of File: ..\src\qf\qf_defer.c - - - File: ..\src\qf\qf_dyn.c - ________________________________________________________________________ - - Function: QEvt_ctor - Parameters: (QEvt * const me, enum_t const sig) - Complexity Param 2 Return 1 Cyclo Vg 1 Total 4 - LOC 5 eLOC 4 lLOC 3 Comment 9 Lines 6 - - Function: QF_poolInit - Parameters: (void * const poolSto, uint_fast32_t const poolSize, uint_fa - st16_t const evtSize) - Cyclomatic Complexity Vg Detail - Function Base : 1 - Logical or ( || ) : 1 - Complexity Param 3 Return 1 Cyclo Vg 2 Total 6 - LOC 15 eLOC 11 lLOC 7 Comment 40 Lines 21 - - Function: QF_newX_ - Parameters: (uint_fast16_t const evtSize, uint_fast16_t const margin, en - um_t const sig) - Cyclomatic Complexity Vg Detail - Function Base : 1 - Loops for / foreach : 1 - Conditional if / else if: 2 - Inlined if-else ( ? : ) : 1 - Complexity Param 3 Return 1 Cyclo Vg 5 Total 9 - LOC 29 eLOC 23 lLOC 14 Comment 40 Lines 39 - - Function: QF_gc - Parameters: (QEvt const * const e) - Cyclomatic Complexity Vg Detail - Function Base : 1 - Conditional if / else if: 2 - Complexity Param 1 Return 1 Cyclo Vg 3 Total 5 - LOC 26 eLOC 22 lLOC 13 Comment 36 Lines 40 - - Function: QF_newRef_ - Parameters: (QEvt const * const e, void const * const evtRef) - Cyclomatic Complexity Vg Detail - Function Base : 1 - Logical and ( && ) : 1 - Complexity Param 2 Return 1 Cyclo Vg 2 Total 5 - LOC 15 eLOC 14 lLOC 8 Comment 21 Lines 23 - - Function: QF_deleteRef_ - Parameters: (void const * const evtRef) - Complexity Param 1 Return 1 Cyclo Vg 1 Total 3 - LOC 10 eLOC 9 lLOC 5 Comment 14 Lines 12 - - Function: QF_poolGetMaxBlockSize - Parameters: (void) - Complexity Param 0 Return 1 Cyclo Vg 1 Total 2 - LOC 3 eLOC 2 lLOC 1 Comment 5 Lines 3 - - ------------------------------------------------------------------------ - - ~~ Total File Summary ~~ - - LOC 121 eLOC 103 lLOC 53 Comment 218 Lines 340 - ------------------------------------------------------------------------ - - ~~ File Functional Summary ~~ - - File Function Count....: 7 - Total Function LOC.....: 103 Total Function Pts LOC : 0.9 - Total Function eLOC....: 85 Total Function Pts eLOC: 0.8 - Total Function lLOC....: 51 Total Function Pts lLOC: 0.4 - Total Function Params .: 12 Total Function Return .: 7 - Total Cyclo Complexity : 15 Total Function Complex.: 34 - ------ ----- ----- ------ ------ ----- - Max Function LOC ......: 29 Average Function LOC ..: 14.71 - Max Function eLOC .....: 23 Average Function eLOC .: 12.14 - Max Function lLOC .....: 14 Average Function lLOC .: 7.29 - ------ ----- ----- ------ ------ ----- - Max Function Parameters: 3 Avg Function Parameters: 1.71 - Max Function Returns ..: 1 Avg Function Returns ..: 1.00 - Max Interface Complex. : 4 Avg Interface Complex. : 2.71 - Max Cyclomatic Complex.: 5 Avg Cyclomatic Complex.: 2.14 - Max Total Complexity ..: 9 Avg Total Complexity ..: 4.86 - ________________________________________________________________________ - End of File: ..\src\qf\qf_dyn.c - - - File: ..\src\qf\qf_mem.c - ________________________________________________________________________ - - Function: QMPool_init - Parameters: (QMPool * const me, void * const poolSto, uint_fast32_t pool - Size, uint_fast16_t blockSize) - Cyclomatic Complexity Vg Detail - Function Base : 1 - Loops while / do : 2 - Logical and ( && ) : 2 - Complexity Param 4 Return 1 Cyclo Vg 5 Total 10 - LOC 31 eLOC 27 lLOC 22 Comment 59 Lines 46 - - Function: QMPool_put - Parameters: (QMPool * const me, void *b) - Cyclomatic Complexity Vg Detail - Function Base : 1 - Logical and ( && ) : 1 - Complexity Param 2 Return 1 Cyclo Vg 2 Total 5 - LOC 15 eLOC 14 lLOC 9 Comment 31 Lines 22 - - Function: QMPool_get - Parameters: (QMPool * const me, uint_fast16_t const margin) - Cyclomatic Complexity Vg Detail - Function Base : 1 - Conditional if / else if: 3 - Complexity Param 2 Return 1 Cyclo Vg 4 Total 7 - LOC 42 eLOC 36 lLOC 23 Comment 56 Lines 65 - - Function: QF_getPoolMin - Parameters: (uint_fast8_t const poolId) - Cyclomatic Complexity Vg Detail - Function Base : 1 - Logical and ( && ) : 2 - Complexity Param 1 Return 1 Cyclo Vg 3 Total 5 - LOC 11 eLOC 10 lLOC 6 Comment 14 Lines 15 - - ------------------------------------------------------------------------ - - ~~ Total File Summary ~~ - - LOC 111 eLOC 99 lLOC 60 Comment 207 Lines 305 - ------------------------------------------------------------------------ - - ~~ File Functional Summary ~~ - - File Function Count....: 4 - Total Function LOC.....: 99 Total Function Pts LOC : 0.9 - Total Function eLOC....: 87 Total Function Pts eLOC: 0.8 - Total Function lLOC....: 60 Total Function Pts lLOC: 0.5 - Total Function Params .: 9 Total Function Return .: 4 - Total Cyclo Complexity : 14 Total Function Complex.: 27 - ------ ----- ----- ------ ------ ----- - Max Function LOC ......: 42 Average Function LOC ..: 24.75 - Max Function eLOC .....: 36 Average Function eLOC .: 21.75 - Max Function lLOC .....: 23 Average Function lLOC .: 15.00 - ------ ----- ----- ------ ------ ----- - Max Function Parameters: 4 Avg Function Parameters: 2.25 - Max Function Returns ..: 1 Avg Function Returns ..: 1.00 - Max Interface Complex. : 5 Avg Interface Complex. : 3.25 - Max Cyclomatic Complex.: 5 Avg Cyclomatic Complex.: 3.50 - Max Total Complexity ..: 10 Avg Total Complexity ..: 6.75 - ________________________________________________________________________ - End of File: ..\src\qf\qf_mem.c - - - File: ..\src\qf\qf_ps.c - ________________________________________________________________________ - - Function: QF_psInit - Parameters: (QSubscrList * const subscrSto, enum_t const maxSignal) - Complexity Param 2 Return 1 Cyclo Vg 1 Total 4 - LOC 7 eLOC 6 lLOC 3 Comment 33 Lines 12 - - Function: QF_publish_ - Parameters: (QEvt const * const e) - Cyclomatic Complexity Vg Detail - Function Base : 1 - Loops while / do : 1 - Conditional if / else if: 3 - Complexity Param 1 Return 1 Cyclo Vg 5 Total 7 - LOC 36 eLOC 30 lLOC 21 Comment 50 Lines 63 - - Function: QActive_subscribe - Parameters: (QActive const * const me, enum_t const sig) - Cyclomatic Complexity Vg Detail - Function Base : 1 - Logical and ( && ) : 4 - Complexity Param 2 Return 1 Cyclo Vg 5 Total 8 - LOC 16 eLOC 15 lLOC 8 Comment 23 Lines 22 - - Function: QActive_unsubscribe - Parameters: (QActive const * const me, enum_t const sig) - Cyclomatic Complexity Vg Detail - Function Base : 1 - Logical and ( && ) : 4 - Complexity Param 2 Return 1 Cyclo Vg 5 Total 8 - LOC 16 eLOC 15 lLOC 8 Comment 32 Lines 25 - - Function: QActive_unsubscribeAll - Parameters: (QActive const * const me) - Cyclomatic Complexity Vg Detail - Function Base : 1 - Loops for / foreach : 1 - Conditional if / else if: 1 - Logical and ( && ) : 2 - Complexity Param 1 Return 1 Cyclo Vg 5 Total 7 - LOC 22 eLOC 19 lLOC 11 Comment 27 Lines 27 - - ------------------------------------------------------------------------ - - ~~ Total File Summary ~~ - - LOC 114 eLOC 102 lLOC 53 Comment 213 Lines 331 - ------------------------------------------------------------------------ - - ~~ File Functional Summary ~~ - - File Function Count....: 5 - Total Function LOC.....: 97 Total Function Pts LOC : 0.9 - Total Function eLOC....: 85 Total Function Pts eLOC: 0.8 - Total Function lLOC....: 51 Total Function Pts lLOC: 0.4 - Total Function Params .: 8 Total Function Return .: 5 - Total Cyclo Complexity : 21 Total Function Complex.: 34 - ------ ----- ----- ------ ------ ----- - Max Function LOC ......: 36 Average Function LOC ..: 19.40 - Max Function eLOC .....: 30 Average Function eLOC .: 17.00 - Max Function lLOC .....: 21 Average Function lLOC .: 10.20 - ------ ----- ----- ------ ------ ----- - Max Function Parameters: 2 Avg Function Parameters: 1.60 - Max Function Returns ..: 1 Avg Function Returns ..: 1.00 - Max Interface Complex. : 3 Avg Interface Complex. : 2.60 - Max Cyclomatic Complex.: 5 Avg Cyclomatic Complex.: 4.20 - Max Total Complexity ..: 8 Avg Total Complexity ..: 6.80 - ________________________________________________________________________ - End of File: ..\src\qf\qf_ps.c - - - File: ..\src\qf\qf_qact.c - ________________________________________________________________________ - - Function: QActive_ctor - Parameters: (QActive * const me, QStateHandler initial) - Complexity Param 2 Return 1 Cyclo Vg 1 Total 4 - LOC 12 eLOC 10 lLOC 4 Comment 19 Lines 17 - - ------------------------------------------------------------------------ - - ~~ Total File Summary ~~ - - LOC 15 eLOC 13 lLOC 4 Comment 70 Lines 83 - ------------------------------------------------------------------------ - - ~~ File Functional Summary ~~ - - File Function Count....: 1 - Total Function LOC.....: 12 Total Function Pts LOC : 0.1 - Total Function eLOC....: 10 Total Function Pts eLOC: 0.1 - Total Function lLOC....: 4 Total Function Pts lLOC: 0.0 - Total Function Params .: 2 Total Function Return .: 1 - Total Cyclo Complexity : 1 Total Function Complex.: 4 - ------ ----- ----- ------ ------ ----- - Max Function LOC ......: 12 Average Function LOC ..: 12.00 - Max Function eLOC .....: 10 Average Function eLOC .: 10.00 - Max Function lLOC .....: 4 Average Function lLOC .: 4.00 - ------ ----- ----- ------ ------ ----- - Max Function Parameters: 2 Avg Function Parameters: 2.00 - Max Function Returns ..: 1 Avg Function Returns ..: 1.00 - Max Interface Complex. : 3 Avg Interface Complex. : 3.00 - Max Cyclomatic Complex.: 1 Avg Cyclomatic Complex.: 1.00 - Max Total Complexity ..: 4 Avg Total Complexity ..: 4.00 - ________________________________________________________________________ - End of File: ..\src\qf\qf_qact.c - - - File: ..\src\qf\qf_qeq.c - ________________________________________________________________________ - - Function: QEQueue_init - Parameters: (QEQueue * const me, QEvt const *qSto[], uint_fast16_t const - qLen) - Cyclomatic Complexity Vg Detail - Function Base : 1 - Conditional if / else if: 1 - Complexity Param 3 Return 1 Cyclo Vg 2 Total 6 - LOC 11 eLOC 8 lLOC 7 Comment 21 Lines 11 - - Function: QEQueue_post - Parameters: (QEQueue * const me, QEvt const * const e, uint_fast16_t con - st margin) - Cyclomatic Complexity Vg Detail - Function Base : 1 - Conditional if / else if: 5 - Logical or ( || ) : 1 - Logical and ( && ) : 1 - Complexity Param 3 Return 1 Cyclo Vg 8 Total 12 - LOC 55 eLOC 45 lLOC 30 Comment 56 Lines 74 - - Function: QEQueue_postLIFO - Parameters: (QEQueue * const me, QEvt const * const e) - Cyclomatic Complexity Vg Detail - Function Base : 1 - Conditional if / else if: 4 - Complexity Param 2 Return 1 Cyclo Vg 5 Total 8 - LOC 34 eLOC 29 lLOC 21 Comment 44 Lines 45 - - Function: QEQueue_get - Parameters: (QEQueue * const me) - Cyclomatic Complexity Vg Detail - Function Base : 1 - Conditional if / else if: 3 - Complexity Param 1 Return 1 Cyclo Vg 4 Total 6 - LOC 37 eLOC 32 lLOC 21 Comment 38 Lines 47 - - ------------------------------------------------------------------------ - - ~~ Total File Summary ~~ - - LOC 151 eLOC 128 lLOC 79 Comment 210 Lines 326 - ------------------------------------------------------------------------ - - ~~ File Functional Summary ~~ - - File Function Count....: 4 - Total Function LOC.....: 137 Total Function Pts LOC : 1.2 - Total Function eLOC....: 114 Total Function Pts eLOC: 1.0 - Total Function lLOC....: 79 Total Function Pts lLOC: 0.6 - Total Function Params .: 9 Total Function Return .: 4 - Total Cyclo Complexity : 19 Total Function Complex.: 32 - ------ ----- ----- ------ ------ ----- - Max Function LOC ......: 55 Average Function LOC ..: 34.25 - Max Function eLOC .....: 45 Average Function eLOC .: 28.50 - Max Function lLOC .....: 30 Average Function lLOC .: 19.75 - ------ ----- ----- ------ ------ ----- - Max Function Parameters: 3 Avg Function Parameters: 2.25 - Max Function Returns ..: 1 Avg Function Returns ..: 1.00 - Max Interface Complex. : 4 Avg Interface Complex. : 3.25 - Max Cyclomatic Complex.: 8 Avg Cyclomatic Complex.: 4.75 - Max Total Complexity ..: 12 Avg Total Complexity ..: 8.00 - ________________________________________________________________________ - End of File: ..\src\qf\qf_qeq.c - - - File: ..\src\qf\qf_qmact.c - ________________________________________________________________________ - - Function: QMActive_ctor - Parameters: (QMActive * const me, QStateHandler initial) - Complexity Param 2 Return 1 Cyclo Vg 1 Total 4 - LOC 12 eLOC 10 lLOC 4 Comment 28 Lines 28 - - ------------------------------------------------------------------------ - - ~~ Total File Summary ~~ - - LOC 15 eLOC 13 lLOC 4 Comment 79 Lines 95 - ------------------------------------------------------------------------ - - ~~ File Functional Summary ~~ - - File Function Count....: 1 - Total Function LOC.....: 12 Total Function Pts LOC : 0.1 - Total Function eLOC....: 10 Total Function Pts eLOC: 0.1 - Total Function lLOC....: 4 Total Function Pts lLOC: 0.0 - Total Function Params .: 2 Total Function Return .: 1 - Total Cyclo Complexity : 1 Total Function Complex.: 4 - ------ ----- ----- ------ ------ ----- - Max Function LOC ......: 12 Average Function LOC ..: 12.00 - Max Function eLOC .....: 10 Average Function eLOC .: 10.00 - Max Function lLOC .....: 4 Average Function lLOC .: 4.00 - ------ ----- ----- ------ ------ ----- - Max Function Parameters: 2 Avg Function Parameters: 2.00 - Max Function Returns ..: 1 Avg Function Returns ..: 1.00 - Max Interface Complex. : 3 Avg Interface Complex. : 3.00 - Max Cyclomatic Complex.: 1 Avg Cyclomatic Complex.: 1.00 - Max Total Complexity ..: 4 Avg Total Complexity ..: 4.00 - ________________________________________________________________________ - End of File: ..\src\qf\qf_qmact.c - - - File: ..\src\qf\qf_time.c - ________________________________________________________________________ - - Function: QF_tickX_ - Parameters: (uint_fast8_t const tickRate) - Cyclomatic Complexity Vg Detail - Function Base : 1 - Loops for / foreach : 1 - Conditional if / else if: 5 - Complexity Param 1 Return 1 Cyclo Vg 7 Total 9 - LOC 67 eLOC 55 lLOC 37 Comment 56 Lines 97 - - Function: QF_noTimeEvtsActiveX - Parameters: (uint_fast8_t const tickRate) - Cyclomatic Complexity Vg Detail - Function Base : 1 - Conditional if / else if: 2 - Complexity Param 1 Return 1 Cyclo Vg 3 Total 5 - LOC 13 eLOC 9 lLOC 5 Comment 14 Lines 14 - - Function: QTimeEvt_ctorX - Parameters: (QTimeEvt * const me, QActive * const act, enum_t const sig, - uint_fast8_t tickRate) - Cyclomatic Complexity Vg Detail - Function Base : 1 - Logical and ( && ) : 1 - Complexity Param 4 Return 1 Cyclo Vg 2 Total 7 - LOC 11 eLOC 9 lLOC 8 Comment 31 Lines 28 - - Function: QTimeEvt_armX - Parameters: (QTimeEvt * const me, QTimeEvtCtr const nTicks, QTimeEvtCtr - const interval) - Cyclomatic Complexity Vg Detail - Function Base : 1 - Conditional if / else if: 1 - Logical and ( && ) : 4 - Complexity Param 3 Return 1 Cyclo Vg 6 Total 10 - LOC 31 eLOC 28 lLOC 17 Comment 52 Lines 53 - - Function: QTimeEvt_disarm - Parameters: (QTimeEvt * const me) - Cyclomatic Complexity Vg Detail - Function Base : 1 - Conditional if / else if: 1 - Complexity Param 1 Return 1 Cyclo Vg 2 Total 4 - LOC 31 eLOC 28 lLOC 19 Comment 30 Lines 38 - - Function: QTimeEvt_rearm - Parameters: (QTimeEvt * const me, QTimeEvtCtr const nTicks) - Cyclomatic Complexity Vg Detail - Function Base : 1 - Conditional if / else if: 2 - Inlined if-else ( ? : ) : 1 - Logical and ( && ) : 3 - Complexity Param 2 Return 1 Cyclo Vg 7 Total 10 - LOC 34 eLOC 30 lLOC 18 Comment 47 Lines 59 - - Function: QTimeEvt_wasDisarmed - Parameters: (QTimeEvt * const me) - Cyclomatic Complexity Vg Detail - Function Base : 1 - Inlined if-else ( ? : ) : 1 - Complexity Param 1 Return 1 Cyclo Vg 2 Total 4 - LOC 5 eLOC 4 lLOC 3 Comment 23 Lines 5 - - Function: QTimeEvt_currCtr - Parameters: (QTimeEvt const * const me) - Complexity Param 1 Return 1 Cyclo Vg 1 Total 3 - LOC 8 eLOC 7 lLOC 5 Comment 16 Lines 10 - - ------------------------------------------------------------------------ - - ~~ Total File Summary ~~ - - LOC 220 eLOC 190 lLOC 113 Comment 329 Lines 546 - ------------------------------------------------------------------------ - - ~~ File Functional Summary ~~ - - File Function Count....: 8 - Total Function LOC.....: 200 Total Function Pts LOC : 1.7 - Total Function eLOC....: 170 Total Function Pts eLOC: 1.5 - Total Function lLOC....: 112 Total Function Pts lLOC: 0.9 - Total Function Params .: 14 Total Function Return .: 8 - Total Cyclo Complexity : 30 Total Function Complex.: 52 - ------ ----- ----- ------ ------ ----- - Max Function LOC ......: 67 Average Function LOC ..: 25.00 - Max Function eLOC .....: 55 Average Function eLOC .: 21.25 - Max Function lLOC .....: 37 Average Function lLOC .: 14.00 - ------ ----- ----- ------ ------ ----- - Max Function Parameters: 4 Avg Function Parameters: 1.75 - Max Function Returns ..: 1 Avg Function Returns ..: 1.00 - Max Interface Complex. : 5 Avg Interface Complex. : 2.75 - Max Cyclomatic Complex.: 7 Avg Cyclomatic Complex.: 3.75 - Max Total Complexity ..: 10 Avg Total Complexity ..: 6.50 - ________________________________________________________________________ - End of File: ..\src\qf\qf_time.c - - - File: ..\src\qv\qv.c - ________________________________________________________________________ - - Function: QF_init - Parameters: (void) - Complexity Param 0 Return 1 Cyclo Vg 1 Total 2 - LOC 11 eLOC 10 lLOC 7 Comment 12 Lines 13 - - Function: QF_stop - Parameters: (void) - Complexity Param 0 Return 1 Cyclo Vg 1 Total 2 - LOC 3 eLOC 2 lLOC 1 Comment 14 Lines 4 - - Function: QF_run - Parameters: (void) - Cyclomatic Complexity Vg Detail - Function Base : 1 - Loops for / foreach : 1 - Conditional if / else if: 3 - Complexity Param 0 Return 1 Cyclo Vg 5 Total 6 - LOC 48 eLOC 42 lLOC 24 Comment 37 Lines 75 - - Function: QActive_start_ - Parameters: (QActive * const me, uint_fast8_t prio, QEvt const *qSto[], - uint_fast16_t qLen, void *stkSto, uint_fast16_t stkSize, voi - d const * const par) - Cyclomatic Complexity Vg Detail - Function Base : 1 - Logical and ( && ) : 2 - Complexity Param 7 Return 1 Cyclo Vg 3 Total 11 - LOC 11 eLOC 9 lLOC 7 Comment 31 Lines 17 - - ------------------------------------------------------------------------ - - ~~ Total File Summary ~~ - - LOC 91 eLOC 81 lLOC 40 Comment 146 Lines 230 - ------------------------------------------------------------------------ - - ~~ File Functional Summary ~~ - - File Function Count....: 4 - Total Function LOC.....: 73 Total Function Pts LOC : 0.7 - Total Function eLOC....: 63 Total Function Pts eLOC: 0.6 - Total Function lLOC....: 39 Total Function Pts lLOC: 0.3 - Total Function Params .: 7 Total Function Return .: 4 - Total Cyclo Complexity : 10 Total Function Complex.: 21 - ------ ----- ----- ------ ------ ----- - Max Function LOC ......: 48 Average Function LOC ..: 18.25 - Max Function eLOC .....: 42 Average Function eLOC .: 15.75 - Max Function lLOC .....: 24 Average Function lLOC .: 9.75 - ------ ----- ----- ------ ------ ----- - Max Function Parameters: 7 Avg Function Parameters: 1.75 - Max Function Returns ..: 1 Avg Function Returns ..: 1.00 - Max Interface Complex. : 8 Avg Interface Complex. : 2.75 - Max Cyclomatic Complex.: 5 Avg Cyclomatic Complex.: 2.50 - Max Total Complexity ..: 11 Avg Total Complexity ..: 5.25 - ________________________________________________________________________ - End of File: ..\src\qv\qv.c - - - File: ..\src\qk\qk.c - ________________________________________________________________________ - - Function: QF_init - Parameters: (void) - Complexity Param 0 Return 1 Cyclo Vg 1 Total 2 - LOC 13 eLOC 12 lLOC 9 Comment 14 Lines 16 - - Function: QF_stop - Parameters: (void) - Complexity Param 0 Return 1 Cyclo Vg 1 Total 2 - LOC 3 eLOC 2 lLOC 1 Comment 14 Lines 4 - - Function: initial_events - Parameters: (void) - Cyclomatic Complexity Vg Detail - Function Base : 1 - Conditional if / else if: 1 - Complexity Param 0 Return 1 Cyclo Vg 2 Total 3 - LOC 6 eLOC 4 lLOC 2 Comment 6 Lines 8 - - Function: QF_run - Parameters: (void) - Cyclomatic Complexity Vg Detail - Function Base : 1 - Loops for / foreach : 1 - Complexity Param 0 Return 1 Cyclo Vg 2 Total 3 - LOC 12 eLOC 10 lLOC 7 Comment 13 Lines 14 - - Function: QActive_start_ - Parameters: (QActive * const me, uint_fast8_t prio, QEvt const *qSto[], - uint_fast16_t qLen, void *stkSto, uint_fast16_t stkSize, voi - d const * const par) - Cyclomatic Complexity Vg Detail - Function Base : 1 - Conditional if / else if: 1 - Logical and ( && ) : 3 - Complexity Param 7 Return 1 Cyclo Vg 5 Total 13 - LOC 18 eLOC 15 lLOC 10 Comment 34 Lines 29 - - Function: QK_schedLock - Parameters: (uint_fast8_t ceiling) - Cyclomatic Complexity Vg Detail - Function Base : 1 - Conditional if / else if: 1 - Complexity Param 1 Return 1 Cyclo Vg 2 Total 4 - LOC 22 eLOC 19 lLOC 12 Comment 32 Lines 33 - - Function: QK_schedUnlock - Parameters: (QSchedStatus stat) - Cyclomatic Complexity Vg Detail - Function Base : 1 - Conditional if / else if: 2 - Logical and ( && ) : 1 - Complexity Param 1 Return 1 Cyclo Vg 4 Total 6 - LOC 21 eLOC 18 lLOC 10 Comment 28 Lines 33 - - Function: QK_sched_ - Parameters: (void) - Cyclomatic Complexity Vg Detail - Function Base : 1 - Conditional if / else if: 2 - Complexity Param 0 Return 1 Cyclo Vg 3 Total 4 - LOC 15 eLOC 11 lLOC 7 Comment 21 Lines 19 - - Function: QK_activate_ - Parameters: (void) - Cyclomatic Complexity Vg Detail - Function Base : 1 - Loops while / do : 1 - Conditional if / else if: 5 - Inlined if-else ( ? : ) : 1 - Logical or ( || ) : 4 - Logical and ( && ) : 2 - Complexity Param 0 Return 1 Cyclo Vg 14 Total 15 - LOC 74 eLOC 66 lLOC 33 Comment 54 Lines 106 - - ------------------------------------------------------------------------ - - ~~ Total File Summary ~~ - - LOC 203 eLOC 176 lLOC 93 Comment 267 Lines 453 - ------------------------------------------------------------------------ - - ~~ File Functional Summary ~~ - - File Function Count....: 9 - Total Function LOC.....: 184 Total Function Pts LOC : 1.6 - Total Function eLOC....: 157 Total Function Pts eLOC: 1.4 - Total Function lLOC....: 91 Total Function Pts lLOC: 0.7 - Total Function Params .: 9 Total Function Return .: 9 - Total Cyclo Complexity : 34 Total Function Complex.: 52 - ------ ----- ----- ------ ------ ----- - Max Function LOC ......: 74 Average Function LOC ..: 20.44 - Max Function eLOC .....: 66 Average Function eLOC .: 17.44 - Max Function lLOC .....: 33 Average Function lLOC .: 10.11 - ------ ----- ----- ------ ------ ----- - Max Function Parameters: 7 Avg Function Parameters: 1.00 - Max Function Returns ..: 1 Avg Function Returns ..: 1.00 - Max Interface Complex. : 8 Avg Interface Complex. : 2.00 - Max Cyclomatic Complex.: 14 Avg Cyclomatic Complex.: 3.78 - Max Total Complexity ..: 15 Avg Total Complexity ..: 5.78 - ________________________________________________________________________ - End of File: ..\src\qk\qk.c - - - File: ..\src\qxk\qxk.c - ________________________________________________________________________ - - Function: QF_init - Parameters: (void) - Complexity Param 0 Return 1 Cyclo Vg 1 Total 2 - LOC 16 eLOC 15 lLOC 12 Comment 17 Lines 22 - - Function: QF_stop - Parameters: (void) - Complexity Param 0 Return 1 Cyclo Vg 1 Total 2 - LOC 3 eLOC 2 lLOC 1 Comment 14 Lines 4 - - Function: initial_events - Parameters: (void) - Cyclomatic Complexity Vg Detail - Function Base : 1 - Conditional if / else if: 1 - Complexity Param 0 Return 1 Cyclo Vg 2 Total 3 - LOC 6 eLOC 4 lLOC 2 Comment 6 Lines 8 - - Function: QF_run - Parameters: (void) - Cyclomatic Complexity Vg Detail - Function Base : 1 - Loops for / foreach : 1 - Complexity Param 0 Return 1 Cyclo Vg 2 Total 3 - LOC 12 eLOC 10 lLOC 7 Comment 12 Lines 15 - - Function: QActive_start_ - Parameters: (QActive * const me, uint_fast8_t prio, QEvt const *qSto[], - uint_fast16_t qLen, void *stkSto, uint_fast16_t stkSize, voi - d const * const par) - Cyclomatic Complexity Vg Detail - Function Base : 1 - Conditional if / else if: 1 - Logical and ( && ) : 4 - Complexity Param 7 Return 1 Cyclo Vg 6 Total 14 - LOC 20 eLOC 17 lLOC 11 Comment 38 Lines 31 - - Function: QXK_schedLock - Parameters: (uint_fast8_t ceiling) - Cyclomatic Complexity Vg Detail - Function Base : 1 - Conditional if / else if: 1 - Inlined if-else ( ? : ) : 1 - Complexity Param 1 Return 1 Cyclo Vg 3 Total 5 - LOC 25 eLOC 22 lLOC 12 Comment 40 Lines 35 - - Function: QXK_schedUnlock - Parameters: (QSchedStatus stat) - Cyclomatic Complexity Vg Detail - Function Base : 1 - Conditional if / else if: 2 - Logical and ( && ) : 1 - Complexity Param 1 Return 1 Cyclo Vg 4 Total 6 - LOC 21 eLOC 18 lLOC 10 Comment 33 Lines 33 - - Function: QXK_sched_ - Parameters: (void) - Cyclomatic Complexity Vg Detail - Function Base : 1 - Conditional if / else if: 6 - Complexity Param 0 Return 1 Cyclo Vg 7 Total 8 - LOC 53 eLOC 42 lLOC 23 Comment 36 Lines 69 - - Function: QXK_activate_ - Parameters: (void) - Cyclomatic Complexity Vg Detail - Function Base : 1 - Loops while / do : 1 - Conditional if / else if: 7 - Inlined if-else ( ? : ) : 1 - Logical or ( || ) : 3 - Logical and ( && ) : 1 - Complexity Param 0 Return 1 Cyclo Vg 14 Total 15 - LOC 91 eLOC 80 lLOC 43 Comment 63 Lines 134 - - Function: QXK_current - Parameters: (void) - Cyclomatic Complexity Vg Detail - Function Base : 1 - Conditional if / else if: 1 - Complexity Param 0 Return 1 Cyclo Vg 2 Total 3 - LOC 13 eLOC 11 lLOC 8 Comment 4 Lines 20 - - ------------------------------------------------------------------------ - - ~~ Total File Summary ~~ - - LOC 280 eLOC 241 lLOC 132 Comment 315 Lines 579 - ------------------------------------------------------------------------ - - ~~ File Functional Summary ~~ - - File Function Count....: 10 - Total Function LOC.....: 260 Total Function Pts LOC : 2.2 - Total Function eLOC....: 221 Total Function Pts eLOC: 1.9 - Total Function lLOC....: 129 Total Function Pts lLOC: 1.0 - Total Function Params .: 9 Total Function Return .: 10 - Total Cyclo Complexity : 42 Total Function Complex.: 61 - ------ ----- ----- ------ ------ ----- - Max Function LOC ......: 91 Average Function LOC ..: 26.00 - Max Function eLOC .....: 80 Average Function eLOC .: 22.10 - Max Function lLOC .....: 43 Average Function lLOC .: 12.90 - ------ ----- ----- ------ ------ ----- - Max Function Parameters: 7 Avg Function Parameters: 0.90 - Max Function Returns ..: 1 Avg Function Returns ..: 1.00 - Max Interface Complex. : 8 Avg Interface Complex. : 1.90 - Max Cyclomatic Complex.: 14 Avg Cyclomatic Complex.: 4.20 - Max Total Complexity ..: 15 Avg Total Complexity ..: 6.10 - ________________________________________________________________________ - End of File: ..\src\qxk\qxk.c - - - File: ..\src\qxk\qxk_mutex.c - ________________________________________________________________________ - - Function: QXMutex_init - Parameters: (QXMutex * const me, uint_fast8_t ceiling) - Cyclomatic Complexity Vg Detail - Function Base : 1 - Conditional if / else if: 1 - Logical or ( || ) : 1 - Logical and ( && ) : 1 - Complexity Param 2 Return 1 Cyclo Vg 4 Total 7 - LOC 16 eLOC 14 lLOC 8 Comment 33 Lines 25 - - Function: QXMutex_lock - Parameters: (QXMutex * const me, uint_fast16_t const nTicks) - Cyclomatic Complexity Vg Detail - Function Base : 1 - Conditional if / else if: 6 - Logical or ( || ) : 1 - Logical and ( && ) : 4 - Complexity Param 2 Return 1 Cyclo Vg 12 Total 15 - LOC 67 eLOC 57 lLOC 36 Comment 61 Lines 107 - - Function: QXMutex_tryLock - Parameters: (QXMutex * const me) - Cyclomatic Complexity Vg Detail - Function Base : 1 - Conditional if / else if: 5 - Logical or ( || ) : 1 - Logical and ( && ) : 3 - Complexity Param 1 Return 1 Cyclo Vg 10 Total 12 - LOC 45 eLOC 38 lLOC 21 Comment 46 Lines 69 - - Function: QXMutex_unlock - Parameters: (QXMutex * const me) - Cyclomatic Complexity Vg Detail - Function Base : 1 - Conditional if / else if: 7 - Logical or ( || ) : 2 - Logical and ( && ) : 6 - Complexity Param 1 Return 1 Cyclo Vg 16 Total 18 - LOC 69 eLOC 59 lLOC 32 Comment 66 Lines 115 - - ------------------------------------------------------------------------ - - ~~ Total File Summary ~~ - - LOC 212 eLOC 183 lLOC 97 Comment 256 Lines 468 - ------------------------------------------------------------------------ - - ~~ File Functional Summary ~~ - - File Function Count....: 4 - Total Function LOC.....: 197 Total Function Pts LOC : 1.7 - Total Function eLOC....: 168 Total Function Pts eLOC: 1.4 - Total Function lLOC....: 97 Total Function Pts lLOC: 0.8 - Total Function Params .: 6 Total Function Return .: 4 - Total Cyclo Complexity : 42 Total Function Complex.: 52 - ------ ----- ----- ------ ------ ----- - Max Function LOC ......: 69 Average Function LOC ..: 49.25 - Max Function eLOC .....: 59 Average Function eLOC .: 42.00 - Max Function lLOC .....: 36 Average Function lLOC .: 24.25 - ------ ----- ----- ------ ------ ----- - 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.: 16 Avg Cyclomatic Complex.: 10.50 - Max Total Complexity ..: 18 Avg Total Complexity ..: 13.00 - ________________________________________________________________________ - End of File: ..\src\qxk\qxk_mutex.c - - - File: ..\src\qxk\qxk_sema.c - ________________________________________________________________________ - - Function: QXSemaphore_init - Parameters: (QXSemaphore * const me, uint_fast16_t count, uint_fast16_t - max_count) - Complexity Param 3 Return 1 Cyclo Vg 1 Total 5 - LOC 6 eLOC 4 lLOC 4 Comment 22 Lines 8 - - Function: QXSemaphore_wait - Parameters: (QXSemaphore * const me, uint_fast16_t const nTicks) - Cyclomatic Complexity Vg Detail - Function Base : 1 - Conditional if / else if: 3 - Logical and ( && ) : 3 - Complexity Param 2 Return 1 Cyclo Vg 7 Total 10 - LOC 44 eLOC 37 lLOC 25 Comment 59 Lines 69 - - Function: QXSemaphore_tryWait - Parameters: (QXSemaphore * const me) - Cyclomatic Complexity Vg Detail - Function Base : 1 - Conditional if / else if: 1 - Complexity Param 1 Return 1 Cyclo Vg 2 Total 4 - LOC 15 eLOC 12 lLOC 8 Comment 18 Lines 20 - - Function: QXSemaphore_signal - Parameters: (QXSemaphore * const me) - Cyclomatic Complexity Vg Detail - Function Base : 1 - Conditional if / else if: 3 - Logical and ( && ) : 2 - Complexity Param 1 Return 1 Cyclo Vg 6 Total 8 - LOC 30 eLOC 25 lLOC 16 Comment 34 Lines 49 - - ------------------------------------------------------------------------ - - ~~ Total File Summary ~~ - - LOC 110 eLOC 93 lLOC 53 Comment 182 Lines 289 - ------------------------------------------------------------------------ - - ~~ File Functional Summary ~~ - - File Function Count....: 4 - Total Function LOC.....: 95 Total Function Pts LOC : 0.9 - Total Function eLOC....: 78 Total Function Pts eLOC: 0.7 - Total Function lLOC....: 53 Total Function Pts lLOC: 0.4 - Total Function Params .: 7 Total Function Return .: 4 - Total Cyclo Complexity : 16 Total Function Complex.: 27 - ------ ----- ----- ------ ------ ----- - Max Function LOC ......: 44 Average Function LOC ..: 23.75 - Max Function eLOC .....: 37 Average Function eLOC .: 19.50 - Max Function lLOC .....: 25 Average Function lLOC .: 13.25 - ------ ----- ----- ------ ------ ----- - Max Function Parameters: 3 Avg Function Parameters: 1.75 - Max Function Returns ..: 1 Avg Function Returns ..: 1.00 - Max Interface Complex. : 4 Avg Interface Complex. : 2.75 - Max Cyclomatic Complex.: 7 Avg Cyclomatic Complex.: 4.00 - Max Total Complexity ..: 10 Avg Total Complexity ..: 6.75 - ________________________________________________________________________ - End of File: ..\src\qxk\qxk_sema.c - - - File: ..\src\qxk\qxk_xthr.c - ________________________________________________________________________ - - Function: QXThread_ctor - Parameters: (QXThread * const me, QXThreadHandler handler, uint_fast8_t - tickRate) - Complexity Param 3 Return 1 Cyclo Vg 1 Total 5 - LOC 16 eLOC 13 lLOC 7 Comment 27 Lines 19 - - Function: QXThread_init_ - Parameters: (QHsm * const me, void const * const par) - Complexity Param 2 Return 1 Cyclo Vg 1 Total 4 - LOC 5 eLOC 4 lLOC 3 Comment 4 Lines 5 - - Function: QXThread_dispatch_ - Parameters: (QHsm * const me, QEvt const * const e) - Complexity Param 2 Return 1 Cyclo Vg 1 Total 4 - LOC 5 eLOC 4 lLOC 3 Comment 3 Lines 5 - - Function: QXThread_start_ - Parameters: (QActive * const me, uint_fast8_t prio, QEvt const *qSto[], - uint_fast16_t qLen, void *stkSto, uint_fast16_t stkSize, voi - d const *par) - Cyclomatic Complexity Vg Detail - Function Base : 1 - Conditional if / else if: 1 - Logical and ( && ) : 4 - Complexity Param 7 Return 1 Cyclo Vg 6 Total 14 - LOC 21 eLOC 18 lLOC 12 Comment 42 Lines 43 - - Function: QXThread_post_ - Parameters: (QActive * const me, QEvt const * const e, uint_fast16_t con - st margin) - Cyclomatic Complexity Vg Detail - Function Base : 1 - Conditional if / else if: 12 - Complexity Param 3 Return 1 Cyclo Vg 13 Total 17 - LOC 96 eLOC 75 lLOC 48 Comment 85 Lines 129 - - Function: QXThread_postLIFO_ - Parameters: (QActive * const me, QEvt const * const e) - Complexity Param 2 Return 1 Cyclo Vg 1 Total 4 - LOC 5 eLOC 4 lLOC 3 Comment 11 Lines 5 - - Function: QXThread_queueGet - Parameters: (uint_fast16_t const nTicks) - Cyclomatic Complexity Vg Detail - Function Base : 1 - Conditional if / else if: 4 - Logical and ( && ) : 2 - Complexity Param 1 Return 1 Cyclo Vg 7 Total 9 - LOC 62 eLOC 55 lLOC 36 Comment 54 Lines 88 - - Function: QXThread_block_ - Parameters: (QXThread const * const me) - Complexity Param 1 Return 1 Cyclo Vg 1 Total 3 - LOC 5 eLOC 4 lLOC 3 Comment 9 Lines 7 - - Function: QXThread_unblock_ - Parameters: (QXThread const * const me) - Cyclomatic Complexity Vg Detail - Function Base : 1 - Conditional if / else if: 1 - Logical and ( && ) : 1 - Complexity Param 1 Return 1 Cyclo Vg 3 Total 5 - LOC 8 eLOC 5 lLOC 2 Comment 10 Lines 8 - - Function: QXThread_teArm_ - Parameters: (QXThread * const me, QSignal sig, uint_fast16_t const nTick - s) - Cyclomatic Complexity Vg Detail - Function Base : 1 - Conditional if / else if: 2 - Complexity Param 3 Return 1 Cyclo Vg 3 Total 7 - LOC 19 eLOC 14 lLOC 9 Comment 22 Lines 37 - - Function: QXThread_teDisarm_ - Parameters: (QXThread * const me) - Cyclomatic Complexity Vg Detail - Function Base : 1 - Conditional if / else if: 1 - Complexity Param 1 Return 1 Cyclo Vg 2 Total 4 - LOC 11 eLOC 8 lLOC 5 Comment 11 Lines 13 - - Function: QXThread_delay - Parameters: (uint_fast16_t const nTicks) - Cyclomatic Complexity Vg Detail - Function Base : 1 - Logical and ( && ) : 2 - Complexity Param 1 Return 1 Cyclo Vg 3 Total 5 - LOC 21 eLOC 20 lLOC 15 Comment 18 Lines 37 - - Function: QXThread_delayCancel - Parameters: (QXThread * const me) - Cyclomatic Complexity Vg Detail - Function Base : 1 - Conditional if / else if: 1 - Complexity Param 1 Return 1 Cyclo Vg 2 Total 4 - LOC 14 eLOC 11 lLOC 7 Comment 2 Lines 16 - - Function: QXK_threadRet_ - Parameters: (void) - Cyclomatic Complexity Vg Detail - Function Base : 1 - Logical and ( && ) : 1 - Complexity Param 0 Return 1 Cyclo Vg 2 Total 3 - LOC 15 eLOC 14 lLOC 11 Comment 19 Lines 25 - - ------------------------------------------------------------------------ - - ~~ Total File Summary ~~ - - LOC 347 eLOC 293 lLOC 170 Comment 378 Lines 717 - ------------------------------------------------------------------------ - - ~~ File Functional Summary ~~ - - File Function Count....: 14 - Total Function LOC.....: 303 Total Function Pts LOC : 2.7 - Total Function eLOC....: 249 Total Function Pts eLOC: 2.3 - Total Function lLOC....: 164 Total Function Pts lLOC: 1.3 - Total Function Params .: 28 Total Function Return .: 14 - Total Cyclo Complexity : 46 Total Function Complex.: 88 - ------ ----- ----- ------ ------ ----- - Max Function LOC ......: 96 Average Function LOC ..: 21.64 - Max Function eLOC .....: 75 Average Function eLOC .: 17.79 - Max Function lLOC .....: 48 Average Function lLOC .: 11.71 - ------ ----- ----- ------ ------ ----- - Max Function Parameters: 7 Avg Function Parameters: 2.00 - Max Function Returns ..: 1 Avg Function Returns ..: 1.00 - Max Interface Complex. : 8 Avg Interface Complex. : 3.00 - Max Cyclomatic Complex.: 13 Avg Cyclomatic Complex.: 3.29 - Max Total Complexity ..: 17 Avg Total Complexity ..: 6.29 - ________________________________________________________________________ - End of File: ..\src\qxk\qxk_xthr.c - - - ------------------------------------------------------------------------ - - ~~ Project Analysis For 34 Files ~~ - - ------------------------------------------------------------------------ - - ~~ Total Project Summary ~~ - - LOC 4632 eLOC 4175 lLOC 1911 Comment 7325 Lines 12122 - Average per File, metric/34 files - LOC 136 eLOC 122 lLOC 56 Comment 215 Lines 356 - - ------------------------------------------------------------------------ - - ~~ Project Functional Metrics ~~ - - Function: QHsm_ctor - Parameters: (QHsm * const me, QStateHandler initial) - Complexity Param 2 Return 1 Cyclo Vg 1 Total 4 - LOC 9 eLOC 7 lLOC 4 Comment 21 Lines 9 - - Function: QHsm_init_ - Parameters: (QHsm * const me, void const * const e) - Complexity Param 2 Return 1 Cyclo Vg 7 Total 10 - LOC 50 eLOC 47 lLOC 31 Comment 35 Lines 71 - - Function: QHsm_top - Parameters: (void const * const me, QEvt const * const e) - Complexity Param 2 Return 1 Cyclo Vg 1 Total 4 - LOC 5 eLOC 4 lLOC 3 Comment 18 Lines 5 - - Function: QHsm_dispatch_ - Parameters: (QHsm * const me, QEvt const * const e) - Complexity Param 2 Return 1 Cyclo Vg 13 Total 16 - LOC 106 eLOC 95 lLOC 62 Comment 67 Lines 147 - - Function: QHsm_tran_ - Parameters: (QHsm * const me, QStateHandler path[QHSM_MAX_NEST_DEPTH_]) - Complexity Param 2 Return 1 Cyclo Vg 15 Total 18 - LOC 97 eLOC 76 lLOC 48 Comment 63 Lines 134 - - Function: QHsm_isIn - Parameters: (QHsm * const me, QStateHandler const state) - Complexity Param 2 Return 1 Cyclo Vg 3 Total 6 - LOC 16 eLOC 13 lLOC 9 Comment 22 Lines 21 - - Function: QHsm_childState_ - Parameters: (QHsm * const me, QStateHandler const parent) - Complexity Param 2 Return 1 Cyclo Vg 3 Total 6 - LOC 22 eLOC 18 lLOC 13 Comment 34 Lines 28 - - Function: QMsm_ctor - Parameters: (QMsm * const me, QStateHandler initial) - Complexity Param 2 Return 1 Cyclo Vg 1 Total 4 - LOC 9 eLOC 7 lLOC 4 Comment 29 Lines 10 - - Function: QMsm_init_ - Parameters: (QHsm * const me, void const * const e) - Complexity Param 2 Return 1 Cyclo Vg 4 Total 7 - LOC 23 eLOC 22 lLOC 13 Comment 26 Lines 38 - - Function: QMsm_dispatch_ - Parameters: (QHsm * const me, QEvt const * const e) - Complexity Param 2 Return 1 Cyclo Vg 15 Total 18 - LOC 124 eLOC 107 lLOC 65 Comment 83 Lines 164 - - Function: QMsm_execTatbl_ - Parameters: (QMsm * const me, struct QMTranActTable const *tatbl) - Complexity Param 2 Return 1 Cyclo Vg 8 Total 11 - LOC 50 eLOC 41 lLOC 20 Comment 32 Lines 60 - - Function: QMsm_exitToTranSource_ - Parameters: (QMsm * const me, QMState const *cs, QMState const *ts) - Complexity Param 3 Return 1 Cyclo Vg 4 Total 8 - LOC 18 eLOC 13 lLOC 7 Comment 20 Lines 25 - - Function: QMsm_enterHistory_ - Parameters: (QMsm * const me, QMState const *const hist) - Complexity Param 2 Return 1 Cyclo Vg 6 Total 9 - LOC 40 eLOC 33 lLOC 21 Comment 25 Lines 48 - - Function: QMsm_isInState - Parameters: (QMsm const * const me, QMState const * const state) - Complexity Param 2 Return 1 Cyclo Vg 3 Total 6 - LOC 11 eLOC 8 lLOC 6 Comment 17 Lines 12 - - Function: QMsm_childStateObj_ - Parameters: (QMsm const * const me, QMState const * const parent) - Complexity Param 2 Return 1 Cyclo Vg 3 Total 6 - LOC 22 eLOC 16 lLOC 10 Comment 23 Lines 26 - - Function: QF_add_ - Parameters: (QActive * const a) - Complexity Param 1 Return 1 Cyclo Vg 3 Total 5 - LOC 10 eLOC 9 lLOC 5 Comment 20 Lines 17 - - Function: QF_remove_ - Parameters: (QActive * const a) - Complexity Param 1 Return 1 Cyclo Vg 3 Total 5 - LOC 11 eLOC 10 lLOC 6 Comment 21 Lines 17 - - Function: QF_bzero - Parameters: (void * const start, uint_fast16_t len) - Complexity Param 2 Return 1 Cyclo Vg 2 Total 5 - LOC 8 eLOC 6 lLOC 5 Comment 14 Lines 8 - - Function: QF_LOG2 - Parameters: (QPSetBits x) - Complexity Param 1 Return 1 Cyclo Vg 4 Total 6 - LOC 30 eLOC 25 lLOC 13 Comment 0 Lines 31 - - Function: QActive_post_ - Parameters: (QActive * const me, QEvt const * const e, uint_fast16_t con - st margin) - Complexity Param 3 Return 1 Cyclo Vg 13 Total 17 - LOC 88 eLOC 69 lLOC 40 Comment 81 Lines 122 - - Function: QActive_postLIFO_ - Parameters: (QActive * const me, QEvt const * const e) - Complexity Param 2 Return 1 Cyclo Vg 7 Total 10 - LOC 48 eLOC 39 lLOC 24 Comment 46 Lines 69 - - Function: QActive_get_ - Parameters: (QActive * const me) - Complexity Param 1 Return 1 Cyclo Vg 3 Total 5 - LOC 37 eLOC 33 lLOC 23 Comment 41 Lines 47 - - Function: QF_getQueueMin - Parameters: (uint_fast8_t const prio) - Complexity Param 1 Return 1 Cyclo Vg 2 Total 4 - LOC 10 eLOC 9 lLOC 6 Comment 19 Lines 13 - - Function: QTicker_ctor - Parameters: (QTicker * const me, uint8_t tickRate) - Complexity Param 2 Return 1 Cyclo Vg 1 Total 4 - LOC 12 eLOC 10 lLOC 4 Comment 6 Lines 14 - - Function: QTicker_init_ - Parameters: (QHsm * const me, void const *par) - Complexity Param 2 Return 1 Cyclo Vg 1 Total 4 - LOC 5 eLOC 4 lLOC 3 Comment 1 Lines 5 - - Function: QTicker_dispatch_ - Parameters: (QHsm * const me, QEvt const * const e) - Complexity Param 2 Return 1 Cyclo Vg 2 Total 5 - LOC 12 eLOC 10 lLOC 8 Comment 4 Lines 15 - - Function: QTicker_post_ - Parameters: (QActive * const me, QEvt const * const e, uint_fast16_t con - st margin) - Complexity Param 3 Return 1 Cyclo Vg 2 Total 6 - LOC 24 eLOC 21 lLOC 17 Comment 15 Lines 32 - - Function: QTicker_postLIFO_ - Parameters: (QActive * const me, QEvt const * const e) - Complexity Param 2 Return 1 Cyclo Vg 1 Total 4 - LOC 5 eLOC 4 lLOC 3 Comment 3 Lines 5 - - Function: QActive_defer - Parameters: (QActive const * const me, QEQueue * const eq, QEvt const * - const e) - Complexity Param 3 Return 1 Cyclo Vg 1 Total 5 - LOC 13 eLOC 11 lLOC 8 Comment 31 Lines 16 - - Function: QActive_recall - Parameters: (QActive * const me, QEQueue * const eq) - Complexity Param 2 Return 1 Cyclo Vg 3 Total 6 - LOC 32 eLOC 28 lLOC 18 Comment 43 Lines 52 - - Function: QActive_flushDeferred - Parameters: (QActive const * const me, QEQueue * const eq) - Complexity Param 2 Return 1 Cyclo Vg 2 Total 5 - LOC 10 eLOC 7 lLOC 7 Comment 19 Lines 12 - - Function: QEvt_ctor - Parameters: (QEvt * const me, enum_t const sig) - Complexity Param 2 Return 1 Cyclo Vg 1 Total 4 - LOC 5 eLOC 4 lLOC 3 Comment 9 Lines 6 - - Function: QF_poolInit - Parameters: (void * const poolSto, uint_fast32_t const poolSize, uint_fa - st16_t const evtSize) - Complexity Param 3 Return 1 Cyclo Vg 2 Total 6 - LOC 15 eLOC 11 lLOC 7 Comment 40 Lines 21 - - Function: QF_newX_ - Parameters: (uint_fast16_t const evtSize, uint_fast16_t const margin, en - um_t const sig) - Complexity Param 3 Return 1 Cyclo Vg 5 Total 9 - LOC 29 eLOC 23 lLOC 14 Comment 40 Lines 39 - - Function: QF_gc - Parameters: (QEvt const * const e) - Complexity Param 1 Return 1 Cyclo Vg 3 Total 5 - LOC 26 eLOC 22 lLOC 13 Comment 36 Lines 40 - - Function: QF_newRef_ - Parameters: (QEvt const * const e, void const * const evtRef) - Complexity Param 2 Return 1 Cyclo Vg 2 Total 5 - LOC 15 eLOC 14 lLOC 8 Comment 21 Lines 23 - - Function: QF_deleteRef_ - Parameters: (void const * const evtRef) - Complexity Param 1 Return 1 Cyclo Vg 1 Total 3 - LOC 10 eLOC 9 lLOC 5 Comment 14 Lines 12 - - Function: QF_poolGetMaxBlockSize - Parameters: (void) - Complexity Param 0 Return 1 Cyclo Vg 1 Total 2 - LOC 3 eLOC 2 lLOC 1 Comment 5 Lines 3 - - Function: QMPool_init - Parameters: (QMPool * const me, void * const poolSto, uint_fast32_t pool - Size, uint_fast16_t blockSize) - Complexity Param 4 Return 1 Cyclo Vg 5 Total 10 - LOC 31 eLOC 27 lLOC 22 Comment 59 Lines 46 - - Function: QMPool_put - Parameters: (QMPool * const me, void *b) - Complexity Param 2 Return 1 Cyclo Vg 2 Total 5 - LOC 15 eLOC 14 lLOC 9 Comment 31 Lines 22 - - Function: QMPool_get - Parameters: (QMPool * const me, uint_fast16_t const margin) - Complexity Param 2 Return 1 Cyclo Vg 4 Total 7 - LOC 42 eLOC 36 lLOC 23 Comment 56 Lines 65 - - Function: QF_getPoolMin - Parameters: (uint_fast8_t const poolId) - Complexity Param 1 Return 1 Cyclo Vg 3 Total 5 - LOC 11 eLOC 10 lLOC 6 Comment 14 Lines 15 - - Function: QF_psInit - Parameters: (QSubscrList * const subscrSto, enum_t const maxSignal) - Complexity Param 2 Return 1 Cyclo Vg 1 Total 4 - LOC 7 eLOC 6 lLOC 3 Comment 33 Lines 12 - - Function: QF_publish_ - Parameters: (QEvt const * const e) - Complexity Param 1 Return 1 Cyclo Vg 5 Total 7 - LOC 36 eLOC 30 lLOC 21 Comment 50 Lines 63 - - Function: QActive_subscribe - Parameters: (QActive const * const me, enum_t const sig) - Complexity Param 2 Return 1 Cyclo Vg 5 Total 8 - LOC 16 eLOC 15 lLOC 8 Comment 23 Lines 22 - - Function: QActive_unsubscribe - Parameters: (QActive const * const me, enum_t const sig) - Complexity Param 2 Return 1 Cyclo Vg 5 Total 8 - LOC 16 eLOC 15 lLOC 8 Comment 32 Lines 25 - - Function: QActive_unsubscribeAll - Parameters: (QActive const * const me) - Complexity Param 1 Return 1 Cyclo Vg 5 Total 7 - LOC 22 eLOC 19 lLOC 11 Comment 27 Lines 27 - - Function: QActive_ctor - Parameters: (QActive * const me, QStateHandler initial) - Complexity Param 2 Return 1 Cyclo Vg 1 Total 4 - LOC 12 eLOC 10 lLOC 4 Comment 19 Lines 17 - - Function: QEQueue_init - Parameters: (QEQueue * const me, QEvt const *qSto[], uint_fast16_t const - qLen) - Complexity Param 3 Return 1 Cyclo Vg 2 Total 6 - LOC 11 eLOC 8 lLOC 7 Comment 21 Lines 11 - - Function: QEQueue_post - Parameters: (QEQueue * const me, QEvt const * const e, uint_fast16_t con - st margin) - Complexity Param 3 Return 1 Cyclo Vg 8 Total 12 - LOC 55 eLOC 45 lLOC 30 Comment 56 Lines 74 - - Function: QEQueue_postLIFO - Parameters: (QEQueue * const me, QEvt const * const e) - Complexity Param 2 Return 1 Cyclo Vg 5 Total 8 - LOC 34 eLOC 29 lLOC 21 Comment 44 Lines 45 - - Function: QEQueue_get - Parameters: (QEQueue * const me) - Complexity Param 1 Return 1 Cyclo Vg 4 Total 6 - LOC 37 eLOC 32 lLOC 21 Comment 38 Lines 47 - - Function: QMActive_ctor - Parameters: (QMActive * const me, QStateHandler initial) - Complexity Param 2 Return 1 Cyclo Vg 1 Total 4 - LOC 12 eLOC 10 lLOC 4 Comment 28 Lines 28 - - Function: QF_tickX_ - Parameters: (uint_fast8_t const tickRate) - Complexity Param 1 Return 1 Cyclo Vg 7 Total 9 - LOC 67 eLOC 55 lLOC 37 Comment 56 Lines 97 - - Function: QF_noTimeEvtsActiveX - Parameters: (uint_fast8_t const tickRate) - Complexity Param 1 Return 1 Cyclo Vg 3 Total 5 - LOC 13 eLOC 9 lLOC 5 Comment 14 Lines 14 - - Function: QTimeEvt_ctorX - Parameters: (QTimeEvt * const me, QActive * const act, enum_t const sig, - uint_fast8_t tickRate) - Complexity Param 4 Return 1 Cyclo Vg 2 Total 7 - LOC 11 eLOC 9 lLOC 8 Comment 31 Lines 28 - - Function: QTimeEvt_armX - Parameters: (QTimeEvt * const me, QTimeEvtCtr const nTicks, QTimeEvtCtr - const interval) - Complexity Param 3 Return 1 Cyclo Vg 6 Total 10 - LOC 31 eLOC 28 lLOC 17 Comment 52 Lines 53 - - Function: QTimeEvt_disarm - Parameters: (QTimeEvt * const me) - Complexity Param 1 Return 1 Cyclo Vg 2 Total 4 - LOC 31 eLOC 28 lLOC 19 Comment 30 Lines 38 - - Function: QTimeEvt_rearm - Parameters: (QTimeEvt * const me, QTimeEvtCtr const nTicks) - Complexity Param 2 Return 1 Cyclo Vg 7 Total 10 - LOC 34 eLOC 30 lLOC 18 Comment 47 Lines 59 - - Function: QTimeEvt_wasDisarmed - Parameters: (QTimeEvt * const me) - Complexity Param 1 Return 1 Cyclo Vg 2 Total 4 - LOC 5 eLOC 4 lLOC 3 Comment 23 Lines 5 - - Function: QTimeEvt_currCtr - Parameters: (QTimeEvt const * const me) - Complexity Param 1 Return 1 Cyclo Vg 1 Total 3 - LOC 8 eLOC 7 lLOC 5 Comment 16 Lines 10 - - Function: QF_init - Parameters: (void) - Complexity Param 0 Return 1 Cyclo Vg 1 Total 2 - LOC 11 eLOC 10 lLOC 7 Comment 12 Lines 13 - - Function: QF_stop - Parameters: (void) - Complexity Param 0 Return 1 Cyclo Vg 1 Total 2 - LOC 3 eLOC 2 lLOC 1 Comment 14 Lines 4 - - Function: QF_run - Parameters: (void) - Complexity Param 0 Return 1 Cyclo Vg 5 Total 6 - LOC 48 eLOC 42 lLOC 24 Comment 37 Lines 75 - - Function: QActive_start_ - Parameters: (QActive * const me, uint_fast8_t prio, QEvt const *qSto[], - uint_fast16_t qLen, void *stkSto, uint_fast16_t stkSize, voi - d const * const par) - Complexity Param 7 Return 1 Cyclo Vg 3 Total 11 - LOC 11 eLOC 9 lLOC 7 Comment 31 Lines 17 - - Function: QF_init - Parameters: (void) - Complexity Param 0 Return 1 Cyclo Vg 1 Total 2 - LOC 13 eLOC 12 lLOC 9 Comment 14 Lines 16 - - Function: QF_stop - Parameters: (void) - Complexity Param 0 Return 1 Cyclo Vg 1 Total 2 - LOC 3 eLOC 2 lLOC 1 Comment 14 Lines 4 - - Function: initial_events - Parameters: (void) - Complexity Param 0 Return 1 Cyclo Vg 2 Total 3 - LOC 6 eLOC 4 lLOC 2 Comment 6 Lines 8 - - Function: QF_run - Parameters: (void) - Complexity Param 0 Return 1 Cyclo Vg 2 Total 3 - LOC 12 eLOC 10 lLOC 7 Comment 13 Lines 14 - - Function: QActive_start_ - Parameters: (QActive * const me, uint_fast8_t prio, QEvt const *qSto[], - uint_fast16_t qLen, void *stkSto, uint_fast16_t stkSize, voi - d const * const par) - Complexity Param 7 Return 1 Cyclo Vg 5 Total 13 - LOC 18 eLOC 15 lLOC 10 Comment 34 Lines 29 - - Function: QK_schedLock - Parameters: (uint_fast8_t ceiling) - Complexity Param 1 Return 1 Cyclo Vg 2 Total 4 - LOC 22 eLOC 19 lLOC 12 Comment 32 Lines 33 - - Function: QK_schedUnlock - Parameters: (QSchedStatus stat) - Complexity Param 1 Return 1 Cyclo Vg 4 Total 6 - LOC 21 eLOC 18 lLOC 10 Comment 28 Lines 33 - - Function: QK_sched_ - Parameters: (void) - Complexity Param 0 Return 1 Cyclo Vg 3 Total 4 - LOC 15 eLOC 11 lLOC 7 Comment 21 Lines 19 - - Function: QK_activate_ - Parameters: (void) - Complexity Param 0 Return 1 Cyclo Vg 14 Total 15 - LOC 74 eLOC 66 lLOC 33 Comment 54 Lines 106 - - Function: QF_init - Parameters: (void) - Complexity Param 0 Return 1 Cyclo Vg 1 Total 2 - LOC 16 eLOC 15 lLOC 12 Comment 17 Lines 22 - - Function: QF_stop - Parameters: (void) - Complexity Param 0 Return 1 Cyclo Vg 1 Total 2 - LOC 3 eLOC 2 lLOC 1 Comment 14 Lines 4 - - Function: initial_events - Parameters: (void) - Complexity Param 0 Return 1 Cyclo Vg 2 Total 3 - LOC 6 eLOC 4 lLOC 2 Comment 6 Lines 8 - - Function: QF_run - Parameters: (void) - Complexity Param 0 Return 1 Cyclo Vg 2 Total 3 - LOC 12 eLOC 10 lLOC 7 Comment 12 Lines 15 - - Function: QActive_start_ - Parameters: (QActive * const me, uint_fast8_t prio, QEvt const *qSto[], - uint_fast16_t qLen, void *stkSto, uint_fast16_t stkSize, voi - d const * const par) - Complexity Param 7 Return 1 Cyclo Vg 6 Total 14 - LOC 20 eLOC 17 lLOC 11 Comment 38 Lines 31 - - Function: QXK_schedLock - Parameters: (uint_fast8_t ceiling) - Complexity Param 1 Return 1 Cyclo Vg 3 Total 5 - LOC 25 eLOC 22 lLOC 12 Comment 40 Lines 35 - - Function: QXK_schedUnlock - Parameters: (QSchedStatus stat) - Complexity Param 1 Return 1 Cyclo Vg 4 Total 6 - LOC 21 eLOC 18 lLOC 10 Comment 33 Lines 33 - - Function: QXK_sched_ - Parameters: (void) - Complexity Param 0 Return 1 Cyclo Vg 7 Total 8 - LOC 53 eLOC 42 lLOC 23 Comment 36 Lines 69 - - Function: QXK_activate_ - Parameters: (void) - Complexity Param 0 Return 1 Cyclo Vg 14 Total 15 - LOC 91 eLOC 80 lLOC 43 Comment 63 Lines 134 - - Function: QXK_current - Parameters: (void) - Complexity Param 0 Return 1 Cyclo Vg 2 Total 3 - LOC 13 eLOC 11 lLOC 8 Comment 4 Lines 20 - - Function: QXMutex_init - Parameters: (QXMutex * const me, uint_fast8_t ceiling) - Complexity Param 2 Return 1 Cyclo Vg 4 Total 7 - LOC 16 eLOC 14 lLOC 8 Comment 33 Lines 25 - - Function: QXMutex_lock - Parameters: (QXMutex * const me, uint_fast16_t const nTicks) - Complexity Param 2 Return 1 Cyclo Vg 12 Total 15 - LOC 67 eLOC 57 lLOC 36 Comment 61 Lines 107 - - Function: QXMutex_tryLock - Parameters: (QXMutex * const me) - Complexity Param 1 Return 1 Cyclo Vg 10 Total 12 - LOC 45 eLOC 38 lLOC 21 Comment 46 Lines 69 - - Function: QXMutex_unlock - Parameters: (QXMutex * const me) - Complexity Param 1 Return 1 Cyclo Vg 16 Total 18 - LOC 69 eLOC 59 lLOC 32 Comment 66 Lines 115 - - Function: QXSemaphore_init - Parameters: (QXSemaphore * const me, uint_fast16_t count, uint_fast16_t - max_count) - Complexity Param 3 Return 1 Cyclo Vg 1 Total 5 - LOC 6 eLOC 4 lLOC 4 Comment 22 Lines 8 - - Function: QXSemaphore_wait - Parameters: (QXSemaphore * const me, uint_fast16_t const nTicks) - Complexity Param 2 Return 1 Cyclo Vg 7 Total 10 - LOC 44 eLOC 37 lLOC 25 Comment 59 Lines 69 - - Function: QXSemaphore_tryWait - Parameters: (QXSemaphore * const me) - Complexity Param 1 Return 1 Cyclo Vg 2 Total 4 - LOC 15 eLOC 12 lLOC 8 Comment 18 Lines 20 - - Function: QXSemaphore_signal - Parameters: (QXSemaphore * const me) - Complexity Param 1 Return 1 Cyclo Vg 6 Total 8 - LOC 30 eLOC 25 lLOC 16 Comment 34 Lines 49 - - Function: QXThread_ctor - Parameters: (QXThread * const me, QXThreadHandler handler, uint_fast8_t - tickRate) - Complexity Param 3 Return 1 Cyclo Vg 1 Total 5 - LOC 16 eLOC 13 lLOC 7 Comment 27 Lines 19 - - Function: QXThread_init_ - Parameters: (QHsm * const me, void const * const par) - Complexity Param 2 Return 1 Cyclo Vg 1 Total 4 - LOC 5 eLOC 4 lLOC 3 Comment 4 Lines 5 - - Function: QXThread_dispatch_ - Parameters: (QHsm * const me, QEvt const * const e) - Complexity Param 2 Return 1 Cyclo Vg 1 Total 4 - LOC 5 eLOC 4 lLOC 3 Comment 3 Lines 5 - - Function: QXThread_start_ - Parameters: (QActive * const me, uint_fast8_t prio, QEvt const *qSto[], - uint_fast16_t qLen, void *stkSto, uint_fast16_t stkSize, voi - d const *par) - Complexity Param 7 Return 1 Cyclo Vg 6 Total 14 - LOC 21 eLOC 18 lLOC 12 Comment 42 Lines 43 - - Function: QXThread_post_ - Parameters: (QActive * const me, QEvt const * const e, uint_fast16_t con - st margin) - Complexity Param 3 Return 1 Cyclo Vg 13 Total 17 - LOC 96 eLOC 75 lLOC 48 Comment 85 Lines 129 - - Function: QXThread_postLIFO_ - Parameters: (QActive * const me, QEvt const * const e) - Complexity Param 2 Return 1 Cyclo Vg 1 Total 4 - LOC 5 eLOC 4 lLOC 3 Comment 11 Lines 5 - - Function: QXThread_queueGet - Parameters: (uint_fast16_t const nTicks) - Complexity Param 1 Return 1 Cyclo Vg 7 Total 9 - LOC 62 eLOC 55 lLOC 36 Comment 54 Lines 88 - - Function: QXThread_block_ - Parameters: (QXThread const * const me) - Complexity Param 1 Return 1 Cyclo Vg 1 Total 3 - LOC 5 eLOC 4 lLOC 3 Comment 9 Lines 7 - - Function: QXThread_unblock_ - Parameters: (QXThread const * const me) - Complexity Param 1 Return 1 Cyclo Vg 3 Total 5 - LOC 8 eLOC 5 lLOC 2 Comment 10 Lines 8 - - Function: QXThread_teArm_ - Parameters: (QXThread * const me, QSignal sig, uint_fast16_t const nTick - s) - Complexity Param 3 Return 1 Cyclo Vg 3 Total 7 - LOC 19 eLOC 14 lLOC 9 Comment 22 Lines 37 - - Function: QXThread_teDisarm_ - Parameters: (QXThread * const me) - Complexity Param 1 Return 1 Cyclo Vg 2 Total 4 - LOC 11 eLOC 8 lLOC 5 Comment 11 Lines 13 - - Function: QXThread_delay - Parameters: (uint_fast16_t const nTicks) - Complexity Param 1 Return 1 Cyclo Vg 3 Total 5 - LOC 21 eLOC 20 lLOC 15 Comment 18 Lines 37 - - Function: QXThread_delayCancel - Parameters: (QXThread * const me) - Complexity Param 1 Return 1 Cyclo Vg 2 Total 4 - LOC 14 eLOC 11 lLOC 7 Comment 2 Lines 16 - - Function: QXK_threadRet_ - Parameters: (void) - Complexity Param 0 Return 1 Cyclo Vg 2 Total 3 - LOC 15 eLOC 14 lLOC 11 Comment 19 Lines 25 - - Total: Functions - LOC 2729 eLOC 2299 lLOC 1440 InCmp 289 CycloCmp 428 - Function Points FP(LOC) 21.3 FP(eLOC) 18.0 FP(lLOC) 11.3 - - ------------------------------------------------------------------------ - - ~~ Project Functional Analysis ~~ - - Total Functions .......: 106 Total Physical Lines ..: 3881 - Total LOC .............: 2729 Total Function Pts LOC : 21.3 - Total eLOC ............: 2299 Total Function Pts eLOC: 18.0 - Total lLOC.............: 1440 Total Function Pts lLOC: 11.3 - Total Cyclomatic Comp. : 428 Total Interface Comp. .: 289 - Total Parameters ......: 183 Total Return Points ...: 106 - Total Comment Lines ...: 3073 Total Blank Lines .....: 576 - ------ ----- ----- ------ ------ ----- - Avg Physical Lines ....: 36.61 - Avg LOC ...............: 25.75 Avg eLOC ..............: 21.69 - Avg lLOC ..............: 13.58 Avg Cyclomatic Comp. ..: 4.04 - Avg Interface Comp. ...: 2.73 Avg Parameters ........: 1.73 - Avg Return Points .....: 1.00 Avg Comment Lines .....: 28.99 - ------ ----- ----- ------ ------ ----- - Max LOC ...............: 124 - Max eLOC ..............: 107 Max lLOC ..............: 65 - Max Cyclomatic Comp. ..: 16 Max Interface Comp. ...: 8 - Max Parameters ........: 7 Max Return Points .....: 1 - Max Comment Lines .....: 85 Max Total Lines .......: 164 - ------ ----- ----- ------ ------ ----- - Min LOC ...............: 3 - Min eLOC ..............: 2 Min lLOC ..............: 1 - Min Cyclomatic Comp. ..: 1 Min Interface Comp. ...: 1 - Min Parameters ........: 0 Min Return Points .....: 1 - Min Comment Lines .....: 0 Min Total Lines .......: 3 - - ------------------------------------------------------------------------ - - ~~ File Summary ~~ - - C Source Files *.c ....: 18 C/C++ Include Files *.h: 16 - C++ Source Files *.c* .: 0 C++ Include Files *.h* : 0 - C# Source Files *.cs ..: 0 Java Source File *.jav*: 0 - Other File Count ......: 0 Total File Count ......: 34 - ________________________________________________________________________ - -@endcode -*/ +/** @page metrics Code Metrics + +@code{c} + Standard Code Metrics for QP/C 6.7.0 + + 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: Jan 02, 2020 + (C)1996-2009 M Squared Technologies LLC + ________________________________________________________________________ + + ~~ Function Metrics ~~ + ~~ Complexity Detail Analysis ~~ + + File: ..\include\qassert.h + ________________________________________________________________________ + + ~~ Total File Summary ~~ + + LOC 49 eLOC 48 lLOC 5 Comment 258 Lines 334 + ________________________________________________________________________ + End of File: ..\include\qassert.h + + + File: ..\include\qep.h + ________________________________________________________________________ + + ~~ Total File Summary ~~ + + LOC 160 eLOC 154 lLOC 62 Comment 412 Lines 624 + ________________________________________________________________________ + End of File: ..\include\qep.h + + + File: ..\include\qequeue.h + ________________________________________________________________________ + + ~~ Total File Summary ~~ + + LOC 33 eLOC 33 lLOC 15 Comment 180 Lines 233 + ________________________________________________________________________ + End of File: ..\include\qequeue.h + + + File: ..\include\qf.h + ________________________________________________________________________ + + ~~ Total File Summary ~~ + + LOC 191 eLOC 191 lLOC 76 Comment 540 Lines 829 + ________________________________________________________________________ + End of File: ..\include\qf.h + + + File: ..\include\qk.h + ________________________________________________________________________ + + ~~ Total File Summary ~~ + + LOC 61 eLOC 61 lLOC 22 Comment 128 Lines 205 + ________________________________________________________________________ + End of File: ..\include\qk.h + + + File: ..\include\qmpool.h + ________________________________________________________________________ + + ~~ Total File Summary ~~ + + LOC 42 eLOC 42 lLOC 18 Comment 109 Lines 169 + ________________________________________________________________________ + End of File: ..\include\qmpool.h + + + File: ..\include\qpc.h + ________________________________________________________________________ + + ~~ Total File Summary ~~ + + LOC 34 eLOC 33 lLOC 3 Comment 100 Lines 148 + ________________________________________________________________________ + End of File: ..\include\qpc.h + + + File: ..\include\qpset.h + ________________________________________________________________________ + + ~~ Total File Summary ~~ + + LOC 78 eLOC 78 lLOC 14 Comment 82 Lines 179 + ________________________________________________________________________ + End of File: ..\include\qpset.h + + + File: ..\include\qs.h + ________________________________________________________________________ + + + NOTICE: The end of the source file has been reached where the + open brace count { 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 582 eLOC 572 lLOC 132 Comment 771 Lines 1387 + ________________________________________________________________________ + End of File: ..\include\qs.h + + + File: ..\include\qs_dummy.h + ________________________________________________________________________ + + ~~ Total File Summary ~~ + + LOC 75 eLOC 75 lLOC 0 Comment 45 Lines 129 + ________________________________________________________________________ + End of File: ..\include\qs_dummy.h + + + File: ..\include\qv.h + ________________________________________________________________________ + + ~~ Total File Summary ~~ + + LOC 24 eLOC 24 lLOC 2 Comment 78 Lines 108 + ________________________________________________________________________ + End of File: ..\include\qv.h + + + File: ..\include\qxk.h + ________________________________________________________________________ + + ~~ Total File Summary ~~ + + LOC 66 eLOC 66 lLOC 25 Comment 137 Lines 217 + ________________________________________________________________________ + End of File: ..\include\qxk.h + + + File: ..\include\qxthread.h + ________________________________________________________________________ + + ~~ Total File Summary ~~ + + LOC 44 eLOC 43 lLOC 27 Comment 207 Lines 263 + ________________________________________________________________________ + End of File: ..\include\qxthread.h + + + File: ..\src\qf_pkg.h + ________________________________________________________________________ + + ~~ Total File Summary ~~ + + LOC 60 eLOC 59 lLOC 18 Comment 111 Lines 188 + ________________________________________________________________________ + End of File: ..\src\qf_pkg.h + + + File: ..\src\qs_pkg.h + ________________________________________________________________________ + + ~~ Total File Summary ~~ + + LOC 27 eLOC 25 lLOC 8 Comment 68 Lines 105 + ________________________________________________________________________ + End of File: ..\src\qs_pkg.h + + + File: ..\src\qxk_pkg.h + ________________________________________________________________________ + + ~~ Total File Summary ~~ + + LOC 20 eLOC 19 lLOC 8 Comment 60 Lines 90 + ________________________________________________________________________ + End of File: ..\src\qxk_pkg.h + + + File: ..\src\qf\qep_hsm.c + ________________________________________________________________________ + + Function: QHsm_ctor + Parameters: (QHsm * const me, QStateHandler initial) + Complexity Param 2 Return 1 Cyclo Vg 1 Total 4 + LOC 9 eLOC 7 lLOC 4 Comment 21 Lines 9 + + Function: QHsm_init_ + Parameters: (QHsm * const me, void const * const e) + Cyclomatic Complexity Vg Detail + Function Base : 1 + Loops while / do : 3 + Conditional if / else if: 1 + Logical and ( && ) : 2 + Complexity Param 2 Return 1 Cyclo Vg 7 Total 10 + LOC 50 eLOC 47 lLOC 31 Comment 35 Lines 71 + + Function: QHsm_top + Parameters: (void const * const me, QEvt const * const e) + Complexity Param 2 Return 1 Cyclo Vg 1 Total 4 + LOC 5 eLOC 4 lLOC 3 Comment 18 Lines 5 + + Function: QHsm_dispatch_ + Parameters: (QHsm * const me, QEvt const * const e) + Cyclomatic Complexity Vg Detail + Function Base : 1 + Loops while / do : 4 + Loops for / foreach : 2 + Conditional if / else if: 5 + Logical and ( && ) : 1 + Complexity Param 2 Return 1 Cyclo Vg 13 Total 16 + LOC 106 eLOC 95 lLOC 62 Comment 67 Lines 147 + + Function: QHsm_tran_ + Parameters: (QHsm * const me, QStateHandler path[QHSM_MAX_NEST_DEPTH_]) + Cyclomatic Complexity Vg Detail + Function Base : 1 + Loops while / do : 4 + Conditional if / else if: 10 + Complexity Param 2 Return 1 Cyclo Vg 15 Total 18 + LOC 97 eLOC 76 lLOC 48 Comment 63 Lines 134 + + Function: QHsm_isIn + Parameters: (QHsm * const me, QStateHandler const state) + Cyclomatic Complexity Vg Detail + Function Base : 1 + Loops while / do : 1 + Conditional if / else if: 1 + Complexity Param 2 Return 1 Cyclo Vg 3 Total 6 + LOC 16 eLOC 13 lLOC 9 Comment 22 Lines 21 + + Function: QHsm_childState_ + Parameters: (QHsm * const me, QStateHandler const parent) + Cyclomatic Complexity Vg Detail + Function Base : 1 + Loops while / do : 1 + Conditional if / else if: 1 + Complexity Param 2 Return 1 Cyclo Vg 3 Total 6 + LOC 22 eLOC 18 lLOC 13 Comment 34 Lines 28 + + ------------------------------------------------------------------------ + + ~~ Total File Summary ~~ + + LOC 349 eLOC 302 lLOC 178 Comment 323 Lines 638 + ------------------------------------------------------------------------ + + ~~ File Functional Summary ~~ + + File Function Count....: 7 + Total Function LOC.....: 305 Total Function Pts LOC : 2.7 + Total Function eLOC....: 260 Total Function Pts eLOC: 2.4 + Total Function lLOC....: 170 Total Function Pts lLOC: 1.4 + Total Function Params .: 14 Total Function Return .: 7 + Total Cyclo Complexity : 43 Total Function Complex.: 64 + ------ ----- ----- ------ ------ ----- + Max Function LOC ......: 106 Average Function LOC ..: 43.57 + Max Function eLOC .....: 95 Average Function eLOC .: 37.14 + Max Function lLOC .....: 62 Average Function lLOC .: 24.29 + ------ ----- ----- ------ ------ ----- + Max Function Parameters: 2 Avg Function Parameters: 2.00 + Max Function Returns ..: 1 Avg Function Returns ..: 1.00 + Max Interface Complex. : 3 Avg Interface Complex. : 3.00 + Max Cyclomatic Complex.: 15 Avg Cyclomatic Complex.: 6.14 + Max Total Complexity ..: 18 Avg Total Complexity ..: 9.14 + ________________________________________________________________________ + End of File: ..\src\qf\qep_hsm.c + + + File: ..\src\qf\qep_msm.c + ________________________________________________________________________ + + Function: QMsm_ctor + Parameters: (QMsm * const me, QStateHandler initial) + Complexity Param 2 Return 1 Cyclo Vg 1 Total 4 + LOC 9 eLOC 7 lLOC 4 Comment 29 Lines 10 + + Function: QMsm_init_ + Parameters: (QHsm * const me, void const * const e) + Cyclomatic Complexity Vg Detail + Function Base : 1 + Loops while / do : 1 + Logical and ( && ) : 2 + Complexity Param 2 Return 1 Cyclo Vg 4 Total 7 + LOC 23 eLOC 22 lLOC 13 Comment 26 Lines 38 + + Function: QMsm_dispatch_ + Parameters: (QHsm * const me, QEvt const * const e) + Cyclomatic Complexity Vg Detail + Function Base : 1 + Loops while / do : 2 + Conditional if / else if: 12 + Complexity Param 2 Return 1 Cyclo Vg 15 Total 18 + LOC 124 eLOC 107 lLOC 65 Comment 83 Lines 164 + + Function: QMsm_execTatbl_ + Parameters: (QMsm * const me, struct QMTranActTable const *tatbl) + Cyclomatic Complexity Vg Detail + Function Base : 1 + Loops for / foreach : 1 + Conditional if / else if: 5 + Inlined if-else ( ? : ) : 1 + Complexity Param 2 Return 1 Cyclo Vg 8 Total 11 + LOC 50 eLOC 41 lLOC 20 Comment 32 Lines 60 + + Function: QMsm_exitToTranSource_ + Parameters: (QMsm * const me, QMState const *cs, QMState const *ts) + Cyclomatic Complexity Vg Detail + Function Base : 1 + Loops while / do : 1 + Conditional if / else if: 2 + Complexity Param 3 Return 1 Cyclo Vg 4 Total 8 + LOC 18 eLOC 13 lLOC 7 Comment 20 Lines 25 + + Function: QMsm_enterHistory_ + Parameters: (QMsm * const me, QMState const *const hist) + Cyclomatic Complexity Vg Detail + Function Base : 1 + Loops while / do : 2 + Conditional if / else if: 3 + Complexity Param 2 Return 1 Cyclo Vg 6 Total 9 + LOC 40 eLOC 33 lLOC 21 Comment 25 Lines 48 + + Function: QMsm_isInState + Parameters: (QMsm const * const me, QMState const * const state) + Cyclomatic Complexity Vg Detail + Function Base : 1 + Loops for / foreach : 1 + Conditional if / else if: 1 + Complexity Param 2 Return 1 Cyclo Vg 3 Total 6 + LOC 11 eLOC 8 lLOC 6 Comment 17 Lines 12 + + Function: QMsm_childStateObj_ + Parameters: (QMsm const * const me, QMState const * const parent) + Cyclomatic Complexity Vg Detail + Function Base : 1 + Loops for / foreach : 1 + Conditional if / else if: 1 + Complexity Param 2 Return 1 Cyclo Vg 3 Total 6 + LOC 22 eLOC 16 lLOC 10 Comment 23 Lines 26 + + ------------------------------------------------------------------------ + + ~~ Total File Summary ~~ + + LOC 328 eLOC 276 lLOC 151 Comment 314 Lines 604 + ------------------------------------------------------------------------ + + ~~ File Functional Summary ~~ + + File Function Count....: 8 + Total Function LOC.....: 297 Total Function Pts LOC : 2.6 + Total Function eLOC....: 247 Total Function Pts eLOC: 2.2 + Total Function lLOC....: 146 Total Function Pts lLOC: 1.2 + Total Function Params .: 17 Total Function Return .: 8 + Total Cyclo Complexity : 44 Total Function Complex.: 69 + ------ ----- ----- ------ ------ ----- + Max Function LOC ......: 124 Average Function LOC ..: 37.13 + Max Function eLOC .....: 107 Average Function eLOC .: 30.88 + Max Function lLOC .....: 65 Average Function lLOC .: 18.25 + ------ ----- ----- ------ ------ ----- + Max Function Parameters: 3 Avg Function Parameters: 2.13 + Max Function Returns ..: 1 Avg Function Returns ..: 1.00 + Max Interface Complex. : 4 Avg Interface Complex. : 3.13 + Max Cyclomatic Complex.: 15 Avg Cyclomatic Complex.: 5.50 + Max Total Complexity ..: 18 Avg Total Complexity ..: 8.63 + ________________________________________________________________________ + End of File: ..\src\qf\qep_msm.c + + + File: ..\src\qf\qf_act.c + ________________________________________________________________________ + + Function: QF_add_ + Parameters: (QActive * const a) + Cyclomatic Complexity Vg Detail + Function Base : 1 + Logical and ( && ) : 2 + Complexity Param 1 Return 1 Cyclo Vg 3 Total 5 + LOC 10 eLOC 9 lLOC 5 Comment 20 Lines 17 + + Function: QF_remove_ + Parameters: (QActive * const a) + Cyclomatic Complexity Vg Detail + Function Base : 1 + Logical and ( && ) : 2 + Complexity Param 1 Return 1 Cyclo Vg 3 Total 5 + LOC 11 eLOC 10 lLOC 6 Comment 21 Lines 17 + + Function: QF_bzero + Parameters: (void * const start, uint_fast16_t len) + Cyclomatic Complexity Vg Detail + Function Base : 1 + Loops for / foreach : 1 + Complexity Param 2 Return 1 Cyclo Vg 2 Total 5 + LOC 8 eLOC 6 lLOC 5 Comment 14 Lines 8 + + Function: QF_LOG2 + Parameters: (QPSetBits x) + Cyclomatic Complexity Vg Detail + Function Base : 1 + Conditional if / else if: 3 + Complexity Param 1 Return 1 Cyclo Vg 4 Total 6 + LOC 30 eLOC 25 lLOC 13 Comment 0 Lines 31 + + ------------------------------------------------------------------------ + + ~~ Total File Summary ~~ + + LOC 73 eLOC 64 lLOC 30 Comment 114 Lines 189 + ------------------------------------------------------------------------ + + ~~ File Functional Summary ~~ + + File Function Count....: 4 + Total Function LOC.....: 59 Total Function Pts LOC : 0.6 + Total Function eLOC....: 50 Total Function Pts eLOC: 0.5 + Total Function lLOC....: 29 Total Function Pts lLOC: 0.2 + Total Function Params .: 5 Total Function Return .: 4 + Total Cyclo Complexity : 12 Total Function Complex.: 21 + ------ ----- ----- ------ ------ ----- + Max Function LOC ......: 30 Average Function LOC ..: 14.75 + Max Function eLOC .....: 25 Average Function eLOC .: 12.50 + Max Function lLOC .....: 13 Average Function lLOC .: 7.25 + ------ ----- ----- ------ ------ ----- + Max Function Parameters: 2 Avg Function Parameters: 1.25 + Max Function Returns ..: 1 Avg Function Returns ..: 1.00 + Max Interface Complex. : 3 Avg Interface Complex. : 2.25 + Max Cyclomatic Complex.: 4 Avg Cyclomatic Complex.: 3.00 + Max Total Complexity ..: 6 Avg Total Complexity ..: 5.25 + ________________________________________________________________________ + End of File: ..\src\qf\qf_act.c + + + File: ..\src\qf\qf_actq.c + ________________________________________________________________________ + + Function: QActive_post_ + Parameters: (QActive * const me, QEvt const * const e, uint_fast16_t con + st margin) + Cyclomatic Complexity Vg Detail + Function Base : 1 + Conditional if / else if: 10 + Logical or ( || ) : 2 + Complexity Param 3 Return 1 Cyclo Vg 13 Total 17 + LOC 88 eLOC 69 lLOC 40 Comment 81 Lines 122 + + Function: QActive_postLIFO_ + Parameters: (QActive * const me, QEvt const * const e) + Cyclomatic Complexity Vg Detail + Function Base : 1 + Conditional if / else if: 5 + Logical or ( || ) : 1 + Complexity Param 2 Return 1 Cyclo Vg 7 Total 10 + LOC 48 eLOC 39 lLOC 24 Comment 46 Lines 69 + + Function: QActive_get_ + Parameters: (QActive * const me) + Cyclomatic Complexity Vg Detail + Function Base : 1 + Conditional if / else if: 2 + Complexity Param 1 Return 1 Cyclo Vg 3 Total 5 + LOC 37 eLOC 33 lLOC 23 Comment 41 Lines 47 + + Function: QF_getQueueMin + Parameters: (uint_fast8_t const prio) + Cyclomatic Complexity Vg Detail + Function Base : 1 + Logical and ( && ) : 1 + Complexity Param 1 Return 1 Cyclo Vg 2 Total 4 + LOC 10 eLOC 9 lLOC 6 Comment 19 Lines 13 + + Function: QTicker_ctor + Parameters: (QTicker * const me, uint8_t tickRate) + Complexity Param 2 Return 1 Cyclo Vg 1 Total 4 + LOC 12 eLOC 10 lLOC 4 Comment 6 Lines 14 + + Function: QTicker_init_ + Parameters: (QHsm * const me, void const *par) + Complexity Param 2 Return 1 Cyclo Vg 1 Total 4 + LOC 5 eLOC 4 lLOC 3 Comment 1 Lines 5 + + Function: QTicker_dispatch_ + Parameters: (QHsm * const me, QEvt const * const e) + Cyclomatic Complexity Vg Detail + Function Base : 1 + Loops for / foreach : 1 + Complexity Param 2 Return 1 Cyclo Vg 2 Total 5 + LOC 12 eLOC 10 lLOC 8 Comment 4 Lines 15 + + Function: QTicker_post_ + Parameters: (QActive * const me, QEvt const * const e, uint_fast16_t con + st margin) + Cyclomatic Complexity Vg Detail + Function Base : 1 + Conditional if / else if: 1 + Complexity Param 3 Return 1 Cyclo Vg 2 Total 6 + LOC 24 eLOC 21 lLOC 17 Comment 15 Lines 32 + + Function: QTicker_postLIFO_ + Parameters: (QActive * const me, QEvt const * const e) + Complexity Param 2 Return 1 Cyclo Vg 1 Total 4 + LOC 5 eLOC 4 lLOC 3 Comment 3 Lines 5 + + ------------------------------------------------------------------------ + + ~~ Total File Summary ~~ + + LOC 277 eLOC 235 lLOC 133 Comment 278 Lines 520 + ------------------------------------------------------------------------ + + ~~ File Functional Summary ~~ + + File Function Count....: 9 + Total Function LOC.....: 241 Total Function Pts LOC : 2.2 + Total Function eLOC....: 199 Total Function Pts eLOC: 1.8 + Total Function lLOC....: 128 Total Function Pts lLOC: 1.0 + Total Function Params .: 18 Total Function Return .: 9 + Total Cyclo Complexity : 32 Total Function Complex.: 59 + ------ ----- ----- ------ ------ ----- + Max Function LOC ......: 88 Average Function LOC ..: 26.78 + Max Function eLOC .....: 69 Average Function eLOC .: 22.11 + Max Function lLOC .....: 40 Average Function lLOC .: 14.22 + ------ ----- ----- ------ ------ ----- + Max Function Parameters: 3 Avg Function Parameters: 2.00 + Max Function Returns ..: 1 Avg Function Returns ..: 1.00 + Max Interface Complex. : 4 Avg Interface Complex. : 3.00 + Max Cyclomatic Complex.: 13 Avg Cyclomatic Complex.: 3.56 + Max Total Complexity ..: 17 Avg Total Complexity ..: 6.56 + ________________________________________________________________________ + End of File: ..\src\qf\qf_actq.c + + + File: ..\src\qf\qf_defer.c + ________________________________________________________________________ + + Function: QActive_defer + Parameters: (QActive const * const me, QEQueue * const eq, QEvt const * + const e) + Complexity Param 3 Return 1 Cyclo Vg 1 Total 5 + LOC 13 eLOC 11 lLOC 8 Comment 31 Lines 16 + + Function: QActive_recall + Parameters: (QActive * const me, QEQueue * const eq) + Cyclomatic Complexity Vg Detail + Function Base : 1 + Conditional if / else if: 2 + Complexity Param 2 Return 1 Cyclo Vg 3 Total 6 + LOC 32 eLOC 28 lLOC 18 Comment 43 Lines 52 + + Function: QActive_flushDeferred + Parameters: (QActive const * const me, QEQueue * const eq) + Cyclomatic Complexity Vg Detail + Function Base : 1 + Loops for / foreach : 1 + Complexity Param 2 Return 1 Cyclo Vg 2 Total 5 + LOC 10 eLOC 7 lLOC 7 Comment 19 Lines 12 + + ------------------------------------------------------------------------ + + ~~ Total File Summary ~~ + + LOC 69 eLOC 60 lLOC 33 Comment 140 Lines 201 + ------------------------------------------------------------------------ + + ~~ File Functional Summary ~~ + + File Function Count....: 3 + Total Function LOC.....: 55 Total Function Pts LOC : 0.5 + Total Function eLOC....: 46 Total Function Pts eLOC: 0.5 + Total Function lLOC....: 33 Total Function Pts lLOC: 0.3 + Total Function Params .: 7 Total Function Return .: 3 + Total Cyclo Complexity : 6 Total Function Complex.: 16 + ------ ----- ----- ------ ------ ----- + Max Function LOC ......: 32 Average Function LOC ..: 18.33 + Max Function eLOC .....: 28 Average Function eLOC .: 15.33 + Max Function lLOC .....: 18 Average Function lLOC .: 11.00 + ------ ----- ----- ------ ------ ----- + Max Function Parameters: 3 Avg Function Parameters: 2.33 + Max Function Returns ..: 1 Avg Function Returns ..: 1.00 + Max Interface Complex. : 4 Avg Interface Complex. : 3.33 + Max Cyclomatic Complex.: 3 Avg Cyclomatic Complex.: 2.00 + Max Total Complexity ..: 6 Avg Total Complexity ..: 5.33 + ________________________________________________________________________ + End of File: ..\src\qf\qf_defer.c + + + File: ..\src\qf\qf_dyn.c + ________________________________________________________________________ + + Function: QEvt_ctor + Parameters: (QEvt * const me, enum_t const sig) + Complexity Param 2 Return 1 Cyclo Vg 1 Total 4 + LOC 5 eLOC 4 lLOC 3 Comment 9 Lines 6 + + Function: QF_poolInit + Parameters: (void * const poolSto, uint_fast32_t const poolSize, uint_fa + st16_t const evtSize) + Cyclomatic Complexity Vg Detail + Function Base : 1 + Logical or ( || ) : 1 + Complexity Param 3 Return 1 Cyclo Vg 2 Total 6 + LOC 15 eLOC 11 lLOC 7 Comment 40 Lines 21 + + Function: QF_newX_ + Parameters: (uint_fast16_t const evtSize, uint_fast16_t const margin, en + um_t const sig) + Cyclomatic Complexity Vg Detail + Function Base : 1 + Loops for / foreach : 1 + Conditional if / else if: 2 + Inlined if-else ( ? : ) : 1 + Complexity Param 3 Return 1 Cyclo Vg 5 Total 9 + LOC 29 eLOC 23 lLOC 14 Comment 40 Lines 39 + + Function: QF_gc + Parameters: (QEvt const * const e) + Cyclomatic Complexity Vg Detail + Function Base : 1 + Conditional if / else if: 2 + Complexity Param 1 Return 1 Cyclo Vg 3 Total 5 + LOC 26 eLOC 22 lLOC 13 Comment 36 Lines 40 + + Function: QF_newRef_ + Parameters: (QEvt const * const e, void const * const evtRef) + Cyclomatic Complexity Vg Detail + Function Base : 1 + Logical and ( && ) : 1 + Complexity Param 2 Return 1 Cyclo Vg 2 Total 5 + LOC 15 eLOC 14 lLOC 8 Comment 21 Lines 23 + + Function: QF_deleteRef_ + Parameters: (void const * const evtRef) + Complexity Param 1 Return 1 Cyclo Vg 1 Total 3 + LOC 10 eLOC 9 lLOC 5 Comment 14 Lines 12 + + Function: QF_poolGetMaxBlockSize + Parameters: (void) + Complexity Param 0 Return 1 Cyclo Vg 1 Total 2 + LOC 3 eLOC 2 lLOC 1 Comment 5 Lines 3 + + ------------------------------------------------------------------------ + + ~~ Total File Summary ~~ + + LOC 121 eLOC 103 lLOC 53 Comment 218 Lines 340 + ------------------------------------------------------------------------ + + ~~ File Functional Summary ~~ + + File Function Count....: 7 + Total Function LOC.....: 103 Total Function Pts LOC : 0.9 + Total Function eLOC....: 85 Total Function Pts eLOC: 0.8 + Total Function lLOC....: 51 Total Function Pts lLOC: 0.4 + Total Function Params .: 12 Total Function Return .: 7 + Total Cyclo Complexity : 15 Total Function Complex.: 34 + ------ ----- ----- ------ ------ ----- + Max Function LOC ......: 29 Average Function LOC ..: 14.71 + Max Function eLOC .....: 23 Average Function eLOC .: 12.14 + Max Function lLOC .....: 14 Average Function lLOC .: 7.29 + ------ ----- ----- ------ ------ ----- + Max Function Parameters: 3 Avg Function Parameters: 1.71 + Max Function Returns ..: 1 Avg Function Returns ..: 1.00 + Max Interface Complex. : 4 Avg Interface Complex. : 2.71 + Max Cyclomatic Complex.: 5 Avg Cyclomatic Complex.: 2.14 + Max Total Complexity ..: 9 Avg Total Complexity ..: 4.86 + ________________________________________________________________________ + End of File: ..\src\qf\qf_dyn.c + + + File: ..\src\qf\qf_mem.c + ________________________________________________________________________ + + Function: QMPool_init + Parameters: (QMPool * const me, void * const poolSto, uint_fast32_t pool + Size, uint_fast16_t blockSize) + Cyclomatic Complexity Vg Detail + Function Base : 1 + Loops while / do : 2 + Logical and ( && ) : 2 + Complexity Param 4 Return 1 Cyclo Vg 5 Total 10 + LOC 31 eLOC 27 lLOC 22 Comment 59 Lines 46 + + Function: QMPool_put + Parameters: (QMPool * const me, void *b) + Cyclomatic Complexity Vg Detail + Function Base : 1 + Logical and ( && ) : 1 + Complexity Param 2 Return 1 Cyclo Vg 2 Total 5 + LOC 15 eLOC 14 lLOC 9 Comment 31 Lines 22 + + Function: QMPool_get + Parameters: (QMPool * const me, uint_fast16_t const margin) + Cyclomatic Complexity Vg Detail + Function Base : 1 + Conditional if / else if: 3 + Complexity Param 2 Return 1 Cyclo Vg 4 Total 7 + LOC 42 eLOC 36 lLOC 23 Comment 56 Lines 65 + + Function: QF_getPoolMin + Parameters: (uint_fast8_t const poolId) + Cyclomatic Complexity Vg Detail + Function Base : 1 + Logical and ( && ) : 2 + Complexity Param 1 Return 1 Cyclo Vg 3 Total 5 + LOC 11 eLOC 10 lLOC 6 Comment 14 Lines 15 + + ------------------------------------------------------------------------ + + ~~ Total File Summary ~~ + + LOC 111 eLOC 99 lLOC 60 Comment 207 Lines 305 + ------------------------------------------------------------------------ + + ~~ File Functional Summary ~~ + + File Function Count....: 4 + Total Function LOC.....: 99 Total Function Pts LOC : 0.9 + Total Function eLOC....: 87 Total Function Pts eLOC: 0.8 + Total Function lLOC....: 60 Total Function Pts lLOC: 0.5 + Total Function Params .: 9 Total Function Return .: 4 + Total Cyclo Complexity : 14 Total Function Complex.: 27 + ------ ----- ----- ------ ------ ----- + Max Function LOC ......: 42 Average Function LOC ..: 24.75 + Max Function eLOC .....: 36 Average Function eLOC .: 21.75 + Max Function lLOC .....: 23 Average Function lLOC .: 15.00 + ------ ----- ----- ------ ------ ----- + Max Function Parameters: 4 Avg Function Parameters: 2.25 + Max Function Returns ..: 1 Avg Function Returns ..: 1.00 + Max Interface Complex. : 5 Avg Interface Complex. : 3.25 + Max Cyclomatic Complex.: 5 Avg Cyclomatic Complex.: 3.50 + Max Total Complexity ..: 10 Avg Total Complexity ..: 6.75 + ________________________________________________________________________ + End of File: ..\src\qf\qf_mem.c + + + File: ..\src\qf\qf_ps.c + ________________________________________________________________________ + + Function: QF_psInit + Parameters: (QSubscrList * const subscrSto, enum_t const maxSignal) + Complexity Param 2 Return 1 Cyclo Vg 1 Total 4 + LOC 7 eLOC 6 lLOC 3 Comment 33 Lines 12 + + Function: QF_publish_ + Parameters: (QEvt const * const e) + Cyclomatic Complexity Vg Detail + Function Base : 1 + Loops while / do : 1 + Conditional if / else if: 3 + Complexity Param 1 Return 1 Cyclo Vg 5 Total 7 + LOC 36 eLOC 30 lLOC 21 Comment 50 Lines 63 + + Function: QActive_subscribe + Parameters: (QActive const * const me, enum_t const sig) + Cyclomatic Complexity Vg Detail + Function Base : 1 + Logical and ( && ) : 4 + Complexity Param 2 Return 1 Cyclo Vg 5 Total 8 + LOC 16 eLOC 15 lLOC 8 Comment 23 Lines 22 + + Function: QActive_unsubscribe + Parameters: (QActive const * const me, enum_t const sig) + Cyclomatic Complexity Vg Detail + Function Base : 1 + Logical and ( && ) : 4 + Complexity Param 2 Return 1 Cyclo Vg 5 Total 8 + LOC 16 eLOC 15 lLOC 8 Comment 32 Lines 25 + + Function: QActive_unsubscribeAll + Parameters: (QActive const * const me) + Cyclomatic Complexity Vg Detail + Function Base : 1 + Loops for / foreach : 1 + Conditional if / else if: 1 + Logical and ( && ) : 2 + Complexity Param 1 Return 1 Cyclo Vg 5 Total 7 + LOC 22 eLOC 19 lLOC 11 Comment 27 Lines 27 + + ------------------------------------------------------------------------ + + ~~ Total File Summary ~~ + + LOC 114 eLOC 102 lLOC 53 Comment 213 Lines 331 + ------------------------------------------------------------------------ + + ~~ File Functional Summary ~~ + + File Function Count....: 5 + Total Function LOC.....: 97 Total Function Pts LOC : 0.9 + Total Function eLOC....: 85 Total Function Pts eLOC: 0.8 + Total Function lLOC....: 51 Total Function Pts lLOC: 0.4 + Total Function Params .: 8 Total Function Return .: 5 + Total Cyclo Complexity : 21 Total Function Complex.: 34 + ------ ----- ----- ------ ------ ----- + Max Function LOC ......: 36 Average Function LOC ..: 19.40 + Max Function eLOC .....: 30 Average Function eLOC .: 17.00 + Max Function lLOC .....: 21 Average Function lLOC .: 10.20 + ------ ----- ----- ------ ------ ----- + Max Function Parameters: 2 Avg Function Parameters: 1.60 + Max Function Returns ..: 1 Avg Function Returns ..: 1.00 + Max Interface Complex. : 3 Avg Interface Complex. : 2.60 + Max Cyclomatic Complex.: 5 Avg Cyclomatic Complex.: 4.20 + Max Total Complexity ..: 8 Avg Total Complexity ..: 6.80 + ________________________________________________________________________ + End of File: ..\src\qf\qf_ps.c + + + File: ..\src\qf\qf_qact.c + ________________________________________________________________________ + + Function: QActive_ctor + Parameters: (QActive * const me, QStateHandler initial) + Complexity Param 2 Return 1 Cyclo Vg 1 Total 4 + LOC 12 eLOC 10 lLOC 4 Comment 19 Lines 17 + + ------------------------------------------------------------------------ + + ~~ Total File Summary ~~ + + LOC 15 eLOC 13 lLOC 4 Comment 70 Lines 83 + ------------------------------------------------------------------------ + + ~~ File Functional Summary ~~ + + File Function Count....: 1 + Total Function LOC.....: 12 Total Function Pts LOC : 0.1 + Total Function eLOC....: 10 Total Function Pts eLOC: 0.1 + Total Function lLOC....: 4 Total Function Pts lLOC: 0.0 + Total Function Params .: 2 Total Function Return .: 1 + Total Cyclo Complexity : 1 Total Function Complex.: 4 + ------ ----- ----- ------ ------ ----- + Max Function LOC ......: 12 Average Function LOC ..: 12.00 + Max Function eLOC .....: 10 Average Function eLOC .: 10.00 + Max Function lLOC .....: 4 Average Function lLOC .: 4.00 + ------ ----- ----- ------ ------ ----- + Max Function Parameters: 2 Avg Function Parameters: 2.00 + Max Function Returns ..: 1 Avg Function Returns ..: 1.00 + Max Interface Complex. : 3 Avg Interface Complex. : 3.00 + Max Cyclomatic Complex.: 1 Avg Cyclomatic Complex.: 1.00 + Max Total Complexity ..: 4 Avg Total Complexity ..: 4.00 + ________________________________________________________________________ + End of File: ..\src\qf\qf_qact.c + + + File: ..\src\qf\qf_qeq.c + ________________________________________________________________________ + + Function: QEQueue_init + Parameters: (QEQueue * const me, QEvt const *qSto[], uint_fast16_t const + qLen) + Cyclomatic Complexity Vg Detail + Function Base : 1 + Conditional if / else if: 1 + Complexity Param 3 Return 1 Cyclo Vg 2 Total 6 + LOC 11 eLOC 8 lLOC 7 Comment 21 Lines 11 + + Function: QEQueue_post + Parameters: (QEQueue * const me, QEvt const * const e, uint_fast16_t con + st margin) + Cyclomatic Complexity Vg Detail + Function Base : 1 + Conditional if / else if: 5 + Logical or ( || ) : 1 + Logical and ( && ) : 1 + Complexity Param 3 Return 1 Cyclo Vg 8 Total 12 + LOC 55 eLOC 45 lLOC 30 Comment 56 Lines 74 + + Function: QEQueue_postLIFO + Parameters: (QEQueue * const me, QEvt const * const e) + Cyclomatic Complexity Vg Detail + Function Base : 1 + Conditional if / else if: 4 + Complexity Param 2 Return 1 Cyclo Vg 5 Total 8 + LOC 34 eLOC 29 lLOC 21 Comment 44 Lines 45 + + Function: QEQueue_get + Parameters: (QEQueue * const me) + Cyclomatic Complexity Vg Detail + Function Base : 1 + Conditional if / else if: 3 + Complexity Param 1 Return 1 Cyclo Vg 4 Total 6 + LOC 37 eLOC 32 lLOC 21 Comment 38 Lines 47 + + ------------------------------------------------------------------------ + + ~~ Total File Summary ~~ + + LOC 151 eLOC 128 lLOC 79 Comment 210 Lines 326 + ------------------------------------------------------------------------ + + ~~ File Functional Summary ~~ + + File Function Count....: 4 + Total Function LOC.....: 137 Total Function Pts LOC : 1.2 + Total Function eLOC....: 114 Total Function Pts eLOC: 1.0 + Total Function lLOC....: 79 Total Function Pts lLOC: 0.6 + Total Function Params .: 9 Total Function Return .: 4 + Total Cyclo Complexity : 19 Total Function Complex.: 32 + ------ ----- ----- ------ ------ ----- + Max Function LOC ......: 55 Average Function LOC ..: 34.25 + Max Function eLOC .....: 45 Average Function eLOC .: 28.50 + Max Function lLOC .....: 30 Average Function lLOC .: 19.75 + ------ ----- ----- ------ ------ ----- + Max Function Parameters: 3 Avg Function Parameters: 2.25 + Max Function Returns ..: 1 Avg Function Returns ..: 1.00 + Max Interface Complex. : 4 Avg Interface Complex. : 3.25 + Max Cyclomatic Complex.: 8 Avg Cyclomatic Complex.: 4.75 + Max Total Complexity ..: 12 Avg Total Complexity ..: 8.00 + ________________________________________________________________________ + End of File: ..\src\qf\qf_qeq.c + + + File: ..\src\qf\qf_qmact.c + ________________________________________________________________________ + + Function: QMActive_ctor + Parameters: (QMActive * const me, QStateHandler initial) + Complexity Param 2 Return 1 Cyclo Vg 1 Total 4 + LOC 12 eLOC 10 lLOC 4 Comment 28 Lines 28 + + ------------------------------------------------------------------------ + + ~~ Total File Summary ~~ + + LOC 15 eLOC 13 lLOC 4 Comment 79 Lines 95 + ------------------------------------------------------------------------ + + ~~ File Functional Summary ~~ + + File Function Count....: 1 + Total Function LOC.....: 12 Total Function Pts LOC : 0.1 + Total Function eLOC....: 10 Total Function Pts eLOC: 0.1 + Total Function lLOC....: 4 Total Function Pts lLOC: 0.0 + Total Function Params .: 2 Total Function Return .: 1 + Total Cyclo Complexity : 1 Total Function Complex.: 4 + ------ ----- ----- ------ ------ ----- + Max Function LOC ......: 12 Average Function LOC ..: 12.00 + Max Function eLOC .....: 10 Average Function eLOC .: 10.00 + Max Function lLOC .....: 4 Average Function lLOC .: 4.00 + ------ ----- ----- ------ ------ ----- + Max Function Parameters: 2 Avg Function Parameters: 2.00 + Max Function Returns ..: 1 Avg Function Returns ..: 1.00 + Max Interface Complex. : 3 Avg Interface Complex. : 3.00 + Max Cyclomatic Complex.: 1 Avg Cyclomatic Complex.: 1.00 + Max Total Complexity ..: 4 Avg Total Complexity ..: 4.00 + ________________________________________________________________________ + End of File: ..\src\qf\qf_qmact.c + + + File: ..\src\qf\qf_time.c + ________________________________________________________________________ + + Function: QF_tickX_ + Parameters: (uint_fast8_t const tickRate) + Cyclomatic Complexity Vg Detail + Function Base : 1 + Loops for / foreach : 1 + Conditional if / else if: 5 + Complexity Param 1 Return 1 Cyclo Vg 7 Total 9 + LOC 67 eLOC 55 lLOC 37 Comment 56 Lines 97 + + Function: QF_noTimeEvtsActiveX + Parameters: (uint_fast8_t const tickRate) + Cyclomatic Complexity Vg Detail + Function Base : 1 + Conditional if / else if: 2 + Complexity Param 1 Return 1 Cyclo Vg 3 Total 5 + LOC 13 eLOC 9 lLOC 5 Comment 14 Lines 14 + + Function: QTimeEvt_ctorX + Parameters: (QTimeEvt * const me, QActive * const act, enum_t const sig, + uint_fast8_t tickRate) + Cyclomatic Complexity Vg Detail + Function Base : 1 + Logical and ( && ) : 1 + Complexity Param 4 Return 1 Cyclo Vg 2 Total 7 + LOC 11 eLOC 9 lLOC 8 Comment 31 Lines 28 + + Function: QTimeEvt_armX + Parameters: (QTimeEvt * const me, QTimeEvtCtr const nTicks, QTimeEvtCtr + const interval) + Cyclomatic Complexity Vg Detail + Function Base : 1 + Conditional if / else if: 1 + Logical and ( && ) : 4 + Complexity Param 3 Return 1 Cyclo Vg 6 Total 10 + LOC 31 eLOC 28 lLOC 17 Comment 52 Lines 53 + + Function: QTimeEvt_disarm + Parameters: (QTimeEvt * const me) + Cyclomatic Complexity Vg Detail + Function Base : 1 + Conditional if / else if: 1 + Complexity Param 1 Return 1 Cyclo Vg 2 Total 4 + LOC 31 eLOC 28 lLOC 19 Comment 30 Lines 38 + + Function: QTimeEvt_rearm + Parameters: (QTimeEvt * const me, QTimeEvtCtr const nTicks) + Cyclomatic Complexity Vg Detail + Function Base : 1 + Conditional if / else if: 2 + Inlined if-else ( ? : ) : 1 + Logical and ( && ) : 3 + Complexity Param 2 Return 1 Cyclo Vg 7 Total 10 + LOC 34 eLOC 30 lLOC 18 Comment 47 Lines 59 + + Function: QTimeEvt_wasDisarmed + Parameters: (QTimeEvt * const me) + Cyclomatic Complexity Vg Detail + Function Base : 1 + Inlined if-else ( ? : ) : 1 + Complexity Param 1 Return 1 Cyclo Vg 2 Total 4 + LOC 5 eLOC 4 lLOC 3 Comment 23 Lines 5 + + Function: QTimeEvt_currCtr + Parameters: (QTimeEvt const * const me) + Complexity Param 1 Return 1 Cyclo Vg 1 Total 3 + LOC 8 eLOC 7 lLOC 5 Comment 16 Lines 10 + + ------------------------------------------------------------------------ + + ~~ Total File Summary ~~ + + LOC 220 eLOC 190 lLOC 113 Comment 329 Lines 546 + ------------------------------------------------------------------------ + + ~~ File Functional Summary ~~ + + File Function Count....: 8 + Total Function LOC.....: 200 Total Function Pts LOC : 1.7 + Total Function eLOC....: 170 Total Function Pts eLOC: 1.5 + Total Function lLOC....: 112 Total Function Pts lLOC: 0.9 + Total Function Params .: 14 Total Function Return .: 8 + Total Cyclo Complexity : 30 Total Function Complex.: 52 + ------ ----- ----- ------ ------ ----- + Max Function LOC ......: 67 Average Function LOC ..: 25.00 + Max Function eLOC .....: 55 Average Function eLOC .: 21.25 + Max Function lLOC .....: 37 Average Function lLOC .: 14.00 + ------ ----- ----- ------ ------ ----- + Max Function Parameters: 4 Avg Function Parameters: 1.75 + Max Function Returns ..: 1 Avg Function Returns ..: 1.00 + Max Interface Complex. : 5 Avg Interface Complex. : 2.75 + Max Cyclomatic Complex.: 7 Avg Cyclomatic Complex.: 3.75 + Max Total Complexity ..: 10 Avg Total Complexity ..: 6.50 + ________________________________________________________________________ + End of File: ..\src\qf\qf_time.c + + + File: ..\src\qv\qv.c + ________________________________________________________________________ + + Function: QF_init + Parameters: (void) + Complexity Param 0 Return 1 Cyclo Vg 1 Total 2 + LOC 11 eLOC 10 lLOC 7 Comment 12 Lines 13 + + Function: QF_stop + Parameters: (void) + Complexity Param 0 Return 1 Cyclo Vg 1 Total 2 + LOC 3 eLOC 2 lLOC 1 Comment 14 Lines 4 + + Function: QF_run + Parameters: (void) + Cyclomatic Complexity Vg Detail + Function Base : 1 + Loops for / foreach : 1 + Conditional if / else if: 3 + Complexity Param 0 Return 1 Cyclo Vg 5 Total 6 + LOC 48 eLOC 42 lLOC 24 Comment 37 Lines 75 + + Function: QActive_start_ + Parameters: (QActive * const me, uint_fast8_t prio, QEvt const *qSto[], + uint_fast16_t qLen, void *stkSto, uint_fast16_t stkSize, voi + d const * const par) + Cyclomatic Complexity Vg Detail + Function Base : 1 + Logical and ( && ) : 2 + Complexity Param 7 Return 1 Cyclo Vg 3 Total 11 + LOC 11 eLOC 9 lLOC 7 Comment 31 Lines 17 + + ------------------------------------------------------------------------ + + ~~ Total File Summary ~~ + + LOC 91 eLOC 81 lLOC 40 Comment 146 Lines 230 + ------------------------------------------------------------------------ + + ~~ File Functional Summary ~~ + + File Function Count....: 4 + Total Function LOC.....: 73 Total Function Pts LOC : 0.7 + Total Function eLOC....: 63 Total Function Pts eLOC: 0.6 + Total Function lLOC....: 39 Total Function Pts lLOC: 0.3 + Total Function Params .: 7 Total Function Return .: 4 + Total Cyclo Complexity : 10 Total Function Complex.: 21 + ------ ----- ----- ------ ------ ----- + Max Function LOC ......: 48 Average Function LOC ..: 18.25 + Max Function eLOC .....: 42 Average Function eLOC .: 15.75 + Max Function lLOC .....: 24 Average Function lLOC .: 9.75 + ------ ----- ----- ------ ------ ----- + Max Function Parameters: 7 Avg Function Parameters: 1.75 + Max Function Returns ..: 1 Avg Function Returns ..: 1.00 + Max Interface Complex. : 8 Avg Interface Complex. : 2.75 + Max Cyclomatic Complex.: 5 Avg Cyclomatic Complex.: 2.50 + Max Total Complexity ..: 11 Avg Total Complexity ..: 5.25 + ________________________________________________________________________ + End of File: ..\src\qv\qv.c + + + File: ..\src\qk\qk.c + ________________________________________________________________________ + + Function: QF_init + Parameters: (void) + Complexity Param 0 Return 1 Cyclo Vg 1 Total 2 + LOC 13 eLOC 12 lLOC 9 Comment 14 Lines 16 + + Function: QF_stop + Parameters: (void) + Complexity Param 0 Return 1 Cyclo Vg 1 Total 2 + LOC 3 eLOC 2 lLOC 1 Comment 14 Lines 4 + + Function: initial_events + Parameters: (void) + Cyclomatic Complexity Vg Detail + Function Base : 1 + Conditional if / else if: 1 + Complexity Param 0 Return 1 Cyclo Vg 2 Total 3 + LOC 6 eLOC 4 lLOC 2 Comment 6 Lines 8 + + Function: QF_run + Parameters: (void) + Cyclomatic Complexity Vg Detail + Function Base : 1 + Loops for / foreach : 1 + Complexity Param 0 Return 1 Cyclo Vg 2 Total 3 + LOC 12 eLOC 10 lLOC 7 Comment 13 Lines 14 + + Function: QActive_start_ + Parameters: (QActive * const me, uint_fast8_t prio, QEvt const *qSto[], + uint_fast16_t qLen, void *stkSto, uint_fast16_t stkSize, voi + d const * const par) + Cyclomatic Complexity Vg Detail + Function Base : 1 + Conditional if / else if: 1 + Logical and ( && ) : 3 + Complexity Param 7 Return 1 Cyclo Vg 5 Total 13 + LOC 18 eLOC 15 lLOC 10 Comment 34 Lines 29 + + Function: QK_schedLock + Parameters: (uint_fast8_t ceiling) + Cyclomatic Complexity Vg Detail + Function Base : 1 + Conditional if / else if: 1 + Complexity Param 1 Return 1 Cyclo Vg 2 Total 4 + LOC 22 eLOC 19 lLOC 12 Comment 32 Lines 33 + + Function: QK_schedUnlock + Parameters: (QSchedStatus stat) + Cyclomatic Complexity Vg Detail + Function Base : 1 + Conditional if / else if: 2 + Logical and ( && ) : 1 + Complexity Param 1 Return 1 Cyclo Vg 4 Total 6 + LOC 21 eLOC 18 lLOC 10 Comment 28 Lines 33 + + Function: QK_sched_ + Parameters: (void) + Cyclomatic Complexity Vg Detail + Function Base : 1 + Conditional if / else if: 2 + Complexity Param 0 Return 1 Cyclo Vg 3 Total 4 + LOC 15 eLOC 11 lLOC 7 Comment 21 Lines 19 + + Function: QK_activate_ + Parameters: (void) + Cyclomatic Complexity Vg Detail + Function Base : 1 + Loops while / do : 1 + Conditional if / else if: 5 + Inlined if-else ( ? : ) : 1 + Logical or ( || ) : 4 + Logical and ( && ) : 2 + Complexity Param 0 Return 1 Cyclo Vg 14 Total 15 + LOC 74 eLOC 66 lLOC 33 Comment 54 Lines 106 + + ------------------------------------------------------------------------ + + ~~ Total File Summary ~~ + + LOC 203 eLOC 176 lLOC 93 Comment 267 Lines 453 + ------------------------------------------------------------------------ + + ~~ File Functional Summary ~~ + + File Function Count....: 9 + Total Function LOC.....: 184 Total Function Pts LOC : 1.6 + Total Function eLOC....: 157 Total Function Pts eLOC: 1.4 + Total Function lLOC....: 91 Total Function Pts lLOC: 0.7 + Total Function Params .: 9 Total Function Return .: 9 + Total Cyclo Complexity : 34 Total Function Complex.: 52 + ------ ----- ----- ------ ------ ----- + Max Function LOC ......: 74 Average Function LOC ..: 20.44 + Max Function eLOC .....: 66 Average Function eLOC .: 17.44 + Max Function lLOC .....: 33 Average Function lLOC .: 10.11 + ------ ----- ----- ------ ------ ----- + Max Function Parameters: 7 Avg Function Parameters: 1.00 + Max Function Returns ..: 1 Avg Function Returns ..: 1.00 + Max Interface Complex. : 8 Avg Interface Complex. : 2.00 + Max Cyclomatic Complex.: 14 Avg Cyclomatic Complex.: 3.78 + Max Total Complexity ..: 15 Avg Total Complexity ..: 5.78 + ________________________________________________________________________ + End of File: ..\src\qk\qk.c + + + File: ..\src\qxk\qxk.c + ________________________________________________________________________ + + Function: QF_init + Parameters: (void) + Complexity Param 0 Return 1 Cyclo Vg 1 Total 2 + LOC 16 eLOC 15 lLOC 12 Comment 17 Lines 22 + + Function: QF_stop + Parameters: (void) + Complexity Param 0 Return 1 Cyclo Vg 1 Total 2 + LOC 3 eLOC 2 lLOC 1 Comment 14 Lines 4 + + Function: initial_events + Parameters: (void) + Cyclomatic Complexity Vg Detail + Function Base : 1 + Conditional if / else if: 1 + Complexity Param 0 Return 1 Cyclo Vg 2 Total 3 + LOC 6 eLOC 4 lLOC 2 Comment 6 Lines 8 + + Function: QF_run + Parameters: (void) + Cyclomatic Complexity Vg Detail + Function Base : 1 + Loops for / foreach : 1 + Complexity Param 0 Return 1 Cyclo Vg 2 Total 3 + LOC 12 eLOC 10 lLOC 7 Comment 12 Lines 15 + + Function: QActive_start_ + Parameters: (QActive * const me, uint_fast8_t prio, QEvt const *qSto[], + uint_fast16_t qLen, void *stkSto, uint_fast16_t stkSize, voi + d const * const par) + Cyclomatic Complexity Vg Detail + Function Base : 1 + Conditional if / else if: 1 + Logical and ( && ) : 4 + Complexity Param 7 Return 1 Cyclo Vg 6 Total 14 + LOC 20 eLOC 17 lLOC 11 Comment 38 Lines 31 + + Function: QXK_schedLock + Parameters: (uint_fast8_t ceiling) + Cyclomatic Complexity Vg Detail + Function Base : 1 + Conditional if / else if: 1 + Inlined if-else ( ? : ) : 1 + Complexity Param 1 Return 1 Cyclo Vg 3 Total 5 + LOC 25 eLOC 22 lLOC 12 Comment 40 Lines 35 + + Function: QXK_schedUnlock + Parameters: (QSchedStatus stat) + Cyclomatic Complexity Vg Detail + Function Base : 1 + Conditional if / else if: 2 + Logical and ( && ) : 1 + Complexity Param 1 Return 1 Cyclo Vg 4 Total 6 + LOC 21 eLOC 18 lLOC 10 Comment 33 Lines 33 + + Function: QXK_sched_ + Parameters: (void) + Cyclomatic Complexity Vg Detail + Function Base : 1 + Conditional if / else if: 6 + Complexity Param 0 Return 1 Cyclo Vg 7 Total 8 + LOC 53 eLOC 42 lLOC 23 Comment 36 Lines 69 + + Function: QXK_activate_ + Parameters: (void) + Cyclomatic Complexity Vg Detail + Function Base : 1 + Loops while / do : 1 + Conditional if / else if: 7 + Inlined if-else ( ? : ) : 1 + Logical or ( || ) : 3 + Logical and ( && ) : 1 + Complexity Param 0 Return 1 Cyclo Vg 14 Total 15 + LOC 91 eLOC 80 lLOC 43 Comment 63 Lines 134 + + Function: QXK_current + Parameters: (void) + Cyclomatic Complexity Vg Detail + Function Base : 1 + Conditional if / else if: 1 + Complexity Param 0 Return 1 Cyclo Vg 2 Total 3 + LOC 13 eLOC 11 lLOC 8 Comment 4 Lines 20 + + ------------------------------------------------------------------------ + + ~~ Total File Summary ~~ + + LOC 280 eLOC 241 lLOC 132 Comment 315 Lines 579 + ------------------------------------------------------------------------ + + ~~ File Functional Summary ~~ + + File Function Count....: 10 + Total Function LOC.....: 260 Total Function Pts LOC : 2.2 + Total Function eLOC....: 221 Total Function Pts eLOC: 1.9 + Total Function lLOC....: 129 Total Function Pts lLOC: 1.0 + Total Function Params .: 9 Total Function Return .: 10 + Total Cyclo Complexity : 42 Total Function Complex.: 61 + ------ ----- ----- ------ ------ ----- + Max Function LOC ......: 91 Average Function LOC ..: 26.00 + Max Function eLOC .....: 80 Average Function eLOC .: 22.10 + Max Function lLOC .....: 43 Average Function lLOC .: 12.90 + ------ ----- ----- ------ ------ ----- + Max Function Parameters: 7 Avg Function Parameters: 0.90 + Max Function Returns ..: 1 Avg Function Returns ..: 1.00 + Max Interface Complex. : 8 Avg Interface Complex. : 1.90 + Max Cyclomatic Complex.: 14 Avg Cyclomatic Complex.: 4.20 + Max Total Complexity ..: 15 Avg Total Complexity ..: 6.10 + ________________________________________________________________________ + End of File: ..\src\qxk\qxk.c + + + File: ..\src\qxk\qxk_mutex.c + ________________________________________________________________________ + + Function: QXMutex_init + Parameters: (QXMutex * const me, uint_fast8_t ceiling) + Cyclomatic Complexity Vg Detail + Function Base : 1 + Conditional if / else if: 1 + Logical or ( || ) : 1 + Logical and ( && ) : 1 + Complexity Param 2 Return 1 Cyclo Vg 4 Total 7 + LOC 16 eLOC 14 lLOC 8 Comment 33 Lines 25 + + Function: QXMutex_lock + Parameters: (QXMutex * const me, uint_fast16_t const nTicks) + Cyclomatic Complexity Vg Detail + Function Base : 1 + Conditional if / else if: 6 + Logical or ( || ) : 1 + Logical and ( && ) : 4 + Complexity Param 2 Return 1 Cyclo Vg 12 Total 15 + LOC 67 eLOC 57 lLOC 36 Comment 61 Lines 107 + + Function: QXMutex_tryLock + Parameters: (QXMutex * const me) + Cyclomatic Complexity Vg Detail + Function Base : 1 + Conditional if / else if: 5 + Logical or ( || ) : 1 + Logical and ( && ) : 3 + Complexity Param 1 Return 1 Cyclo Vg 10 Total 12 + LOC 45 eLOC 38 lLOC 21 Comment 46 Lines 69 + + Function: QXMutex_unlock + Parameters: (QXMutex * const me) + Cyclomatic Complexity Vg Detail + Function Base : 1 + Conditional if / else if: 7 + Logical or ( || ) : 2 + Logical and ( && ) : 6 + Complexity Param 1 Return 1 Cyclo Vg 16 Total 18 + LOC 69 eLOC 59 lLOC 32 Comment 66 Lines 115 + + ------------------------------------------------------------------------ + + ~~ Total File Summary ~~ + + LOC 212 eLOC 183 lLOC 97 Comment 256 Lines 468 + ------------------------------------------------------------------------ + + ~~ File Functional Summary ~~ + + File Function Count....: 4 + Total Function LOC.....: 197 Total Function Pts LOC : 1.7 + Total Function eLOC....: 168 Total Function Pts eLOC: 1.4 + Total Function lLOC....: 97 Total Function Pts lLOC: 0.8 + Total Function Params .: 6 Total Function Return .: 4 + Total Cyclo Complexity : 42 Total Function Complex.: 52 + ------ ----- ----- ------ ------ ----- + Max Function LOC ......: 69 Average Function LOC ..: 49.25 + Max Function eLOC .....: 59 Average Function eLOC .: 42.00 + Max Function lLOC .....: 36 Average Function lLOC .: 24.25 + ------ ----- ----- ------ ------ ----- + 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.: 16 Avg Cyclomatic Complex.: 10.50 + Max Total Complexity ..: 18 Avg Total Complexity ..: 13.00 + ________________________________________________________________________ + End of File: ..\src\qxk\qxk_mutex.c + + + File: ..\src\qxk\qxk_sema.c + ________________________________________________________________________ + + Function: QXSemaphore_init + Parameters: (QXSemaphore * const me, uint_fast16_t count, uint_fast16_t + max_count) + Complexity Param 3 Return 1 Cyclo Vg 1 Total 5 + LOC 6 eLOC 4 lLOC 4 Comment 22 Lines 8 + + Function: QXSemaphore_wait + Parameters: (QXSemaphore * const me, uint_fast16_t const nTicks) + Cyclomatic Complexity Vg Detail + Function Base : 1 + Conditional if / else if: 3 + Logical and ( && ) : 3 + Complexity Param 2 Return 1 Cyclo Vg 7 Total 10 + LOC 44 eLOC 37 lLOC 25 Comment 59 Lines 69 + + Function: QXSemaphore_tryWait + Parameters: (QXSemaphore * const me) + Cyclomatic Complexity Vg Detail + Function Base : 1 + Conditional if / else if: 1 + Complexity Param 1 Return 1 Cyclo Vg 2 Total 4 + LOC 15 eLOC 12 lLOC 8 Comment 18 Lines 20 + + Function: QXSemaphore_signal + Parameters: (QXSemaphore * const me) + Cyclomatic Complexity Vg Detail + Function Base : 1 + Conditional if / else if: 3 + Logical and ( && ) : 2 + Complexity Param 1 Return 1 Cyclo Vg 6 Total 8 + LOC 30 eLOC 25 lLOC 16 Comment 34 Lines 49 + + ------------------------------------------------------------------------ + + ~~ Total File Summary ~~ + + LOC 110 eLOC 93 lLOC 53 Comment 182 Lines 289 + ------------------------------------------------------------------------ + + ~~ File Functional Summary ~~ + + File Function Count....: 4 + Total Function LOC.....: 95 Total Function Pts LOC : 0.9 + Total Function eLOC....: 78 Total Function Pts eLOC: 0.7 + Total Function lLOC....: 53 Total Function Pts lLOC: 0.4 + Total Function Params .: 7 Total Function Return .: 4 + Total Cyclo Complexity : 16 Total Function Complex.: 27 + ------ ----- ----- ------ ------ ----- + Max Function LOC ......: 44 Average Function LOC ..: 23.75 + Max Function eLOC .....: 37 Average Function eLOC .: 19.50 + Max Function lLOC .....: 25 Average Function lLOC .: 13.25 + ------ ----- ----- ------ ------ ----- + Max Function Parameters: 3 Avg Function Parameters: 1.75 + Max Function Returns ..: 1 Avg Function Returns ..: 1.00 + Max Interface Complex. : 4 Avg Interface Complex. : 2.75 + Max Cyclomatic Complex.: 7 Avg Cyclomatic Complex.: 4.00 + Max Total Complexity ..: 10 Avg Total Complexity ..: 6.75 + ________________________________________________________________________ + End of File: ..\src\qxk\qxk_sema.c + + + File: ..\src\qxk\qxk_xthr.c + ________________________________________________________________________ + + Function: QXThread_ctor + Parameters: (QXThread * const me, QXThreadHandler handler, uint_fast8_t + tickRate) + Complexity Param 3 Return 1 Cyclo Vg 1 Total 5 + LOC 16 eLOC 13 lLOC 7 Comment 27 Lines 19 + + Function: QXThread_init_ + Parameters: (QHsm * const me, void const * const par) + Complexity Param 2 Return 1 Cyclo Vg 1 Total 4 + LOC 5 eLOC 4 lLOC 3 Comment 4 Lines 5 + + Function: QXThread_dispatch_ + Parameters: (QHsm * const me, QEvt const * const e) + Complexity Param 2 Return 1 Cyclo Vg 1 Total 4 + LOC 5 eLOC 4 lLOC 3 Comment 3 Lines 5 + + Function: QXThread_start_ + Parameters: (QActive * const me, uint_fast8_t prio, QEvt const *qSto[], + uint_fast16_t qLen, void *stkSto, uint_fast16_t stkSize, voi + d const *par) + Cyclomatic Complexity Vg Detail + Function Base : 1 + Conditional if / else if: 1 + Logical and ( && ) : 4 + Complexity Param 7 Return 1 Cyclo Vg 6 Total 14 + LOC 21 eLOC 18 lLOC 12 Comment 42 Lines 43 + + Function: QXThread_post_ + Parameters: (QActive * const me, QEvt const * const e, uint_fast16_t con + st margin) + Cyclomatic Complexity Vg Detail + Function Base : 1 + Conditional if / else if: 12 + Complexity Param 3 Return 1 Cyclo Vg 13 Total 17 + LOC 96 eLOC 75 lLOC 48 Comment 85 Lines 129 + + Function: QXThread_postLIFO_ + Parameters: (QActive * const me, QEvt const * const e) + Complexity Param 2 Return 1 Cyclo Vg 1 Total 4 + LOC 5 eLOC 4 lLOC 3 Comment 11 Lines 5 + + Function: QXThread_queueGet + Parameters: (uint_fast16_t const nTicks) + Cyclomatic Complexity Vg Detail + Function Base : 1 + Conditional if / else if: 4 + Logical and ( && ) : 2 + Complexity Param 1 Return 1 Cyclo Vg 7 Total 9 + LOC 62 eLOC 55 lLOC 36 Comment 54 Lines 88 + + Function: QXThread_block_ + Parameters: (QXThread const * const me) + Complexity Param 1 Return 1 Cyclo Vg 1 Total 3 + LOC 5 eLOC 4 lLOC 3 Comment 9 Lines 7 + + Function: QXThread_unblock_ + Parameters: (QXThread const * const me) + Cyclomatic Complexity Vg Detail + Function Base : 1 + Conditional if / else if: 1 + Logical and ( && ) : 1 + Complexity Param 1 Return 1 Cyclo Vg 3 Total 5 + LOC 8 eLOC 5 lLOC 2 Comment 10 Lines 8 + + Function: QXThread_teArm_ + Parameters: (QXThread * const me, QSignal sig, uint_fast16_t const nTick + s) + Cyclomatic Complexity Vg Detail + Function Base : 1 + Conditional if / else if: 2 + Complexity Param 3 Return 1 Cyclo Vg 3 Total 7 + LOC 19 eLOC 14 lLOC 9 Comment 22 Lines 37 + + Function: QXThread_teDisarm_ + Parameters: (QXThread * const me) + Cyclomatic Complexity Vg Detail + Function Base : 1 + Conditional if / else if: 1 + Complexity Param 1 Return 1 Cyclo Vg 2 Total 4 + LOC 11 eLOC 8 lLOC 5 Comment 11 Lines 13 + + Function: QXThread_delay + Parameters: (uint_fast16_t const nTicks) + Cyclomatic Complexity Vg Detail + Function Base : 1 + Logical and ( && ) : 2 + Complexity Param 1 Return 1 Cyclo Vg 3 Total 5 + LOC 21 eLOC 20 lLOC 15 Comment 18 Lines 37 + + Function: QXThread_delayCancel + Parameters: (QXThread * const me) + Cyclomatic Complexity Vg Detail + Function Base : 1 + Conditional if / else if: 1 + Complexity Param 1 Return 1 Cyclo Vg 2 Total 4 + LOC 14 eLOC 11 lLOC 7 Comment 2 Lines 16 + + Function: QXK_threadRet_ + Parameters: (void) + Cyclomatic Complexity Vg Detail + Function Base : 1 + Logical and ( && ) : 1 + Complexity Param 0 Return 1 Cyclo Vg 2 Total 3 + LOC 15 eLOC 14 lLOC 11 Comment 19 Lines 25 + + ------------------------------------------------------------------------ + + ~~ Total File Summary ~~ + + LOC 347 eLOC 293 lLOC 170 Comment 378 Lines 717 + ------------------------------------------------------------------------ + + ~~ File Functional Summary ~~ + + File Function Count....: 14 + Total Function LOC.....: 303 Total Function Pts LOC : 2.7 + Total Function eLOC....: 249 Total Function Pts eLOC: 2.3 + Total Function lLOC....: 164 Total Function Pts lLOC: 1.3 + Total Function Params .: 28 Total Function Return .: 14 + Total Cyclo Complexity : 46 Total Function Complex.: 88 + ------ ----- ----- ------ ------ ----- + Max Function LOC ......: 96 Average Function LOC ..: 21.64 + Max Function eLOC .....: 75 Average Function eLOC .: 17.79 + Max Function lLOC .....: 48 Average Function lLOC .: 11.71 + ------ ----- ----- ------ ------ ----- + Max Function Parameters: 7 Avg Function Parameters: 2.00 + Max Function Returns ..: 1 Avg Function Returns ..: 1.00 + Max Interface Complex. : 8 Avg Interface Complex. : 3.00 + Max Cyclomatic Complex.: 13 Avg Cyclomatic Complex.: 3.29 + Max Total Complexity ..: 17 Avg Total Complexity ..: 6.29 + ________________________________________________________________________ + End of File: ..\src\qxk\qxk_xthr.c + + + ------------------------------------------------------------------------ + + ~~ Project Analysis For 34 Files ~~ + + ------------------------------------------------------------------------ + + ~~ Total Project Summary ~~ + + LOC 4632 eLOC 4175 lLOC 1911 Comment 7325 Lines 12122 + Average per File, metric/34 files + LOC 136 eLOC 122 lLOC 56 Comment 215 Lines 356 + + ------------------------------------------------------------------------ + + ~~ Project Functional Metrics ~~ + + Function: QHsm_ctor + Parameters: (QHsm * const me, QStateHandler initial) + Complexity Param 2 Return 1 Cyclo Vg 1 Total 4 + LOC 9 eLOC 7 lLOC 4 Comment 21 Lines 9 + + Function: QHsm_init_ + Parameters: (QHsm * const me, void const * const e) + Complexity Param 2 Return 1 Cyclo Vg 7 Total 10 + LOC 50 eLOC 47 lLOC 31 Comment 35 Lines 71 + + Function: QHsm_top + Parameters: (void const * const me, QEvt const * const e) + Complexity Param 2 Return 1 Cyclo Vg 1 Total 4 + LOC 5 eLOC 4 lLOC 3 Comment 18 Lines 5 + + Function: QHsm_dispatch_ + Parameters: (QHsm * const me, QEvt const * const e) + Complexity Param 2 Return 1 Cyclo Vg 13 Total 16 + LOC 106 eLOC 95 lLOC 62 Comment 67 Lines 147 + + Function: QHsm_tran_ + Parameters: (QHsm * const me, QStateHandler path[QHSM_MAX_NEST_DEPTH_]) + Complexity Param 2 Return 1 Cyclo Vg 15 Total 18 + LOC 97 eLOC 76 lLOC 48 Comment 63 Lines 134 + + Function: QHsm_isIn + Parameters: (QHsm * const me, QStateHandler const state) + Complexity Param 2 Return 1 Cyclo Vg 3 Total 6 + LOC 16 eLOC 13 lLOC 9 Comment 22 Lines 21 + + Function: QHsm_childState_ + Parameters: (QHsm * const me, QStateHandler const parent) + Complexity Param 2 Return 1 Cyclo Vg 3 Total 6 + LOC 22 eLOC 18 lLOC 13 Comment 34 Lines 28 + + Function: QMsm_ctor + Parameters: (QMsm * const me, QStateHandler initial) + Complexity Param 2 Return 1 Cyclo Vg 1 Total 4 + LOC 9 eLOC 7 lLOC 4 Comment 29 Lines 10 + + Function: QMsm_init_ + Parameters: (QHsm * const me, void const * const e) + Complexity Param 2 Return 1 Cyclo Vg 4 Total 7 + LOC 23 eLOC 22 lLOC 13 Comment 26 Lines 38 + + Function: QMsm_dispatch_ + Parameters: (QHsm * const me, QEvt const * const e) + Complexity Param 2 Return 1 Cyclo Vg 15 Total 18 + LOC 124 eLOC 107 lLOC 65 Comment 83 Lines 164 + + Function: QMsm_execTatbl_ + Parameters: (QMsm * const me, struct QMTranActTable const *tatbl) + Complexity Param 2 Return 1 Cyclo Vg 8 Total 11 + LOC 50 eLOC 41 lLOC 20 Comment 32 Lines 60 + + Function: QMsm_exitToTranSource_ + Parameters: (QMsm * const me, QMState const *cs, QMState const *ts) + Complexity Param 3 Return 1 Cyclo Vg 4 Total 8 + LOC 18 eLOC 13 lLOC 7 Comment 20 Lines 25 + + Function: QMsm_enterHistory_ + Parameters: (QMsm * const me, QMState const *const hist) + Complexity Param 2 Return 1 Cyclo Vg 6 Total 9 + LOC 40 eLOC 33 lLOC 21 Comment 25 Lines 48 + + Function: QMsm_isInState + Parameters: (QMsm const * const me, QMState const * const state) + Complexity Param 2 Return 1 Cyclo Vg 3 Total 6 + LOC 11 eLOC 8 lLOC 6 Comment 17 Lines 12 + + Function: QMsm_childStateObj_ + Parameters: (QMsm const * const me, QMState const * const parent) + Complexity Param 2 Return 1 Cyclo Vg 3 Total 6 + LOC 22 eLOC 16 lLOC 10 Comment 23 Lines 26 + + Function: QF_add_ + Parameters: (QActive * const a) + Complexity Param 1 Return 1 Cyclo Vg 3 Total 5 + LOC 10 eLOC 9 lLOC 5 Comment 20 Lines 17 + + Function: QF_remove_ + Parameters: (QActive * const a) + Complexity Param 1 Return 1 Cyclo Vg 3 Total 5 + LOC 11 eLOC 10 lLOC 6 Comment 21 Lines 17 + + Function: QF_bzero + Parameters: (void * const start, uint_fast16_t len) + Complexity Param 2 Return 1 Cyclo Vg 2 Total 5 + LOC 8 eLOC 6 lLOC 5 Comment 14 Lines 8 + + Function: QF_LOG2 + Parameters: (QPSetBits x) + Complexity Param 1 Return 1 Cyclo Vg 4 Total 6 + LOC 30 eLOC 25 lLOC 13 Comment 0 Lines 31 + + Function: QActive_post_ + Parameters: (QActive * const me, QEvt const * const e, uint_fast16_t con + st margin) + Complexity Param 3 Return 1 Cyclo Vg 13 Total 17 + LOC 88 eLOC 69 lLOC 40 Comment 81 Lines 122 + + Function: QActive_postLIFO_ + Parameters: (QActive * const me, QEvt const * const e) + Complexity Param 2 Return 1 Cyclo Vg 7 Total 10 + LOC 48 eLOC 39 lLOC 24 Comment 46 Lines 69 + + Function: QActive_get_ + Parameters: (QActive * const me) + Complexity Param 1 Return 1 Cyclo Vg 3 Total 5 + LOC 37 eLOC 33 lLOC 23 Comment 41 Lines 47 + + Function: QF_getQueueMin + Parameters: (uint_fast8_t const prio) + Complexity Param 1 Return 1 Cyclo Vg 2 Total 4 + LOC 10 eLOC 9 lLOC 6 Comment 19 Lines 13 + + Function: QTicker_ctor + Parameters: (QTicker * const me, uint8_t tickRate) + Complexity Param 2 Return 1 Cyclo Vg 1 Total 4 + LOC 12 eLOC 10 lLOC 4 Comment 6 Lines 14 + + Function: QTicker_init_ + Parameters: (QHsm * const me, void const *par) + Complexity Param 2 Return 1 Cyclo Vg 1 Total 4 + LOC 5 eLOC 4 lLOC 3 Comment 1 Lines 5 + + Function: QTicker_dispatch_ + Parameters: (QHsm * const me, QEvt const * const e) + Complexity Param 2 Return 1 Cyclo Vg 2 Total 5 + LOC 12 eLOC 10 lLOC 8 Comment 4 Lines 15 + + Function: QTicker_post_ + Parameters: (QActive * const me, QEvt const * const e, uint_fast16_t con + st margin) + Complexity Param 3 Return 1 Cyclo Vg 2 Total 6 + LOC 24 eLOC 21 lLOC 17 Comment 15 Lines 32 + + Function: QTicker_postLIFO_ + Parameters: (QActive * const me, QEvt const * const e) + Complexity Param 2 Return 1 Cyclo Vg 1 Total 4 + LOC 5 eLOC 4 lLOC 3 Comment 3 Lines 5 + + Function: QActive_defer + Parameters: (QActive const * const me, QEQueue * const eq, QEvt const * + const e) + Complexity Param 3 Return 1 Cyclo Vg 1 Total 5 + LOC 13 eLOC 11 lLOC 8 Comment 31 Lines 16 + + Function: QActive_recall + Parameters: (QActive * const me, QEQueue * const eq) + Complexity Param 2 Return 1 Cyclo Vg 3 Total 6 + LOC 32 eLOC 28 lLOC 18 Comment 43 Lines 52 + + Function: QActive_flushDeferred + Parameters: (QActive const * const me, QEQueue * const eq) + Complexity Param 2 Return 1 Cyclo Vg 2 Total 5 + LOC 10 eLOC 7 lLOC 7 Comment 19 Lines 12 + + Function: QEvt_ctor + Parameters: (QEvt * const me, enum_t const sig) + Complexity Param 2 Return 1 Cyclo Vg 1 Total 4 + LOC 5 eLOC 4 lLOC 3 Comment 9 Lines 6 + + Function: QF_poolInit + Parameters: (void * const poolSto, uint_fast32_t const poolSize, uint_fa + st16_t const evtSize) + Complexity Param 3 Return 1 Cyclo Vg 2 Total 6 + LOC 15 eLOC 11 lLOC 7 Comment 40 Lines 21 + + Function: QF_newX_ + Parameters: (uint_fast16_t const evtSize, uint_fast16_t const margin, en + um_t const sig) + Complexity Param 3 Return 1 Cyclo Vg 5 Total 9 + LOC 29 eLOC 23 lLOC 14 Comment 40 Lines 39 + + Function: QF_gc + Parameters: (QEvt const * const e) + Complexity Param 1 Return 1 Cyclo Vg 3 Total 5 + LOC 26 eLOC 22 lLOC 13 Comment 36 Lines 40 + + Function: QF_newRef_ + Parameters: (QEvt const * const e, void const * const evtRef) + Complexity Param 2 Return 1 Cyclo Vg 2 Total 5 + LOC 15 eLOC 14 lLOC 8 Comment 21 Lines 23 + + Function: QF_deleteRef_ + Parameters: (void const * const evtRef) + Complexity Param 1 Return 1 Cyclo Vg 1 Total 3 + LOC 10 eLOC 9 lLOC 5 Comment 14 Lines 12 + + Function: QF_poolGetMaxBlockSize + Parameters: (void) + Complexity Param 0 Return 1 Cyclo Vg 1 Total 2 + LOC 3 eLOC 2 lLOC 1 Comment 5 Lines 3 + + Function: QMPool_init + Parameters: (QMPool * const me, void * const poolSto, uint_fast32_t pool + Size, uint_fast16_t blockSize) + Complexity Param 4 Return 1 Cyclo Vg 5 Total 10 + LOC 31 eLOC 27 lLOC 22 Comment 59 Lines 46 + + Function: QMPool_put + Parameters: (QMPool * const me, void *b) + Complexity Param 2 Return 1 Cyclo Vg 2 Total 5 + LOC 15 eLOC 14 lLOC 9 Comment 31 Lines 22 + + Function: QMPool_get + Parameters: (QMPool * const me, uint_fast16_t const margin) + Complexity Param 2 Return 1 Cyclo Vg 4 Total 7 + LOC 42 eLOC 36 lLOC 23 Comment 56 Lines 65 + + Function: QF_getPoolMin + Parameters: (uint_fast8_t const poolId) + Complexity Param 1 Return 1 Cyclo Vg 3 Total 5 + LOC 11 eLOC 10 lLOC 6 Comment 14 Lines 15 + + Function: QF_psInit + Parameters: (QSubscrList * const subscrSto, enum_t const maxSignal) + Complexity Param 2 Return 1 Cyclo Vg 1 Total 4 + LOC 7 eLOC 6 lLOC 3 Comment 33 Lines 12 + + Function: QF_publish_ + Parameters: (QEvt const * const e) + Complexity Param 1 Return 1 Cyclo Vg 5 Total 7 + LOC 36 eLOC 30 lLOC 21 Comment 50 Lines 63 + + Function: QActive_subscribe + Parameters: (QActive const * const me, enum_t const sig) + Complexity Param 2 Return 1 Cyclo Vg 5 Total 8 + LOC 16 eLOC 15 lLOC 8 Comment 23 Lines 22 + + Function: QActive_unsubscribe + Parameters: (QActive const * const me, enum_t const sig) + Complexity Param 2 Return 1 Cyclo Vg 5 Total 8 + LOC 16 eLOC 15 lLOC 8 Comment 32 Lines 25 + + Function: QActive_unsubscribeAll + Parameters: (QActive const * const me) + Complexity Param 1 Return 1 Cyclo Vg 5 Total 7 + LOC 22 eLOC 19 lLOC 11 Comment 27 Lines 27 + + Function: QActive_ctor + Parameters: (QActive * const me, QStateHandler initial) + Complexity Param 2 Return 1 Cyclo Vg 1 Total 4 + LOC 12 eLOC 10 lLOC 4 Comment 19 Lines 17 + + Function: QEQueue_init + Parameters: (QEQueue * const me, QEvt const *qSto[], uint_fast16_t const + qLen) + Complexity Param 3 Return 1 Cyclo Vg 2 Total 6 + LOC 11 eLOC 8 lLOC 7 Comment 21 Lines 11 + + Function: QEQueue_post + Parameters: (QEQueue * const me, QEvt const * const e, uint_fast16_t con + st margin) + Complexity Param 3 Return 1 Cyclo Vg 8 Total 12 + LOC 55 eLOC 45 lLOC 30 Comment 56 Lines 74 + + Function: QEQueue_postLIFO + Parameters: (QEQueue * const me, QEvt const * const e) + Complexity Param 2 Return 1 Cyclo Vg 5 Total 8 + LOC 34 eLOC 29 lLOC 21 Comment 44 Lines 45 + + Function: QEQueue_get + Parameters: (QEQueue * const me) + Complexity Param 1 Return 1 Cyclo Vg 4 Total 6 + LOC 37 eLOC 32 lLOC 21 Comment 38 Lines 47 + + Function: QMActive_ctor + Parameters: (QMActive * const me, QStateHandler initial) + Complexity Param 2 Return 1 Cyclo Vg 1 Total 4 + LOC 12 eLOC 10 lLOC 4 Comment 28 Lines 28 + + Function: QF_tickX_ + Parameters: (uint_fast8_t const tickRate) + Complexity Param 1 Return 1 Cyclo Vg 7 Total 9 + LOC 67 eLOC 55 lLOC 37 Comment 56 Lines 97 + + Function: QF_noTimeEvtsActiveX + Parameters: (uint_fast8_t const tickRate) + Complexity Param 1 Return 1 Cyclo Vg 3 Total 5 + LOC 13 eLOC 9 lLOC 5 Comment 14 Lines 14 + + Function: QTimeEvt_ctorX + Parameters: (QTimeEvt * const me, QActive * const act, enum_t const sig, + uint_fast8_t tickRate) + Complexity Param 4 Return 1 Cyclo Vg 2 Total 7 + LOC 11 eLOC 9 lLOC 8 Comment 31 Lines 28 + + Function: QTimeEvt_armX + Parameters: (QTimeEvt * const me, QTimeEvtCtr const nTicks, QTimeEvtCtr + const interval) + Complexity Param 3 Return 1 Cyclo Vg 6 Total 10 + LOC 31 eLOC 28 lLOC 17 Comment 52 Lines 53 + + Function: QTimeEvt_disarm + Parameters: (QTimeEvt * const me) + Complexity Param 1 Return 1 Cyclo Vg 2 Total 4 + LOC 31 eLOC 28 lLOC 19 Comment 30 Lines 38 + + Function: QTimeEvt_rearm + Parameters: (QTimeEvt * const me, QTimeEvtCtr const nTicks) + Complexity Param 2 Return 1 Cyclo Vg 7 Total 10 + LOC 34 eLOC 30 lLOC 18 Comment 47 Lines 59 + + Function: QTimeEvt_wasDisarmed + Parameters: (QTimeEvt * const me) + Complexity Param 1 Return 1 Cyclo Vg 2 Total 4 + LOC 5 eLOC 4 lLOC 3 Comment 23 Lines 5 + + Function: QTimeEvt_currCtr + Parameters: (QTimeEvt const * const me) + Complexity Param 1 Return 1 Cyclo Vg 1 Total 3 + LOC 8 eLOC 7 lLOC 5 Comment 16 Lines 10 + + Function: QF_init + Parameters: (void) + Complexity Param 0 Return 1 Cyclo Vg 1 Total 2 + LOC 11 eLOC 10 lLOC 7 Comment 12 Lines 13 + + Function: QF_stop + Parameters: (void) + Complexity Param 0 Return 1 Cyclo Vg 1 Total 2 + LOC 3 eLOC 2 lLOC 1 Comment 14 Lines 4 + + Function: QF_run + Parameters: (void) + Complexity Param 0 Return 1 Cyclo Vg 5 Total 6 + LOC 48 eLOC 42 lLOC 24 Comment 37 Lines 75 + + Function: QActive_start_ + Parameters: (QActive * const me, uint_fast8_t prio, QEvt const *qSto[], + uint_fast16_t qLen, void *stkSto, uint_fast16_t stkSize, voi + d const * const par) + Complexity Param 7 Return 1 Cyclo Vg 3 Total 11 + LOC 11 eLOC 9 lLOC 7 Comment 31 Lines 17 + + Function: QF_init + Parameters: (void) + Complexity Param 0 Return 1 Cyclo Vg 1 Total 2 + LOC 13 eLOC 12 lLOC 9 Comment 14 Lines 16 + + Function: QF_stop + Parameters: (void) + Complexity Param 0 Return 1 Cyclo Vg 1 Total 2 + LOC 3 eLOC 2 lLOC 1 Comment 14 Lines 4 + + Function: initial_events + Parameters: (void) + Complexity Param 0 Return 1 Cyclo Vg 2 Total 3 + LOC 6 eLOC 4 lLOC 2 Comment 6 Lines 8 + + Function: QF_run + Parameters: (void) + Complexity Param 0 Return 1 Cyclo Vg 2 Total 3 + LOC 12 eLOC 10 lLOC 7 Comment 13 Lines 14 + + Function: QActive_start_ + Parameters: (QActive * const me, uint_fast8_t prio, QEvt const *qSto[], + uint_fast16_t qLen, void *stkSto, uint_fast16_t stkSize, voi + d const * const par) + Complexity Param 7 Return 1 Cyclo Vg 5 Total 13 + LOC 18 eLOC 15 lLOC 10 Comment 34 Lines 29 + + Function: QK_schedLock + Parameters: (uint_fast8_t ceiling) + Complexity Param 1 Return 1 Cyclo Vg 2 Total 4 + LOC 22 eLOC 19 lLOC 12 Comment 32 Lines 33 + + Function: QK_schedUnlock + Parameters: (QSchedStatus stat) + Complexity Param 1 Return 1 Cyclo Vg 4 Total 6 + LOC 21 eLOC 18 lLOC 10 Comment 28 Lines 33 + + Function: QK_sched_ + Parameters: (void) + Complexity Param 0 Return 1 Cyclo Vg 3 Total 4 + LOC 15 eLOC 11 lLOC 7 Comment 21 Lines 19 + + Function: QK_activate_ + Parameters: (void) + Complexity Param 0 Return 1 Cyclo Vg 14 Total 15 + LOC 74 eLOC 66 lLOC 33 Comment 54 Lines 106 + + Function: QF_init + Parameters: (void) + Complexity Param 0 Return 1 Cyclo Vg 1 Total 2 + LOC 16 eLOC 15 lLOC 12 Comment 17 Lines 22 + + Function: QF_stop + Parameters: (void) + Complexity Param 0 Return 1 Cyclo Vg 1 Total 2 + LOC 3 eLOC 2 lLOC 1 Comment 14 Lines 4 + + Function: initial_events + Parameters: (void) + Complexity Param 0 Return 1 Cyclo Vg 2 Total 3 + LOC 6 eLOC 4 lLOC 2 Comment 6 Lines 8 + + Function: QF_run + Parameters: (void) + Complexity Param 0 Return 1 Cyclo Vg 2 Total 3 + LOC 12 eLOC 10 lLOC 7 Comment 12 Lines 15 + + Function: QActive_start_ + Parameters: (QActive * const me, uint_fast8_t prio, QEvt const *qSto[], + uint_fast16_t qLen, void *stkSto, uint_fast16_t stkSize, voi + d const * const par) + Complexity Param 7 Return 1 Cyclo Vg 6 Total 14 + LOC 20 eLOC 17 lLOC 11 Comment 38 Lines 31 + + Function: QXK_schedLock + Parameters: (uint_fast8_t ceiling) + Complexity Param 1 Return 1 Cyclo Vg 3 Total 5 + LOC 25 eLOC 22 lLOC 12 Comment 40 Lines 35 + + Function: QXK_schedUnlock + Parameters: (QSchedStatus stat) + Complexity Param 1 Return 1 Cyclo Vg 4 Total 6 + LOC 21 eLOC 18 lLOC 10 Comment 33 Lines 33 + + Function: QXK_sched_ + Parameters: (void) + Complexity Param 0 Return 1 Cyclo Vg 7 Total 8 + LOC 53 eLOC 42 lLOC 23 Comment 36 Lines 69 + + Function: QXK_activate_ + Parameters: (void) + Complexity Param 0 Return 1 Cyclo Vg 14 Total 15 + LOC 91 eLOC 80 lLOC 43 Comment 63 Lines 134 + + Function: QXK_current + Parameters: (void) + Complexity Param 0 Return 1 Cyclo Vg 2 Total 3 + LOC 13 eLOC 11 lLOC 8 Comment 4 Lines 20 + + Function: QXMutex_init + Parameters: (QXMutex * const me, uint_fast8_t ceiling) + Complexity Param 2 Return 1 Cyclo Vg 4 Total 7 + LOC 16 eLOC 14 lLOC 8 Comment 33 Lines 25 + + Function: QXMutex_lock + Parameters: (QXMutex * const me, uint_fast16_t const nTicks) + Complexity Param 2 Return 1 Cyclo Vg 12 Total 15 + LOC 67 eLOC 57 lLOC 36 Comment 61 Lines 107 + + Function: QXMutex_tryLock + Parameters: (QXMutex * const me) + Complexity Param 1 Return 1 Cyclo Vg 10 Total 12 + LOC 45 eLOC 38 lLOC 21 Comment 46 Lines 69 + + Function: QXMutex_unlock + Parameters: (QXMutex * const me) + Complexity Param 1 Return 1 Cyclo Vg 16 Total 18 + LOC 69 eLOC 59 lLOC 32 Comment 66 Lines 115 + + Function: QXSemaphore_init + Parameters: (QXSemaphore * const me, uint_fast16_t count, uint_fast16_t + max_count) + Complexity Param 3 Return 1 Cyclo Vg 1 Total 5 + LOC 6 eLOC 4 lLOC 4 Comment 22 Lines 8 + + Function: QXSemaphore_wait + Parameters: (QXSemaphore * const me, uint_fast16_t const nTicks) + Complexity Param 2 Return 1 Cyclo Vg 7 Total 10 + LOC 44 eLOC 37 lLOC 25 Comment 59 Lines 69 + + Function: QXSemaphore_tryWait + Parameters: (QXSemaphore * const me) + Complexity Param 1 Return 1 Cyclo Vg 2 Total 4 + LOC 15 eLOC 12 lLOC 8 Comment 18 Lines 20 + + Function: QXSemaphore_signal + Parameters: (QXSemaphore * const me) + Complexity Param 1 Return 1 Cyclo Vg 6 Total 8 + LOC 30 eLOC 25 lLOC 16 Comment 34 Lines 49 + + Function: QXThread_ctor + Parameters: (QXThread * const me, QXThreadHandler handler, uint_fast8_t + tickRate) + Complexity Param 3 Return 1 Cyclo Vg 1 Total 5 + LOC 16 eLOC 13 lLOC 7 Comment 27 Lines 19 + + Function: QXThread_init_ + Parameters: (QHsm * const me, void const * const par) + Complexity Param 2 Return 1 Cyclo Vg 1 Total 4 + LOC 5 eLOC 4 lLOC 3 Comment 4 Lines 5 + + Function: QXThread_dispatch_ + Parameters: (QHsm * const me, QEvt const * const e) + Complexity Param 2 Return 1 Cyclo Vg 1 Total 4 + LOC 5 eLOC 4 lLOC 3 Comment 3 Lines 5 + + Function: QXThread_start_ + Parameters: (QActive * const me, uint_fast8_t prio, QEvt const *qSto[], + uint_fast16_t qLen, void *stkSto, uint_fast16_t stkSize, voi + d const *par) + Complexity Param 7 Return 1 Cyclo Vg 6 Total 14 + LOC 21 eLOC 18 lLOC 12 Comment 42 Lines 43 + + Function: QXThread_post_ + Parameters: (QActive * const me, QEvt const * const e, uint_fast16_t con + st margin) + Complexity Param 3 Return 1 Cyclo Vg 13 Total 17 + LOC 96 eLOC 75 lLOC 48 Comment 85 Lines 129 + + Function: QXThread_postLIFO_ + Parameters: (QActive * const me, QEvt const * const e) + Complexity Param 2 Return 1 Cyclo Vg 1 Total 4 + LOC 5 eLOC 4 lLOC 3 Comment 11 Lines 5 + + Function: QXThread_queueGet + Parameters: (uint_fast16_t const nTicks) + Complexity Param 1 Return 1 Cyclo Vg 7 Total 9 + LOC 62 eLOC 55 lLOC 36 Comment 54 Lines 88 + + Function: QXThread_block_ + Parameters: (QXThread const * const me) + Complexity Param 1 Return 1 Cyclo Vg 1 Total 3 + LOC 5 eLOC 4 lLOC 3 Comment 9 Lines 7 + + Function: QXThread_unblock_ + Parameters: (QXThread const * const me) + Complexity Param 1 Return 1 Cyclo Vg 3 Total 5 + LOC 8 eLOC 5 lLOC 2 Comment 10 Lines 8 + + Function: QXThread_teArm_ + Parameters: (QXThread * const me, QSignal sig, uint_fast16_t const nTick + s) + Complexity Param 3 Return 1 Cyclo Vg 3 Total 7 + LOC 19 eLOC 14 lLOC 9 Comment 22 Lines 37 + + Function: QXThread_teDisarm_ + Parameters: (QXThread * const me) + Complexity Param 1 Return 1 Cyclo Vg 2 Total 4 + LOC 11 eLOC 8 lLOC 5 Comment 11 Lines 13 + + Function: QXThread_delay + Parameters: (uint_fast16_t const nTicks) + Complexity Param 1 Return 1 Cyclo Vg 3 Total 5 + LOC 21 eLOC 20 lLOC 15 Comment 18 Lines 37 + + Function: QXThread_delayCancel + Parameters: (QXThread * const me) + Complexity Param 1 Return 1 Cyclo Vg 2 Total 4 + LOC 14 eLOC 11 lLOC 7 Comment 2 Lines 16 + + Function: QXK_threadRet_ + Parameters: (void) + Complexity Param 0 Return 1 Cyclo Vg 2 Total 3 + LOC 15 eLOC 14 lLOC 11 Comment 19 Lines 25 + + Total: Functions + LOC 2729 eLOC 2299 lLOC 1440 InCmp 289 CycloCmp 428 + Function Points FP(LOC) 21.3 FP(eLOC) 18.0 FP(lLOC) 11.3 + + ------------------------------------------------------------------------ + + ~~ Project Functional Analysis ~~ + + Total Functions .......: 106 Total Physical Lines ..: 3881 + Total LOC .............: 2729 Total Function Pts LOC : 21.3 + Total eLOC ............: 2299 Total Function Pts eLOC: 18.0 + Total lLOC.............: 1440 Total Function Pts lLOC: 11.3 + Total Cyclomatic Comp. : 428 Total Interface Comp. .: 289 + Total Parameters ......: 183 Total Return Points ...: 106 + Total Comment Lines ...: 3073 Total Blank Lines .....: 576 + ------ ----- ----- ------ ------ ----- + Avg Physical Lines ....: 36.61 + Avg LOC ...............: 25.75 Avg eLOC ..............: 21.69 + Avg lLOC ..............: 13.58 Avg Cyclomatic Comp. ..: 4.04 + Avg Interface Comp. ...: 2.73 Avg Parameters ........: 1.73 + Avg Return Points .....: 1.00 Avg Comment Lines .....: 28.99 + ------ ----- ----- ------ ------ ----- + Max LOC ...............: 124 + Max eLOC ..............: 107 Max lLOC ..............: 65 + Max Cyclomatic Comp. ..: 16 Max Interface Comp. ...: 8 + Max Parameters ........: 7 Max Return Points .....: 1 + Max Comment Lines .....: 85 Max Total Lines .......: 164 + ------ ----- ----- ------ ------ ----- + Min LOC ...............: 3 + Min eLOC ..............: 2 Min lLOC ..............: 1 + Min Cyclomatic Comp. ..: 1 Min Interface Comp. ...: 1 + Min Parameters ........: 0 Min Return Points .....: 1 + Min Comment Lines .....: 0 Min Total Lines .......: 3 + + ------------------------------------------------------------------------ + + ~~ File Summary ~~ + + C Source Files *.c ....: 18 C/C++ Include Files *.h: 16 + C++ Source Files *.c* .: 0 C++ Include Files *.h* : 0 + C# Source Files *.cs ..: 0 Java Source File *.jav*: 0 + Other File Count ......: 0 Total File Count ......: 34 + ________________________________________________________________________ + +@endcode +*/ diff --git a/include/qs.h b/include/qs.h index 345a245f..47b94499 100644 --- a/include/qs.h +++ b/include/qs.h @@ -5,7 +5,7 @@ * @cond ****************************************************************************** * Last updated for version 6.7.0 -* Last updated on 2019-12-27 +* Last updated on 2019-12-31 * * Q u a n t u m L e a P s * ------------------------ @@ -32,7 +32,7 @@ * along with this program. If not, see . * * Contact information: -* +* * ****************************************************************************** * @endcond @@ -1245,8 +1245,6 @@ void QS_onCommand(uint8_t cmdId, uint32_t param1, #define QS_EQC_PRE_(ctr_) QS_u16_raw_((uint16_t)(ctr_)) #elif (QF_EQUEUE_CTR_SIZE == 4) #define QS_EQC_PRE_(ctr_) QS_u32_raw_((uint32_t)(ctr_)) -#else - #error "QF_EQUEUE_CTR_SIZE not defined" #endif