Skip to content
Open
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
44 changes: 44 additions & 0 deletions alunos/emerson-petrillo/tarefa-12/.gitignore
Original file line number Diff line number Diff line change
@@ -0,0 +1,44 @@
.gradle
build/
!gradle/wrapper/gradle-wrapper.jar
!**/src/main/**/build/
!**/src/test/**/build/
.kotlin

### IntelliJ IDEA ###
.idea/
.idea/modules.xml
.idea/jarRepositories.xml
.idea/compiler.xml
.idea/libraries/
*.iws
*.iml
*.ipr
out/
!**/src/main/**/out/
!**/src/test/**/out/

### Eclipse ###
.apt_generated
.classpath
.factorypath
.project
.settings
.springBeans
.sts4-cache
bin/
!**/src/main/**/bin/
!**/src/test/**/bin/

### NetBeans ###
/nbproject/private/
/nbbuild/
/dist/
/nbdist/
/.nb-gradle/

### VS Code ###
.vscode/

### Mac OS ###
.DS_Store
3 changes: 3 additions & 0 deletions alunos/emerson-petrillo/tarefa-12/.idea/.gitignore

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

17 changes: 17 additions & 0 deletions alunos/emerson-petrillo/tarefa-12/.idea/gradle.xml

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

7 changes: 7 additions & 0 deletions alunos/emerson-petrillo/tarefa-12/.idea/misc.xml

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

6 changes: 6 additions & 0 deletions alunos/emerson-petrillo/tarefa-12/.idea/vcs.xml

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

49 changes: 49 additions & 0 deletions alunos/emerson-petrillo/tarefa-12/build.gradle
Original file line number Diff line number Diff line change
@@ -0,0 +1,49 @@
plugins {
id 'java'
id 'jacoco'
id 'org.springframework.boot' version '3.5.4'
id 'io.spring.dependency-management' version '1.1.7'
}

group = 'com.example'
version = '0.0.1-SNAPSHOT'

java {
toolchain {
languageVersion = JavaLanguageVersion.of(21)
}
}

repositories {
mavenCentral()
}

dependencies {
implementation 'org.springframework.boot:spring-boot-starter-data-jpa'
implementation 'org.springframework.boot:spring-boot-starter-web'
implementation 'org.flywaydb:flyway-core'
runtimeOnly 'com.h2database:h2'
testImplementation 'org.springframework.boot:spring-boot-starter-test'
testImplementation 'org.mockito:mockito-core:5.20.0'
testRuntimeOnly 'org.junit.platform:junit-platform-launcher'
implementation 'org.springdoc:springdoc-openapi-starter-webmvc-ui:2.8.9'
implementation 'org.springframework.boot:spring-boot-starter-validation'
}

test {
useJUnitPlatform()
finalizedBy jacocoTestReport
}

jacocoTestReport {
dependsOn test
reports {
xml.required = true
csv.required = false
html.outputLocation = layout.buildDirectory.dir('jacocoHtml')
}
}

