Skip to content

[Sketcher][test][WIP] Add tests for some B-spline operations #220

[Sketcher][test][WIP] Add tests for some B-spline operations

[Sketcher][test][WIP] Add tests for some B-spline operations #220

Triggered via push September 30, 2024 17:01
Status Success
Total duration 40m 50s
Artifacts 8

CI_master.yml

on: push
Fit to window
Zoom out
Zoom in

Annotations

1 error and 60 warnings
Lint / Lint
Process completed with exit code 1.
Lint / Lint: tests/src/Mod/Sketcher/App/SketchObject.cpp#L1
No copyright message found. You should have a line: "Copyright [year] <Copyright Owner>" [legal/copyright] [5]
Lint / Lint: tests/src/Mod/Sketcher/App/SketchObject.cpp#L15
Is this a non-const reference? If so, make const or use a pointer: Part::GeomLineSegment& lineSeg [runtime/references] [2]
Lint / Lint: tests/src/Mod/Sketcher/App/SketchObject.cpp#L16
{ should almost always be at the end of the previous line [whitespace/braces] [4]
Lint / Lint: tests/src/Mod/Sketcher/App/SketchObject.cpp#L22
Is this a non-const reference? If so, make const or use a pointer: Part::GeomCircle& circle [runtime/references] [2]
Lint / Lint: tests/src/Mod/Sketcher/App/SketchObject.cpp#L23
{ should almost always be at the end of the previous line [whitespace/braces] [4]
Lint / Lint: tests/src/Mod/Sketcher/App/SketchObject.cpp#L31
Is this a non-const reference? If so, make const or use a pointer: Part::GeomArcOfCircle& arcOfCircle [runtime/references] [2]
Lint / Lint: tests/src/Mod/Sketcher/App/SketchObject.cpp#L32
{ should almost always be at the end of the previous line [whitespace/braces] [4]
Lint / Lint: tests/src/Mod/Sketcher/App/SketchObject.cpp#L41
Is this a non-const reference? If so, make const or use a pointer: Part::GeomEllipse& ellipse [runtime/references] [2]
Lint / Lint: tests/src/Mod/Sketcher/App/SketchObject.cpp#L42
{ should almost always be at the end of the previous line [whitespace/braces] [4]
Lint / Lint: tests/src/Mod/Sketcher/App/SketchObject.cpp#L51
Is this a non-const reference? If so, make const or use a pointer: Part::GeomArcOfHyperbola& arcOfHyperbola [runtime/references] [2]
Lint / Lint: src/Mod/Sketcher/App/SketchObject.h#L347
unused parameter 'geo' [-Wunused-parameter]
Lint / Lint: src/Mod/Sketcher/App/SketchObject.h#L347
unused parameter 'PosId' [-Wunused-parameter]
Lint / Lint: src/Mod/Sketcher/App/SketchObject.h#L457
unused parameter 'GeoId' [-Wunused-parameter]
Lint / Lint: tests/src/Mod/Sketcher/App/SketchObject.cpp#L289
unused variable 'ptNone' [-Wunused-variable]
Lint / Lint: tests/src/Mod/Sketcher/App/SketchObject.cpp#L311
unused variable 'ptMid' [-Wunused-variable]
Lint / Lint: tests/src/Mod/Sketcher/App/SketchObject.cpp#L314
unused variable 'ptNone' [-Wunused-variable]
Lint / Lint: tests/src/Mod/Sketcher/App/SketchObject.cpp#L339
unused variable 'ptNone' [-Wunused-variable]
Lint / Lint: tests/src/Mod/Sketcher/App/SketchObject.cpp#L370
unused variable 'ptNone' [-Wunused-variable]
Lint / Lint: tests/src/Mod/Sketcher/App/SketchObject.cpp#L398
unused variable 'ptNone' [-Wunused-variable]
Lint / Lint: tests/src/Mod/Sketcher/App/SketchObject.cpp#L428
unused variable 'ptNone' [-Wunused-variable]
Lint / Lint: tests/src/Mod/Sketcher/App/SketchObject.cpp#L17
2.0 is a magic number; consider replacing it with a named constant [cppcoreguidelines-avoid-magic-numbers,readability-magic-numbers]
Lint / Lint: tests/src/Mod/Sketcher/App/SketchObject.cpp#L18
3.0 is a magic number; consider replacing it with a named constant [cppcoreguidelines-avoid-magic-numbers,readability-magic-numbers]
Lint / Lint: tests/src/Mod/Sketcher/App/SketchObject.cpp#L18
4.0 is a magic number; consider replacing it with a named constant [cppcoreguidelines-avoid-magic-numbers,readability-magic-numbers]
Lint / Lint: tests/src/Mod/Sketcher/App/SketchObject.cpp#L24
2.0 is a magic number; consider replacing it with a named constant [cppcoreguidelines-avoid-magic-numbers,readability-magic-numbers]
Lint / Lint: tests/src/Mod/Sketcher/App/SketchObject.cpp#L25
2.0 is a magic number; consider replacing it with a named constant [cppcoreguidelines-avoid-magic-numbers,readability-magic-numbers]
Lint / Lint: tests/src/Mod/Sketcher/App/SketchObject.cpp#L25
3.1 is a magic number; consider replacing it with a named constant [cppcoreguidelines-avoid-magic-numbers,readability-magic-numbers]
Lint / Lint: tests/src/Mod/Sketcher/App/SketchObject.cpp#L26
3.0 is a magic number; consider replacing it with a named constant [cppcoreguidelines-avoid-magic-numbers,readability-magic-numbers]
Lint / Lint: tests/src/Mod/Sketcher/App/SketchObject.cpp#L33
2.0 is a magic number; consider replacing it with a named constant [cppcoreguidelines-avoid-magic-numbers,readability-magic-numbers]
Lint / Lint: tests/src/Mod/Sketcher/App/SketchObject.cpp#L34
3.0 is a magic number; consider replacing it with a named constant [cppcoreguidelines-avoid-magic-numbers,readability-magic-numbers]
Lint / Lint: tests/src/Mod/Sketcher/App/SketchObject.cpp#L35
multiple declarations in a single statement reduces readability [readability-isolate-declaration]
Ubuntu_22-04_Conda / Build
INFO conda.conda_libmamba_solver.solver:_log_info(352): conda version: 24.7.1 INFO conda.conda_libmamba_solver.solver:_log_info(353): conda-libmamba-solver version: 24.7.0
Ubuntu_22-04_Conda / Build
INFO conda.conda_libmamba_solver.solver:_log_info(354): libmambapy version: 1.5.9 INFO conda.conda_libmamba_solver.solver:_log_info(355): Target prefix: '/home/runner/work/FreeCAD/FreeCAD/.conda/freecad'
Ubuntu_22-04_Conda / Build
INFO conda.conda_libmamba_solver.solver:_log_info(356): Command: ['/home/runner/miniconda3/condabin/mamba', 'update', '--prefix', '.conda/freecad', '--file', 'conda/conda-env.yaml']
Ubuntu_22-04_Conda / Build
INFO conda.gateways.repodata.jlap.fetch:download_and_hash(265): Download 716196 bytes {'User-Agent': 'conda/24.7.1 requests/2.32.3 CPython/3.12.6 Linux/6.8.0-1014-azure ubuntu/22.04.5 glibc/2.35 solver/libmamba conda-libmamba-solver/24.7.0 libmambapy/1.5.9', 'Accept-Encoding': 'gzip, deflate, br, zstd', 'Accept': '*/*', 'Connection': 'keep-alive'}
Ubuntu_22-04_Conda / Build
INFO conda.gateways.repodata.jlap.fetch:request_url_jlap_state(432): Apply 0 patches 2536d904f6add4e4… → 2536d904f6add4e4…
Ubuntu_22-04_Conda / Build
INFO conda.gateways.repodata.jlap.fetch:download_and_hash(265): Download 2050706 bytes {'User-Agent': 'conda/24.7.1 requests/2.32.3 CPython/3.12.6 Linux/6.8.0-1014-azure ubuntu/22.04.5 glibc/2.35 solver/libmamba conda-libmamba-solver/24.7.0 libmambapy/1.5.9', 'Accept-Encoding': 'gzip, deflate, br, zstd', 'Accept': '*/*', 'Connection': 'keep-alive'}
Ubuntu_22-04_Conda / Build
INFO conda.gateways.repodata.jlap.fetch:request_url_jlap_state(432): Apply 0 patches c25462d7872987b0… → c25462d7872987b0…
Ubuntu_22-04_Conda / Build
INFO conda.gateways.repodata.jlap.fetch:download_and_hash(265): Download 1613518 bytes {'User-Agent': 'conda/24.7.1 requests/2.32.3 CPython/3.12.6 Linux/6.8.0-1014-azure ubuntu/22.04.5 glibc/2.35 solver/libmamba conda-libmamba-solver/24.7.0 libmambapy/1.5.9', 'Accept-Encoding': 'gzip, deflate, br, zstd', 'Accept': '*/*', 'Connection': 'keep-alive'}
Ubuntu_22-04_Conda / Build
INFO conda.gateways.repodata.jlap.fetch:request_url_jlap_state(432): Apply 0 patches c5cc347082717df0… → c5cc347082717df0…
Ubuntu_22-04_Conda / Build
INFO conda.gateways.repodata.jlap.fetch:download_and_hash(265): Download 6421902 bytes {'User-Agent': 'conda/24.7.1 requests/2.32.3 CPython/3.12.6 Linux/6.8.0-1014-azure ubuntu/22.04.5 glibc/2.35 solver/libmamba conda-libmamba-solver/24.7.0 libmambapy/1.5.9', 'Accept-Encoding': 'gzip, deflate, br, zstd', 'Accept': '*/*', 'Connection': 'keep-alive'}
Ubuntu_22-04_Conda_Qt6 / Build
INFO conda.conda_libmamba_solver.solver:_log_info(352): conda version: 24.7.1
Ubuntu_22-04_Conda_Qt6 / Build
INFO conda.conda_libmamba_solver.solver:_log_info(353): conda-libmamba-solver version: 24.7.0 INFO conda.conda_libmamba_solver.solver:_log_info(354): libmambapy version: 1.5.9 INFO conda.conda_libmamba_solver.solver:_log_info(355): Target prefix: '/home/runner/work/FreeCAD/FreeCAD/.conda/freecad'
Ubuntu_22-04_Conda_Qt6 / Build
INFO conda.conda_libmamba_solver.solver:_log_info(356): Command: ['/home/runner/miniconda3/condabin/mamba', 'update', '--prefix', '.conda/freecad', '--file', 'conda/conda-env-qt6.yaml']
Ubuntu_22-04_Conda_Qt6 / Build
info libmamba Reading repodata.json file "/tmp/tmpydl4v9yj.json" for repo installed
Ubuntu_22-04_Conda_Qt6 / Build
INFO conda.gateways.repodata.jlap.fetch:download_and_hash(265): Download 716196 bytes {'User-Agent': 'conda/24.7.1 requests/2.32.3 CPython/3.12.6 Linux/6.8.0-1014-azure ubuntu/22.04.5 glibc/2.35 solver/libmamba conda-libmamba-solver/24.7.0 libmambapy/1.5.9', 'Accept-Encoding': 'gzip, deflate, br, zstd', 'Accept': '*/*', 'Connection': 'keep-alive'}
Ubuntu_22-04_Conda_Qt6 / Build
INFO conda.gateways.repodata.jlap.fetch:request_url_jlap_state(432): Apply 0 patches 2536d904f6add4e4… → 2536d904f6add4e4…
Ubuntu_22-04_Conda_Qt6 / Build
INFO conda.gateways.repodata.jlap.fetch:download_and_hash(265): Download 2050706 bytes {'User-Agent': 'conda/24.7.1 requests/2.32.3 CPython/3.12.6 Linux/6.8.0-1014-azure ubuntu/22.04.5 glibc/2.35 solver/libmamba conda-libmamba-solver/24.7.0 libmambapy/1.5.9', 'Accept-Encoding': 'gzip, deflate, br, zstd', 'Accept': '*/*', 'Connection': 'keep-alive'}
Ubuntu_22-04_Conda_Qt6 / Build
INFO conda.gateways.repodata.jlap.fetch:request_url_jlap_state(432): Apply 0 patches c25462d7872987b0… → c25462d7872987b0…
Ubuntu_22-04_Conda_Qt6 / Build
INFO conda.gateways.repodata.jlap.fetch:download_and_hash(265): Download 1613518 bytes {'User-Agent': 'conda/24.7.1 requests/2.32.3 CPython/3.12.6 Linux/6.8.0-1014-azure ubuntu/22.04.5 glibc/2.35 solver/libmamba conda-libmamba-solver/24.7.0 libmambapy/1.5.9', 'Accept-Encoding': 'gzip, deflate, br, zstd', 'Accept': '*/*', 'Connection': 'keep-alive'}
Ubuntu_22-04_Conda_Qt6 / Build
INFO conda.gateways.repodata.jlap.fetch:request_url_jlap_state(432): Apply 0 patches c5cc347082717df0… → c5cc347082717df0…
MacOS_13_Conda_Apple / Build
INFO conda.conda_libmamba_solver.solver:_log_info(352): conda version: 24.7.1
MacOS_13_Conda_Apple / Build
INFO conda.conda_libmamba_solver.solver:_log_info(353): conda-libmamba-solver version: 24.7.0
MacOS_13_Conda_Apple / Build
INFO conda.conda_libmamba_solver.solver:_log_info(354): libmambapy version: 1.5.9
MacOS_13_Conda_Apple / Build
INFO conda.conda_libmamba_solver.solver:_log_info(355): Target prefix: '/Users/runner/work/FreeCAD/FreeCAD/.conda/freecad' INFO conda.conda_libmamba_solver.solver:_log_info(356): Command: ['/Users/runner/miniconda3/condabin/mamba', 'update', '--prefix', '.conda/freecad', '--file', 'conda/conda-env.yaml']
MacOS_13_Conda_Apple / Build
info libmamba Reading repodata.json file "/var/folders/0g/hj_q_pzx65bbjnslxz9n0src0000gn/T/tmpkubk95_h.json" for repo installed
MacOS_13_Conda_Apple / Build
INFO conda.gateways.repodata.jlap.fetch:download_and_hash(265): Download 0 bytes {'User-Agent': 'conda/24.7.1 requests/2.32.3 CPython/3.12.6 Darwin/23.6.0 OSX/14.6.1 solver/libmamba conda-libmamba-solver/24.7.0 libmambapy/1.5.9', 'Accept-Encoding': 'gzip, deflate, br, zstd', 'Accept': '*/*', 'Connection': 'keep-alive'}
MacOS_13_Conda_Apple / Build
INFO conda.gateways.repodata.jlap.fetch:request_url_jlap_state(432): Apply 0 patches 5fef5ecd58e910a9… → 5fef5ecd58e910a9…
MacOS_13_Conda_Apple / Build
INFO conda.gateways.repodata.jlap.fetch:download_and_hash(265): Download 716196 bytes {'User-Agent': 'conda/24.7.1 requests/2.32.3 CPython/3.12.6 Darwin/23.6.0 OSX/14.6.1 solver/libmamba conda-libmamba-solver/24.7.0 libmambapy/1.5.9', 'Accept-Encoding': 'gzip, deflate, br, zstd', 'Accept': '*/*', 'Connection': 'keep-alive'}
MacOS_13_Conda_Apple / Build
INFO conda.gateways.repodata.jlap.fetch:request_url_jlap_state(432): Apply 0 patches 2536d904f6add4e4… → 2536d904f6add4e4…
MacOS_13_Conda_Apple / Build
INFO conda.gateways.repodata.jlap.fetch:download_and_hash(265): Download 2050706 bytes {'User-Agent': 'conda/24.7.1 requests/2.32.3 CPython/3.12.6 Darwin/23.6.0 OSX/14.6.1 solver/libmamba conda-libmamba-solver/24.7.0 libmambapy/1.5.9', 'Accept-Encoding': 'gzip, deflate, br, zstd', 'Accept': '*/*', 'Connection': 'keep-alive'}

Artifacts

Produced during runtime
Name Size
Lint-11110739092-Logs
34.1 KB
MacOS_13_Conda_Apple-11110739092-Logs
44.8 KB
Prepare-11110739092-Logs
2.9 KB
Ubuntu_20-04-11110739092-Logs
178 KB
Ubuntu_22-04_Conda-11110739092-Logs
241 KB
Ubuntu_22-04_Conda-Qt6-11110739092-Logs
239 KB
Ubuntu_22-04_Conda-Qt6-11110739092-report.md
3.76 KB
Windows-11110739092-Logs
1.72 MB