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

sile-typesetter / sile / 5934519125

22 Aug 2023 04:39AM UTC coverage: 74.32% (+0.7%) from 73.575%
5934519125

push

github

web-flow
Merge pull request #1835 from alerque/correct-master-filename

14 of 14 new or added lines in 6 files covered. (100.0%)

11724 of 15775 relevant lines covered (74.32%)

6977.74 hits per line

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

83.33
/outputters/base.lua
1
local outputter = pl.class()
172✔
2
outputter.type = "outputter"
172✔
3
outputter._name = "base"
172✔
4

5
function outputter._init () end
344✔
6

7
function outputter.newPage () end
172✔
8

9
function outputter.finish () end
172✔
10

11
function outputter.getCursor () end
172✔
12

13
function outputter.setCursor (_, _, _, _) end
172✔
14

15
function outputter.setColor () end
172✔
16

17
function outputter.pushColor () end
172✔
18

19
function outputter.popColor () end
172✔
20

21
function outputter.drawHbox (_, _, _) end
172✔
22

23
function outputter.setFont (_, _) end
172✔
24

25
function outputter.drawImage (_, _, _, _, _, _) end
172✔
26

27
function outputter.getImageSize (_, _) end
172✔
28

29
function outputter.drawSVG () end
172✔
30

31
function outputter.drawRule (_, _, _, _, _) end
172✔
32

33
function outputter.debugFrame (_, _, _) end
172✔
34

35
function outputter.debugHbox (_, _, _) end
172✔
36

37
function outputter:getOutputFilename ()
172✔
38
  local fname
39
  if SILE.outputFilename then
344✔
40
    fname = SILE.outputFilename
344✔
41
  elseif SILE.input.filenames[1] then
×
42
    fname = pl.path.splitext(SILE.input.filenames[1])
×
43
    if self.extension then
×
44
      fname = fname .. "." .. self.extension
×
45
    end
46
  end
47
  if not fname then
344✔
48
    SU.error("Cannot guess output filename without an input name")
×
49
  end
50
  return fname
344✔
51
end
52

53
return outputter
172✔
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