Skip to content

Instantly share code, notes, and snippets.

View vilinski's full-sized avatar
☣️
toxic

Andreas Vilinski vilinski

☣️
toxic
View GitHub Profile
@vilinski
vilinski / gist:6452217
Last active July 2, 2018 09:38
R# commandlines dupfinder.xsl
<?xml version="1.0" encoding="utf-8"?>
<xsl:stylesheet xmlns:xsl="http://www.w3.org/1999/XSL/Transform" version="1.0">
<xsl:output method="html" indent="yes" doctype-system="about:legacy-compat"/>
<xsl:template match="/">
<html>
<body>
<h1>Statistics</h1>
<p>Total codebase size: <xsl:value-of select="//CodebaseCost"/></p>
<p>Code to analyze: <xsl:value-of select="//TotalDuplicatesCost"/></p>
<p>Total size of duplicated fragments: <xsl:value-of select="//CodebaseCost" /></p>