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

sile-typesetter / sile / 9304060604

30 May 2024 02:07PM UTC coverage: 74.124% (-0.6%) from 74.707%
9304060604

push

github

alerque
style: Reformat Lua with stylua

8104 of 11995 new or added lines in 184 files covered. (67.56%)

15 existing lines in 11 files now uncovered.

12444 of 16788 relevant lines covered (74.12%)

7175.1 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()
181✔
2
outputter.type = "outputter"
181✔
3
outputter._name = "base"
181✔
4

5
function outputter._init () end
362✔
6

7
function outputter.newPage () end
181✔
8

9
function outputter.finish () end
181✔
10

11
function outputter.getCursor () end
181✔
12

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

15
function outputter.setColor () end
181✔
16

17
function outputter.pushColor () end
181✔
18

19
function outputter.popColor () end
181✔
20

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

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

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

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

29
function outputter.drawSVG () end
181✔
30

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

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

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

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

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