K
K
Konstantin2012-03-26 13:28:43
linux
Konstantin, 2012-03-26 13:28:43

Statistical analysis of C code

Hello!

There is a code and it is old. :)
Are there any free utilities (Win, Lin) that allow you to build pictures, graphs, analyze the code. So that you can understand what is used there and how?

Thank you.

Answer the question

In order to leave comments, you need to log in

1 answer(s)
G
Gluttton, 2012-03-26
@Gluttton

If you have time in two weeks, then Understand Scitools .
I highly recommend it (this is just about pictures and graphics).
There is also Splint , but I didn’t like it, because. I have not mastered its setting.
Because Since C is a subset of C++, it is quite possible to use cppcheck .
And finally, gcc with parameters: -Wall -Wextra -Wdouble-promotion -Winit-self -Wmissing-include-dirs -Wswitch-default -Wswitch-enum -Wunused-local-typedefs -Wunused-parameter -Wuninitialized -Wno- div-by-zero -Wtrampolines -Wfloat-equal -Wtraditional -Wtraditional-conversion -Wundef -Wno-endif-labels -Wshadow -Wunsafe-loop-optimizations -Wpointer-arith -Wbad-function-cast -Wc++-compat -Wcast- qual -Wcast-align -Wwrite-strings -Wjump-misses-init -Wlogical-op -Waggregate-return -Wold-style-definition -Wmissing-prototypes -Wmissing-declarations -Wpacked -Wpacked-bitfield-compat -Wpadded -Wredundant- decls -Wnested-externs -Winline -Winvalid-pch -Wlong-long -Wvector-operation-performance -Wvla -Wvolatile-register-var -Woverlength-strings -Wunsuffixed-float-constants.
Happy refactoring and support!

Didn't find what you were looking for?

Ask your question

Ask a Question

731 491 924 answers to any question