Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Bugix/#495 #497

Merged
merged 7 commits into from
Nov 3, 2024
Merged

Bugix/#495 #497

merged 7 commits into from
Nov 3, 2024

Conversation

b3b00
Copy link
Owner

@b3b00 b3b00 commented Nov 3, 2024

No description provided.

Copy link

codesandbox bot commented Nov 3, 2024

Review or Edit in CodeSandbox

Open the branch in Web EditorVS CodeInsiders

Open Preview

Copy link

sonarcloud bot commented Nov 3, 2024

Copy link

github-actions bot commented Nov 3, 2024

Summary

Generated on: 11/3/2024 - 5:19:32 PM
Parser: LCovParser
Assemblies: 1
Classes: 124
Files: 124
Covered lines: 6360
Uncovered lines: 690
Coverable lines: 7050
Total lines: 12214
Line coverage: 90.2% (6360 of 7050)
Covered branches: 2091
Total branches: 2390
Branch coverage: 87.4% (2091 of 2390)
Tag: 1051_11653236774
Name Covered Uncovered Coverable Total Line coverage Covered Total Branch coverage
Default 6360 690 7050 12214 90.2% 2091 2390 87.4%
D:\a\csly\csly\src\samples\SlowEOS\Program.cs 0 30 30 55 0% 0 6 0%
D:\a\csly\csly\src\samples\SlowEOS\SlowOnBadParseEos.cs 0 93 93 203 0% 0 0
D:\a\csly\csly\src\samples\SlowEOS\SlowOnBadParseEosReducedPrecedences.cs 0 93 93 228 0% 0 0
D:\a\csly\csly\src\sly\buildresult\BuildResult.cs 20 0 20 65 100% 2 2 100%
D:\a\csly\csly\src\sly\buildresult\InitializationError.cs 9 0 9 18 100% 0 0
D:\a\csly\csly\src\sly\buildresult\LexerInitializationError.cs 3 0 3 9 100% 0 0
D:\a\csly\csly\src\sly\buildresult\ParserInitializationError.cs 3 0 3 9 100% 0 0
D:\a\csly\csly\src\sly\EnumConverter.cs 13 1 14 32 92.8% 1 2 50%
D:\a\csly\csly\src\sly\i18n\I18N.cs 42 2 44 73 95.4% 14 16 87.5%
D:\a\csly\csly\src\sly\i18n\LexemeLabelAttribute.cs 7 0 7 19 100% 0 0
D:\a\csly\csly\src\sly\lexer\attributes\AlphaIdAttribute.cs 3 0 3 10 100% 0 0
D:\a\csly\csly\src\sly\lexer\attributes\AlphaNumDashIdAttribute.cs 3 0 3 10 100% 0 0
D:\a\csly\csly\src\sly\lexer\attributes\AlphaNumIdAttribute.cs 3 0 3 10 100% 0 0
D:\a\csly\csly\src\sly\lexer\attributes\CallBacksAttribute.cs 5 0 5 16 100% 0 0
D:\a\csly\csly\src\sly\lexer\attributes\CharAttribute.cs 3 0 3 9 100% 0 0
D:\a\csly\csly\src\sly\lexer\attributes\CommentsAttribute.cs 11 0 11 29 100% 0 0
D:\a\csly\csly\src\sly\lexer\attributes\CustomIdAttribute.cs 3 0 3 10 100% 0 0
D:\a\csly\csly\src\sly\lexer\attributes\DateAttribute.cs 4 0 4 16 100% 0 0
D:\a\csly\csly\src\sly\lexer\attributes\DoubleAttribute.cs 4 0 4 10 100% 0 0
D:\a\csly\csly\src\sly\lexer\attributes\ExtensionAttribute.cs 3 0 3 10 100% 0 0
D:\a\csly\csly\src\sly\lexer\attributes\HexaAttribute.cs 4 0 4 11 100% 0 0
D:\a\csly\csly\src\sly\lexer\attributes\IntAttribute.cs 3 0 3 10 100% 0 0
D:\a\csly\csly\src\sly\lexer\attributes\KeywordAttribute.cs 3 0 3 10 100% 0 0
D:\a\csly\csly\src\sly\lexer\attributes\LexemeAttribute.cs 54 1 55 93 98.1% 11 14 78.5%
D:\a\csly\csly\src\sly\lexer\attributes\ModeAttribute.cs 9 0 9 23 100% 0 0
D:\a\csly\csly\src\sly\lexer\attributes\MultiLineCommentAttribute.cs 2 0 2 11 100% 0 0
D:\a\csly\csly\src\sly\lexer\attributes\PopAttribute.cs 3 0 3 12 100% 0 0
D:\a\csly\csly\src\sly\lexer\attributes\PushAttribute.cs 5 0 5 15 100% 0 0
D:\a\csly\csly\src\sly\lexer\attributes\SingleLineCommentAttribute.cs 2 0 2 11 100% 0 0
D:\a\csly\csly\src\sly\lexer\attributes\StringAttribute.cs 3 0 3 9 100% 0 0
D:\a\csly\csly\src\sly\lexer\attributes\SugarAttribute.cs 6 0 6 15 100% 0 0
D:\a\csly\csly\src\sly\lexer\attributes\UpToAttribute.cs 3 0 3 9 100% 0 0
D:\a\csly\csly\src\sly\lexer\CallBacksBuilder.cs 27 0 27 45 100% 10 10 100%
D:\a\csly\csly\src\sly\lexer\fsm\EOLManager.cs 61 0 61 88 100% 26 26 100%
D:\a\csly\csly\src\sly\lexer\fsm\FSMLexer.cs 278 15 293 462 94.8% 88 97 90.7%
D:\a\csly\csly\src\sly\lexer\fsm\FSMLexerBuilder.cs 269 107 376 589 71.5% 59 88 67%
D:\a\csly\csly\src\sly\lexer\fsm\FSMMatch.cs 73 0 73 116 100% 2 2 100%
D:\a\csly\csly\src\sly\lexer\fsm\FSMNode.cs 17 0 17 32 100% 4 6 66.6%
D:\a\csly\csly\src\sly\lexer\fsm\FSMTransition.cs 16 0 16 43 100% 0 0
D:\a\csly\csly\src\sly\lexer\fsm\transitioncheck\AbstractTransitionCheck.cs 7 0 7 38 100% 4 4 100%
D:\a\csly\csly\src\sly\lexer\fsm\transitioncheck\TransitionAny.cs 0 10 10 28 0% 0 0
D:\a\csly\csly\src\sly\lexer\fsm\transitioncheck\TransitionAnyExcept.cs 11 6 17 43 64.7% 0 0
D:\a\csly\csly\src\sly\lexer\fsm\transitioncheck\TransitionMany.cs 7 5 12 36 58.3% 0 0
D:\a\csly\csly\src\sly\lexer\fsm\transitioncheck\TransitionMultiRange.cs 19 0 19 63 100% 7 8 87.5%
D:\a\csly\csly\src\sly\lexer\fsm\transitioncheck\TransitionRange.cs 8 6 14 39 57.1% 2 2 100%
D:\a\csly\csly\src\sly\lexer\fsm\transitioncheck\TransitionSingle.cs 12 0 12 35 100% 0 0
D:\a\csly\csly\src\sly\lexer\GenericLexer.cs 893 62 955 1277 93.5% 269 303 88.7%
D:\a\csly\csly\src\sly\lexer\IndentationError.cs 7 0 7 19 100% 0 0
D:\a\csly\csly\src\sly\lexer\Lexer.cs 58 3 61 105 95% 15 16 93.7%
D:\a\csly\csly\src\sly\lexer\LexerAttribute.cs 11 0 11 48 100% 8 8 100%
D:\a\csly\csly\src\sly\lexer\LexerBuilder.cs 598 24 622 817 96.1% 271 294 92.1%
D:\a\csly\csly\src\sly\lexer\LexerIndentation.cs 50 8 58 96 86.2% 17 24 70.8%
D:\a\csly\csly\src\sly\lexer\LexerPosition.cs 40 3 43 94 93% 2 2 100%
D:\a\csly\csly\src\sly\lexer\LexerResult.cs 18 0 18 49 100% 0 0
D:\a\csly\csly\src\sly\lexer\LexicalError.cs 10 0 10 30 100% 0 0
D:\a\csly\csly\src\sly\lexer\Token.cs 151 13 164 370 92% 44 52 84.6%
D:\a\csly\csly\src\sly\lexer\TokenCallbackAttribute.cs 5 0 5 14 100% 0 0
D:\a\csly\csly\src\sly\lexer\TokenChannel.cs 35 1 36 81 97.2% 15 18 83.3%
D:\a\csly\csly\src\sly\lexer\TokenChannels.cs 68 3 71 134 95.7% 27 28 96.4%
D:\a\csly\csly\src\sly\lexer\TokenDefinition.cs 13 0 13 45 100% 0 0
D:\a\csly\csly\src\sly\parser\generator\AutoCloseIndentationsAttribute.cs 3 0 3 12 100% 0 0
D:\a\csly\csly\src\sly\parser\generator\BroadenTokenWindowAttribute.cs 3 0 3 12 100% 0 0
D:\a\csly\csly\src\sly\parser\generator\EBNFParserBuilder.cs 107 12 119 182 89.9% 29 34 85.2%
D:\a\csly\csly\src\sly\parser\generator\ExpressionRulesGenerator.cs 283 6 289 375 97.9% 98 104 94.2%
D:\a\csly\csly\src\sly\parser\generator\InfixAttribute.cs 6 0 6 13 100% 0 0
D:\a\csly\csly\src\sly\parser\generator\LeftAttribute.cs 3 3 6 12 50% 0 0
D:\a\csly\csly\src\sly\parser\generator\LeftRecursionChecker.cs 95 0 95 149 100% 42 42 100%
D:\a\csly\csly\src\sly\parser\generator\NodeNameAttribute.cs 5 0 5 14 100% 0 0
D:\a\csly\csly\src\sly\parser\generator\NonTerminal.cs 13 0 13 48 100% 2 2 100%
D:\a\csly\csly\src\sly\parser\generator\OperationAttribute.cs 25 0 25 67 100% 0 0
D:\a\csly\csly\src\sly\parser\generator\OperationMetaData.cs 29 0 29 56 100% 4 4 100%
D:\a\csly\csly\src\sly\parser\generator\ParserBuilder.cs 463 38 501 723 92.4% 218 234 93.1%
D:\a\csly\csly\src\sly\parser\generator\ParserConfiguration.cs 40 1 41 76 97.5% 25 26 96.1%
D:\a\csly\csly\src\sly\parser\generator\ParserConfigurationException.cs 3 0 3 11 100% 0 0
D:\a\csly\csly\src\sly\parser\generator\ParserRootAttribute.cs 5 0 5 18 100% 0 0
D:\a\csly\csly\src\sly\parser\generator\PostfixAttribute.cs 6 0 6 13 100% 0 0
D:\a\csly\csly\src\sly\parser\generator\PrefixAttribute.cs 6 0 6 13 100% 0 0
D:\a\csly\csly\src\sly\parser\generator\ProductionAttribute.cs 5 0 5 15 100% 0 0
D:\a\csly\csly\src\sly\parser\generator\RightAttribute.cs 3 3 6 12 50% 0 0
D:\a\csly\csly\src\sly\parser\generator\RuleParser.cs 143 0 143 282 100% 14 14 100%
D:\a\csly\csly\src\sly\parser\generator\UseMemoizationAttribute.cs 3 0 3 12 100% 0 0
D:\a\csly\csly\src\sly\parser\generator\visitor\ConcreteSyntaxTreeWalker.cs 34 22 56 105 60.7% 17 28 60.7%
D:\a\csly\csly\src\sly\parser\generator\visitor\dotgraph\DotArrow.cs 20 1 21 39 95.2% 2 4 50%
D:\a\csly\csly\src\sly\parser\generator\visitor\dotgraph\DotGraph.cs 55 2 57 92 96.4% 14 20 70%
D:\a\csly\csly\src\sly\parser\generator\visitor\dotgraph\DotNode.cs 30 0 30 48 100% 2 2 100%
D:\a\csly\csly\src\sly\parser\generator\visitor\EBNFSyntaxTreeVisitor.cs 151 2 153 215 98.6% 70 72 97.2%
D:\a\csly\csly\src\sly\parser\generator\visitor\SyntaxTreeVisitor.cs 129 5 134 223 96.2% 22 28 78.5%
D:\a\csly\csly\src\sly\parser\parser\Group.cs 28 0 28 75 100% 2 4 50%
D:\a\csly\csly\src\sly\parser\parser\GroupItem.cs 20 1 21 60 95.2% 1 2 50%
D:\a\csly\csly\src\sly\parser\parser\llparser\bnf\RecursiveDescentSyntaxParser.cs 166 8 174 250 95.4% 65 72 90.2%
D:\a\csly\csly\src\sly\parser\parser\llparser\bnf\RecursiveDescentSyntaxParser.Expressions.cs 33 0 33 57 100% 19 20 95%
D:\a\csly\csly\src\sly\parser\parser\llparser\bnf\RecursiveDescentSyntaxParser.NonTerminal.cs 100 0 100 138 100% 49 50 98%
D:\a\csly\csly\src\sly\parser\parser\llparser\bnf\RecursiveDescentSyntaxParser.Terminal.cs 20 0 20 40 100% 6 6 100%
D:\a\csly\csly\src\sly\parser\parser\llparser\bnf\RecursiveDescentSyntaxParserStarter.cs 111 5 116 178 95.6% 42 42 100%
D:\a\csly\csly\src\sly\parser\parser\llparser\ebnf\EBNFRecursiveDescentSyntaxParser.cs 111 0 111 167 100% 59 64 92.1%
D:\a\csly\csly\src\sly\parser\parser\llparser\ebnf\EBNFRecursiveDescentSyntaxParser.EBNFRecursiveDescentSyntaxParser.Choice.cs 36 3 39 73 92.3% 19 22 86.3%
D:\a\csly\csly\src\sly\parser\parser\llparser\ebnf\EBNFRecursiveDescentSyntaxParser.Expressions.cs 75 18 93 140 80.6% 31 50 62%
D:\a\csly\csly\src\sly\parser\parser\llparser\ebnf\EBNFRecursiveDescentSyntaxParser.Many.cs 117 6 123 181 95.1% 44 54 81.4%
D:\a\csly\csly\src\sly\parser\parser\llparser\ebnf\EBNFRecursiveDescentSyntaxParser.Option.cs 61 3 64 103 95.3% 18 20 90%
D:\a\csly\csly\src\sly\parser\parser\llparser\ebnf\EBNFRecursiveDescentSyntaxParserStarter.cs 101 19 120 218 84.1% 54 62 87%
D:\a\csly\csly\src\sly\parser\parser\ParseError.cs 3 13 16 42 18.7% 0 8 0%
D:\a\csly\csly\src\sly\parser\parser\Parser.cs 133 3 136 200 97.7% 49 52 94.2%
D:\a\csly\csly\src\sly\parser\parser\ParseResult.cs 5 0 5 33 100% 0 0
D:\a\csly\csly\src\sly\parser\parser\SyntaxParseResult.cs 33 0 33 78 100% 6 6 100%
D:\a\csly\csly\src\sly\parser\parser\SyntaxParsingContext.cs 23 0 23 42 100% 4 4 100%
D:\a\csly\csly\src\sly\parser\parser\SyntaxTreeCleaner.cs 48 0 48 77 100% 26 26 100%
D:\a\csly\csly\src\sly\parser\parser\UnexpectedTokenSyntaxError.cs 50 6 56 143 89.2% 17 26 65.3%
D:\a\csly\csly\src\sly\parser\parser\ValueOption.cs 31 0 31 54 100% 2 2 100%
D:\a\csly\csly\src\sly\parser\syntax\grammar\ChoiceClause.cs 19 0 19 92 100% 8 8 100%
D:\a\csly\csly\src\sly\parser\syntax\grammar\ClauseSequence.cs 12 3 15 58 80% 0 0
D:\a\csly\csly\src\sly\parser\syntax\grammar\GroupClause.cs 12 0 12 71 100% 0 0
D:\a\csly\csly\src\sly\parser\syntax\grammar\LeadingToken.cs 40 10 50 93 80% 11 22 50%
D:\a\csly\csly\src\sly\parser\syntax\grammar\ManyClause.cs 1 0 1 12 100% 0 0
D:\a\csly\csly\src\sly\parser\syntax\grammar\NonTerminalClause.cs 9 0 9 67 100% 0 0
D:\a\csly\csly\src\sly\parser\syntax\grammar\OneOrMoreClause.cs 7 0 7 40 100% 0 0
D:\a\csly\csly\src\sly\parser\syntax\grammar\OptionClause.cs 9 0 9 65 100% 1 2 50%
D:\a\csly\csly\src\sly\parser\syntax\grammar\Rule.cs 104 4 108 191 96.2% 46 56 82.1%
D:\a\csly\csly\src\sly\parser\syntax\grammar\TerminalClause.cs 35 1 36 135 97.2% 6 6 100%
D:\a\csly\csly\src\sly\parser\syntax\grammar\ZeroOrMoreClause.cs 7 0 7 41 100% 0 0
D:\a\csly\csly\src\sly\parser\syntax\tree\GroupSyntaxNode.cs 7 0 7 17 100% 0 0
D:\a\csly\csly\src\sly\parser\syntax\tree\ManySyntaxNode.cs 9 0 9 23 100% 0 0
D:\a\csly\csly\src\sly\parser\syntax\tree\OptionSyntaxNode.cs 4 0 4 14 100% 0 0
D:\a\csly\csly\src\sly\parser\syntax\tree\SyntaxLeaf.cs 16 0 16 33 100% 0 0
D:\a\csly\csly\src\sly\parser\syntax\tree\SyntaxNode.cs 98 6 104 170 94.2% 49 62 79%

@b3b00 b3b00 merged commit 352dcdb into dev Nov 3, 2024
6 checks passed
@coveralls
Copy link

Pull Request Test Coverage Report for Build 11653236774

Details

  • 9 of 9 (100.0%) changed or added relevant lines in 1 file are covered.
  • No unchanged relevant lines lost coverage.
  • Overall coverage increased (+0.01%) to 89.523%

Totals Coverage Status
Change from base Build 11626899462: 0.01%
Covered Lines: 6360
Relevant Lines: 7050

💛 - Coveralls

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants