MCPcopy Index your code
hub / github.com/aboutcode-org/vulnerablecode / __init__

Method __init__

vulnerabilities/oval_parser.py:27–31  ·  view source on GitHub ↗
(self, translations: Dict, oval_document: ET.ElementTree)

Source from the content-addressed store, hash-verified

25
26class OvalParser:
27 def __init__(self, translations: Dict, oval_document: ET.ElementTree):
28 self.translations = translations
29 self.oval_document = OvalDocument(oval_document)
30 self.all_definitions = self.oval_document.getDefinitions()
31 self.all_tests = self.oval_document.getTests()
32
33 def get_data(self) -> List[Dict]:
34 """

Callers

nothing calls this directly

Calls 3

OvalDocumentClass · 0.90
getDefinitionsMethod · 0.80
getTestsMethod · 0.80

Tested by

no test coverage detected