[elberfelder1871] r500 committed - Statistikfunktion zur Fortschrittsüberwachung

2 views
Skip to first unread message

elberfe...@googlecode.com

unread,
Apr 20, 2013, 4:55:15 AM4/20/13
to elberfel...@googlegroups.com
Revision: 500
Author: wosc...@gmail.com
Date: Sat Apr 20 01:55:03 2013
Log: Statistikfunktion zur Fortschrittsüberwachung
http://code.google.com/p/elberfelder1871/source/detail?r=500

Modified:
/trunk/Dropbox/get500.ps1
/trunk/Dropbox/liste500.txt

=======================================
--- /trunk/Dropbox/get500.ps1 Wed Dec 19 13:26:41 2012
+++ /trunk/Dropbox/get500.ps1 Sat Apr 20 01:55:03 2013
@@ -24,7 +24,7 @@
$ATXml=Get-ChildItem -Recurse -Path $MyDirectoryAT -Filter "*.xml"

$NTXml=Get-ChildItem -Recurse -Path $MyDirectoryNT -Filter "*.xml"
-
+ $at500=0;
foreach ($ATChapter in $ATXml) {


@@ -32,7 +32,7 @@

$Revision=$TestChapter.XMLBIBLE.GetAttributeNode("revision");
if($Revision.Value.StartsWith("5")){
-
+ $at500=$at500+1;
$n="Korrekturgelesen: " + $ATChapter.Name
$v="Revision: "+$Revision.Value
Add-Content -Path liste500.txt -Value $n
@@ -43,7 +43,8 @@

}
Add-Content -Path liste500.txt -Value "Neues Testament"
-
+
+ $nt500=0;

foreach ($NTChapter in $NTXml) {

@@ -52,7 +53,7 @@

$Revision=$TestChapter.XMLBIBLE.GetAttributeNode("revision");
if($Revision.Value.StartsWith("5")){
-
+ $nt500=$nt500+1;
$n= "Korrekturgelesen: " + $NTChapter.Name
$v= "Revision: "+$Revision.Value
Add-Content -Path liste500.txt -Value $n
@@ -61,4 +62,21 @@

}

-}
+ }
+ Add-Content -Path liste500.txt
-Value "=============================================="
+
+ $TotalAT="Kapitel insgesamt in AT: "+$ATXml.Count.ToString();
+ $500AT="Kapitel mit Revison 500 in AT: "+ $at500;
+ $ProgressAT= [System.Math]::Round(($at500/$ATXml.Count)*100,2);
+ Add-Content -Path liste500.txt -Value $TotalAT;
+ Add-Content -Path liste500.txt -Value $500AT;
+ Add-Content -Path liste500.txt -Value "Fortschritt in Prozent:"
+ Add-Content -Path liste500.txt -Value $ProgressAT
+
+ $TotalNT="Kapitel insgesamt in NT: "+$NTXml.Count.ToString();
+ $500NT="Kapitel mit Revison 500 in NT: "+ $nt500;
+ $ProgressNT= [System.Math]::Round(($nt500/$NTXml.Count)*100,2);
+ Add-Content -Path liste500.txt -Value $TotalNT;
+ Add-Content -Path liste500.txt -Value $500NT;
+ Add-Content -Path liste500.txt -Value "Fortschritt in Prozent:"
+ Add-Content -Path liste500.txt -Value $ProgressNT
=======================================
--- /trunk/Dropbox/liste500.txt Sat Apr 20 01:19:46 2013
+++ /trunk/Dropbox/liste500.txt Sat Apr 20 01:55:03 2013
@@ -49,7 +49,7 @@
Korrekturgelesen: Matthäus_8.xml
Revision: 500
==============================================
-20.04.2013 08:17:53
+20.04.2013 08:52:26
==============================================
Überblick Korrekturlesung Revision >=500
Altes Testament
@@ -140,3 +140,12 @@
Revision: 500
Korrekturgelesen: Matthäus_9.xml
Revision: 500
+==============================================
+Kapitel insgesamt in AT: 929
+Kapitel mit Revison 500 in AT: 7
+Fortschritt in Prozent:
+0,75
+Kapitel insgesamt in NT: 260
+Kapitel mit Revison 500 in NT: 36
+Fortschritt in Prozent:
+13,85
Reply all
Reply to author
Forward
0 new messages