dolik-rce / pegof

PEG grammar optimizer and formatter
Other
9 stars 2 forks source link

generate unique temporary directories #13

Closed dolik-rce closed 2 months ago

github-actions[bot] commented 2 months ago

Coverage after merging fix-tmp-directory-names into master will be

84.64% 0.00%

Coverage Report
FileStmtsBranchesFuncsLinesUncovered Lines
src
   checker.cc60.14%100%78.57%58.06%100, 118, 148–151, 154–157, 159, 161–167, 171–174, 176–180, 187–189, 196–201, 26–27, 29, 32, 35–36, 39, 41–42, 63–64, 95–99
   checker.h100%100%100%100%
   config.cc68.72%100%75%68.06%101–103, 136, 144–145, 148–149, 156, 160, 163, 169–170, 172–173, 177–178, 180–181, 183–184, 186–189, 191, 194, 199, 203, 208, 274, 288, 299–301, 304–306, 311, 340–341, 73, 75–82, 84–85, 88–91, 93–94, 96–98
   config.h100%100%100%100%
   log.cc100%100%100%100%
   log.h90.70%100%81.82%100%
   main.cc83.58%100%100%82.81%13, 23, 52–54, 66–71
   optimizer.cc99%100%100%98.89%382–383, 443–444
   parser.cc85.33%100%92.31%84.18%120–122, 127–128, 150–154, 156–158, 179, 190, 209–213, 216–220
   parser.h100%100%100%100%
   utils.cc79.49%100%90%77.94%40, 47–50, 52, 54, 62–65, 69, 75, 98–99
src/ast
   action.cc82.22%100%72.73%85.29%48–49, 52–53, 6
   action.h100%100%100%100%
   alternation.cc90%100%88.24%90.41%110–111, 19–20, 54, 6, 69
   alternation.h100%100%100%100%
   capture.cc69.84%100%66.67%70.59%21–22, 26–27, 37, 42, 45, 5, 59, 67–68, 75–76, 79–80
   capture.h100%100%100%100%
   character_class.cc91.53%100%91.30%91.56%11–14, 159, 177–179, 39, 42–43, 58–59
   character_class.h100%100%100%100%
   code.cc78.05%100%71.43%79.41%29, 37, 43–44, 7–9
   code.h100%100%100%100%
   directive.cc91.55%100%75%93.65%5, 79, 88–89
   directive.h100%100%100%100%
   expand.cc80.43%100%72.73%82.86%20, 4, 42–43, 46–47
   expand.h100%100%100%100%
   grammar.cc80.31%100%78.57%80.53%123, 133, 135–136, 141, 147–148, 17–18, 20–22, 47, 5, 68–69, 81, 87–88, 9, 96–97
   grammar.h100%100%100%100%
   group.cc90.28%100%100%87.72%21–22, 26–27, 42, 45, 59
   group.h100%100%100%100%
   node.cc74.76%100%80%73.86%111–127, 13, 131–132, 14, 28, 71
   node.h93.59%100%92%96.43%97
   reference.cc90.91%100%90.91%90.91%19, 41, 45, 5
   reference.h100%100%100%100%
   rule.cc76.74%100%72.22%77.94%22–23, 37, 5, 54, 66–69, 76–79, 82–83
   rule.h100%100%100%100%
   sequence.cc92.63%100%94.44%92.21%16–17, 4, 48, 57, 83
   sequence.h100%100%100%100%
   string.cc97.37%100%100%96.43%22
   string.h100%100%100%100%
   term.cc86.78%100%88.24%86.43%110, 122, 124, 155–157, 179–181, 183–185, 4, 59–60, 73–74, 90, 98
   term.h100%100%100%100%
masatake commented 2 months ago

Looks good to me.