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 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 |
* |
* |