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

schweikert / fping / 25245190094

02 May 2026 05:52AM UTC coverage: 87.937% (-0.06%) from 88.0%
25245190094

Pull #469

github

web-flow
Merge e0217dc92 into 780ec4674
Pull Request #469: Options variables converted to a structure

208 of 222 new or added lines in 6 files covered. (93.69%)

3 existing lines in 1 file now uncovered.

1684 of 1915 relevant lines covered (87.94%)

347.5 hits per line

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

78.57
/src/flags.c
1
#include "flags.h"
2
#include "options.h"
3

4
Options options_init(void)
884✔
5
{
6
    Options o = { 0 };
884✔
7

8
    /* options with values — set non-zero defaults */
9
    o.retry             = DEFAULT_RETRY;
884✔
10
    o.timeout           = (int64_t)DEFAULT_TIMEOUT * 1000000;
884✔
11
    o.seqmap_timeout    = (int64_t)DEFAULT_SEQMAP_TIMEOUT * 1000000;
884✔
12
    o.interval          = (int64_t)DEFAULT_INTERVAL * 1000000;
884✔
13
    o.perhost_interval  = (int64_t)DEFAULT_PERHOST_INTERVAL * 1000000;
884✔
14
    o.backoff           = DEFAULT_BACKOFF_FACTOR;
884✔
15
    o.ping_data_size    = DEFAULT_PING_DATA_SIZE;
884✔
16
    o.count             = 1;
884✔
17

18
    return o;
884✔
19
}
20

NEW
21
DebugOptions debug_options_init(void)
×
22
{
NEW
23
  DebugOptions o = { 0 };
×
24
  
NEW
25
  return o;
×
26
}
27

28
Options opt;
29
DebugOptions dbg_opt;
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