Skip to content

Commit

Permalink
#664: Added filter options for risk hotspots: '-riskhotspotassemblyfi…
Browse files Browse the repository at this point in the history
…lters:', '-riskhotspotclassfilters:'
  • Loading branch information
danielpalme committed May 25, 2024
1 parent cbccd86 commit 423d0f6
Show file tree
Hide file tree
Showing 33 changed files with 421 additions and 29 deletions.
2 changes: 1 addition & 1 deletion .github/workflows/ci.yml
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,7 @@ env:
buildPlatform: Any CPU
buildConfiguration: Release
version: 5.3.0
dotnetSDKVersion: 8.0.204
dotnetSDKVersion: 8.0.300
nodeVersion: 20

jobs:
Expand Down
12 changes: 11 additions & 1 deletion README.md
Original file line number Diff line number Diff line change
Expand Up @@ -63,6 +63,8 @@ Parameters:
[["]-assemblyfilters:<(+|-)filter>[;<(+|-)filter>][;<(+|-)filter>]["]]
[["]-classfilters:<(+|-)filter>[;<(+|-)filter>][;<(+|-)filter>]["]]
[["]-filefilters:<(+|-)filter>[;<(+|-)filter>][;<(+|-)filter>]["]]
[["]-riskhotspotassemblyfilters:<(+|-)filter>[;<(+|-)filter>][;<(+|-)filter>]["]]
[["]-riskhotspotclassfilters:<(+|-)filter>[;<(+|-)filter>][;<(+|-)filter>]["]]
[["]-verbosity:<Verbose|Info|Warning|Error|Off>["]]
[["]-title:<title>["]]
[["]-tag:<tag>["]]
Expand Down Expand Up @@ -91,7 +93,9 @@ Explanations:
Assembly filters: Optional list of assemblies that should be included or excluded in the report.
Class filters: Optional list of classes that should be included or excluded in the report.
File filters: Optional list of files that should be included or excluded in the report.
Exclusion filters take precedence over inclusion filters.
Risk hotspot assembly filters: Optional list of assemblies that should be included or excluded in the risk hotspots.
Risk hotspot class filters: Optional list of classes that should be included or excluded in the risk hotspots.
Exclusion filters take precedence over inclusion filters.
Wildcards are allowed.
Verbosity: The verbosity level of the log messages.
Values: Verbose, Info, Warning, Error, Off
Expand All @@ -104,6 +108,8 @@ Default values:
-assemblyfilters:+*
-classfilters:+*
-filefilters:+*
-riskhotspotassemblyfilters:+*
-riskhotspotclassfilters:+*
-verbosity:Info
Examples:
Expand Down Expand Up @@ -141,6 +147,10 @@ All the plural options can also be specified as multiple singular entries, like:
classfilter = -Test2
filefilter = +cs
filefilter = -vb
riskhotspotassemblyfilter = +Test
riskhotspotassemblyfilter = -Test
riskhotspotclassfilter = +Test2
riskhotspotclassfilter = -Test2
sourcedir = src
sourcedir = test
```
Expand Down
2 changes: 1 addition & 1 deletion docs/404.html
Original file line number Diff line number Diff line change
Expand Up @@ -11,5 +11,5 @@
<style>@charset "UTF-8";:root{--bs-blue:#0d6efd;--bs-indigo:#6610f2;--bs-purple:#6f42c1;--bs-pink:#d63384;--bs-red:#dc3545;--bs-orange:#fd7e14;--bs-yellow:#ffc107;--bs-green:#198754;--bs-teal:#20c997;--bs-cyan:#0dcaf0;--bs-black:#000;--bs-white:#fff;--bs-gray:#6c757d;--bs-gray-dark:#343a40;--bs-gray-100:#f8f9fa;--bs-gray-200:#e9ecef;--bs-gray-300:#dee2e6;--bs-gray-400:#ced4da;--bs-gray-500:#adb5bd;--bs-gray-600:#6c757d;--bs-gray-700:#495057;--bs-gray-800:#343a40;--bs-gray-900:#212529;--bs-primary:#0d6efd;--bs-secondary:#6c757d;--bs-success:#198754;--bs-info:#0dcaf0;--bs-warning:#ffc107;--bs-danger:#dc3545;--bs-light:#f8f9fa;--bs-dark:#212529;--bs-primary-rgb:13,110,253;--bs-secondary-rgb:108,117,125;--bs-success-rgb:25,135,84;--bs-info-rgb:13,202,240;--bs-warning-rgb:255,193,7;--bs-danger-rgb:220,53,69;--bs-light-rgb:248,249,250;--bs-dark-rgb:33,37,41;--bs-white-rgb:255,255,255;--bs-black-rgb:0,0,0;--bs-body-color-rgb:33,37,41;--bs-body-bg-rgb:255,255,255;--bs-font-sans-serif:system-ui,-apple-system,"Segoe UI",Roboto,"Helvetica Neue","Noto Sans","Liberation Sans",Arial,sans-serif,"Apple Color Emoji","Segoe UI Emoji","Segoe UI Symbol","Noto Color Emoji";--bs-font-monospace:SFMono-Regular,Menlo,Monaco,Consolas,"Liberation Mono","Courier New",monospace;--bs-gradient:linear-gradient(180deg, rgba(255, 255, 255, .15), rgba(255, 255, 255, 0));--bs-body-font-family:var(--bs-font-sans-serif);--bs-body-font-size:1rem;--bs-body-font-weight:400;--bs-body-line-height:1.5;--bs-body-color:#212529;--bs-body-bg:#fff;--bs-border-width:1px;--bs-border-style:solid;--bs-border-color:#dee2e6;--bs-border-color-translucent:rgba(0, 0, 0, .175);--bs-border-radius:.375rem;--bs-border-radius-sm:.25rem;--bs-border-radius-lg:.5rem;--bs-border-radius-xl:1rem;--bs-border-radius-2xl:2rem;--bs-border-radius-pill:50rem;--bs-link-color:#0d6efd;--bs-link-hover-color:#0a58ca;--bs-code-color:#d63384;--bs-highlight-bg:#fff3cd}*,:after,:before{box-sizing:border-box}@media (prefers-reduced-motion:no-preference){:root{scroll-behavior:smooth}}body{margin:0;font-family:var(--bs-body-font-family);font-size:var(--bs-body-font-size);font-weight:var(--bs-body-font-weight);line-height:var(--bs-body-line-height);color:var(--bs-body-color);text-align:var(--bs-body-text-align);background-color:var(--bs-body-bg);-webkit-text-size-adjust:100%;-webkit-tap-highlight-color:transparent}@-webkit-keyframes fa-beat{0%,90%{-webkit-transform:scale(1);transform:scale(1)}45%{-webkit-transform:scale(var(--fa-beat-scale,1.25));transform:scale(var(--fa-beat-scale,1.25))}}@-webkit-keyframes fa-bounce{0%{-webkit-transform:scale(1) translateY(0);transform:scale(1) translateY(0)}10%{-webkit-transform:scale(var(--fa-bounce-start-scale-x,1.1),var(--fa-bounce-start-scale-y,.9)) translateY(0);transform:scale(var(--fa-bounce-start-scale-x,1.1),var(--fa-bounce-start-scale-y,.9)) translateY(0)}30%{-webkit-transform:scale(var(--fa-bounce-jump-scale-x,.9),var(--fa-bounce-jump-scale-y,1.1)) translateY(var(--fa-bounce-height,-.5em));transform:scale(var(--fa-bounce-jump-scale-x,.9),var(--fa-bounce-jump-scale-y,1.1)) translateY(var(--fa-bounce-height,-.5em))}50%{-webkit-transform:scale(var(--fa-bounce-land-scale-x,1.05),var(--fa-bounce-land-scale-y,.95)) translateY(0);transform:scale(var(--fa-bounce-land-scale-x,1.05),var(--fa-bounce-land-scale-y,.95)) translateY(0)}57%{-webkit-transform:scale(1) translateY(var(--fa-bounce-rebound,-.125em));transform:scale(1) translateY(var(--fa-bounce-rebound,-.125em))}64%{-webkit-transform:scale(1) translateY(0);transform:scale(1) translateY(0)}to{-webkit-transform:scale(1) translateY(0);transform:scale(1) translateY(0)}}@-webkit-keyframes fa-fade{50%{opacity:var(--fa-fade-opacity,.4)}}@-webkit-keyframes fa-beat-fade{0%,to{opacity:var(--fa-beat-fade-opacity,.4);-webkit-transform:scale(1);transform:scale(1)}50%{opacity:1;-webkit-transform:scale(var(--fa-beat-fade-scale,1.125));transform:scale(var(--fa-beat-fade-scale,1.125))}}@-webkit-keyframes fa-flip{50%{-webkit-transform:rotate3d(var(--fa-flip-x,0),var(--fa-flip-y,1),var(--fa-flip-z,0),var(--fa-flip-angle,-180deg));transform:rotate3d(var(--fa-flip-x,0),var(--fa-flip-y,1),var(--fa-flip-z,0),var(--fa-flip-angle,-180deg))}}@-webkit-keyframes fa-shake{0%{-webkit-transform:rotate(-15deg);transform:rotate(-15deg)}4%{-webkit-transform:rotate(15deg);transform:rotate(15deg)}8%,24%{-webkit-transform:rotate(-18deg);transform:rotate(-18deg)}12%,28%{-webkit-transform:rotate(18deg);transform:rotate(18deg)}16%{-webkit-transform:rotate(-22deg);transform:rotate(-22deg)}20%{-webkit-transform:rotate(22deg);transform:rotate(22deg)}32%{-webkit-transform:rotate(-12deg);transform:rotate(-12deg)}36%{-webkit-transform:rotate(12deg);transform:rotate(12deg)}40%,to{-webkit-transform:rotate(0deg);transform:rotate(0)}}@-webkit-keyframes fa-spin{0%{-webkit-transform:rotate(0deg);transform:rotate(0)}to{-webkit-transform:rotate(1turn);transform:rotate(1turn)}}:root{--fa-font-brands:normal 400 1em/1 "Font Awesome 6 Brands"}@font-face{font-family:"Font Awesome 6 Brands";font-style:normal;font-weight:400;font-display:block;src:url("./media/fa-brands-400-LVJDN62F.woff2") format("woff2"),url("./media/fa-brands-400-D7ILJVZN.ttf") format("truetype")}:root{--fa-font-regular:normal 400 1em/1 "Font Awesome 6 Free"}@font-face{font-family:"Font Awesome 6 Free";font-style:normal;font-weight:400;font-display:block;src:url("./media/fa-regular-400-MSZXGDVO.woff2") format("woff2"),url("./media/fa-regular-400-SWUKRL5F.ttf") format("truetype")}:root{--fa-font-solid:normal 900 1em/1 "Font Awesome 6 Free"}@font-face{font-family:"Font Awesome 6 Free";font-style:normal;font-weight:900;font-display:block;src:url("./media/fa-solid-900-MEK224IN.woff2") format("woff2"),url("./media/fa-solid-900-6AQDZ7HZ.ttf") format("truetype")}@font-face{font-family:Open Sans;font-style:normal;font-weight:300;src:url("./media/open-sans-v27-latin-300-3K33CZTH.eot");src:local(""),url("./media/open-sans-v27-latin-300-3K33CZTH.eot?#iefix") format("embedded-opentype"),url("./media/open-sans-v27-latin-300-SGSQWT4E.woff2") format("woff2"),url("./media/open-sans-v27-latin-300-GN2OJ7PN.woff") format("woff"),url("./media/open-sans-v27-latin-300-JO4FCBWF.ttf") format("truetype"),url("./media/open-sans-v27-latin-300-SXTIAN3M.svg#OpenSans") format("svg")}@font-face{font-family:Open Sans;font-style:normal;font-weight:400;src:url("./media/open-sans-v27-latin-regular-NOTFULT5.eot");src:local(""),url("./media/open-sans-v27-latin-regular-NOTFULT5.eot?#iefix") format("embedded-opentype"),url("./media/open-sans-v27-latin-regular-IWTNICQR.woff2") format("woff2"),url("./media/open-sans-v27-latin-regular-OST77QDO.woff") format("woff"),url("./media/open-sans-v27-latin-regular-MZHZAVIX.ttf") format("truetype"),url("./media/open-sans-v27-latin-regular-GK7QWCTL.svg#OpenSans") format("svg")}@font-face{font-family:Open Sans;font-style:normal;font-weight:700;src:url("./media/open-sans-v27-latin-700-KVRNQACR.eot");src:local(""),url("./media/open-sans-v27-latin-700-KVRNQACR.eot?#iefix") format("embedded-opentype"),url("./media/open-sans-v27-latin-700-3746WH43.woff2") format("woff2"),url("./media/open-sans-v27-latin-700-GFFV5PH2.woff") format("woff"),url("./media/open-sans-v27-latin-700-H7XDDMOV.ttf") format("truetype"),url("./media/open-sans-v27-latin-700-E52NVK65.svg#OpenSans") format("svg")}:root{--rg-primary-color:#20A0D2;--rg-primary-hover-color:#1C8EB7;--rg-gradient-from:#1c7ed6;--rg-gradient-to:#23b8cf;--rg-gradient-hover-from:#1A6FBA;--rg-gradient-hover-to:#1EA1B5}html,body{font-family:Open Sans,sans-serif;font-weight:300;scroll-padding-top:75px}body{padding-top:80px}</style><link rel="stylesheet" href="styles-PL6QBGKJ.css" media="print" onload="this.media='all'"><noscript><link rel="stylesheet" href="styles-PL6QBGKJ.css"></noscript></head>
<body>
<app-root></app-root>
<script src="polyfills-F4P3OIQ6.js" type="module"></script><script src="scripts-IJG3NFWP.js" defer></script><script src="main-HUOX6TEE.js" type="module"></script></body>
<script src="polyfills-F4P3OIQ6.js" type="module"></script><script src="scripts-IJG3NFWP.js" defer></script><script src="main-PKRGEOQU.js" type="module"></script></body>
</html>
2 changes: 1 addition & 1 deletion docs/contact.html
Original file line number Diff line number Diff line change
Expand Up @@ -11,5 +11,5 @@
<style>@charset "UTF-8";:root{--bs-blue:#0d6efd;--bs-indigo:#6610f2;--bs-purple:#6f42c1;--bs-pink:#d63384;--bs-red:#dc3545;--bs-orange:#fd7e14;--bs-yellow:#ffc107;--bs-green:#198754;--bs-teal:#20c997;--bs-cyan:#0dcaf0;--bs-black:#000;--bs-white:#fff;--bs-gray:#6c757d;--bs-gray-dark:#343a40;--bs-gray-100:#f8f9fa;--bs-gray-200:#e9ecef;--bs-gray-300:#dee2e6;--bs-gray-400:#ced4da;--bs-gray-500:#adb5bd;--bs-gray-600:#6c757d;--bs-gray-700:#495057;--bs-gray-800:#343a40;--bs-gray-900:#212529;--bs-primary:#0d6efd;--bs-secondary:#6c757d;--bs-success:#198754;--bs-info:#0dcaf0;--bs-warning:#ffc107;--bs-danger:#dc3545;--bs-light:#f8f9fa;--bs-dark:#212529;--bs-primary-rgb:13,110,253;--bs-secondary-rgb:108,117,125;--bs-success-rgb:25,135,84;--bs-info-rgb:13,202,240;--bs-warning-rgb:255,193,7;--bs-danger-rgb:220,53,69;--bs-light-rgb:248,249,250;--bs-dark-rgb:33,37,41;--bs-white-rgb:255,255,255;--bs-black-rgb:0,0,0;--bs-body-color-rgb:33,37,41;--bs-body-bg-rgb:255,255,255;--bs-font-sans-serif:system-ui,-apple-system,"Segoe UI",Roboto,"Helvetica Neue","Noto Sans","Liberation Sans",Arial,sans-serif,"Apple Color Emoji","Segoe UI Emoji","Segoe UI Symbol","Noto Color Emoji";--bs-font-monospace:SFMono-Regular,Menlo,Monaco,Consolas,"Liberation Mono","Courier New",monospace;--bs-gradient:linear-gradient(180deg, rgba(255, 255, 255, .15), rgba(255, 255, 255, 0));--bs-body-font-family:var(--bs-font-sans-serif);--bs-body-font-size:1rem;--bs-body-font-weight:400;--bs-body-line-height:1.5;--bs-body-color:#212529;--bs-body-bg:#fff;--bs-border-width:1px;--bs-border-style:solid;--bs-border-color:#dee2e6;--bs-border-color-translucent:rgba(0, 0, 0, .175);--bs-border-radius:.375rem;--bs-border-radius-sm:.25rem;--bs-border-radius-lg:.5rem;--bs-border-radius-xl:1rem;--bs-border-radius-2xl:2rem;--bs-border-radius-pill:50rem;--bs-link-color:#0d6efd;--bs-link-hover-color:#0a58ca;--bs-code-color:#d63384;--bs-highlight-bg:#fff3cd}*,:after,:before{box-sizing:border-box}@media (prefers-reduced-motion:no-preference){:root{scroll-behavior:smooth}}body{margin:0;font-family:var(--bs-body-font-family);font-size:var(--bs-body-font-size);font-weight:var(--bs-body-font-weight);line-height:var(--bs-body-line-height);color:var(--bs-body-color);text-align:var(--bs-body-text-align);background-color:var(--bs-body-bg);-webkit-text-size-adjust:100%;-webkit-tap-highlight-color:transparent}@-webkit-keyframes fa-beat{0%,90%{-webkit-transform:scale(1);transform:scale(1)}45%{-webkit-transform:scale(var(--fa-beat-scale,1.25));transform:scale(var(--fa-beat-scale,1.25))}}@-webkit-keyframes fa-bounce{0%{-webkit-transform:scale(1) translateY(0);transform:scale(1) translateY(0)}10%{-webkit-transform:scale(var(--fa-bounce-start-scale-x,1.1),var(--fa-bounce-start-scale-y,.9)) translateY(0);transform:scale(var(--fa-bounce-start-scale-x,1.1),var(--fa-bounce-start-scale-y,.9)) translateY(0)}30%{-webkit-transform:scale(var(--fa-bounce-jump-scale-x,.9),var(--fa-bounce-jump-scale-y,1.1)) translateY(var(--fa-bounce-height,-.5em));transform:scale(var(--fa-bounce-jump-scale-x,.9),var(--fa-bounce-jump-scale-y,1.1)) translateY(var(--fa-bounce-height,-.5em))}50%{-webkit-transform:scale(var(--fa-bounce-land-scale-x,1.05),var(--fa-bounce-land-scale-y,.95)) translateY(0);transform:scale(var(--fa-bounce-land-scale-x,1.05),var(--fa-bounce-land-scale-y,.95)) translateY(0)}57%{-webkit-transform:scale(1) translateY(var(--fa-bounce-rebound,-.125em));transform:scale(1) translateY(var(--fa-bounce-rebound,-.125em))}64%{-webkit-transform:scale(1) translateY(0);transform:scale(1) translateY(0)}to{-webkit-transform:scale(1) translateY(0);transform:scale(1) translateY(0)}}@-webkit-keyframes fa-fade{50%{opacity:var(--fa-fade-opacity,.4)}}@-webkit-keyframes fa-beat-fade{0%,to{opacity:var(--fa-beat-fade-opacity,.4);-webkit-transform:scale(1);transform:scale(1)}50%{opacity:1;-webkit-transform:scale(var(--fa-beat-fade-scale,1.125));transform:scale(var(--fa-beat-fade-scale,1.125))}}@-webkit-keyframes fa-flip{50%{-webkit-transform:rotate3d(var(--fa-flip-x,0),var(--fa-flip-y,1),var(--fa-flip-z,0),var(--fa-flip-angle,-180deg));transform:rotate3d(var(--fa-flip-x,0),var(--fa-flip-y,1),var(--fa-flip-z,0),var(--fa-flip-angle,-180deg))}}@-webkit-keyframes fa-shake{0%{-webkit-transform:rotate(-15deg);transform:rotate(-15deg)}4%{-webkit-transform:rotate(15deg);transform:rotate(15deg)}8%,24%{-webkit-transform:rotate(-18deg);transform:rotate(-18deg)}12%,28%{-webkit-transform:rotate(18deg);transform:rotate(18deg)}16%{-webkit-transform:rotate(-22deg);transform:rotate(-22deg)}20%{-webkit-transform:rotate(22deg);transform:rotate(22deg)}32%{-webkit-transform:rotate(-12deg);transform:rotate(-12deg)}36%{-webkit-transform:rotate(12deg);transform:rotate(12deg)}40%,to{-webkit-transform:rotate(0deg);transform:rotate(0)}}@-webkit-keyframes fa-spin{0%{-webkit-transform:rotate(0deg);transform:rotate(0)}to{-webkit-transform:rotate(1turn);transform:rotate(1turn)}}:root{--fa-font-brands:normal 400 1em/1 "Font Awesome 6 Brands"}@font-face{font-family:"Font Awesome 6 Brands";font-style:normal;font-weight:400;font-display:block;src:url("./media/fa-brands-400-LVJDN62F.woff2") format("woff2"),url("./media/fa-brands-400-D7ILJVZN.ttf") format("truetype")}:root{--fa-font-regular:normal 400 1em/1 "Font Awesome 6 Free"}@font-face{font-family:"Font Awesome 6 Free";font-style:normal;font-weight:400;font-display:block;src:url("./media/fa-regular-400-MSZXGDVO.woff2") format("woff2"),url("./media/fa-regular-400-SWUKRL5F.ttf") format("truetype")}:root{--fa-font-solid:normal 900 1em/1 "Font Awesome 6 Free"}@font-face{font-family:"Font Awesome 6 Free";font-style:normal;font-weight:900;font-display:block;src:url("./media/fa-solid-900-MEK224IN.woff2") format("woff2"),url("./media/fa-solid-900-6AQDZ7HZ.ttf") format("truetype")}@font-face{font-family:Open Sans;font-style:normal;font-weight:300;src:url("./media/open-sans-v27-latin-300-3K33CZTH.eot");src:local(""),url("./media/open-sans-v27-latin-300-3K33CZTH.eot?#iefix") format("embedded-opentype"),url("./media/open-sans-v27-latin-300-SGSQWT4E.woff2") format("woff2"),url("./media/open-sans-v27-latin-300-GN2OJ7PN.woff") format("woff"),url("./media/open-sans-v27-latin-300-JO4FCBWF.ttf") format("truetype"),url("./media/open-sans-v27-latin-300-SXTIAN3M.svg#OpenSans") format("svg")}@font-face{font-family:Open Sans;font-style:normal;font-weight:400;src:url("./media/open-sans-v27-latin-regular-NOTFULT5.eot");src:local(""),url("./media/open-sans-v27-latin-regular-NOTFULT5.eot?#iefix") format("embedded-opentype"),url("./media/open-sans-v27-latin-regular-IWTNICQR.woff2") format("woff2"),url("./media/open-sans-v27-latin-regular-OST77QDO.woff") format("woff"),url("./media/open-sans-v27-latin-regular-MZHZAVIX.ttf") format("truetype"),url("./media/open-sans-v27-latin-regular-GK7QWCTL.svg#OpenSans") format("svg")}@font-face{font-family:Open Sans;font-style:normal;font-weight:700;src:url("./media/open-sans-v27-latin-700-KVRNQACR.eot");src:local(""),url("./media/open-sans-v27-latin-700-KVRNQACR.eot?#iefix") format("embedded-opentype"),url("./media/open-sans-v27-latin-700-3746WH43.woff2") format("woff2"),url("./media/open-sans-v27-latin-700-GFFV5PH2.woff") format("woff"),url("./media/open-sans-v27-latin-700-H7XDDMOV.ttf") format("truetype"),url("./media/open-sans-v27-latin-700-E52NVK65.svg#OpenSans") format("svg")}:root{--rg-primary-color:#20A0D2;--rg-primary-hover-color:#1C8EB7;--rg-gradient-from:#1c7ed6;--rg-gradient-to:#23b8cf;--rg-gradient-hover-from:#1A6FBA;--rg-gradient-hover-to:#1EA1B5}html,body{font-family:Open Sans,sans-serif;font-weight:300;scroll-padding-top:75px}body{padding-top:80px}</style><link rel="stylesheet" href="styles-PL6QBGKJ.css" media="print" onload="this.media='all'"><noscript><link rel="stylesheet" href="styles-PL6QBGKJ.css"></noscript></head>
<body>
<app-root></app-root>
<script src="polyfills-F4P3OIQ6.js" type="module"></script><script src="scripts-IJG3NFWP.js" defer></script><script src="main-HUOX6TEE.js" type="module"></script></body>
<script src="polyfills-F4P3OIQ6.js" type="module"></script><script src="scripts-IJG3NFWP.js" defer></script><script src="main-PKRGEOQU.js" type="module"></script></body>
</html>
Loading

0 comments on commit 423d0f6

Please sign in to comment.