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

nasa / trick / 25456501308

06 May 2026 07:29PM UTC coverage: 55.935% (-0.8%) from 56.7%
25456501308

Pull #2011

github

web-flow
Merge 7ad262960 into 7054e405e
Pull Request #2011: Single-file CI and code style adoption

14612 of 26123 relevant lines covered (55.94%)

462107.16 hits per line

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

0.0
/trick_source/sim_services/MonteCarlo/MonteCarlo_master_init.cpp
1

2
#include <sys/stat.h>
3
#include <libgen.h>
4

5
#include "trick/MonteCarlo.hh"
6
#include "trick/message_proto.h"
7

8
/** @par Detailed Design: */
9
int Trick::MonteCarlo::master_init() {
×
10

11
    /** <ul><li> Construct the run directory. */
12
    if (construct_run_directory() == -1) return -1 ;
×
13

14
    /** <ul><li> Create the runs and header files and open them for writing. */
15
    std::string file_name = run_directory+"/monte_header" ;
×
16
    if (open_file(file_name, &run_header_file)==-1) return -1 ;
×
17

18
    file_name = run_directory+"/monte_runs" ;
×
19
    if (open_file(file_name, &run_data_file)==-1) return -1 ;
×
20

21
    write_to_run_files(file_name) ;
×
22

23
    /** <li> If this is a dry run return else initialize sockets: */
24
    if (dry_run) {
×
25
       return 0 ;
×
26
    }
27

28
    return initialize_sockets() ;
×
29
}
×
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

© 2026 Coveralls, Inc