MCPcopy Create free account
hub / github.com/aboutcode-org/scancode-toolkit / len

Method len

src/licensedcode/match.py:418–422  ·  view source on GitHub ↗

Return the length of the match as the number of matched query tokens.

(self)

Source from the content-addressed store, hash-verified

416 return self.qspan.end
417
418 def len(self):
419 """
420 Return the length of the match as the number of matched query tokens.
421 """
422 return len(self.qspan)
423
424 @property
425 def istart(self):

Callers 15

representationMethod · 0.95
_icoverageMethod · 0.95
is_continuousMethod · 0.95
qdensityMethod · 0.95
scoreMethod · 0.95
is_smallMethod · 0.95
to_dictMethod · 0.95
match_fragmentsFunction · 0.95
get_matchFunction · 0.45
merge_matchesFunction · 0.45
filter_contained_matchesFunction · 0.45

Calls

no outgoing calls

Tested by

no test coverage detected