• Home
  • Features
  • Pricing
  • Docs
  • Announcements
  • Sign In

nasa / trick / 20283694683
56%

Build:
DEFAULT BRANCH: master
Ran 16 Dec 2025 10:02PM UTC
Jobs 1
Files 383
Run time 1min
Badge
Embed ▾
README BADGES
x

If you need to use a raster PNG badge, change the '.svg' to '.png' in the link

Markdown

Textile

RDoc

HTML

Rst

16 Dec 2025 09:44PM UTC coverage: 55.586% (-0.3%) from 55.934%
20283694683

push

github

web-flow
Add vs support for stl vector, deque, and array containers of supported data types (#1996)

* Added TV GUI side support for vectors

* Initial check-in for variable server to support vector.

* Added accessor functions to ATTRIBUTES to get stl container size and element at index so mm ref_dim can get element at index for a vector as getting element of an array plus bounds check for vector.

* Added support to deque and array as they be treated similar to vector.

* Updated the test due to vs vector support change.

* Added vector/deque/array of TRICK_STRUCTURED data type support.

* Updated to support vector<bool>.

* Updated to support vector/deque/array of *.

* Updated to support vector/deque/array of TRICK_ENUMERATED and display enum name for the stl enum elements for TV; also updated to show bool element as normal bool var for TV.

* Made elements of vector/array/deque to be editable from TV.

* Not to change the stl type to element when not indexing.

* Added special handling for updating vector of bool since std::vector<bool> is optimized to store bits compactly (8 bools per byte) in c++.

* Need to print NULL for the newly added ATTRIBUTES assessor function for filed attributes in io src file.

* Added var_get_stl_size command to vs sesssion and updated tv to show index range as constraint arrays for vector/deque/array when adding a var.

* Added test cases for vector/deque/array and also changed to use its own vs msg type for var_get_stl_size.

* Removed the unused function as it was changed to use clang api instead.

* Updated not to use static temp attr for working on storing vector<boo> to its ref_attr.

---------

Co-authored-by: plherrin <pherring04@gmail.com>

46 of 212 new or added lines in 8 files covered. (21.7%)

2 existing lines in 2 files now uncovered.

12508 of 22502 relevant lines covered (55.59%)

304713.82 hits per line

New Missed Lines in Diff

Lines Coverage ∆ File
1
50.0
-50.0% include/trick/parameter_types.h
5
16.67
-0.29% trick_source/sim_services/VariableServer/var_server_ext.cpp
13
68.29
-31.71% trick_source/sim_services/MemoryManager/trickTypeCharString.c
19
43.87
-1.96% trick_source/sim_services/MemoryManager/MemoryManager_ref_assignment.cpp
29
32.94
-16.18% trick_source/sim_services/MemoryManager/MemoryManager_ref_name.cpp
31
18.52
-2.71% trick_source/sim_services/VariableServer/VariableServerSession_commands.cpp
32
69.72
-4.33% trick_source/sim_services/VariableServer/VariableReference.cpp
36
42.96
-7.64% trick_source/sim_services/MemoryManager/MemoryManager_ref_dim.cpp

Uncovered Existing Lines

Lines Coverage ∆ File
1
39.08
-0.29% trick_source/sim_services/Executive/Executive_c_intf.cpp
1
18.52
-2.71% trick_source/sim_services/VariableServer/VariableServerSession_commands.cpp
Jobs
ID Job ID Ran Files Coverage
1 20283694683.1 16 Dec 2025 10:02PM UTC 383
55.59
GitHub Action Run
Source Files on build 20283694683
  • Tree
  • List 383
  • Changed 9
  • Source Changed 0
  • Coverage Changed 9
Coverage ∆ File Lines Relevant Covered Missed Hits/Line
  • Back to Repo
  • 56218edd on github
  • Prev Build on master (#20248135608)
  • Next Build on master (#20307653570)
STATUS · Troubleshooting · Open an Issue · Sales · Support · CAREERS · ENTERPRISE · START FREE · SCHEDULE DEMO
ANNOUNCEMENTS · TWITTER · TOS & SLA · Supported CI Services · What's a CI service? · Automated Testing

© 2025 Coveralls, Inc