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

sile-typesetter / sile / 11770252752

11 Nov 2024 01:09AM UTC coverage: 32.853% (-27.5%) from 60.402%
11770252752

Pull #2164

github

web-flow
chore(deps): Bump DeterminateSystems/nix-installer-action from 14 to 15

Bumps [DeterminateSystems/nix-installer-action](https://github.com/determinatesystems/nix-installer-action) from 14 to 15.
- [Release notes](https://github.com/determinatesystems/nix-installer-action/releases)
- [Commits](https://github.com/determinatesystems/nix-installer-action/compare/v14...v15)

---
updated-dependencies:
- dependency-name: DeterminateSystems/nix-installer-action
  dependency-type: direct:production
  update-type: version-update:semver-major
...

Signed-off-by: dependabot[bot] <support@github.com>
Pull Request #2164: chore(deps): Bump DeterminateSystems/nix-installer-action from 14 to 15

5855 of 17822 relevant lines covered (32.85%)

2493.73 hits per line

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

75.51
/outputters/base.lua
1
--- SILE outputter class.
2
-- @interfaces outputters
3

4
local outputter = pl.class()
4✔
5
outputter.type = "outputter"
4✔
6
outputter._name = "base"
4✔
7

8
function outputter:_init ()
4✔
9
   self.hooks = {}
4✔
10
   return self
4✔
11
end
12

13
function outputter:registerHook (category, func)
4✔
14
   if not self.hooks[category] then
×
15
      self.hooks[category] = {}
×
16
   end
17
   table.insert(self.hooks[category], func)
×
18
end
19

20
function outputter:runHooks (category, data)
4✔
21
   if not self.hooks[category] then
4✔
22
      return nil
4✔
23
   end
24
   for _, func in ipairs(self.hooks[category]) do
×
25
      data = func(self, data)
×
26
   end
27
   return data
×
28
end
29

30
function outputter.newPage () end
4✔
31

32
function outputter:finish ()
4✔
33
   self:runHooks("prefinish")
×
34
end
35

36
function outputter.getCursor () end
4✔
37

38
function outputter.setCursor (_, _, _, _) end
4✔
39

40
function outputter.setColor () end
4✔
41

42
function outputter.pushColor () end
4✔
43

44
function outputter.popColor () end
4✔
45

46
function outputter.drawHbox (_, _, _) end
4✔
47

48
function outputter.setFont (_, _) end
4✔
49

50
function outputter.drawImage (_, _, _, _, _, _) end
4✔
51

52
function outputter.getImageSize (_, _) end
4✔
53

54
function outputter.drawSVG () end
4✔
55

56
function outputter.drawRule (_, _, _, _, _) end
4✔
57

58
function outputter.debugFrame (_, _, _) end
4✔
59

60
function outputter.debugHbox (_, _, _) end
4✔
61

62
function outputter.setLinkAnchor (_, _, _) end -- Unstable API
4✔
63

64
function outputter.beginLink (_, _, _) end -- Unstable API
4✔
65

66
function outputter.endLink (_, _, _, _, _, _, _) end -- Unstable API
4✔
67

68
function outputter.setMetadata (_, _, _) end
4✔
69

70
function outputter.setBookmark (_, _, _) end
4✔
71

72
function outputter.drawRaw (_) end
4✔
73

74
function outputter:getOutputFilename ()
4✔
75
   local fname
76
   if SILE.outputFilename then
4✔
77
      fname = SILE.outputFilename
4✔
78
   elseif SILE.input.filenames[1] then
×
79
      fname = pl.path.splitext(SILE.input.filenames[1])
×
80
      if self.extension then
×
81
         fname = fname .. "." .. self.extension
×
82
      end
83
   end
84
   if not fname then
4✔
85
      SU.error("Cannot guess output filename without an input name")
×
86
   end
87
   return fname
4✔
88
end
89

90
return outputter
4✔
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