This is my implementation of List with LinkedList for the C ++ course
This code was tested on Ubuntu 18.04 with GCC
A compiler with C++14 support (clang-3.4+, gcc-5.1+), cmake 3.1+, (git)
$ sudo apt install clang cmake git
Optional dependencies:
doxygen
required for generating documentationclang-format 6.0
required for formatting codeclang-tidy
required for using a linterscan-build
required for static analysiscloc
required for counting lines of codevalgrind
required for detecting many memory management and threading bugslizard
required for cyclomatic complexity analysis
$ sudo apt install doxygen clang-format clang-tidy clang-tools cloc valgrind
$ sudo apt install python-pip
$ pip install lizard
Run this:
$ git clone https://github.com/Envq/List.git
$ cd List
$ mkdir -p build
$ cd build
$ cmake ..
$ make
There's also a helper script available in the root folder:
$ ./build.sh
After building project run:
$ make install-lib
After building project run:
$ make test
$ ./list_test
After building project:
- To clean
$ make clean-all
- To count line
$ make stats
- To analyze clyclomatic complexity
$ make cyclo
- To generate documentation
$ make doc
- To format code
$ make format
Only for clang building:
- To static scan
$ make scan
- To use linter
$ make tidy
Enrico Sgarbanti @Envq
id: VR408621
This project is licensed under the GPL v3 License - see the LICENSE.md file for details