xaizek / uncov (License: AGPLv3+) (since 2018-12-07)
Uncov(er) is a tool that collects and processes code coverage reports.
Commit e5ff74ebc2e76cddec8f93c778e87bb614ee36b8

Extract GcovImporter::importAsFiles() method
In preparation to adding importAsOutput().
Author: xaizek
Author date (UTC): 2022-04-08 10:33
Committer name: xaizek
Committer date (UTC): 2022-04-08 10:33
Parent(s): 989d00159074b9a1f6c5069cc51acf0f85fdf151
Signing key: 99DC5E4DB05F6BE2
Tree: 7e1ea498e87d175d9e4689f8f3f173e04df3f1c1
File Lines added Lines deleted
src/GcovImporter.cpp 6 0
src/GcovImporter.hpp 6 0
File src/GcovImporter.cpp changed (mode: 100644) (index 2437084..8e32adf)
... ... GcovImporter::getFiles() &&
254 254
255 255 void void
256 256 GcovImporter::importFiles(std::vector<fs::path> gcnoFiles) GcovImporter::importFiles(std::vector<fs::path> gcnoFiles)
257 {
258 importAsFiles(std::move(gcnoFiles));
259 }
260
261 void
262 GcovImporter::importAsFiles(std::vector<fs::path> gcnoFiles)
257 263 { {
258 264 std::vector<Bin> bins; std::vector<Bin> bins;
259 265
File src/GcovImporter.hpp changed (mode: 100644) (index c65e352..25260ad)
... ... private:
131 131 * @param gcnoFiles Absolute paths to `*.gcno` files. * @param gcnoFiles Absolute paths to `*.gcno` files.
132 132 */ */
133 133 void importFiles(std::vector<boost::filesystem::path> gcnoFiles); void importFiles(std::vector<boost::filesystem::path> gcnoFiles);
134 /**
135 * @brief Calls `gcov` to generate output files and processes them.
136 *
137 * @param gcnoFiles Absolute paths to `*.gcno` files.
138 */
139 void importAsFiles(std::vector<boost::filesystem::path> gcnoFiles);
134 140 /** /**
135 141 * @brief Parses single `*.gcov.json.gz` file. * @brief Parses single `*.gcov.json.gz` file.
136 142 * *
Hints

Before first commit, do not forget to setup your git environment:
git config --global user.name "your_name_here"
git config --global user.email "your@email_here"

Clone this repository using HTTP(S):
git clone https://code.reversed.top/user/xaizek/uncov

Clone this repository using ssh (do not forget to upload a key first):
git clone ssh://rocketgit@code.reversed.top/user/xaizek/uncov

You are allowed to anonymously push to this repository.
This means that your pushed commits will automatically be transformed into a pull request:
... clone the repository ...
... make some changes and some commits ...
git push origin master