/workspace/src/extensions/ChessBrowser/includes
PgnParser
(Dashboard)
Classes
Coverage Distribution
Complexity
Insufficient Coverage
Class
Coverage
MediaWiki\Extension\ChessBrowser\PgnParser\MoveBuilder
0%
MediaWiki\Extension\ChessBrowser\PgnParser\GameParser
0%
MediaWiki\Extension\ChessBrowser\PgnParser\PgnGameParser
0%
MediaWiki\Extension\ChessBrowser\PgnParser\FenParser0x88
30%
Project Risks
Class
CRAP
MediaWiki\Extension\ChessBrowser\PgnParser\FenParser0x88
37887
MediaWiki\Extension\ChessBrowser\PgnParser\MoveBuilder
1406
MediaWiki\Extension\ChessBrowser\PgnParser\PgnGameParser
1190
MediaWiki\Extension\ChessBrowser\PgnParser\GameParser
182
Methods
Coverage Distribution
Complexity
Insufficient Coverage
Method
Coverage
__construct
0%
getActions
0%
parseMoves
0%
parseAMove
0%
parseVariations
0%
__construct
0%
addMoves
0%
addMove
0%
isChessMove
0%
addCommentBeforeFirstMove
0%
addComment
0%
startVariation
0%
__construct
0%
endVariation
0%
getMoves
0%
__construct
0%
getParsedData
0%
getMetadata
0%
getMetadataKeyAndValue
0%
mergeAdjacentComments
0%
getMoves
0%
getMovesAndComments
0%
getMovesAndVariationFromString
0%
getParsedGame
0%
getNewFen
0%
setFen
0%
getBishopCheckPath
0%
parseFen
0%
isValid
0%
getEnPassantSquare
0%
getColor
0%
excludeInvalidSquares
0%
getSlidingPiecesAttackingKing
0%
getPinned
0%
getValidSquaresOnCheck
0%
getRookCheckPath
0%
getCountChecks
0%
isEnPassantMove
0%
isCastleMove
0%
getFromAndToByLongNotation
0%
getParsed
0%
updateBoardData
0%
updatePieces
0%
getFen
0%
getMoveString
0%
getFromAndToByNotation
28%
getNotationForAMove
47%
getValidMovePathsForPiece
75%
move
80%
Project Risks
Method
CRAP
getFromAndToByNotation
740
getValidSquaresOnCheck
702
getSlidingPiecesAttackingKing
420
getActions
306
updateBoardData
306
getValidMovePathsForPiece
161
getNotationForAMove
134
mergeAdjacentComments
110
getMoves
110
getRookCheckPath
90
getPinned
72
getBishopCheckPath
72
getNewFen
72
parseAMove
56
parseFen
56
updatePieces
56
getParsed
56
addComment
56
isEnPassantMove
42
getMetadata
42
isCastleMove
20
getColor
20
isValid
12
move
8
getMovesAndComments
6
startVariation
6
__construct
6
getFen
6
addCommentBeforeFirstMove
6
isChessMove
6
addMove
6
addMoves
6
parseVariations
6
parseMoves
6
getEnPassantSquare
6
getMoveString
6