Skip to content

Toponaming: Refactor out duplicated code using elementMap() #1336

Toponaming: Refactor out duplicated code using elementMap()

Toponaming: Refactor out duplicated code using elementMap() #1336

Triggered via push August 10, 2024 17:23
Status Success
Total duration 1h 47m 38s
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: src/App/ComplexGeoData.cpp#L39
Found C system header after other header. Should be: ComplexGeoData.h, c system, c++ system, other. [build/include_order] [4]
Lint / Lint: src/App/ComplexGeoData.cpp#L40
Found C system header after other header. Should be: ComplexGeoData.h, c system, c++ system, other. [build/include_order] [4]
Lint / Lint: src/App/ComplexGeoData.cpp#L41
Found C system header after other header. Should be: ComplexGeoData.h, c system, c++ system, other. [build/include_order] [4]
Lint / Lint: src/App/ComplexGeoData.cpp#L42
Found C system header after other header. Should be: ComplexGeoData.h, c system, c++ system, other. [build/include_order] [4]
Lint / Lint: src/App/ComplexGeoData.cpp#L43
Found C system header after other header. Should be: ComplexGeoData.h, c system, c++ system, other. [build/include_order] [4]
Lint / Lint: src/App/ComplexGeoData.cpp#L49
Do not use namespace using-directives. Use using-declarations instead. [build/namespaces] [5]
Lint / Lint: src/App/ComplexGeoData.cpp#L57
Do not use namespace using-directives. Use using-declarations instead. [build/namespaces] [5]
Lint / Lint: src/App/ComplexGeoData.cpp#L63
Use int16/int64/etc, rather than the C type long [runtime/int] [4]
Lint / Lint: src/App/ComplexGeoData.cpp#L64
{ should almost always be at the end of the previous line [whitespace/braces] [4]
Lint / Lint: src/App/ComplexGeoData.cpp#L79
{ should almost always be at the end of the previous line [whitespace/braces] [4]
Lint / Lint: src/Base/Matrix.h#L336
Pass small and trivially-copyable type by value (const Base::Vector3f &) [-Wclazy-function-args-by-value]
Lint / Lint: src/Base/Matrix.h#L367
Pass small and trivially-copyable type by value (const Base::Vector3f &) [-Wclazy-function-args-by-value]
Lint / Lint: src/Base/Type.h#L119
Pass small and trivially-copyable type by value (const class Base::Type &) [-Wclazy-function-args-by-value]
Lint / Lint: src/Base/Type.h#L150
Pass small and trivially-copyable type by value (const class Base::Type &) [-Wclazy-function-args-by-value]
Lint / Lint: src/Base/Type.h#L155
Pass small and trivially-copyable type by value (const class Base::Type &) [-Wclazy-function-args-by-value]
Lint / Lint: src/Base/Type.h#L160
Pass small and trivially-copyable type by value (const class Base::Type &) [-Wclazy-function-args-by-value]
Lint / Lint: src/Base/Type.h#L165
Pass small and trivially-copyable type by value (const class Base::Type &) [-Wclazy-function-args-by-value]
Lint / Lint: src/Base/Type.h#L170
Pass small and trivially-copyable type by value (const class Base::Type &) [-Wclazy-function-args-by-value]
Lint / Lint: src/Base/Type.h#L175
Pass small and trivially-copyable type by value (const class Base::Type &) [-Wclazy-function-args-by-value]
Lint / Lint: src/App/IndexedName.h#L156
Pass small and trivially-copyable type by value (const class Data::IndexedName &) [-Wclazy-function-args-by-value]
Lint / Lint: src/App/ComplexGeoData.cpp#L304
statement should be inside braces [readability-braces-around-statements]
Lint / Lint: src/App/ComplexGeoData.cpp#L512
function 'readElements' has cognitive complexity of 65 (threshold 25) [readability-function-cognitive-complexity]
Lint / Lint
note: +1, including nesting penalty of 0, nesting level increased to 1
Lint / Lint
note: +2, including nesting penalty of 1, nesting level increased to 2
Lint / Lint
note: +3, including nesting penalty of 2, nesting level increased to 3
Lint / Lint
note: +4, including nesting penalty of 3, nesting level increased to 4
Lint / Lint: src/App/ComplexGeoData.cpp#L559
function 'restoreStream' has cognitive complexity of 65 (threshold 25) [readability-function-cognitive-complexity]
Lint / Lint
note: +1, including nesting penalty of 0, nesting level increased to 1
Lint / Lint
note: +2, including nesting penalty of 1, nesting level increased to 2
Lint / Lint: src/App/ComplexGeoData.cpp#L659
all parameters should be named in a function [readability-named-parameter]
MacOS_13_Conda_Apple / Build
INFO conda.conda_libmamba_solver.solver:_log_info(352): conda version: 24.3.0 INFO conda.conda_libmamba_solver.solver:_log_info(353): conda-libmamba-solver version: 24.1.0
MacOS_13_Conda_Apple / Build
INFO conda.conda_libmamba_solver.solver:_log_info(354): libmambapy version: 1.5.8
MacOS_13_Conda_Apple / Build
INFO conda.conda_libmamba_solver.solver:_log_info(355): Target prefix: '/Users/runner/work/FreeCAD/FreeCAD/.conda/freecad'
MacOS_13_Conda_Apple / Build
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/m_/cksx93ys47x4621g0zbw_m4m0000gn/T/tmpzu0ajuic.json" for repo installed
MacOS_13_Conda_Apple / Build
INFO conda.gateways.repodata.jlap.fetch:download_and_hash(264): Download 0 bytes {'User-Agent': 'conda/24.3.0 requests/2.31.0 CPython/3.10.14 Darwin/23.6.0 OSX/14.6 solver/libmamba conda-libmamba-solver/24.1.0 libmambapy/1.5.8', '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(431): Apply 0 patches 5fef5ecd58e910a9… → 5fef5ecd58e910a9…
MacOS_13_Conda_Apple / Build
INFO conda.gateways.repodata.jlap.fetch:download_and_hash(264): Download 715638 bytes {'User-Agent': 'conda/24.3.0 requests/2.31.0 CPython/3.10.14 Darwin/23.6.0 OSX/14.6 solver/libmamba conda-libmamba-solver/24.1.0 libmambapy/1.5.8', '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(431): Apply 0 patches 63cd651a378e2a3f… → 63cd651a378e2a3f…
MacOS_13_Conda_Apple / Build
INFO conda.gateways.repodata.jlap.fetch:download_and_hash(264): Download 2597951 bytes {'User-Agent': 'conda/24.3.0 requests/2.31.0 CPython/3.10.14 Darwin/23.6.0 OSX/14.6 solver/libmamba conda-libmamba-solver/24.1.0 libmambapy/1.5.8', 'Accept-Encoding': 'gzip, deflate, br, zstd', 'Accept': '*/*', 'Connection': 'keep-alive'}
Ubuntu_22-04_Conda / Build
INFO conda.conda_libmamba_solver.solver:_log_info(352): conda version: 24.3.0 INFO conda.conda_libmamba_solver.solver:_log_info(353): conda-libmamba-solver version: 24.1.0
Ubuntu_22-04_Conda / Build
INFO conda.conda_libmamba_solver.solver:_log_info(354): libmambapy version: 1.5.8 INFO conda.conda_libmamba_solver.solver:_log_info(355): Target prefix: '/home/runner/work/FreeCAD/FreeCAD/.conda/freecad' 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(264): Download 715638 bytes {'User-Agent': 'conda/24.3.0 requests/2.31.0 CPython/3.10.14 Linux/6.5.0-1025-azure ubuntu/22.04.4 glibc/2.35 solver/libmamba conda-libmamba-solver/24.1.0 libmambapy/1.5.8', '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(431): Apply 0 patches 63cd651a378e2a3f… → 63cd651a378e2a3f…
Ubuntu_22-04_Conda / Build
INFO conda.gateways.repodata.jlap.fetch:download_and_hash(264): Download 1612142 bytes {'User-Agent': 'conda/24.3.0 requests/2.31.0 CPython/3.10.14 Linux/6.5.0-1025-azure ubuntu/22.04.4 glibc/2.35 solver/libmamba conda-libmamba-solver/24.1.0 libmambapy/1.5.8', '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(431): Apply 0 patches c9003a175bed204f… → c9003a175bed204f…
Ubuntu_22-04_Conda / Build
INFO conda.gateways.repodata.jlap.fetch:download_and_hash(264): Download 2050706 bytes {'User-Agent': 'conda/24.3.0 requests/2.31.0 CPython/3.10.14 Linux/6.5.0-1025-azure ubuntu/22.04.4 glibc/2.35 solver/libmamba conda-libmamba-solver/24.1.0 libmambapy/1.5.8', '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(431): Apply 0 patches c25462d7872987b0… → c25462d7872987b0…
Ubuntu_22-04_Conda / Build
INFO conda.gateways.repodata.jlap.fetch:download_and_hash(264): Download 6315386 bytes {'User-Agent': 'conda/24.3.0 requests/2.31.0 CPython/3.10.14 Linux/6.5.0-1025-azure ubuntu/22.04.4 glibc/2.35 solver/libmamba conda-libmamba-solver/24.1.0 libmambapy/1.5.8', '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(431): Apply 0 patches 4df81ac87bdef7f8… → 4df81ac87bdef7f8…
Ubuntu_22-04_Conda_Qt6 / Build
INFO conda.conda_libmamba_solver.solver:_log_info(352): conda version: 24.3.0 INFO conda.conda_libmamba_solver.solver:_log_info(353): conda-libmamba-solver version: 24.1.0
Ubuntu_22-04_Conda_Qt6 / Build
INFO conda.conda_libmamba_solver.solver:_log_info(354): libmambapy version: 1.5.8 INFO conda.conda_libmamba_solver.solver:_log_info(355): Target prefix: '/home/runner/work/FreeCAD/FreeCAD/.conda/freecad' 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 conda.gateways.repodata.jlap.fetch:download_and_hash(264): Download 715638 bytes {'User-Agent': 'conda/24.3.0 requests/2.31.0 CPython/3.10.14 Linux/6.5.0-1025-azure ubuntu/22.04.4 glibc/2.35 solver/libmamba conda-libmamba-solver/24.1.0 libmambapy/1.5.8', '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(431): Apply 0 patches 63cd651a378e2a3f… → 63cd651a378e2a3f…
Ubuntu_22-04_Conda_Qt6 / Build
INFO conda.gateways.repodata.jlap.fetch:download_and_hash(264): Download 1612142 bytes {'User-Agent': 'conda/24.3.0 requests/2.31.0 CPython/3.10.14 Linux/6.5.0-1025-azure ubuntu/22.04.4 glibc/2.35 solver/libmamba conda-libmamba-solver/24.1.0 libmambapy/1.5.8', '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(431): Apply 0 patches c9003a175bed204f… → c9003a175bed204f…
Ubuntu_22-04_Conda_Qt6 / Build
INFO conda.gateways.repodata.jlap.fetch:download_and_hash(264): Download 2050706 bytes {'User-Agent': 'conda/24.3.0 requests/2.31.0 CPython/3.10.14 Linux/6.5.0-1025-azure ubuntu/22.04.4 glibc/2.35 solver/libmamba conda-libmamba-solver/24.1.0 libmambapy/1.5.8', '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(431): Apply 0 patches c25462d7872987b0… → c25462d7872987b0…
Ubuntu_22-04_Conda_Qt6 / Build
INFO conda.gateways.repodata.jlap.fetch:download_and_hash(264): Download 6315386 bytes {'User-Agent': 'conda/24.3.0 requests/2.31.0 CPython/3.10.14 Linux/6.5.0-1025-azure ubuntu/22.04.4 glibc/2.35 solver/libmamba conda-libmamba-solver/24.1.0 libmambapy/1.5.8', '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(431): Apply 0 patches 4df81ac87bdef7f8… → 4df81ac87bdef7f8…

Artifacts

Produced during runtime
Name Size
Lint-10333287389-Logs
38.1 KB
MacOS_13_Conda_Apple-10333287389-Logs
44.7 KB
Prepare-10333287389-Logs
3.41 KB
Ubuntu_20-04-10333287389-Logs
180 KB
Ubuntu_22-04_Conda-10333287389-Logs
243 KB
Ubuntu_22-04_Conda-Qt6-10333287389-Logs
243 KB
Ubuntu_22-04_Conda-Qt6-10333287389-report.md
3.77 KB
Windows-10333287389-Logs
2.21 MB