Interesting how odp_buffer_pool_print(), which is a pretty trivial
function, is rated "high complexity" while odp_buffer_pool_create(), which
has a lot of subtle parts, is rated lower.   One of the reason these sort
of canned metrics are at best a starting point.

On Wed, Jan 14, 2015 at 1:55 PM, Mike Holmes <[email protected]> wrote:

> FYI - I expect we may pay attention to this post 1.0, but even now before
> we pay attention to maintainability etc, it looks like we only have three
> items in linux-generic in the high risk category.
> Attached a list of only high risk and above for all of the repo, the tail
> end list is much longer.
>
>      Function File Component New Outstanding Line Count CCM
>      odp_buffer_pool_create /platform/linux-generic/odp_buffer_pool.c
> generic 0 0 275 31
>  odp_buffer_pool_print /platform/linux-generic/odp_buffer_pool.c generic 0
> 0 67 44
>  verify_pmr /platform/linux-generic/odp_classification.c generic 0 0 112
> 39
>
> Cyclomatic Complexity Risk Evaluation...
> 1-10 A simple module without much risk
> 11-20 A more complex module with moderate risk
> 21-50 A complex module of high risk
> 51 and greater An untestable program of very high risk
>
>
> --
> *Mike Holmes*
> Linaro  Sr Technical Manager
> LNG - ODP
>
> _______________________________________________
> lng-odp mailing list
> [email protected]
> http://lists.linaro.org/mailman/listinfo/lng-odp
>
>
_______________________________________________
lng-odp mailing list
[email protected]
http://lists.linaro.org/mailman/listinfo/lng-odp

Reply via email to