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

rjfarmer / gfModParser / 18542693371

15 Oct 2025 09:07PM UTC coverage: 88.199% (-0.6%) from 88.811%
18542693371

push

github

rjfarmer
Fix string test

1009 of 1144 relevant lines covered (88.2%)

0.88 hits per line

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

96.88
/gfModParser/modules/procedures.py
1
# SPDX-License-Identifier: GPL-2.0+
2

3
from .. import utils
1✔
4

5
from . import utils as u
1✔
6

7

8
class typebound_proc:
1✔
9
    def __init__(self, proc, *, version):
1✔
10
        self._proc = proc
1✔
11
        self.version = version
1✔
12

13
    @property
1✔
14
    def access(self):
1✔
15
        return self._proc[0]
1✔
16

17
    @property
1✔
18
    def overridable(self):
1✔
19
        return self._proc[1]
1✔
20

21
    # Also sho deferred here? see mio_typebound_proc
22

23
    @property
1✔
24
    def nopass(self) -> bool:
1✔
25
        return self._proc[2] == "NOPASS"
1✔
26

27
    @property
1✔
28
    def is_generic(self):
1✔
29
        return self._proc[3]
1✔
30

31
    @property
1✔
32
    def ppc(self):
1✔
33
        return self._proc[4]
1✔
34

35
    @property
1✔
36
    def pass_arg(self) -> str:
1✔
37
        # argument name
38
        return utils.string_clean(self._proc[5])
1✔
39

40
    @property
1✔
41
    def pass_arg_num(self) -> int:
1✔
42
        return int(self._proc[6])
1✔
43

44
    # # TODO: Handle is_generic
45
    @property
1✔
46
    def proc_ref(self):
1✔
47
        return int(self._proc[7])
×
48

49

50
class Arglist(u.ListSymbols):
1✔
51
    pass
1✔
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