Skip to content

Commit cc0f558

Browse files
author
DKravtsov
committed
Added phpcpd report schema v1.0.0.
1 parent 6aa844f commit cc0f558

File tree

8 files changed

+18
-6
lines changed

8 files changed

+18
-6
lines changed

images/favicon.ico

318 Bytes
Binary file not shown.

images/logo-black-big.png

7.82 KB
Loading

images/logo-black-small.png

2.68 KB
Loading

images/logo-white-big.png

8.27 KB
Loading

images/logo-white-small.png

2.83 KB
Loading

phpcpd/report/index.html

Lines changed: 9 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,9 @@
1+
<!DOCTYPE html>
2+
<html>
3+
<head>
4+
<title>PHP Copy/Paste Detector</title>
5+
</head>
6+
<body>
7+
<div style="text-align: center;"><a href="https://www.systemsdk.com" target="_self"><img src="../../images/logo-black-big.png" alt="Visit web-site"></a></div>
8+
</body>
9+
</html>
Lines changed: 7 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
<?xml version="1.0" encoding="utf-8"?>
2-
<xsl:stylesheet version="1.0" xmlns:xsl="http://www.w3.org/1999/XSL/Transform" xmlns:cpd="https://systemsdk.github.io/phpcpd/schema" exclude-result-prefixes="cpd">
2+
<xsl:stylesheet version="1.0" xmlns:xsl="http://www.w3.org/1999/XSL/Transform" xmlns:cpd="https://systemsdk.github.io/phpcpd/report" exclude-result-prefixes="cpd">
33
<xsl:output method="html" doctype-system="about:legacy-compat"/>
44
<xsl:template match="/">
55
<html>
@@ -18,11 +18,13 @@
1818
<script src="https://cdnjs.cloudflare.com/ajax/libs/pdfmake/0.2.7/pdfmake.min.js"/>
1919
<script src="https://cdnjs.cloudflare.com/ajax/libs/pdfmake/0.2.7/vfs_fonts.js"/>
2020
<script src="https://cdn.datatables.net/v/bs5/jszip-2.5.0/dt-1.13.4/b-2.3.6/b-html5-2.3.6/b-print-2.3.6/datatables.min.js"/>
21+
<title>PHPCPD Report</title>
22+
<link rel="icon" href="https://systemsdk.github.io/images/favicon.ico" sizes="32x32" />
2123

2224
</head>
2325
<body style="padding-top: 3.5rem;">
2426
<nav class="navbar navbar-expand-lg fixed-top navbar-dark bg-dark">
25-
<a class="navbar-brand" href="#">PHP Copy/Paste Detector</a>
27+
<a class="navbar-brand" href="#"></a>
2628
<button class="navbar-toggler" type="button" data-bs-toggle="collapse" data-bs-target="#navbarNav"
2729
aria-controls="navbarNav" aria-expanded="false" aria-label="Toggle navigation">
2830
<span class="navbar-toggler-icon"></span>
@@ -43,13 +45,14 @@
4345
</li>
4446
</ul>
4547
</div>
48+
<img alt="Logo" src="https://systemsdk.github.io/images/logo-white-small.png" style="border-right: 20px solid;"/>
4649
</nav>
4750

4851
<div class="container">
4952
<div class="row">
5053
<div class="col">
51-
<h4>Summary of duplicated code</h4>
52-
<p>This page summarizes the code fragments that have been found to be replicated in the code.</p>
54+
<h4>PHPCPD <font color="#0000FF"><xsl:value-of select="cpd:pmd-cpd/attribute::phpcpdVersion"/></font> - Summary of duplicated code</h4>
55+
<p>This page summarizes the code fragments that have been found at <font color="#0000FF"><xsl:value-of select="cpd:pmd-cpd/attribute::timestamp"/></font> to be replicated in the code.</p>
5356

5457
<table class="table table-light table-bordered table-striped table-hover">
5558
<tr>
Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,8 +1,8 @@
11
<?xml version="1.0"?>
22
<xs:schema
33
xmlns:xs="http://www.w3.org/2001/XMLSchema"
4-
xmlns:xsd="http://www.w3.org/2001/XMLSchema" xmlns="https://systemsdk.github.io/phpcpd/schema"
5-
targetNamespace="https://systemsdk.github.io/phpcpd/schema"
4+
xmlns:xsd="http://www.w3.org/2001/XMLSchema" xmlns="https://systemsdk.github.io/phpcpd/report"
5+
targetNamespace="https://systemsdk.github.io/phpcpd/report"
66
elementFormDefault="qualified">
77

88
<xsd:annotation>

0 commit comments

Comments
 (0)