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

Switch to using boost::filesystem::is_regular_file
`boost::filesystem::is_regular()` is deprecated for a really long time
now and was dropped in Boost 1.85
Author: xaizek
Author date (UTC): 2024-08-08 13:00
Committer name: xaizek
Committer date (UTC): 2024-08-08 13:00
Parent(s): 75904c4e252c7b6f3cc63c576910204ecb30939e
Signing key: 99DC5E4DB05F6BE2
Tree: 7596a2dd5f18fb10cba4157d6ae7972c5fdb3837
File Lines added Lines deleted
src/GcovImporter.cpp 2 2
File src/GcovImporter.cpp changed (mode: 100644) (index 3276d69..cc903ca)
... ... GcovImporter::GcovImporter(const std::string &root,
198 198 it.no_push(); it.no_push();
199 199 continue; continue;
200 200 } }
201 } else if (fs::is_regular(path)) {
201 } else if (fs::is_regular_file(path)) {
202 202 // We are looking for *.gcno and not *.gcda, because they are // We are looking for *.gcno and not *.gcda, because they are
203 203 // generated even for files that weren't executed (e.g., // generated even for files that weren't executed (e.g.,
204 204 // `main.cpp`). // `main.cpp`).
 
... ... GcovImporter::importAsFiles(std::vector<fs::path> gcnoFiles)
351 351 for (fs::recursive_directory_iterator it(tempDirPath), end; for (fs::recursive_directory_iterator it(tempDirPath), end;
352 352 it != end; ++it) { it != end; ++it) {
353 353 fs::path path = it->path(); fs::path path = it->path();
354 if (fs::is_regular(path) &&
354 if (fs::is_regular_file(path) &&
355 355 boost::ends_with(path.filename().string(), gcovFileExt)) { boost::ends_with(path.filename().string(), gcovFileExt)) {
356 356 if (gcovInfo.hasJsonFormat()) { if (gcovInfo.hasJsonFormat()) {
357 357 parseGcovJsonGz(path.string()); parseGcovJsonGz(path.string());
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