Skip to content

Commit 83150f0

Browse files
author
Paulo Ribeiro
authored
Merge pull request #425 from codacy/doc/update-validating-coverage-diagrams
doc: Update diagrams for helping validate coverage setup
2 parents 646327a + 8adc54c commit 83150f0

File tree

7 files changed

+11
-3
lines changed

7 files changed

+11
-3
lines changed
Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,4 @@
1+
<?xml version="1.0" encoding="UTF-8"?>
2+
<!-- Do not edit this file with editors other than diagrams.net -->
3+
<!DOCTYPE svg PUBLIC "-//W3C//DTD SVG 1.1//EN" "http://www.w3.org/Graphics/SVG/1.1/DTD/svg11.dtd">
4+
<svg xmlns="http://www.w3.org/2000/svg" xmlns:xlink="http://www.w3.org/1999/xlink" version="1.1" width="621px" height="161px" viewBox="-0.5 -0.5 621 161" content="&lt;mxfile host=&quot;app.diagrams.net&quot; modified=&quot;2022-05-20T10:45:48.938Z&quot; agent=&quot;5.0 (X11; Linux x86_64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/100.0.4896.75 Safari/537.36&quot; etag=&quot;QeKiD501vTkH8QbLmUs1&quot; version=&quot;15.8.2&quot; type=&quot;device&quot;&gt;&lt;diagram id=&quot;53IQXVl9icCSp_Kw3Ib1&quot; name=&quot;Page-1&quot;&gt;7VpLd9o6EP41LMnxG1gGCE1P0zZtFs29m3sEFrYa2XKEzCO/vhKW8BNwwKEkl2xijUYPzzfzjUamZQ6C5ScKIv8rcSFuGZq7bJnDlmHoltnl/4RkJSWaZSUSjyJXylLBA3qBSlFKY+TCWU6REYIZivLCCQlDOGE5GaCULPJqU4Lzq0bAgyXBwwTgsvQXcpkvpbrTSztuIfJ8uXTX6CQdYzB58iiJQ7leyzCn67+kOwBqLvmiMx+4ZJERmTctc0AJYclTsBxALIyrzJaMG23p3eybwpDVGdDz+1/uhy8EsUX0ue++jIY/Om3DTKaZAxxD9R7r3bKVshB0ucFkk1DmE4+EAN+k0v7aClCso/GWzwLMH3X++BsytpKYg5gRLkpnu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/+9yffb77hb8KlDeHrKdwt3PCfNDJaA1sv0H+9iyu9RIP+CKxirTqP58WziEH3j0t448wG/5Klt0Nr3eRWNpopLXdt/s426lk1ZdTBfSyh0QJwtNpQ4NheW8UjyHlC8f32+iOYqVbL3IShWZxnIayTO8mf76MHGQ9Dee5s0f&lt;/diagram&gt;&lt;/mxfile&gt;" style="background-color: rgb(255, 255, 255);"><defs/><g><path d="M 168.5 60 L 294 60" fill="none" stroke="#000000" stroke-width="4" stroke-miterlimit="10" pointer-events="stroke"/><path d="M 168.5 60 Q 190 60 190 100 Q 190 140 211.5 140" fill="none" stroke="rgba(0, 0, 0, 1)" stroke-width="4" stroke-miterlimit="10" pointer-events="stroke"/><ellipse cx="153.5" cy="60" rx="15" ry="15" fill="#6695ff" stroke="#000000" stroke-width="4" pointer-events="all"/><path d="M 324 60 Q 324 60 409 60" fill="none" stroke="rgba(0, 0, 0, 1)" stroke-width="4" stroke-miterlimit="10" pointer-events="stroke"/><ellipse cx="309" cy="60" rx="15" ry="15" fill="none" stroke="#000000" stroke-width="4" pointer-events="all"/><path d="M 439 60 Q 439 60 524 60" fill="none" stroke="rgba(0, 0, 0, 1)" stroke-width="4" stroke-miterlimit="10" pointer-events="stroke"/><ellipse cx="424" cy="60" rx="15" ry="15" fill="none" stroke="#000000" stroke-width="4" pointer-events="all"/><ellipse cx="539" cy="60" rx="15" ry="15" fill="none" stroke="#000000" stroke-width="4" pointer-events="all"/><path d="M 84 60 L 138.5 60" fill="none" stroke="rgba(0, 0, 0, 1)" stroke-width="4" stroke-miterlimit="10" pointer-events="stroke"/><rect x="0" y="40" width="70" height="40" fill="none" stroke="none" pointer-events="all"/><g transform="translate(-0.5 -0.5)"><switch><foreignObject pointer-events="none" width="100%" height="100%" requiredFeatures="http://www.w3.org/TR/SVG11/feature#Extensibility" style="overflow: visible; text-align: left;"><div xmlns="http://www.w3.org/1999/xhtml" style="display: flex; align-items: unsafe center; justify-content: unsafe flex-start; width: 68px; height: 1px; padding-top: 60px; margin-left: 2px;"><div data-drawio-colors="color: rgba(0, 0, 0, 1); " style="box-sizing: border-box; font-size: 0px; text-align: left; max-height: 36px; overflow: hidden;"><div style="display: inline-block; font-size: 14px; font-family: &quot;Courier New&quot;; color: rgb(0, 0, 0); line-height: 1.2; pointer-events: all; font-weight: bold; white-space: normal; overflow-wrap: normal;"><font face="Helvetica" style="font-weight: normal">target branch</font></div></div></div></foreignObject><text x="2" y="64" fill="rgba(0, 0, 0, 1)" font-family="Courier New" font-size="14px" font-weight="bold">target bra...</text></switch></g><path d="M 241.5 140 Q 241.5 140 283.5 140" fill="none" stroke="rgba(0, 0, 0, 1)" stroke-width="4" stroke-miterlimit="10" pointer-events="stroke"/><ellipse cx="226.5" cy="140" rx="15" ry="15" fill="none" stroke="#000000" stroke-width="4" pointer-events="all"/><path d="M 313.5 140 Q 313.5 140 356.5 140" fill="none" stroke="rgba(0, 0, 0, 1)" stroke-width="4" stroke-miterlimit="10" pointer-events="stroke"/><ellipse cx="298.5" cy="140" rx="15" ry="15" fill="none" stroke="#000000" stroke-width="4" pointer-events="all"/><ellipse cx="371.5" cy="140" rx="15" ry="15" fill="none" stroke="#000000" stroke-width="4" pointer-events="all"/><rect x="0" y="120" width="120" height="40" fill="none" stroke="none" pointer-events="all"/><g transform="translate(-0.5 -0.5)"><switch><foreignObject pointer-events="none" width="100%" height="100%" requiredFeatures="http://www.w3.org/TR/SVG11/feature#Extensibility" style="overflow: visible; text-align: left;"><div xmlns="http://www.w3.org/1999/xhtml" style="display: flex; align-items: unsafe center; justify-content: unsafe flex-start; width: 118px; height: 1px; padding-top: 140px; margin-left: 2px;"><div data-drawio-colors="color: rgba(0, 0, 0, 1); " style="box-sizing: border-box; font-size: 0px; text-align: left; max-height: 36px; overflow: hidden;"><div style="display: inline-block; font-size: 14px; font-family: &quot;Courier New&quot;; color: rgb(0, 0, 0); line-height: 1.2; pointer-events: all; font-weight: bold; white-space: normal; overflow-wrap: normal;"><font face="Helvetica" style="font-weight: normal">pull request<br />branch</font></div></div></div></foreignObject><text x="2" y="144" fill="rgba(0, 0, 0, 1)" font-family="Courier New" font-size="14px" font-weight="bold">pull request...</text></switch></g><rect x="120" y="0" width="125.5" height="40" fill="none" stroke="none" pointer-events="all"/><g transform="translate(-0.5 -0.5)"><switch><foreignObject pointer-events="none" width="100%" height="100%" requiredFeatures="http://www.w3.org/TR/SVG11/feature#Extensibility" style="overflow: visible; text-align: left;"><div xmlns="http://www.w3.org/1999/xhtml" style="display: flex; align-items: unsafe center; justify-content: unsafe flex-start; width: 124px; height: 1px; padding-top: 20px; margin-left: 122px;"><div data-drawio-colors="color: rgba(0, 0, 0, 1); " style="box-sizing: border-box; font-size: 0px; text-align: left; max-height: 36px; overflow: hidden;"><div style="display: inline-block; font-size: 14px; font-family: Helvetica; color: rgb(0, 0, 0); line-height: 1.2; pointer-events: all; white-space: normal; overflow-wrap: normal;"><b>Common ancestor<br />commit</b></div></div></div></foreignObject><text x="122" y="24" fill="rgba(0, 0, 0, 1)" font-family="Helvetica" font-size="14px">Common ancestor...</text></switch></g><ellipse cx="449" cy="140" rx="15" ry="15" fill="#6695ff" stroke="#000000" stroke-width="4" pointer-events="all"/><path d="M 386.5 140 Q 386.5 140 434 140" fill="none" stroke="rgba(0, 0, 0, 1)" stroke-width="4" stroke-miterlimit="10" pointer-events="stroke"/><rect x="474" y="120" width="146" height="40" fill="none" stroke="none" pointer-events="all"/><g transform="translate(-0.5 -0.5)"><switch><foreignObject pointer-events="none" width="100%" height="100%" requiredFeatures="http://www.w3.org/TR/SVG11/feature#Extensibility" style="overflow: visible; text-align: left;"><div xmlns="http://www.w3.org/1999/xhtml" style="display: flex; align-items: unsafe center; justify-content: unsafe flex-start; width: 144px; height: 1px; padding-top: 140px; margin-left: 476px;"><div data-drawio-colors="color: rgba(0, 0, 0, 1); " style="box-sizing: border-box; font-size: 0px; text-align: left; max-height: 36px; overflow: hidden;"><div style="display: inline-block; font-size: 14px; font-family: Helvetica; color: rgb(0, 0, 0); line-height: 1.2; pointer-events: all; white-space: normal; overflow-wrap: normal;"><b>Last commit in<br />pull request branch</b></div></div></div></foreignObject><text x="476" y="144" fill="rgba(0, 0, 0, 1)" font-family="Helvetica" font-size="14px">Last commit in...</text></switch></g></g><switch><g requiredFeatures="http://www.w3.org/TR/SVG11/feature#Extensibility"/><a transform="translate(0,-5)" xlink:href="https://www.diagrams.net/doc/faq/svg-export-text-problems" target="_blank"><text text-anchor="middle" font-size="10px" x="50%" y="100%">Viewer does not support full SVG 1.1</text></a></switch></svg>
Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,4 @@
1+
<?xml version="1.0" encoding="UTF-8"?>
2+
<!-- Do not edit this file with editors other than diagrams.net -->
3+
<!DOCTYPE svg PUBLIC "-//W3C//DTD SVG 1.1//EN" "http://www.w3.org/Graphics/SVG/1.1/DTD/svg11.dtd">
4+
<svg xmlns="http://www.w3.org/2000/svg" xmlns:xlink="http://www.w3.org/1999/xlink" version="1.1" width="536px" height="206px" viewBox="-0.5 -0.5 536 206" content="&lt;mxfile host=&quot;Electron&quot; modified=&quot;2022-06-30T14:25:07.850Z&quot; agent=&quot;5.0 (X11; Linux x86_64) AppleWebKit/537.36 (KHTML, like Gecko) draw.io/19.0.3 Chrome/102.0.5005.63 Electron/19.0.3 Safari/537.36&quot; etag=&quot;CvQnnKwLoHkovS2k5LVB&quot; version=&quot;19.0.3&quot; type=&quot;device&quot;&gt;&lt;diagram id=&quot;53IQXVl9icCSp_Kw3Ib1&quot; name=&quot;Page-1&quot;&gt;7Vpbc+o4DP41PNIhF0J4LFDaTnvOstudWc6+7JjEJG6dODXm1l+/cuI0Vy7tprSdhRciWVZs6ZMsC1rGMNhccxT5P5iLaUvvuJuWMWrpumZYNnxJzlZxOno34XicuIqXMR7IC04FFXdJXLwoCArGqCBRkemwMMSOKPAQ52xdFJszWnxrhDxcYTw4iFa5fxFX+IqrWf1s4AYTz1evtvVeMjBDzpPH2TJU72vpxjz+JMM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9EMPWZ11n9q36OxxKzRTAwLesfnc8bqjO6OnlNsVnn07dc5R/XJRbR0Z570tFufUdorwSv7Y+g1itxq/bxbbb0D3B7HW+Wvwe0WX/nzqr2nL4dGdpWsU552x7gl/njs3DmnGaK0O3U84jdglyzf04t3ej57RxTNrony5t9PDA/jHxmD5Z3N6T4HE89oe1vaCkaSeDB0bmyCm2GG8wXWHpnHwvsaYVKee312oPsgsZMh4gWu1ABlBTw/CMo9Dxcy3DZAEf1jVUHdbGe4YxrRaqHWpv7EBQDc52gqrcIkj/U5NvL+o1kGqivVgLqbqm1IkhxagbG3mOkVhyfEZXU+jSzRp0mc2gC8jsH07JaZT9j8y4+hc=&lt;/diagram&gt;&lt;/mxfile&gt;" style="background-color: rgb(255, 255, 255);"><defs/><g><path d="M 189 65 Q 219.5 65 219.5 125 Q 219.5 185 250 185" fill="none" stroke="rgb(0, 0, 0)" stroke-width="4" stroke-miterlimit="10" pointer-events="stroke"/><path d="M 189 65 L 292.5 65" fill="none" stroke="rgb(0, 0, 0)" stroke-width="4" stroke-miterlimit="10" pointer-events="stroke"/><path d="M 280 185 Q 280 185 503.5 185" fill="none" stroke="rgb(0, 0, 0)" stroke-width="4" stroke-miterlimit="10" pointer-events="stroke"/><ellipse cx="265" cy="185" rx="15" ry="15" fill="none" stroke="#000000" stroke-width="4" pointer-events="all"/><ellipse cx="518.5" cy="185" rx="15" ry="15" fill="none" stroke="#000000" stroke-width="4" pointer-events="all"/><rect x="234.5" y="0" width="146" height="40" fill="none" stroke="none" pointer-events="all"/><g transform="translate(-0.5 -0.5)"><switch><foreignObject pointer-events="none" width="100%" height="100%" requiredFeatures="http://www.w3.org/TR/SVG11/feature#Extensibility" style="overflow: visible; text-align: left;"><div xmlns="http://www.w3.org/1999/xhtml" style="display: flex; align-items: unsafe center; justify-content: unsafe center; width: 144px; height: 1px; padding-top: 20px; margin-left: 236px;"><div data-drawio-colors="color: rgb(0, 0, 0); " style="box-sizing: border-box; font-size: 0px; text-align: center; max-height: 36px; overflow: hidden;"><div style="display: inline-block; font-size: 14px; font-family: Helvetica; color: rgb(0, 0, 0); line-height: 1.2; pointer-events: all; white-space: normal; overflow-wrap: normal;"><div style="text-align: left;"><b style="background-color: initial;">Commit that</b></div><b>sets up coverage</b></div></div></div></foreignObject><text x="308" y="24" fill="rgb(0, 0, 0)" font-family="Helvetica" font-size="14px" text-anchor="middle">Commit thatsets up co...</text></switch></g><ellipse cx="174" cy="65" rx="15" ry="15" fill="none" stroke="#000000" stroke-width="4" pointer-events="all"/><path d="M 100 65 Q 100 65 159 65" fill="none" stroke="rgb(0, 0, 0)" stroke-width="4" stroke-miterlimit="10" pointer-events="stroke"/><path d="M 322.5 65 Q 322.5 65 390.5 65" fill="none" stroke="rgb(0, 0, 0)" stroke-width="4" stroke-miterlimit="10" pointer-events="stroke"/><ellipse cx="307.5" cy="65" rx="15" ry="15" fill="#6695ff" stroke="#000000" stroke-width="4" pointer-events="all"/><path d="M 420.5 65 Q 420.5 65 503.5 65" fill="none" stroke="rgb(0, 0, 0)" stroke-width="4" stroke-miterlimit="10" pointer-events="stroke"/><ellipse cx="405.5" cy="65" rx="15" ry="15" fill="#d5e8d4" stroke="#82b366" stroke-width="4" pointer-events="all"/><ellipse cx="518.5" cy="65" rx="15" ry="15" fill="#d5e8d4" stroke="#82b366" stroke-width="4" pointer-events="all"/><path d="M 420.5 65 Q 462 65 462 95 Q 462 125 503.5 125" fill="none" stroke="rgb(0, 0, 0)" stroke-width="4" stroke-miterlimit="10" pointer-events="stroke"/><ellipse cx="518.5" cy="125" rx="15" ry="15" fill="#d5e8d4" stroke="#82b366" stroke-width="4" pointer-events="all"/><rect x="0" y="45" width="120" height="40" fill="none" stroke="none" pointer-events="all"/><g transform="translate(-0.5 -0.5)"><switch><foreignObject pointer-events="none" width="100%" height="100%" requiredFeatures="http://www.w3.org/TR/SVG11/feature#Extensibility" style="overflow: visible; text-align: left;"><div xmlns="http://www.w3.org/1999/xhtml" style="display: flex; align-items: unsafe center; justify-content: unsafe flex-start; width: 118px; height: 1px; padding-top: 65px; margin-left: 2px;"><div data-drawio-colors="color: rgb(0, 0, 0); " style="box-sizing: border-box; font-size: 0px; text-align: left; max-height: 36px; overflow: hidden;"><div style="display: inline-block; font-size: 14px; font-family: &quot;Courier New&quot;; color: rgb(0, 0, 0); line-height: 1.2; pointer-events: all; font-weight: bold; white-space: normal; overflow-wrap: normal;"><font style="font-weight: normal" face="Helvetica">main branch</font></div></div></div></foreignObject><text x="2" y="69" fill="rgb(0, 0, 0)" font-family="Courier New" font-size="14px" font-weight="bold">main branch</text></switch></g><rect x="0" y="165" width="140" height="40" fill="none" stroke="none" pointer-events="all"/><g transform="translate(-0.5 -0.5)"><switch><foreignObject pointer-events="none" width="100%" height="100%" requiredFeatures="http://www.w3.org/TR/SVG11/feature#Extensibility" style="overflow: visible; text-align: left;"><div xmlns="http://www.w3.org/1999/xhtml" style="display: flex; align-items: unsafe center; justify-content: unsafe flex-start; width: 138px; height: 1px; padding-top: 185px; margin-left: 2px;"><div data-drawio-colors="color: rgb(0, 0, 0); " style="box-sizing: border-box; font-size: 0px; text-align: left; max-height: 36px; overflow: hidden;"><div style="display: inline-block; font-size: 14px; font-family: &quot;Courier New&quot;; color: rgb(0, 0, 0); line-height: 1.2; pointer-events: all; font-weight: bold; white-space: normal; overflow-wrap: normal;"><font style="font-weight: normal" face="Helvetica">older feature branch</font></div></div></div></foreignObject><text x="2" y="189" fill="rgb(0, 0, 0)" font-family="Courier New" font-size="14px" font-weight="bold">older feature branch</text></switch></g></g><switch><g requiredFeatures="http://www.w3.org/TR/SVG11/feature#Extensibility"/><a transform="translate(0,-5)" xlink:href="https://www.diagrams.net/doc/faq/svg-export-text-problems" target="_blank"><text text-anchor="middle" font-size="10px" x="50%" y="100%">Text is not SVG - cannot display</text></a></switch></svg>
-1.25 KB
Loading

0 commit comments

Comments
 (0)