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

Bump se.bjurr.violations:violations-lib from 1.157.1 to 1.157.3 #1086

Merged
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 1 addition & 1 deletion SUPPORTED-FORMATS.md
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
<!--- DO NOT EDIT -- Generated at 2024-08-18T22:51:10.515810005 - Run the `main` method of `ParserRegistry` to regenerate after changing parsers -- DO NOT EDIT --->
<!--- DO NOT EDIT -- Generated at 2024-09-08T21:33:23.910536 - Run the `main` method of `ParserRegistry` to regenerate after changing parsers -- DO NOT EDIT --->
# Supported Report Formats

The static analysis model supports the following report formats.
Expand Down
2 changes: 1 addition & 1 deletion pom.xml
Original file line number Diff line number Diff line change
Expand Up @@ -66,7 +66,7 @@
<commons.text.version>1.12.0</commons.text.version>
<j2html.version>1.4.0</j2html.version>
<slf4j.version>2.0.16</slf4j.version>
<violations-lib.version>1.157.1</violations-lib.version>
<violations-lib.version>1.157.3</violations-lib.version>
<jsoup.version>1.18.1</jsoup.version>
<json.version>20240303</json.version>
<json-smart.version>2.5.1</json-smart.version>
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -27,13 +27,13 @@ protected void assertThatIssuesArePresent(final Report report, final SoftAsserti
.hasLineStart(123)
.hasType("Cyclomatic complexity")
.hasSeverity(Severity.WARNING_HIGH);
softly.assertThat(report.get(0).getMessage()).matches("asdasd\\s*asdasd");
softly.assertThat(report.get(0).getMessage()).matches("asdasd");
softly.assertThat(report.get(1))
.hasFileName("/whatever/path.c")
.hasLineStart(123)
.hasType("-")
.hasSeverity(Severity.WARNING_LOW);
softly.assertThat(report.get(1).getMessage()).matches("asdasd\\s*asdasd");
softly.assertThat(report.get(1).getMessage()).matches("asdasd");
}

