Skip to content

v0.0.48

Pre-release
Pre-release

Choose a tag to compare

@RalfKoban RalfKoban released this 15 Mar 11:49
· 2199 commits to master since this release
786d05e

What's Changed

  • MiKo_2013 better fixes types with 'Type', 'Enum' or 'Kind' in its name / summary by @RalfKoban in #1044
  • Code cleaned up a bit by @RalfKoban in #1045
  • MiKo_3081 is now aware of directives by @RalfKoban in #1046
  • Code cleanup by @RalfKoban in #1047
  • Pluralization code in Verbalizer moved into Pluralizer by @RalfKoban in #1048
  • Refactored single line comment analyzer by @RalfKoban in #1049
  • Added 'JetBrains.Profiler.Api' to profile tests by @RalfKoban in #1050
  • String optimization by @RalfKoban in #1051
  • Profiling made configurable to avoid thousands of windows popping up when profiling all tests at once by @RalfKoban in #1053
  • MiKo_2013 is now aware of sentence ending for special kinds by @RalfKoban in #1055
  • MiKo_6043 is now aware of lambdas containing conditional access calls by @RalfKoban in #1056
  • slight performance improvement by @RalfKoban in #1052
  • Added new rule MiKo_3222 to simplify string comparisons by @RalfKoban in #1057
  • Added new rule MiKo_6060 for switch casel labels to be on single line by @RalfKoban in #1061
  • Updated 'Microsoft.CodeAnalysis.Analyzers' to v3.11 by @RalfKoban in #1062
  • Added new rule MiKo_6059 (later on changed to MiKo_6061) for switch expression arms to be on single lines by @RalfKoban in #1063
  • MiKo_6044 enhanced to report also on prefix/postfix unary expressions by @RalfKoban in #1064
  • Added new rule MiKo_6059 that reports if operators of binary expressions are not properly outdented by @RalfKoban in #1065
  • MiKo_6059 is now aware of arguments, assignments and variable declarations by @RalfKoban in #1066
  • Added new rule MiKo_3223 to simplify reference comparisons by @RalfKoban in #1068
  • GetPositionWithinEndLine() added by @RalfKoban in #1069
  • Refactored MiKo_3222 and MiKo_3223 analyzer code by @RalfKoban in #1070
  • Added 'coverlet.collector' in v6.0.2 by @RalfKoban in #1071
  • Added new rule MiKo_3224 to simplify value comparisons by @RalfKoban in #1072
  • Added new rule MiKo_3225 to simplify redundant conditions by @RalfKoban in #1073
  • MiKo_6060 is now aware of "is" pattern expressions in switch case arms by @RalfKoban in #1074
  • Update README.md by @RalfKoban in #1076
  • Added 'ReportGenerator' v5.3.10 as dependency, updated 'appveyor.yml' for tests by @RalfKoban in #1075
  • Added new rule MiKo_3065 that reports and fixes string interpolations for Microsoft.Logging calls by @RalfKoban in #1077
  • MiK_2013 codefix now detects if the type ends with 'Enum' but not in comment by @RalfKoban in #1078
  • MiKo_2082 can now handle special enum text "Enum XYZEnum for XYZ" by @RalfKoban in #1079
  • MiKo_2082 can now handle special enum type 'TypeEnum' by @RalfKoban in #1080
  • Added new project that is used for tests and contains all code by @RalfKoban in #1081
  • Added tests for NamesFinder and Pair by @RalfKoban in #1082
  • Refactored detection of arguments in question in MiKo_3109 by @RalfKoban in #1083
  • MiKo_1063 is now aware of 'def' for 'definition' by @RalfKoban in #1084
  • MiKo_2082 code fix is now aware of 'Types' and 'Kinds' and replaces them properly by @RalfKoban in #1085
  • MiKo_2082 is now aware of 'None', 'On', 'Off' and 'Undefined' by @RalfKoban in #1086
  • MiKo_2082 is now aware of some gerunds by @RalfKoban in #1087
  • MiKo_1048 title and description fixed by @RalfKoban in #1089
  • MiKo_2082 is now aware of 'warning' and some other nouns by @RalfKoban in #1091
  • MiKo_1063 can now fix abbreviations in names by @RalfKoban in #1092
  • MiKo_1115 is now aware of 'Consumed' and 'Rejected' by @RalfKoban in #1096
  • MiKo_2013 codefix is now able to detect and fix abbreviations by @RalfKoban in #1097
  • MiKo_2013 can now fix 'StateOf' text by @RalfKoban in #1098
  • Added new rule MiKo_6070 to surround 'Console' calls with blank lines by @RalfKoban in #1099
  • MiKo_3065 is now aware of parameters and 'string.Format' by @RalfKoban in #1100
  • MiKo_2016 is now aware of non-singular words and attempts to fix when adding 'Asynchronously' by @RalfKoban in #1102
  • MiKo_2042 codefix now can fix '<p/>' by @RalfKoban in #1101
  • Suppressed/fixed analysis errors reported by VS IDE by @RalfKoban in #1105
  • slight refactoring for performance reasons by @RalfKoban in #1106
  • XML tags updated by MiKo_20xx code fixes are now on separate lines, MiKo_2013 code fix lower-cases starting word, MiKo_2035 code fix considers generic by @RalfKoban in #1107
  • MiKo_2041 codefix now replaces empty summaries with the nested XMLs by @RalfKoban in #1109
  • MiKo_3301 is now aware of 'async' modifier by @RalfKoban in #1110
  • MiKo_1080 now ignores endings with '_one', '_first', '_second', '_third' by @RalfKoban in #1111
  • MiKo_2055 and MiKo_2012 adjusted to increase performance by @RalfKoban in #1112
  • Removed obsolete namespaces in MiKo_3301 and MiKo_3302 tests, added missing test for MiKo_3301 by @RalfKoban in #1113
  • Tests using 'Assert.Multiple' refactored to now use '[ValueSource]' attributes by @RalfKoban in #1114
  • ReportDiagnostics no longer runs loops for empty issue list by @RalfKoban in #1115
  • Descriptions now explain more the reasoning behind the rules by @RalfKoban in #1116
  • Descriptions now explain more the reasoning behind the rules by @RalfKoban in #1117
  • MiKo_1046 no longer reports on global statements by @RalfKoban in #1118
  • Descriptions now explain more the reasoning behind the rules by @RalfKoban in #1119
  • MiKo_1042 now ignores overridden methods by @RalfKoban in #1120
  • Removed unnecessary ToString() by @RalfKoban in #1121
  • Descriptions now explain more the reasoning behind the rules by @RalfKoban in #1122
  • MiKo_3098 is now aware of some more keywords to report on by @RalfKoban in #1123
  • MiKo_1063 is now aware of abbreviation 'alt' by @RalfKoban in #1124
  • Descriptions now explain more the reasoning behind the rules by @RalfKoban in #1125
  • MiKo_1070 is now aware of 'document' types by @RalfKoban in #1126
  • File extensions of generated C# files updated and moved to Constants by @RalfKoban in #1127
  • MiKo_2076 is now aware of structs like 'CancellationToken' for default values by @RalfKoban in #1128
  • Linq calls replaced by code by @RalfKoban in #1129
  • Updated Nuget packages by @RalfKoban in #1130
  • Replaced 'Dictionary<string,string> properties' by 'Pair[] properties' by @RalfKoban in #1131
  • introduced extension method 'WhereNotNull' to speed up null check by @RalfKoban in #1132
  • Updated NuGet packages by @RalfKoban in #1133
  • Code refactored by @RalfKoban in #1134
  • Enabled .NET analyzers, addressed certain diagnostics and improved performance by @RalfKoban in #1136
  • MiKo_2223 now recognizes method calls on parameters such as 'stream.Seek()' by @RalfKoban in #1139
  • Enhanced MiKo_2223 to recognize file extensions by @RalfKoban in #1140
  • Removed some strange combinations from MiKo_2060 codefix by @RalfKoban in #1141
  • Constants resorted by @RalfKoban in #1143
  • GetTextWithoutTrivia now directly returns a string so that we do not need to convert the return value back to a string by @RalfKoban in #1144
  • MiKo_2052 now fixes empty 'ArgumentNullException' documentation for multiple parameters by @RalfKoban in #1145
  • Added rule MiKo_2233 to report (and fix) empty XML tags spanning multiple lines by @RalfKoban in #1147
  • MiKo_2233 now also detects and fixes multi-line XML start and end tags by @RalfKoban in #1149
  • MiKo_2233 now also updated contents inside XML attributes by @RalfKoban in #1151
  • MiKo_1063 codefix is now aware of fields with prefixes by @RalfKoban in #1152
  • MiKo_3065 is now better aware of string.Format calls and does not report for non-format calls by @RalfKoban in #1153
  • Enhanced MiKo_2034 to be aware of specific phrase 'if …, the result is/will be <see…/>' and fix it properly by @RalfKoban in #1154
  • MiKo_6006 (and other surrounding lines codefixes) are now aware of trailing comments by @RalfKoban in #1156
  • Updated 'ReportGenerator' to v5.4.1 by @RalfKoban in #1157
  • Added new rule MiKo_6071 for local statements with using modifiers by @RalfKoban in #1159
  • 'GetAllLocations' changed to increase performance by @RalfKoban in #1160
  • Get all locations performance by @RalfKoban in #1161
  • MiKo_1115 codefix is now aware of numbers by @RalfKoban in #1162
  • MiKo_6040 is now aware of leading comments when moving nodes by @RalfKoban in #1165
  • MiKo_6059 is now aware of lambdas by @RalfKoban in #1166
  • MiKo_1107 and MiKo_1115 are now aware if test method names start with tested method names by @RalfKoban in #1168
  • MiKo_2023 and MiKo_2060 key creation refactored, ToArray() used by @RalfKoban in #1169
  • Added caching of StringBuilders to lower used memory and perform less garbage collections by @RalfKoban in #1173
  • Encapsulated detection to descend into children of nodes in a single cached func by @RalfKoban in #1174
  • Added new rule MiKo_1079 for DDD repositories by @RalfKoban in #1175
  • Consolidated code by @RalfKoban in #1176
  • Added new rule MiKo_1089 to report and fix 'Get' methods by @RalfKoban in #1177
  • Tests switched to .NET 9 by @RalfKoban in #1135
  • Updated Nuget dependencies by @RalfKoban in #1178
  • Fixed 'TestMethodAttribute' type name by @RalfKoban in #1179
  • MiKo_3105 is now aware of 'Assert.ThatAsync' by @RalfKoban in #1180
  • MiKo_2215 now calls 'WithoutXmlCommentExterior' once by @RalfKoban in #1181
  • MiKo_2024 can now detect and fix some more phrases by @RalfKoban in #1183
  • Performance optimizations by @RalfKoban in #1184
  • MiKo_2024 is now aware of flags by @RalfKoban in #1185
  • Added new rule MiKo_4105 that reports if 'objectUnderTest' fields are not the first fields by @RalfKoban in #1186
  • MiKo_3401 is now aware of nested "combined" namespaces by @RalfKoban in #1187
  • Performance optimizations by @RalfKoban in #1188
  • Optimized Performance by @RalfKoban in #1189
  • Improved performance, renamed 'Filter' methods by @RalfKoban in #1193
  • Added new rule MiKo_1501 that reports 'Filter' in names by @RalfKoban in #1194
  • MiKo_1063 is now aware of abbreviation 'calc' for 'calculate' by @RalfKoban in #1197
  • MiKo_1059 is now aware of 'imp' as abbreviation for 'implementation' by @RalfKoban in #1195
  • MiKo_1063 is now aware of 'plausi' as 'plausibility' and 'cfg' as 'configuration' by @RalfKoban in #1196
  • Added new rule MiKo_1502 that reports 'Process' in names by @RalfKoban in #1198
  • Updated dependencies by @RalfKoban in #1199
  • MiKo_3085 now has a codefix provider by @RalfKoban in #1200
  • SyntaxNode method moved into SyntaxNode extensions for code fixes by @RalfKoban in #1201
  • MiKo_1044 is now aware of abbreviation 'Cmd' at the end and adds 'Command' suffix properly by @RalfKoban in #1203
  • MiKo 3085 is now able to fix parameter assignments and apply the correct type by @RalfKoban in #1202
  • Enhanced MiKo 3085 codefix by @RalfKoban in #1204
  • Added new rule MiKo_3503 that reports when returning variables immediately after assigned within try/catch blocks by @RalfKoban in #1205
  • MiKo_3503 code fix is now aware of catch blocks by @RalfKoban in #1206
  • MiKo_6041 now does not report on collection initializer assignments that span multiple lines by @RalfKoban in #1208
  • MiKo_6050 codefix is now aware of middle arguments and adds a line-break if necessary by @RalfKoban in #1207
  • MiKo_3503 now initializes variables when moving the local declarations into the try/catch blocks by @RalfKoban in #1210
  • MiKo_6035 can now fix some "messed up" invocation with generics by @RalfKoban in #1211
  • Added null check to avoid NullReferenceException by @RalfKoban in #1212
  • MiKo_1063 is now aware of abbreviations for Portugese and Latvian by @RalfKoban in #1213
  • MiKo_2000 is now aware of '<' as malformed XML comment by @RalfKoban in #1214
  • MiKo_2000 now detects '<,>' as invalid XML and replaces it by '&lt;,&gt;' by @RalfKoban in #1215
  • MiKo_3216 refactored by @RalfKoban in #1218
  • Added new rule MiKo_3226 that converts readonly fields into consts by @RalfKoban in #1217
  • MiKo_1054 is now also aware of 'Misc' and 'Miscellaneous' by @RalfKoban in #1219
  • Added rules MiKo_2234 and MiKo_2312 that report 'which is to' to shorten to 'to' by @RalfKoban in #1220
  • Overall documentation analyzers refactored by @RalfKoban in #1221
  • MiKo_2223 is now aware of 'e.g.' by @RalfKoban in #1222
  • Refactored example documentation analyzers to directly use DocumentationCommentTriviaSyntax by @RalfKoban in #1223
  • lambda outdented in MiKo_3503 by @RalfKoban in #1225
  • Refactored exception documentation analyzers to directly use DocumentationCommentTriviaSyntax by @RalfKoban in #1224
  • Added inlining hints and new method 'IsPrimaryConstructor' by @RalfKoban in #1226
  • Refactored parameter documentation analyzers to directly use DocumentationCommentTriviaSyntax by @RalfKoban in #1227
  • Refactored documentation analyzers to directly use DocumentationCommentTriviaSyntax by @RalfKoban in #1228
  • Updated 'log4net' to 3.0.4 by @RalfKoban in #1229
  • Refactored return value documentation analyzers to directly use DocumentationCommentTriviaSyntax by @RalfKoban in #1230
  • Return values changed to arrays for peformance reasons by @RalfKoban in #1231
  • Refactored 'AnalyzeTestStart' methods by @RalfKoban in #1232
  • Refactored methods to report diagnostics, inlined variables by @RalfKoban in #1234
  • Fixed MiKo_1064 so that it now accepts short names without capital letters by @RalfKoban in #1235
  • Documentation analyzers for summaries refactored by @RalfKoban in #1236
  • Code cleaned up by @RalfKoban in #1237
  • SummaryDocumentationAnalyzer refactored to make document creation lazy by @RalfKoban in #1238
  • MiKo_1115 is now aware of numbers in method names by @RalfKoban in #1240
  • Added new rules MiKo_1503 - MiKo_1507 that report if something was suffixed with 'Counter' by @RalfKoban in #1241
  • MiKo_1504-1056 are now aware of 'Counter' as name by @RalfKoban in #1242
  • Added new rule MiKo_6062 that reports misplaced expressions within complex initializer expressions by @RalfKoban in #1243
  • MiKo_1063 is now aware of 'para' as abbreviation for 'parameter' by @RalfKoban in #1245
  • MiKo_3226 'declaration' renamed to 'field', MiKo_1501 message now uses ' by @RalfKoban in #1246
  • Refactored AscendingStringComparer and MiKo_2049 by @RalfKoban in #1247
  • version increased to v0.0.48 by @RalfKoban in #1248

Full Changelog: v0.0.47...v0.0.48