Scripts to measure code coverage of DPDK platform
These scripts assume git and basic Linux tools. The tools use an existing DPDK source tree. The optional Lines Of Code script uses cloc Perl script https://github.com/AlDanial/cloc/blob/master/cloc
The symbols script extracts the exported API symbols from DPDK library export maps. It produces files in the symbol files in the symbols directory for later usage script.
$ ./symbols.sh ~/git/dpdk
The fetch script will download the source for all projects in projects.list. The total source for current list generates about 3G so make sure have disk space.
By default, the project source files are placed in $HOME/git/dpdk-projects.
$ ./fetch.sh
13:54:10 Fetching ANS https://github.com/ansyun/dpdk-ans
13:54:11 Fetching BESS https://github.com/NetSys/bess
13:54:11 Fetching contrail-vrouter https://github.com/Juniper/contrail-vrouter.git
The libusage script will generate a table of projects versus DPDK libraries in comma separated format.
$ ./libusage.sh
14:11:17 Measuring ANS
14:11:18 Measuring BESS
14:11:18 Measuring contrail-vrouter
...
- Stephen Hemminger
This project is licensed under the MIT License - see the LICENSE file for details