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

protofire / solhint / #74847

29 May 2021 02:16PM UTC coverage: 92.308% (+0.2%) from 92.08%
#74847

push

fvictorio
3.3.6

518 of 617 branches covered (83.95%)

1200 of 1300 relevant lines covered (92.31%)

148.16 hits per line

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

66.67
/lib/common/ast-types.js
1
function isFallbackFunction(node) {
2
  return isFunctionDefinition(node) && node.isFallback
97✔
3
}
4

5
function isReceiveFunction(node) {
6
  return isFunctionDefinition(node) && node.isReceiveEther
74✔
7
}
8

9
function isFunctionDefinition(node) {
10
  return node.type === 'FunctionDefinition'
171✔
11
}
12

13
function isStructDefinition(node) {
14
  return node.type === 'StructDefinition'
×
15
}
16

17
function isEnumDefinition(node) {
18
  return node.type === 'EnumDefinition'
×
19
}
20

21
module.exports = {
1✔
22
  isFallbackFunction,
23
  isReceiveFunction,
24
  isFunctionDefinition,
25
  isStructDefinition,
26
  isEnumDefinition
27
}
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