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

rjfarmer / gfModParser / 15376618812

01 Jun 2025 03:24PM UTC coverage: 90.789% (+0.7%) from 90.135%
15376618812

push

github

rjfarmer
Add interfaces, operators, and generics

93 of 96 new or added lines in 3 files covered. (96.88%)

20 existing lines in 2 files now uncovered.

966 of 1064 relevant lines covered (90.79%)

0.91 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 defered here? see mio_typebound_proc
22

23
    @property
1✔
24
    def nopass(self):
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):
1✔
37
        # argument name
38
        return utils.string_clean(self._proc[5])
1✔
39

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

44
    # # TODO: Handle is_generic
45
    @property
1✔
46
    def proc_ref(self):
1✔
UNCOV
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