RELL-1 start ocr service
|
@ -24,3 +24,5 @@
|
||||||
hs_err_pid*
|
hs_err_pid*
|
||||||
replay_pid*
|
replay_pid*
|
||||||
|
|
||||||
|
#idea
|
||||||
|
*.idea
|
||||||
|
|
|
@ -1,3 +1,3 @@
|
||||||
# ocr-rell-service
|
# ocr-rell-service
|
||||||
|
|
||||||
"OCR-Rell-Service" онлайн-сервис по распознаванию текста,
|
"OCR-Rell-Service" онлайн-сервис по распознаванию текста
|
|
@ -0,0 +1,123 @@
|
||||||
|
<?xml version="1.0" encoding="UTF-8"?>
|
||||||
|
<project xmlns="http://maven.apache.org/POM/4.0.0"
|
||||||
|
xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
|
||||||
|
xsi:schemaLocation="http://maven.apache.org/POM/4.0.0 http://maven.apache.org/xsd/maven-4.0.0.xsd">
|
||||||
|
<modelVersion>4.0.0</modelVersion>
|
||||||
|
<groupId>ru.rell</groupId>
|
||||||
|
<artifactId>ocr-rell-service</artifactId>
|
||||||
|
<version>3.0.0.rc</version>
|
||||||
|
|
||||||
|
<properties>
|
||||||
|
<java.version>21</java.version>
|
||||||
|
<spring.version>3.2.2</spring.version>
|
||||||
|
</properties>
|
||||||
|
|
||||||
|
<parent>
|
||||||
|
<groupId>org.springframework.boot</groupId>
|
||||||
|
<artifactId>spring-boot-starter-parent</artifactId>
|
||||||
|
<version>3.2.2</version>
|
||||||
|
</parent>
|
||||||
|
|
||||||
|
<developers>
|
||||||
|
<developer>
|
||||||
|
<id>PopovAA</id>
|
||||||
|
<name>Popov Alexander</name>
|
||||||
|
<email>h0c0kutaiiok@gmail.com</email>
|
||||||
|
</developer>
|
||||||
|
</developers>
|
||||||
|
|
||||||
|
<name>ocr-rell-service</name>
|
||||||
|
<description>Cервис по распознаванию текста</description>
|
||||||
|
|
||||||
|
<packaging>jar</packaging>
|
||||||
|
|
||||||
|
<dependencies>
|
||||||
|
|
||||||
|
<dependency>
|
||||||
|
<groupId>org.springframework.boot</groupId>
|
||||||
|
<artifactId>spring-boot-starter</artifactId>
|
||||||
|
<version>${spring.version}</version>
|
||||||
|
</dependency>
|
||||||
|
|
||||||
|
<dependency>
|
||||||
|
<groupId>org.springframework.boot</groupId>
|
||||||
|
<artifactId>spring-boot-starter-web</artifactId>
|
||||||
|
<version>${spring.version}</version>
|
||||||
|
</dependency>
|
||||||
|
|
||||||
|
<dependency>
|
||||||
|
<groupId>org.springframework.boot</groupId>
|
||||||
|
<artifactId>spring-boot-starter-test</artifactId>
|
||||||
|
<version>${spring.version}</version>
|
||||||
|
<scope>test</scope>
|
||||||
|
</dependency>
|
||||||
|
|
||||||
|
<dependency>
|
||||||
|
<groupId>com.jayway.jsonpath</groupId>
|
||||||
|
<artifactId>json-path</artifactId>
|
||||||
|
<version>2.9.0</version>
|
||||||
|
</dependency>
|
||||||
|
|
||||||
|
<dependency>
|
||||||
|
<groupId>org.junit.jupiter</groupId>
|
||||||
|
<artifactId>junit-jupiter-api</artifactId>
|
||||||
|
<version>5.10.1</version>
|
||||||
|
<scope>test</scope>
|
||||||
|
</dependency>
|
||||||
|
|
||||||
|
</dependencies>
|
||||||
|
|
||||||
|
<build>
|
||||||
|
<plugins>
|
||||||
|
<plugin>
|
||||||
|
<groupId>org.springframework.boot</groupId>
|
||||||
|
<artifactId>spring-boot-maven-plugin</artifactId>
|
||||||
|
<executions>
|
||||||
|
<execution>
|
||||||
|
<goals>
|
||||||
|
<goal>build-info</goal>
|
||||||
|
</goals>
|
||||||
|
<configuration>
|
||||||
|
<additionalProperties>
|
||||||
|
<java.target>${java.version}</java.target>
|
||||||
|
<time>${maven.build.timestamp}</time>
|
||||||
|
</additionalProperties>
|
||||||
|
</configuration>
|
||||||
|
</execution>
|
||||||
|
</executions>
|
||||||
|
</plugin>
|
||||||
|
<plugin>
|
||||||
|
<groupId>org.jacoco</groupId>
|
||||||
|
<artifactId>jacoco-maven-plugin</artifactId>
|
||||||
|
<version>0.8.11</version>
|
||||||
|
<executions>
|
||||||
|
<execution>
|
||||||
|
<goals>
|
||||||
|
<goal>prepare-agent</goal>
|
||||||
|
</goals>
|
||||||
|
</execution>
|
||||||
|
<execution>
|
||||||
|
<id>report</id>
|
||||||
|
<phase>test</phase>
|
||||||
|
<goals>
|
||||||
|
<goal>report</goal>
|
||||||
|
</goals>
|
||||||
|
</execution>
|
||||||
|
</executions>
|
||||||
|
</plugin>
|
||||||
|
<plugin>
|
||||||
|
<groupId>org.codehaus.mojo</groupId>
|
||||||
|
<artifactId>versions-maven-plugin</artifactId>
|
||||||
|
<version>2.16.2</version>
|
||||||
|
<executions>
|
||||||
|
<execution>
|
||||||
|
<id>check-versions</id>
|
||||||
|
<goals>
|
||||||
|
<goal>display-dependency-updates</goal>
|
||||||
|
</goals>
|
||||||
|
</execution>
|
||||||
|
</executions>
|
||||||
|
</plugin>
|
||||||
|
</plugins>
|
||||||
|
</build>
|
||||||
|
</project>
|
|
@ -0,0 +1,11 @@
|
||||||
|
package ru.rell;
|
||||||
|
|
||||||
|
import org.springframework.boot.SpringApplication;
|
||||||
|
import org.springframework.boot.autoconfigure.SpringBootApplication;
|
||||||
|
|
||||||
|
@SpringBootApplication
|
||||||
|
public class OcrApplication {
|
||||||
|
public static void main(String[] args) {
|
||||||
|
SpringApplication.run(OcrApplication.class, args);
|
||||||
|
}
|
||||||
|
}
|
|
@ -0,0 +1,2 @@
|
||||||
|
server:
|
||||||
|
port: 8080
|
|
@ -0,0 +1,12 @@
|
||||||
|
package ru.rell;
|
||||||
|
|
||||||
|
import org.junit.jupiter.api.Test;
|
||||||
|
import org.springframework.boot.test.context.SpringBootTest;
|
||||||
|
|
||||||
|
@SpringBootTest
|
||||||
|
class OcrApplicationTests {
|
||||||
|
|
||||||
|
@Test
|
||||||
|
void contextLoads() {
|
||||||
|
}
|
||||||
|
}
|
|
@ -0,0 +1,2 @@
|
||||||
|
server:
|
||||||
|
port: 8080
|
|
@ -0,0 +1,3 @@
|
||||||
|
artifactId=ocr-rell-service
|
||||||
|
groupId=ru.rell
|
||||||
|
version=3.0.0.rc
|
|
@ -0,0 +1 @@
|
||||||
|
ru\rell\OcrApplication.class
|
|
@ -0,0 +1 @@
|
||||||
|
C:\Users\admin\IdeaProjects\ocr-rell-service\src\main\java\ru\rell\OcrApplication.java
|
|
@ -0,0 +1 @@
|
||||||
|
ru\rell\OcrApplicationTests.class
|
|
@ -0,0 +1 @@
|
||||||
|
C:\Users\admin\IdeaProjects\ocr-rell-service\src\test\java\ru\rell\OcrApplicationTests.java
|
|
@ -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="ru"><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>ocr-rell-service</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">ocr-rell-service</span></div><h1>ocr-rell-service</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">5 of 8</td><td class="ctr2">37 %</td><td class="bar">0 of 0</td><td class="ctr2">n/a</td><td class="ctr1">1</td><td class="ctr2">2</td><td class="ctr1">2</td><td class="ctr2">3</td><td class="ctr1">1</td><td class="ctr2">2</td><td class="ctr1">0</td><td class="ctr2">1</td></tr></tfoot><tbody><tr><td id="a0"><a href="ru.rell/index.html" class="el_package">ru.rell</a></td><td class="bar" id="b0"><img src="jacoco-resources/redbar.gif" width="75" height="10" title="5" alt="5"/><img src="jacoco-resources/greenbar.gif" width="45" height="10" title="3" alt="3"/></td><td class="ctr2" id="c0">37 %</td><td class="bar" id="d0"/><td class="ctr2" id="e0">n/a</td><td class="ctr1" id="f0">1</td><td class="ctr2" id="g0">2</td><td class="ctr1" id="h0">2</td><td class="ctr2" id="i0">3</td><td class="ctr1" id="j0">1</td><td class="ctr2" id="k0">2</td><td class="ctr1" id="l0">0</td><td class="ctr2" id="m0">1</td></tr></tbody></table><div class="footer"><span class="right">Created with <a href="http://www.jacoco.org/jacoco">JaCoCo</a> 0.8.11.202310140853</span></div></body></html>
|
After Width: | Height: | Size: 91 B |
After Width: | Height: | Size: 91 B |
After Width: | Height: | Size: 91 B |
After Width: | Height: | Size: 709 B |
After Width: | Height: | Size: 586 B |
After Width: | Height: | Size: 67 B |
After Width: | Height: | Size: 91 B |
After Width: | Height: | Size: 351 B |
After Width: | Height: | Size: 193 B |
After Width: | Height: | Size: 227 B |
|
@ -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; }
|
After Width: | Height: | Size: 91 B |
|
@ -0,0 +1,243 @@
|
||||||
|
body, td {
|
||||||
|
font-family:sans-serif;
|
||||||
|
font-size:10pt;
|
||||||
|
}
|
||||||
|
|
||||||
|
h1 {
|
||||||
|
font-weight:bold;
|
||||||
|
font-size:18pt;
|
||||||
|
}
|
||||||
|
|
||||||
|
.breadcrumb {
|
||||||
|
border:#d6d3ce 1px solid;
|
||||||
|
padding:2px 4px 2px 4px;
|
||||||
|
}
|
||||||
|
|
||||||
|
.breadcrumb .info {
|
||||||
|
float:right;
|
||||||
|
}
|
||||||
|
|
||||||
|
.breadcrumb .info a {
|
||||||
|
margin-left:8px;
|
||||||
|
}
|
||||||
|
|
||||||
|
.el_report {
|
||||||
|
padding-left:18px;
|
||||||
|
background-image:url(report.gif);
|
||||||
|
background-position:left center;
|
||||||
|
background-repeat:no-repeat;
|
||||||
|
}
|
||||||
|
|
||||||
|
.el_group {
|
||||||
|
padding-left:18px;
|
||||||
|
background-image:url(group.gif);
|
||||||
|
background-position:left center;
|
||||||
|
background-repeat:no-repeat;
|
||||||
|
}
|
||||||
|
|
||||||
|
.el_bundle {
|
||||||
|
padding-left:18px;
|
||||||
|
background-image:url(bundle.gif);
|
||||||
|
background-position:left center;
|
||||||
|
background-repeat:no-repeat;
|
||||||
|
}
|
||||||
|
|
||||||
|
.el_package {
|
||||||
|
padding-left:18px;
|
||||||
|
background-image:url(package.gif);
|
||||||
|
background-position:left center;
|
||||||
|
background-repeat:no-repeat;
|
||||||
|
}
|
||||||
|
|
||||||
|
.el_class {
|
||||||
|
padding-left:18px;
|
||||||
|
background-image:url(class.gif);
|
||||||
|
background-position:left center;
|
||||||
|
background-repeat:no-repeat;
|
||||||
|
}
|
||||||
|
|
||||||
|
.el_source {
|
||||||
|
padding-left:18px;
|
||||||
|
background-image:url(source.gif);
|
||||||
|
background-position:left center;
|
||||||
|
background-repeat:no-repeat;
|
||||||
|
}
|
||||||
|
|
||||||
|
.el_method {
|
||||||
|
padding-left:18px;
|
||||||
|
background-image:url(method.gif);
|
||||||
|
background-position:left center;
|
||||||
|
background-repeat:no-repeat;
|
||||||
|
}
|
||||||
|
|
||||||
|
.el_session {
|
||||||
|
padding-left:18px;
|
||||||
|
background-image:url(session.gif);
|
||||||
|
background-position:left center;
|
||||||
|
background-repeat:no-repeat;
|
||||||
|
}
|
||||||
|
|
||||||
|
pre.source {
|
||||||
|
border:#d6d3ce 1px solid;
|
||||||
|
font-family:monospace;
|
||||||
|
}
|
||||||
|
|
||||||
|
pre.source ol {
|
||||||
|
margin-bottom: 0px;
|
||||||
|
margin-top: 0px;
|
||||||
|
}
|
||||||
|
|
||||||
|
pre.source li {
|
||||||
|
border-left: 1px solid #D6D3CE;
|
||||||
|
color: #A0A0A0;
|
||||||
|
padding-left: 0px;
|
||||||
|
}
|
||||||
|
|
||||||
|
pre.source span.fc {
|
||||||
|
background-color:#ccffcc;
|
||||||
|
}
|
||||||
|
|
||||||
|
pre.source span.nc {
|
||||||
|
background-color:#ffaaaa;
|
||||||
|
}
|
||||||
|
|
||||||
|
pre.source span.pc {
|
||||||
|
background-color:#ffffcc;
|
||||||
|
}
|
||||||
|
|
||||||
|
pre.source span.bfc {
|
||||||
|
background-image: url(branchfc.gif);
|
||||||
|
background-repeat: no-repeat;
|
||||||
|
background-position: 2px center;
|
||||||
|
}
|
||||||
|
|
||||||
|
pre.source span.bfc:hover {
|
||||||
|
background-color:#80ff80;
|
||||||
|
}
|
||||||
|
|
||||||
|
pre.source span.bnc {
|
||||||
|
background-image: url(branchnc.gif);
|
||||||
|
background-repeat: no-repeat;
|
||||||
|
background-position: 2px center;
|
||||||
|
}
|
||||||
|
|
||||||
|
pre.source span.bnc:hover {
|
||||||
|
background-color:#ff8080;
|
||||||
|
}
|
||||||
|
|
||||||
|
pre.source span.bpc {
|
||||||
|
background-image: url(branchpc.gif);
|
||||||
|
background-repeat: no-repeat;
|
||||||
|
background-position: 2px center;
|
||||||
|
}
|
||||||
|
|
||||||
|
pre.source span.bpc:hover {
|
||||||
|
background-color:#ffff80;
|
||||||
|
}
|
||||||
|
|
||||||
|
table.coverage {
|
||||||
|
empty-cells:show;
|
||||||
|
border-collapse:collapse;
|
||||||
|
}
|
||||||
|
|
||||||
|
table.coverage thead {
|
||||||
|
background-color:#e0e0e0;
|
||||||
|
}
|
||||||
|
|
||||||
|
table.coverage thead td {
|
||||||
|
white-space:nowrap;
|
||||||
|
padding:2px 14px 0px 6px;
|
||||||
|
border-bottom:#b0b0b0 1px solid;
|
||||||
|
}
|
||||||
|
|
||||||
|
table.coverage thead td.bar {
|
||||||
|
border-left:#cccccc 1px solid;
|
||||||
|
}
|
||||||
|
|
||||||
|
table.coverage thead td.ctr1 {
|
||||||
|
text-align:right;
|
||||||
|
border-left:#cccccc 1px solid;
|
||||||
|
}
|
||||||
|
|
||||||
|
table.coverage thead td.ctr2 {
|
||||||
|
text-align:right;
|
||||||
|
padding-left:2px;
|
||||||
|
}
|
||||||
|
|
||||||
|
table.coverage thead td.sortable {
|
||||||
|
cursor:pointer;
|
||||||
|
background-image:url(sort.gif);
|
||||||
|
background-position:right center;
|
||||||
|
background-repeat:no-repeat;
|
||||||
|
}
|
||||||
|
|
||||||
|
table.coverage thead td.up {
|
||||||
|
background-image:url(up.gif);
|
||||||
|
}
|
||||||
|
|
||||||
|
table.coverage thead td.down {
|
||||||
|
background-image:url(down.gif);
|
||||||
|
}
|
||||||
|
|
||||||
|
table.coverage tbody td {
|
||||||
|
white-space:nowrap;
|
||||||
|
padding:2px 6px 2px 6px;
|
||||||
|
border-bottom:#d6d3ce 1px solid;
|
||||||
|
}
|
||||||
|
|
||||||
|
table.coverage tbody tr:hover {
|
||||||
|
background: #f0f0d0 !important;
|
||||||
|
}
|
||||||
|
|
||||||
|
table.coverage tbody td.bar {
|
||||||
|
border-left:#e8e8e8 1px solid;
|
||||||
|
}
|
||||||
|
|
||||||
|
table.coverage tbody td.ctr1 {
|
||||||
|
text-align:right;
|
||||||
|
padding-right:14px;
|
||||||
|
border-left:#e8e8e8 1px solid;
|
||||||
|
}
|
||||||
|
|
||||||
|
table.coverage tbody td.ctr2 {
|
||||||
|
text-align:right;
|
||||||
|
padding-right:14px;
|
||||||
|
padding-left:2px;
|
||||||
|
}
|
||||||
|
|
||||||
|
table.coverage tfoot td {
|
||||||
|
white-space:nowrap;
|
||||||
|
padding:2px 6px 2px 6px;
|
||||||
|
}
|
||||||
|
|
||||||
|
table.coverage tfoot td.bar {
|
||||||
|
border-left:#e8e8e8 1px solid;
|
||||||
|
}
|
||||||
|
|
||||||
|
table.coverage tfoot td.ctr1 {
|
||||||
|
text-align:right;
|
||||||
|
padding-right:14px;
|
||||||
|
border-left:#e8e8e8 1px solid;
|
||||||
|
}
|
||||||
|
|
||||||
|
table.coverage tfoot td.ctr2 {
|
||||||
|
text-align:right;
|
||||||
|
padding-right:14px;
|
||||||
|
padding-left:2px;
|
||||||
|
}
|
||||||
|
|
||||||
|
.footer {
|
||||||
|
margin-top:20px;
|
||||||
|
border-top:#d6d3ce 1px solid;
|
||||||
|
padding-top:2px;
|
||||||
|
font-size:8pt;
|
||||||
|
color:#a0a0a0;
|
||||||
|
}
|
||||||
|
|
||||||
|
.footer a {
|
||||||
|
color:#a0a0a0;
|
||||||
|
}
|
||||||
|
|
||||||
|
.right {
|
||||||
|
float:right;
|
||||||
|
}
|
After Width: | Height: | Size: 363 B |
After Width: | Height: | Size: 213 B |
After Width: | Height: | Size: 58 B |
|
@ -0,0 +1,148 @@
|
||||||
|
/*******************************************************************************
|
||||||
|
* Copyright (c) 2009, 2023 Mountainminds GmbH & Co. KG and Contributors
|
||||||
|
* This program and the accompanying materials are made available under
|
||||||
|
* the terms of the Eclipse Public License 2.0 which is available at
|
||||||
|
* http://www.eclipse.org/legal/epl-2.0
|
||||||
|
*
|
||||||
|
* SPDX-License-Identifier: EPL-2.0
|
||||||
|
*
|
||||||
|
* Contributors:
|
||||||
|
* Marc R. Hoffmann - initial API and implementation
|
||||||
|
*
|
||||||
|
*******************************************************************************/
|
||||||
|
|
||||||
|
(function () {
|
||||||
|
|
||||||
|
/**
|
||||||
|
* Sets the initial sorting derived from the hash.
|
||||||
|
*
|
||||||
|
* @param linkelementids
|
||||||
|
* list of element ids to search for links to add sort inidcator
|
||||||
|
* hash links
|
||||||
|
*/
|
||||||
|
function initialSort(linkelementids) {
|
||||||
|
window.linkelementids = linkelementids;
|
||||||
|
var hash = window.location.hash;
|
||||||
|
if (hash) {
|
||||||
|
var m = hash.match(/up-./);
|
||||||
|
if (m) {
|
||||||
|
var header = window.document.getElementById(m[0].charAt(3));
|
||||||
|
if (header) {
|
||||||
|
sortColumn(header, true);
|
||||||
|
}
|
||||||
|
return;
|
||||||
|
}
|
||||||
|
var m = hash.match(/dn-./);
|
||||||
|
if (m) {
|
||||||
|
var header = window.document.getElementById(m[0].charAt(3));
|
||||||
|
if (header) {
|
||||||
|
sortColumn(header, false);
|
||||||
|
}
|
||||||
|
return
|
||||||
|
}
|
||||||
|
}
|
||||||
|
}
|
||||||
|
|
||||||
|
/**
|
||||||
|
* Sorts the columns with the given header dependening on the current sort state.
|
||||||
|
*/
|
||||||
|
function toggleSort(header) {
|
||||||
|
var sortup = header.className.indexOf('down ') == 0;
|
||||||
|
sortColumn(header, sortup);
|
||||||
|
}
|
||||||
|
|
||||||
|
/**
|
||||||
|
* Sorts the columns with the given header in the given direction.
|
||||||
|
*/
|
||||||
|
function sortColumn(header, sortup) {
|
||||||
|
var table = header.parentNode.parentNode.parentNode;
|
||||||
|
var body = table.tBodies[0];
|
||||||
|
var colidx = getNodePosition(header);
|
||||||
|
|
||||||
|
resetSortedStyle(table);
|
||||||
|
|
||||||
|
var rows = body.rows;
|
||||||
|
var sortedrows = [];
|
||||||
|
for (var i = 0; i < rows.length; i++) {
|
||||||
|
r = rows[i];
|
||||||
|
sortedrows[parseInt(r.childNodes[colidx].id.slice(1))] = r;
|
||||||
|
}
|
||||||
|
|
||||||
|
var hash;
|
||||||
|
|
||||||
|
if (sortup) {
|
||||||
|
for (var i = sortedrows.length - 1; i >= 0; i--) {
|
||||||
|
body.appendChild(sortedrows[i]);
|
||||||
|
}
|
||||||
|
header.className = 'up ' + header.className;
|
||||||
|
hash = 'up-' + header.id;
|
||||||
|
} else {
|
||||||
|
for (var i = 0; i < sortedrows.length; i++) {
|
||||||
|
body.appendChild(sortedrows[i]);
|
||||||
|
}
|
||||||
|
header.className = 'down ' + header.className;
|
||||||
|
hash = 'dn-' + header.id;
|
||||||
|
}
|
||||||
|
|
||||||
|
setHash(hash);
|
||||||
|
}
|
||||||
|
|
||||||
|
/**
|
||||||
|
* Adds the sort indicator as a hash to the document URL and all links.
|
||||||
|
*/
|
||||||
|
function setHash(hash) {
|
||||||
|
window.document.location.hash = hash;
|
||||||
|
ids = window.linkelementids;
|
||||||
|
for (var i = 0; i < ids.length; i++) {
|
||||||
|
setHashOnAllLinks(document.getElementById(ids[i]), hash);
|
||||||
|
}
|
||||||
|
}
|
||||||
|
|
||||||
|
/**
|
||||||
|
* Extend all links within the given tag with the given hash.
|
||||||
|
*/
|
||||||
|
function setHashOnAllLinks(tag, hash) {
|
||||||
|
links = tag.getElementsByTagName("a");
|
||||||
|
for (var i = 0; i < links.length; i++) {
|
||||||
|
var a = links[i];
|
||||||
|
var href = a.href;
|
||||||
|
var hashpos = href.indexOf("#");
|
||||||
|
if (hashpos != -1) {
|
||||||
|
href = href.substring(0, hashpos);
|
||||||
|
}
|
||||||
|
a.href = href + "#" + hash;
|
||||||
|
}
|
||||||
|
}
|
||||||
|
|
||||||
|
/**
|
||||||
|
* Calculates the position of a element within its parent.
|
||||||
|
*/
|
||||||
|
function getNodePosition(element) {
|
||||||
|
var pos = -1;
|
||||||
|
while (element) {
|
||||||
|
element = element.previousSibling;
|
||||||
|
pos++;
|
||||||
|
}
|
||||||
|
return pos;
|
||||||
|
}
|
||||||
|
|
||||||
|
/**
|
||||||
|
* Remove the sorting indicator style from all headers.
|
||||||
|
*/
|
||||||
|
function resetSortedStyle(table) {
|
||||||
|
for (var c = table.tHead.firstChild.firstChild; c; c = c.nextSibling) {
|
||||||
|
if (c.className) {
|
||||||
|
if (c.className.indexOf('down ') == 0) {
|
||||||
|
c.className = c.className.slice(5);
|
||||||
|
}
|
||||||
|
if (c.className.indexOf('up ') == 0) {
|
||||||
|
c.className = c.className.slice(3);
|
||||||
|
}
|
||||||
|
}
|
||||||
|
}
|
||||||
|
}
|
||||||
|
|
||||||
|
window['initialSort'] = initialSort;
|
||||||
|
window['toggleSort'] = toggleSort;
|
||||||
|
|
||||||
|
})();
|
After Width: | Height: | Size: 354 B |
After Width: | Height: | Size: 67 B |
|
@ -0,0 +1,2 @@
|
||||||
|
GROUP,PACKAGE,CLASS,INSTRUCTION_MISSED,INSTRUCTION_COVERED,BRANCH_MISSED,BRANCH_COVERED,LINE_MISSED,LINE_COVERED,COMPLEXITY_MISSED,COMPLEXITY_COVERED,METHOD_MISSED,METHOD_COVERED
|
||||||
|
ocr-rell-service,ru.rell,OcrApplication,5,3,0,0,2,1,1,1,1,1
|
|
|
@ -0,0 +1 @@
|
||||||
|
<?xml version="1.0" encoding="UTF-8" standalone="yes"?><!DOCTYPE report PUBLIC "-//JACOCO//DTD Report 1.1//EN" "report.dtd"><report name="ocr-rell-service"><sessioninfo id="DESKTOP-1ON2C4N-faaa1288" start="1706928370421" dump="1706928377206"/><package name="ru/rell"><class name="ru/rell/OcrApplication" sourcefilename="OcrApplication.java"><method name="<init>" desc="()V" line="7"><counter type="INSTRUCTION" missed="0" covered="3"/><counter type="LINE" missed="0" covered="1"/><counter type="COMPLEXITY" missed="0" covered="1"/><counter type="METHOD" missed="0" covered="1"/></method><method name="main" desc="([Ljava/lang/String;)V" line="9"><counter type="INSTRUCTION" missed="5" covered="0"/><counter type="LINE" missed="2" covered="0"/><counter type="COMPLEXITY" missed="1" covered="0"/><counter type="METHOD" missed="1" covered="0"/></method><counter type="INSTRUCTION" missed="5" covered="3"/><counter type="LINE" missed="2" covered="1"/><counter type="COMPLEXITY" missed="1" covered="1"/><counter type="METHOD" missed="1" covered="1"/><counter type="CLASS" missed="0" covered="1"/></class><sourcefile name="OcrApplication.java"><line nr="7" mi="0" ci="3" mb="0" cb="0"/><line nr="9" mi="4" ci="0" mb="0" cb="0"/><line nr="10" mi="1" ci="0" mb="0" cb="0"/><counter type="INSTRUCTION" missed="5" covered="3"/><counter type="LINE" missed="2" covered="1"/><counter type="COMPLEXITY" missed="1" covered="1"/><counter type="METHOD" missed="1" covered="1"/><counter type="CLASS" missed="0" covered="1"/></sourcefile><counter type="INSTRUCTION" missed="5" covered="3"/><counter type="LINE" missed="2" covered="1"/><counter type="COMPLEXITY" missed="1" covered="1"/><counter type="METHOD" missed="1" covered="1"/><counter type="CLASS" missed="0" covered="1"/></package><counter type="INSTRUCTION" missed="5" covered="3"/><counter type="LINE" missed="2" covered="1"/><counter type="COMPLEXITY" missed="1" covered="1"/><counter type="METHOD" missed="1" covered="1"/><counter type="CLASS" missed="0" covered="1"/></report>
|
|
@ -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="ru"><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>OcrApplication</title><script type="text/javascript" src="../jacoco-resources/sort.js"></script></head><body onload="initialSort(['breadcrumb'])"><div class="breadcrumb" id="breadcrumb"><span class="info"><a href="../jacoco-sessions.html" class="el_session">Sessions</a></span><a href="../index.html" class="el_report">ocr-rell-service</a> > <a href="index.html" class="el_package">ru.rell</a> > <span class="el_class">OcrApplication</span></div><h1>OcrApplication</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></tr></thead><tfoot><tr><td>Total</td><td class="bar">5 of 8</td><td class="ctr2">37 %</td><td class="bar">0 of 0</td><td class="ctr2">n/a</td><td class="ctr1">1</td><td class="ctr2">2</td><td class="ctr1">2</td><td class="ctr2">3</td><td class="ctr1">1</td><td class="ctr2">2</td></tr></tfoot><tbody><tr><td id="a0"><a href="OcrApplication.java.html#L9" class="el_method">main(String[])</a></td><td class="bar" id="b0"><img src="../jacoco-resources/redbar.gif" width="120" height="10" title="5" alt="5"/></td><td class="ctr2" id="c1">0 %</td><td class="bar" id="d0"/><td class="ctr2" id="e0">n/a</td><td class="ctr1" id="f0">1</td><td class="ctr2" id="g0">1</td><td class="ctr1" id="h0">2</td><td class="ctr2" id="i0">2</td><td class="ctr1" id="j0">1</td><td class="ctr2" id="k0">1</td></tr><tr><td id="a1"><a href="OcrApplication.java.html#L7" class="el_method">OcrApplication()</a></td><td class="bar" id="b1"><img src="../jacoco-resources/greenbar.gif" width="72" height="10" title="3" alt="3"/></td><td class="ctr2" id="c0">100 %</td><td class="bar" id="d1"/><td class="ctr2" id="e1">n/a</td><td class="ctr1" id="f1">0</td><td class="ctr2" id="g1">1</td><td class="ctr1" id="h1">0</td><td class="ctr2" id="i1">1</td><td class="ctr1" id="j1">0</td><td class="ctr2" id="k1">1</td></tr></tbody></table><div class="footer"><span class="right">Created with <a href="http://www.jacoco.org/jacoco">JaCoCo</a> 0.8.11.202310140853</span></div></body></html>
|
|
@ -0,0 +1,12 @@
|
||||||
|
<?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="ru"><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>OcrApplication.java</title><link rel="stylesheet" href="../jacoco-resources/prettify.css" type="text/css"/><script type="text/javascript" src="../jacoco-resources/prettify.js"></script></head><body onload="window['PR_TAB_WIDTH']=4;prettyPrint()"><div class="breadcrumb" id="breadcrumb"><span class="info"><a href="../jacoco-sessions.html" class="el_session">Sessions</a></span><a href="../index.html" class="el_report">ocr-rell-service</a> > <a href="index.source.html" class="el_package">ru.rell</a> > <span class="el_source">OcrApplication.java</span></div><h1>OcrApplication.java</h1><pre class="source lang-java linenums">package ru.rell;
|
||||||
|
|
||||||
|
import org.springframework.boot.SpringApplication;
|
||||||
|
import org.springframework.boot.autoconfigure.SpringBootApplication;
|
||||||
|
|
||||||
|
@SpringBootApplication
|
||||||
|
<span class="fc" id="L7">public class OcrApplication {</span>
|
||||||
|
public static void main(String[] args) {
|
||||||
|
<span class="nc" id="L9"> SpringApplication.run(OcrApplication.class, args);</span>
|
||||||
|
<span class="nc" id="L10"> }</span>
|
||||||
|
}
|
||||||
|
</pre><div class="footer"><span class="right">Created with <a href="http://www.jacoco.org/jacoco">JaCoCo</a> 0.8.11.202310140853</span></div></body></html>
|
|
@ -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="ru"><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>ru.rell</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="index.source.html" class="el_source">Source Files</a><a href="../jacoco-sessions.html" class="el_session">Sessions</a></span><a href="../index.html" class="el_report">ocr-rell-service</a> > <span class="el_package">ru.rell</span></div><h1>ru.rell</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">5 of 8</td><td class="ctr2">37 %</td><td class="bar">0 of 0</td><td class="ctr2">n/a</td><td class="ctr1">1</td><td class="ctr2">2</td><td class="ctr1">2</td><td class="ctr2">3</td><td class="ctr1">1</td><td class="ctr2">2</td><td class="ctr1">0</td><td class="ctr2">1</td></tr></tfoot><tbody><tr><td id="a0"><a href="OcrApplication.html" class="el_class">OcrApplication</a></td><td class="bar" id="b0"><img src="../jacoco-resources/redbar.gif" width="75" height="10" title="5" alt="5"/><img src="../jacoco-resources/greenbar.gif" width="45" height="10" title="3" alt="3"/></td><td class="ctr2" id="c0">37 %</td><td class="bar" id="d0"/><td class="ctr2" id="e0">n/a</td><td class="ctr1" id="f0">1</td><td class="ctr2" id="g0">2</td><td class="ctr1" id="h0">2</td><td class="ctr2" id="i0">3</td><td class="ctr1" id="j0">1</td><td class="ctr2" id="k0">2</td><td class="ctr1" id="l0">0</td><td class="ctr2" id="m0">1</td></tr></tbody></table><div class="footer"><span class="right">Created with <a href="http://www.jacoco.org/jacoco">JaCoCo</a> 0.8.11.202310140853</span></div></body></html>
|
|
@ -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="ru"><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>ru.rell</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="index.html" class="el_class">Classes</a><a href="../jacoco-sessions.html" class="el_session">Sessions</a></span><a href="../index.html" class="el_report">ocr-rell-service</a> > <span class="el_package">ru.rell</span></div><h1>ru.rell</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">5 of 8</td><td class="ctr2">37 %</td><td class="bar">0 of 0</td><td class="ctr2">n/a</td><td class="ctr1">1</td><td class="ctr2">2</td><td class="ctr1">2</td><td class="ctr2">3</td><td class="ctr1">1</td><td class="ctr2">2</td><td class="ctr1">0</td><td class="ctr2">1</td></tr></tfoot><tbody><tr><td id="a0"><a href="OcrApplication.java.html" class="el_source">OcrApplication.java</a></td><td class="bar" id="b0"><img src="../jacoco-resources/redbar.gif" width="75" height="10" title="5" alt="5"/><img src="../jacoco-resources/greenbar.gif" width="45" height="10" title="3" alt="3"/></td><td class="ctr2" id="c0">37 %</td><td class="bar" id="d0"/><td class="ctr2" id="e0">n/a</td><td class="ctr1" id="f0">1</td><td class="ctr2" id="g0">2</td><td class="ctr1" id="h0">2</td><td class="ctr2" id="i0">3</td><td class="ctr1" id="j0">1</td><td class="ctr2" id="k0">2</td><td class="ctr1" id="l0">0</td><td class="ctr2" id="m0">1</td></tr></tbody></table><div class="footer"><span class="right">Created with <a href="http://www.jacoco.org/jacoco">JaCoCo</a> 0.8.11.202310140853</span></div></body></html>
|
|
@ -0,0 +1,4 @@
|
||||||
|
-------------------------------------------------------------------------------
|
||||||
|
Test set: ru.rell.OcrApplicationTests
|
||||||
|
-------------------------------------------------------------------------------
|
||||||
|
Tests run: 1, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 5.604 s -- in ru.rell.OcrApplicationTests
|