/workspace/src/extensions/ChessBrowser/includes
(Dashboard)
Classes
Coverage Distribution
Complexity
Insufficient Coverage
Class
Coverage
MediaWiki\Extension\ChessBrowser\NagTable
0%
MediaWiki\Extension\ChessBrowser\PgnParser\GameParser
0%
MediaWiki\Extension\ChessBrowser\PgnParser\MoveBuilder
0%
MediaWiki\Extension\ChessBrowser\PgnParser\PgnGameParser
0%
MediaWiki\Extension\ChessBrowser\CastlingTracker
6%
MediaWiki\Extension\ChessBrowser\PgnParser\FenParser0x88
30%
MediaWiki\Extension\ChessBrowser\ChessBrowser
41%
MediaWiki\Extension\ChessBrowser\ChessParser
68%
MediaWiki\Extension\ChessBrowser\SquareRelations
70%
MediaWiki\Extension\ChessBrowser\ChessSquare
77%
MediaWiki\Extension\ChessBrowser\NotationAnalyzer
83%
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\ChessBrowser
608
MediaWiki\Extension\ChessBrowser\CastlingTracker
222
MediaWiki\Extension\ChessBrowser\PgnParser\GameParser
182
MediaWiki\Extension\ChessBrowser\ChessParser
80
MediaWiki\Extension\ChessBrowser\NotationAnalyzer
15
MediaWiki\Extension\ChessBrowser\ChessSquare
12
Methods
Coverage Distribution
Complexity
Insufficient Coverage
Method
Coverage
__construct
0%
isChessMove
0%
getFromAndToByLongNotation
0%
getParsed
0%
updateBoardData
0%
updatePieces
0%
getFen
0%
getNewFen
0%
__construct
0%
getParsedGame
0%
parseMoves
0%
parseAMove
0%
parseVariations
0%
__construct
0%
addMoves
0%
addMove
0%
addCommentBeforeFirstMove
0%
updateCode
0%
getMetadataKeyAndValue
0%
__construct
0%
getMoveString
0%
getMovesAndVariationFromString
0%
getMovesAndComments
0%
getMoves
0%
mergeAdjacentComments
0%
getMetadata
0%
addComment
0%
getParsedData
0%
__construct
0%
getMoves
0%
endVariation
0%
startVariation
0%
getActions
0%
isCastleMove
0%
isEnPassantMove
0%
getCountChecks
0%
getVariationSet
0%
getRank
0%
getAsVertical64
0%
__construct
0%
getPgnParserOutput
0%
createOutputJson
0%
getGameByIndex
0%
getMoveSet
0%
getRookCheckPath
0%
getLocalizedLegendLabels
0%
generatePieces
0%
newPosition
0%
decideResultString
0%
newGame
0%
updateForMove
0%
getFile
0%
replaceNag
0%
__construct
0%
getColor
0%
getBishopCheckPath
0%
getValidSquaresOnCheck
0%
getPinned
0%
getSlidingPiecesAttackingKing
0%
excludeInvalidSquares
0%
new
0%
getEnPassantSquare
0%
isValid
0%
parseFen
0%
setFen
0%
__construct
0%
getFromAndToByNotation
28%
getNotationForAMove
47%
getPromotion
50%
getValidMovePathsForPiece
75%
checkSpecialMove
77%
move
80%
__construct
88%
Project Risks
Method
CRAP
getFromAndToByNotation
740
getValidSquaresOnCheck
702
getSlidingPiecesAttackingKing
420
updateBoardData
306
getActions
306
getValidMovePathsForPiece
161
getNotationForAMove
134
updateForMove
132
mergeAdjacentComments
110
getMoves
110
getRookCheckPath
90
getBishopCheckPath
72
getPinned
72
getNewFen
72
updatePieces
56
addComment
56
getParsed
56
parseAMove
56
parseFen
56
getMetadata
42
isEnPassantMove
42
decideResultString
42
generatePieces
42
getMoveSet
42
getPgnParserOutput
30
getVariationSet
20
getColor
20
isCastleMove
20
checkSpecialMove
17
getGameByIndex
12
isValid
12
move
8
addMoves
6
addCommentBeforeFirstMove
6
isChessMove
6
startVariation
6
getMovesAndComments
6
addMove
6
__construct
6
parseVariations
6
parseMoves
6
getFen
6
updateCode
6
getEnPassantSquare
6
__construct
6
getLocalizedLegendLabels
6
newPosition
6
newGame
6
getMoveString
6
getPromotion
4
__construct
3