X-Git-Url: http://svarog.pmf.uns.ac.rs/gitweb/?p=mjc2wsl.git;a=blobdiff_plain;f=src-wsl%2Fmetrics.wsl;h=8dff9dba81793749185d99dd1d0ef9c53f8c7a64;hp=1eeceee64b8e8f7bcefc2c38a5bef3ff7966a899;hb=5f2febcd4392a76c7fb4399be6213f1058efb77c;hpb=03131eff0f0f4e42ee10d18e5930bc4230e870fd diff --git a/src-wsl/metrics.wsl b/src-wsl/metrics.wsl index 1eeceee..8dff9db 100644 --- a/src-wsl/metrics.wsl +++ b/src-wsl/metrics.wsl @@ -1,3 +1,22 @@ +C:"Doni Pracner (c) 2015"; +C:" +This program is free software; you can redistribute it +and/or modify it 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. + +This program is distributed in the hope that it will be +useful, but WITHOUT ANY WARRANTY; without even the implied +warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR +PURPOSE. See the GNU General Public License for more +details. + +You should have received a copy of the GNU General Public +License along with this program. If not, see +. +=========================================================="; + C:"This program generates metrics for WSL programs, including options for comparing two programs (mainly ment to compare different versions) and output differences as direct @@ -8,10 +27,6 @@ command line for quick checks but also to be used for automation and creation of CSV files for collections of programs."; -C:"Doni Pracner (c) 2015"; - -C:"Released under the terms of the GPL v3 or later"; - C:"usage {option} {filename}"; C:"Options"; @@ -42,24 +57,6 @@ C:"examples; files in the specified file "; -C:" -This program is free software; you can redistribute it -and/or modify it 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. - -This program is distributed in the hope that it will be -useful, but WITHOUT ANY WARRANTY; without even the implied -warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR -PURPOSE. See the GNU General Public License for more -details. - -You should have received a copy of the GNU General Public -License along with this program. If not, see -. -=========================================================="; - Field_Separator := ","; MW_PROC @Get_New_Name(VAR str) == @@ -131,9 +128,12 @@ ELSE C:"Header for comparison"; @WS("filename");@WS(Field_Separator); @Write_Metrics_List();@WS(Field_Separator); + @WS("P2 "); @Write_Metrics_List();@WS(Field_Separator); - @WS("DIF");@Write_Metrics_List();@WS(Field_Separator); - @WS("%");@Write_Metrics_List(); + @WS("DIF "); + @Write_Metrics_List();@WS(Field_Separator); + @WS("% "); + @Write_Metrics_List(); @WL(""); ELSIF filename = "-o" THEN C:"set output";