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

nasa / trick / 33206769983

28 Aug 2026 08:06PM UTC coverage: 56.868% (+0.1%) from 56.76%
33206769983

Pull #2190

github

web-flow
Merge d7b996cca into 2f83fbf7d
Pull Request #2190: Remove dead and deprecated code.

10 of 33 new or added lines in 5 files covered. (30.3%)

64 existing lines in 6 files now uncovered.

14978 of 26338 relevant lines covered (56.87%)

477138.46 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) {
1,172 ✔
18
    VARIABLE_MAP::iterator variable_pos;
1,172 ✔
19

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

23
    if (variable_pos != variable_map.end()) {
1,172 ✔
24
        pthread_mutex_unlock(&mm_mutex);
528 ✔
25
        return (1);
528 ✔
26
    }
27
    pthread_mutex_unlock(&mm_mutex);
644 ✔
28
    return (0);
644 ✔
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