Skip to content

Instantly share code, notes, and snippets.

#region Copyright & License Information
/*
* Copyright 2007-2017 The OpenRA Developers (see AUTHORS)
* This file is part of OpenRA, which is free software. It is made
* available to you under the terms of the GNU General Public License
* as published by the Free Software Foundation, either version 3 of
* the License, or (at your option) any later version. For more
* information, see COPYING.
*/
#endregion
@Mailaender
Mailaender / dupFinder.xsl
Created June 8, 2015 18:21 — forked from dmimat/dupFinder.xsl
fix total size of duplicated fragments
<?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" />
<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="//TotalFragmentsCost" /></p>
This file has been truncated, but you can view the full file.
Player: Zypres (Windows Microsoft Windows NT 6.1.7601 Service Pack 1 .NET CLR 2.0.50727.5472)
Game ID: 521ff9ea-98ec-46d1-b49e-a52d1a574a01 (Mod: Red Alert at Version playtest-20131019-5)
Sync for net frame 11131 -------------
SharedRandom: 1320639775 (#730644)
Synced Traits:
1 player Neutral PlayerResources (71000)
Cash: 71000
Ore: 0
OreCapacity: 0
1 player Neutral FrozenActorLayer (24816)