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

nasa / trick / 35241244931

17 Sep 2026 03:35PM UTC coverage: 56.831% (-0.06%) from 56.893%
35241244931

push

github

web-flow
fix: Update STL checkpoint name encoding so _ becomes __, while all other punctuation characters become _. (#2197)

46 of 48 new or added lines in 6 files covered. (95.83%)

12 existing lines in 4 files now uncovered.

14900 of 26218 relevant lines covered (56.83%)

469847.54 hits per line

Source File
Press 'n' to go to next uncovered line, 'b' for previous

87.5
/trick_source/sim_services/MemoryManager/MemoryManager_is_alloced.cpp
1
#include "trick/MemoryManager.hh"
2

3
int Trick::MemoryManager::is_alloced(void *addr) {
400✔
4

5
    ALLOC_INFO *info;
6

7
    pthread_mutex_lock(&mm_mutex);
400✔
8
    if ( (info = get_alloc_info_at( addr)) != NULL) {
400✔
UNCOV
9
        pthread_mutex_unlock(&mm_mutex);
×
UNCOV
10
        return (1);
×
11
    }
12
    pthread_mutex_unlock(&mm_mutex);
400✔
13
    return (0);
400✔
14
}
15

16
// MEMBER FUNCTION:
17
int Trick::MemoryManager::var_exists( std::string var_name) {
3,218✔
18
    VARIABLE_MAP::iterator variable_pos;
3,218✔
19

20
    pthread_mutex_lock(&mm_mutex);
3,218✔
21
    variable_pos = variable_map.find( var_name);
3,218✔
22

23
    if (variable_pos != variable_map.end()) {
3,218✔
24
        pthread_mutex_unlock(&mm_mutex);
2,027✔
25
        return (1);
2,027✔
26
    }
27
    pthread_mutex_unlock(&mm_mutex);
1,191✔
28
    return (0);
1,191✔
29
}
STATUS · Troubleshooting · Open an Issue · Sales · Support · CAREERS · ENTERPRISE · START FREE TRIAL · SCHEDULE DEMO
ANNOUNCEMENTS · TWITTER · TOS & SLA · Supported CI Services · What's a CI service? · Automated Testing

© 2026 Coveralls, Inc