tasks.named('test') {
useJUnitPlatform()
}
Binary file not shown.
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
<?xml version="1.0" encoding="UTF-8"?><!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Strict//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd"><html xmlns="http://www.w3.org/1999/xhtml" lang="pt"><head><meta http-equiv="Content-Type" content="text/html;charset=UTF-8"/><link rel="stylesheet" href="jacoco-resources/report.css" type="text/css"/><link rel="shortcut icon" href="jacoco-resources/report.gif" type="image/gif"/><title>tarefa-12</title><script type="text/javascript" src="jacoco-resources/sort.js"></script></head><body onload="initialSort(['breadcrumb', 'coveragetable'])"><div class="breadcrumb" id="breadcrumb"><span class="info"><a href="jacoco-sessions.html" class="el_session">Sessions</a></span><span class="el_report">tarefa-12</span></div><h1>tarefa-12</h1><table class="coverage" cellspacing="0" id="coveragetable"><thead><tr><td class="sortable" id="a" onclick="toggleSort(this)">Element</td><td class="down sortable bar" id="b" onclick="toggleSort(this)">Missed Instructions</td><td class="sortable ctr2" id="c" onclick="toggleSort(this)">Cov.</td><td class="sortable bar" id="d" onclick="toggleSort(this)">Missed Branches</td><td class="sortable ctr2" id="e" onclick="toggleSort(this)">Cov.</td><td class="sortable ctr1" id="f" onclick="toggleSort(this)">Missed</td><td class="sortable ctr2" id="g" onclick="toggleSort(this)">Cxty</td><td class="sortable ctr1" id="h" onclick="toggleSort(this)">Missed</td><td class="sortable ctr2" id="i" onclick="toggleSort(this)">Lines</td><td class="sortable ctr1" id="j" onclick="toggleSort(this)">Missed</td><td class="sortable ctr2" id="k" onclick="toggleSort(this)">Methods</td><td class="sortable ctr1" id="l" onclick="toggleSort(this)">Missed</td><td class="sortable ctr2" id="m" onclick="toggleSort(this)">Classes</td></tr></thead><tfoot><tr><td>Total</td><td class="bar">225 of 484</td><td class="ctr2">53%</td><td class="bar">3 of 8</td><td class="ctr2">62%</td><td class="ctr1">50</td><td class="ctr2">76</td><td class="ctr1">64</td><td class="ctr2">130</td><td class="ctr1">47</td><td class="ctr2">72</td><td class="ctr1">0</td><td class="ctr2">11</td></tr></tfoot><tbody><tr><td id="a5"><a href="com.example.springboot.model/index.html" class="el_package">com.example.springboot.model</a></td><td class="bar" id="b0"><img src="jacoco-resources/redbar.gif" width="78" height="10" title="109" alt="109"/><img src="jacoco-resources/greenbar.gif" width="41" height="10" title="57" alt="57"/></td><td class="ctr2" id="c3">34%</td><td class="bar" id="d0"><img src="jacoco-resources/redbar.gif" width="60" height="10" title="3" alt="3"/><img src="jacoco-resources/greenbar.gif" width="60" height="10" title="3" alt="3"/></td><td class="ctr2" id="e1">50%</td><td class="ctr1" id="f0">30</td><td class="ctr2" id="g0">38</td><td class="ctr1" id="h0">31</td><td class="ctr2" id="i0">48</td><td class="ctr1" id="j0">27</td><td class="ctr2" id="k0">35</td><td class="ctr1" id="l0">0</td><td class="ctr2" id="m0">3</td></tr><tr><td id="a3"><a href="com.example.springboot.exception/index.html" class="el_package">com.example.springboot.exception</a></td><td class="bar" id="b1"><img src="jacoco-resources/redbar.gif" width="25" height="10" title="35" alt="35"/><img src="jacoco-resources/greenbar.gif" width="5" height="10" title="8" alt="8"/></td><td class="ctr2" id="c5">18%</td><td class="bar" id="d2"/><td class="ctr2" id="e2">n/a</td><td class="ctr1" id="f2">4</td><td class="ctr2" id="g3">6</td><td class="ctr1" id="h2">6</td><td class="ctr2" id="i3">9</td><td class="ctr1" id="j2">4</td><td class="ctr2" id="k3">6</td><td class="ctr1" id="l1">0</td><td class="ctr2" id="m1">2</td></tr><tr><td id="a2"><a href="com.example.springboot.dto/index.html" class="el_package">com.example.springboot.dto</a></td><td class="bar" id="b2"><img src="jacoco-resources/redbar.gif" width="23" height="10" title="32" alt="32"/><img src="jacoco-resources/greenbar.gif" width="21" height="10" title="30" alt="30"/></td><td class="ctr2" id="c1">48%</td><td class="bar" id="d3"/><td class="ctr2" id="e3">n/a</td><td class="ctr1" id="f1">9</td><td class="ctr2" id="g1">14</td><td class="ctr1" id="h1">16</td><td class="ctr2" id="i2">28</td><td class="ctr1" id="j1">9</td><td class="ctr2" id="k1">14</td><td class="ctr1" id="l2">0</td><td class="ctr2" id="m2">2</td></tr><tr><td id="a4"><a href="com.example.springboot.mapper/index.html" class="el_package">com.example.springboot.mapper</a></td><td class="bar" id="b3"><img src="jacoco-resources/redbar.gif" width="17" height="10" title="24" alt="24"/><img src="jacoco-resources/greenbar.gif" width="2" height="10" title="3" alt="3"/></td><td class="ctr2" id="c6">11%</td><td class="bar" id="d4"/><td class="ctr2" id="e4">n/a</td><td class="ctr1" id="f4">2</td><td class="ctr2" id="g5">3</td><td class="ctr1" id="h3">5</td><td class="ctr2" id="i5">6</td><td class="ctr1" id="j4">2</td><td class="ctr2" id="k5">3</td><td class="ctr1" id="l3">0</td><td class="ctr2" id="m3">1</td></tr><tr><td id="a1"><a href="com.example.springboot.controller/index.html" class="el_package">com.example.springboot.controller</a></td><td class="bar" id="b4"><img src="jacoco-resources/redbar.gif" width="14" height="10" title="20" alt="20"/><img src="jacoco-resources/greenbar.gif" width="4" height="10" title="6" alt="6"/></td><td class="ctr2" id="c4">23%</td><td class="bar" id="d5"/><td class="ctr2" id="e5">n/a</td><td class="ctr1" id="f3">4</td><td class="ctr2" id="g4">5</td><td class="ctr1" id="h4">4</td><td class="ctr2" id="i4">7</td><td class="ctr1" id="j3">4</td><td class="ctr2" id="k4">5</td><td class="ctr1" id="l4">0</td><td class="ctr2" id="m4">1</td></tr><tr><td id="a0"><a href="com.example.springboot/index.html" class="el_package">com.example.springboot</a></td><td class="bar" id="b5"><img src="jacoco-resources/redbar.gif" width="3" height="10" title="5" alt="5"/><img src="jacoco-resources/greenbar.gif" width="2" height="10" title="3" alt="3"/></td><td class="ctr2" id="c2">37%</td><td class="bar" id="d6"/><td class="ctr2" id="e6">n/a</td><td class="ctr1" id="f5">1</td><td class="ctr2" id="g6">2</td><td class="ctr1" id="h5">2</td><td class="ctr2" id="i6">3</td><td class="ctr1" id="j5">1</td><td class="ctr2" id="k6">2</td><td class="ctr1" id="l5">0</td><td class="ctr2" id="m5">1</td></tr><tr><td id="a6"><a href="com.example.springboot.service/index.html" class="el_package">com.example.springboot.service</a></td><td class="bar" id="b6"><img src="jacoco-resources/greenbar.gif" width="109" height="10" title="152" alt="152"/></td><td class="ctr2" id="c0">100%</td><td class="bar" id="d1"><img src="jacoco-resources/greenbar.gif" width="40" height="10" title="2" alt="2"/></td><td class="ctr2" id="e0">100%</td><td class="ctr1" id="f6">0</td><td class="ctr2" id="g2">8</td><td class="ctr1" id="h6">0</td><td class="ctr2" id="i1">29</td><td class="ctr1" id="j6">0</td><td class="ctr2" id="k2">7</td><td class="ctr1" id="l6">0</td><td class="ctr2" id="m6">1</td></tr></tbody></table><div class="footer"><span class="right">Created with <a href="http://www.jacoco.org/jacoco">JaCoCo</a> 0.8.13.202504020838</span></div></body></html>
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Original file line number Diff line number Diff line change
@@ -0,0 +1,13 @@
/* Pretty printing styles. Used with prettify.js. */

.str { color: #2A00FF; }
.kwd { color: #7F0055; font-weight:bold; }
.com { color: #3F5FBF; }
.typ { color: #606; }
.lit { color: #066; }
.pun { color: #660; }
.pln { color: #000; }
.tag { color: #008; }
.atn { color: #606; }
.atv { color: #080; }
.dec { color: #606; }
Loading