@Test
Expand Down
293 changes: 293 additions & 0 deletions src/test/resources/edu/hm/hafner/analysis/parser/package.xml
Original file line number Diff line number Diff line change
@@ -0,0 +1,293 @@
<?xml version="1.1" encoding="UTF-8"?>
<issues>
<issue>
<message>message</message>
<description>description</description>
<lineStart>1</lineStart>
<lineEnd>2</lineEnd>
<origin>origin</origin>
<packageName>package-name 1</packageName>
<fileName>file-name</fileName>
<fingerprint>fingerprint</fingerprint>
</issue>
<issue>
<message>message</message>
<description>description</description>
<lineStart>1</lineStart>
<lineEnd>2</lineEnd>
<origin>origin</origin>
<packageName>package-name 2</packageName>
<fileName>file-name</fileName>
<fingerprint>fingerprint</fingerprint>
</issue>
<issue>
<message>message</message>
<description>description</description>
<lineStart>1</lineStart>
<lineEnd>2</lineEnd>
<origin>origin</origin>
<packageName>package-name 3</packageName>
<fileName>file-name</fileName>
<fingerprint>fingerprint</fingerprint>
</issue>
<issue>
<message>message</message>
<description>description</description>
<lineStart>1</lineStart>
<lineEnd>2</lineEnd>
<origin>origin</origin>
<packageName>package-name 4</packageName>
<fileName>file-name</fileName>
<fingerprint>fingerprint</fingerprint>
</issue>
<issue>
<message>message</message>
<description>description</description>
<lineStart>1</lineStart>
<lineEnd>2</lineEnd>
<origin>origin</origin>
<packageName>package-name 5</packageName>
<fileName>file-name</fileName>
<fingerprint>fingerprint</fingerprint>
</issue>
<issue>
<message>message</message>
<description>description</description>
<lineStart>1</lineStart>
<lineEnd>2</lineEnd>
<origin>origin</origin>
<packageName>package-name 6</packageName>
<fileName>file-name</fileName>
<fingerprint>fingerprint</fingerprint>
</issue>
<issue>
<message>message</message>
<description>description</description>
<lineStart>1</lineStart>
<lineEnd>2</lineEnd>
<origin>origin</origin>
<packageName>package-name 7</packageName>
<fileName>file-name</fileName>
<fingerprint>fingerprint</fingerprint>
</issue>
<issue>
<message>message</message>
<description>description</description>
<lineStart>1</lineStart>
<lineEnd>2</lineEnd>
<origin>origin</origin>
<packageName>package-name 8</packageName>
<fileName>file-name</fileName>
<fingerprint>fingerprint</fingerprint>
</issue>
<issue>
<message>message</message>
<description>description</description>
<lineStart>1</lineStart>
<lineEnd>2</lineEnd>
<origin>origin</origin>
<packageName>package-name 9</packageName>
<fileName>file-name</fileName>
<fingerprint>fingerprint</fingerprint>
</issue>
<issue>
<message>message</message>
<description>description</description>
<lineStart>1</lineStart>
<lineEnd>2</lineEnd>
<origin>origin</origin>
<packageName>package-name 10</packageName>
<fileName>file-name</fileName>
<fingerprint>fingerprint</fingerprint>
</issue>
<issue>
<message>message</message>
<description>description</description>
<lineStart>1</lineStart>
<lineEnd>2</lineEnd>
<origin>origin</origin>
<packageName>package-name 11</packageName>
<fileName>file-name</fileName>
<fingerprint>fingerprint</fingerprint>
</issue>
<issue>
<message>message</message>
<description>description</description>
<lineStart>1</lineStart>
<lineEnd>2</lineEnd>
<origin>origin</origin>
<packageName>package-name 12</packageName>
<fileName>file-name</fileName>
<fingerprint>fingerprint</fingerprint>
</issue>
<issue>
<message>message</message>
<description>description</description>
<lineStart>1</lineStart>
<lineEnd>2</lineEnd>
<origin>origin</origin>
<packageName>package-name 13</packageName>
<fileName>file-name</fileName>
<fingerprint>fingerprint</fingerprint>
</issue>
<issue>
<message>message</message>
<description>description</description>
<lineStart>1</lineStart>
<lineEnd>2</lineEnd>
<origin>origin</origin>
<packageName>package-name 14</packageName>
<fileName>file-name</fileName>
<fingerprint>fingerprint</fingerprint>
</issue>
<issue>
<message>message</message>
<description>description</description>
<lineStart>1</lineStart>
<lineEnd>2</lineEnd>
<origin>origin</origin>
<packageName>package-name 15</packageName>
<fileName>file-name</fileName>
<fingerprint>fingerprint</fingerprint>
</issue>
<issue>
<message>message</message>
<description>description</description>
<lineStart>1</lineStart>
<lineEnd>2</lineEnd>
<origin>origin</origin>
<packageName>package-name 16</packageName>
<fileName>file-name</fileName>
<fingerprint>fingerprint</fingerprint>
</issue>
<issue>
<message>message</message>
<description>description</description>
<lineStart>1</lineStart>
<lineEnd>2</lineEnd>
<origin>origin</origin>
<packageName>package-name 17</packageName>
<fileName>file-name</fileName>
<fingerprint>fingerprint</fingerprint>
</issue>
<issue>
<message>message</message>
<description>description</description>
<lineStart>1</lineStart>
<lineEnd>2</lineEnd>
<origin>origin</origin>
<packageName>package-name 18</packageName>
<fileName>file-name</fileName>
<fingerprint>fingerprint</fingerprint>
</issue>
<issue>
<message>message</message>
<description>description</description>
<lineStart>1</lineStart>
<lineEnd>2</lineEnd>
<origin>origin</origin>
<packageName>package-name 19</packageName>
<fileName>file-name</fileName>
<fingerprint>fingerprint</fingerprint>
</issue>
<issue>
<message>message</message>
<description>description</description>
<lineStart>1</lineStart>
<lineEnd>2</lineEnd>
<origin>origin</origin>
<packageName>package-name 20</packageName>
<fileName>file-name</fileName>
<fingerprint>fingerprint</fingerprint>
</issue>
<issue>
<message>message</message>
<description>description</description>
<lineStart>1</lineStart>
<lineEnd>2</lineEnd>
<origin>origin</origin>
<packageName>package-name 21</packageName>
<fileName>file-name</fileName>
<fingerprint>fingerprint</fingerprint>
</issue>
<issue>
<message>message</message>
<description>description</description>
<lineStart>1</lineStart>
<lineEnd>2</lineEnd>
<origin>origin</origin>
<packageName>package-name 22</packageName>
<fileName>file-name</fileName>
<fingerprint>fingerprint</fingerprint>
</issue>
<issue>
<message>message</message>
<description>description</description>
<lineStart>1</lineStart>
<lineEnd>2</lineEnd>
<origin>origin</origin>
<packageName>package-name 23</packageName>
<fileName>file-name</fileName>
<fingerprint>fingerprint</fingerprint>
</issue>
<issue>
<message>message</message>
<description>description</description>
<lineStart>1</lineStart>
<lineEnd>2</lineEnd>
<origin>origin</origin>
<packageName>package-name 24</packageName>
<fileName>file-name</fileName>
<fingerprint>fingerprint</fingerprint>
</issue>
<issue>
<message>message</message>
<description>description</description>
<lineStart>1</lineStart>
<lineEnd>2</lineEnd>
<origin>origin</origin>
<packageName>package-name 25</packageName>
<fileName>file-name</fileName>
<fingerprint>fingerprint</fingerprint>
</issue>
<issue>
<message>message</message>
<description>description</description>
<lineStart>1</lineStart>
<lineEnd>2</lineEnd>
<origin>origin</origin>
<packageName>package-name 26</packageName>
<fileName>file-name</fileName>
<fingerprint>fingerprint</fingerprint>
</issue>
<issue>
<message>message</message>
<description>description</description>
<lineStart>1</lineStart>
<lineEnd>2</lineEnd>
<origin>origin</origin>
<packageName>package-name 27</packageName>
<fileName>file-name</fileName>
<fingerprint>fingerprint</fingerprint>
</issue>
<issue>
<message>message</message>
<description>description</description>
<lineStart>1</lineStart>
<lineEnd>2</lineEnd>
<origin>origin</origin>
<packageName>package-name 28</packageName>
<fileName>file-name</fileName>
<fingerprint>fingerprint</fingerprint>
</issue>
<issue>
<message>message</message>
<description>description</description>
<lineStart>1</lineStart>
<lineEnd>2</lineEnd>
<origin>origin</origin>
<packageName>package-name 29</packageName>
<fileName>file-name</fileName>
<fingerprint>fingerprint</fingerprint>
</issue>
</issues>