when I add this in my s.c file : const unsigned long RESET_REQ_MSG_TYPE = ASN1V_MECS_id_reset +
(T_TMECS_MECS_PDU_initiatingMessage << ASSEMBLE_MSGID_OFFSET);
lizard analyze output is
lizard -l c
NLOC CCN token PARAM length location
1 file analyzed.
NLOC Avg.NLOC AvgCCN Avg.token function_cnt file
487 0.0 0.0 0.0 0 ./s.c
when remove the const xxxx, the output is like this:
NLOC Avg.NLOC AvgCCN Avg.token function_cnt file
486 21.4 5.1 123.4 21 ./s.c
=========================================================================================
!!!! Warnings (cyclomatic_complexity > 15 or length > 1000 or parameter_count > 100) !!!!
==========================================================================================
Total nloc Avg.NLOC AvgCCN Avg.token Fun Cnt Warning cnt Fun Rt nloc Rt
when I add this in my s.c file : const unsigned long RESET_REQ_MSG_TYPE = ASN1V_MECS_id_reset + (T_TMECS_MECS_PDU_initiatingMessage << ASSEMBLE_MSGID_OFFSET); lizard analyze output is lizard -l c
NLOC CCN token PARAM length location
1 file analyzed.
NLOC Avg.NLOC AvgCCN Avg.token function_cnt file
when remove the const xxxx, the output is like this:
NLOC Avg.NLOC AvgCCN Avg.token function_cnt file
========================================================================================= !!!! Warnings (cyclomatic_complexity > 15 or length > 1000 or parameter_count > 100) !!!!
NLOC CCN token PARAM length location
========================================================================================== Total nloc Avg.NLOC AvgCCN Avg.token Fun Cnt Warning cnt Fun Rt nloc Rt