pyk
Contents:
pyk
pyk package
Subpackages
Submodules
pyk.coverage module
pyk.dequote module
pyk.kcovr module
pyk.utils module
pyk
pyk
pyk package
pyk.kcovr module
View page source
pyk.kcovr module
count_lines_covered
(
rule_map
:
Mapping
[
str
,
tuple
[
str
,
int
,
int
]
]
,
cover_map
:
Mapping
[
str
,
int
]
)
→
int
[source]
count_lines_file
(
rule_map_file
:
Mapping
[
str
,
tuple
[
int
,
int
]
]
)
→
int
[source]
count_lines_global
(
rule_map
:
Mapping
[
str
,
tuple
[
str
,
int
,
int
]
]
)
→
int
[source]
count_rules_covered
(
cover_map
:
Mapping
[
str
,
int
]
)
→
int
[source]
create_cover_map
(
definition_dirs
:
Iterable
[
Path
]
)
→
dict
[
str
,
int
]
[source]
create_rule_map
(
definition_dirs
:
Iterable
[
Path
]
)
→
dict
[
str
,
tuple
[
str
,
int
,
int
]
]
[source]
create_rule_map_by_file
(
rule_map
:
Mapping
[
str
,
tuple
[
str
,
int
,
int
]
]
)
→
dict
[
str
,
dict
[
str
,
tuple
[
int
,
int
]
]
]
[source]
create_rule_map_by_line
(
rule_map_file
:
Mapping
[
str
,
tuple
[
int
,
int
]
]
)
→
dict
[
int
,
list
[
str
]
]
[source]
main
(
)
→
None
[source]
parse_args
(
)
→
tuple
[
tuple
[
Path
,
...
]
,
tuple
[
Path
,
...
]
]
[source]
render_classes
(
rule_map
:
Mapping
[
str
,
tuple
[
str
,
int
,
int
]
]
,
cover_map
:
Mapping
[
str
,
int
]
,
source_files
:
Iterable
[
Path
]
,
source_dir
:
Path
)
→
list
[
str
]
[source]
render_coverage_xml
(
definition_dirs
:
Iterable
[
Path
]
,
source_files
:
Iterable
[
Path
]
)
→
str
[source]
render_lines
(
rule_map_file
:
Mapping
[
str
,
tuple
[
int
,
int
]
]
,
cover_map_file
:
Mapping
[
str
,
int
]
)
→
list
[
str
]
[source]