@relation qqdefects.arff %gawk -F, '/@data/{IN=1} IN {suffix=""} IN&& NR > 3 {suffix= "," int(log($NF)/2)*2} {print $0 suffix}' qqdefects.arff > qqdefectsdiscrete.arff %%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%% % This is a PROMISE Software Engineering Repository data set made publicly % available in order to encourage repeatable, verifiable, refutable, and/or % improvable predictive models of software engineering. % % If you publish material based on PROMISE data sets then, please % follow the acknowledgment guidelines posted on the PROMISE repository % web page http://promisedata.org/repository . %%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%% % %%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%% % (c) 2007 Norman Fenton % This data set is distributed under the % Creative Commons Attribution-Share Alike 3.0 License % http://creativecommons.org/licenses/by-sa/3.0/ % % You are free: % % * to Share -- copy, distribute and transmit the work % * to Remix -- to adapt the work % % Under the following conditions: % % Attribution. You must attribute the work in the manner specified by % the author or licensor (but not in any way that suggests that they endorse % you or your use of the work). % % Share Alike. If you alter, transform, or build upon this work, you % may distribute the resulting work only under the same, similar or a % compatible license. % % * For any reuse or distribution, you must make clear to others the % license terms of this work. % * Any of the above conditions can be waived if you get permission from % the copyright holder. % * Apart from the remix rights granted under this license, nothing in % this license impairs or restricts the author's moral rights. % % Qualitative and quantitative data about 31 projects completed in a % consumer electronics company (one row per project). % There % is a mixture of qualitative attributes (these are measured on a 5 % point ranked scale VL, L, M, H, VH) and quantitative attributes % whose scale is stated. % from.. % Title: % Project Data Incorporating Qualitative Factors for Improved Software Defect; % Author(s): % Norman Fenton and Martin Neil and William Marsh and Peter Hearty and Lukasz Radlinski and Paul Krause; % Published in: % in Proceedings of the PROMISE workshop; % Year: % 2007; % attributes: % S1 Relevant Experience of Spec & Doc Staff % S2 Quality of Documentation inspected % S3 Regularity of Spec & Doc Reviews % S4 Standard Procedures Followed % S5 Quality of Documentation inspected % S6 Spec Defects Discovered in Review % S7 Requirements Stability % F1 Complexity of new functionality % F2 Scale of New functionality implemented % F3 Total no. of Inputs and Outputs % D1 Relevant Development Staff Experience % D2 Programmer capability % D3 Defined processes followed % D4 Development Staff motivation % T1 Testing Process Well Defined % T2 Testing Staff Experience % T3 Testing Staff Experience % T4 Quality of Documented Test Cases % P1 Dev. Staff Training Quality % P2 Requirements Management % P3 Project Planning % P4 Scale of Distributed Communication % P5 Stake-holder involvement % P6 Stake-holder involvement % P7 Vendor Management % P8 Internal communication/interaction % P9 Process Maturity % E Total Effort % K KLOC % L Language % TD Testing Defects (Pre+ Post) @attribute S1 numeric @attribute S2 numeric @attribute S3 numeric @attribute S4 numeric @attribute S5 numeric @attribute S6 numeric @attribute S7 numeric @attribute F1 numeric @attribute F2 numeric @attribute F3 numeric @attribute D1 numeric @attribute D2 numeric @attribute D3 numeric @attribute D4 numeric @attribute T1 numeric @attribute T2 numeric @attribute T3 numeric @attribute T4 numeric @attribute P1 numeric @attribute P2 numeric @attribute P3 numeric @attribute P4 numeric @attribute P5 numeric @attribute P6 numeric @attribute P7 numeric @attribute P8 numeric @attribute P9 numeric @attribute E numeric @attribute K numeric @attribute L {C,VC++MFC} @attribute TD numeric @attribute class {0,2,4,6} @data 4,3,5,4,3,4,2,3,2,3,2,4,4,4,3,4,2,4,5,4,4,2,4,3,?,5,4,7108.82,6.02,C,148,4 4,4,5,4,3,4,4,2,1,3,2,4,4,4,4,4,2,4,5,4,4,2,4,3,?,5,4,1308.08,0.897,C,31,2 4,4,5,4,4,5,4,4,4,5,4,5,4,5,4,4,4,4,4,5,4,?,5,5,?,5,5,18170,53.858,C,209,4 2,2,3,2,2,2,2,3,2,3,2,3,2,3,1,1,1,2,2,3,1,2,3,3,3,4,3,7006,?,C,228,4 4,3,4,3,4,?,3,4,4,5,2,3,4,4,3,3,2,3,4,4,4,3,3,4,2,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