{ "data_id": "1063", "name": "kc2", "exact_name": "kc2", "version": 1, "version_label": null, "description": "**Author**: Mike Chapman, NASA \n**Source**: [tera-PROMISE](http:\/\/openscience.us\/repo\/defect\/mccabehalsted\/kc2.html) - 2004 \n**Please cite**: Sayyad Shirabad, J. and Menzies, T.J. (2005) The PROMISE Repository of Software Engineering Databases. School of Information Technology and Engineering, University of Ottawa, Canada. \n \n**KC2 Software defect prediction** \nOne of the NASA Metrics Data Program defect data sets. Data from software for science data processing. Data comes from McCabe and Halstead features extractors of source code. These features were defined in the 70s in an attempt to objectively characterize code features that are associated with software quality.\n\n### Attribute Information \n\n1. loc : numeric % McCabe's line count of code\n2. v(g) : numeric % McCabe \"cyclomatic complexity\"\n3. ev(g) : numeric % McCabe \"essential complexity\"\n4. iv(g) : numeric % McCabe \"design complexity\"\n5. n : numeric % Halstead total operators + operands\n6. v : numeric % Halstead \"volume\"\n7. l : numeric % Halstead \"program length\"\n8. d : numeric % Halstead \"difficulty\"\n9. i : numeric % Halstead \"intelligence\"\n10. e : numeric % Halstead \"effort\"\n11. b : numeric % Halstead \n12. t : numeric % Halstead's time estimator\n13. lOCode : numeric % Halstead's line count\n14. lOComment : numeric % Halstead's count of lines of comments\n15. lOBlank : numeric % Halstead's count of blank lines\n16. lOCodeAndComment: numeric\n17. uniq_Op : numeric % unique operators\n18. uniq_Opnd : numeric % unique operands\n19. total_Op : numeric % total operators\n20. total_Opnd : numeric % total operands\n21. branchCount : numeric % of the flow graph\n22. problems : {false,true} % module has\/has not one or more reported defects\n\n### Relevant papers \n\n- Shepperd, M. and Qinbao Song and Zhongbin Sun and Mair, C. (2013)\nData Quality: Some Comments on the NASA Software Defect Datasets, IEEE Transactions on Software Engineering, 39.\n\n- Tim Menzies and Justin S. Di Stefano (2004) How Good is Your Blind Spot Sampling Policy? 2004 IEEE Conference on High Assurance\nSoftware Engineering.\n\n- T. Menzies and J. DiStefano and A. Orrego and R. Chapman (2004) Assessing Predictors of Software Defects\", Workshop on Predictive Software Models, Chicago", "format": "ARFF", "uploader": "Joaquin Vanschoren", "uploader_id": 2, "visibility": "public", "creator": "Mike Chapman", "contributor": null, "date": "2014-10-06 23:57:36", "update_comment": null, "last_update": "2014-10-06 23:57:36", "licence": "Public", "status": "active", "error_message": null, "url": "https:\/\/www.openml.org\/data\/download\/53946\/kc2.arff", "default_target_attribute": "problems", "row_id_attribute": null, "ignore_attribute": null, "runs": 176906, "suggest": { "input": [ "kc2", "One of the NASA Metrics Data Program defect data sets. Data from software for science data processing. Data comes from McCabe and Halstead features extractors of source code. These features were defined in the 70s in an attempt to objectively characterize code features that are associated with software quality. ### Attribute Information 1. loc : numeric % McCabe's line count of code 2. v(g) : numeric % McCabe \"cyclomatic complexity\" 3. ev(g) : numeric % McCabe \"essential complexity\" 4. iv(g) : n " ], "weight": 5 }, "qualities": { "NumberOfInstances": 522, "NumberOfFeatures": 22, "NumberOfClasses": 2, "NumberOfMissingValues": 0, "NumberOfInstancesWithMissingValues": 0, "NumberOfNumericFeatures": 21, "NumberOfSymbolicFeatures": 1, "REPTreeDepth3Kappa": 0.40732127711964095, "DecisionStumpKappa": 0.4008291171685203, "MaxMeansOfNumericAtts": 18542.991628352487, "MinMutualInformation": null, "Quartile2SkewnessOfNumericAtts": 10.083296475235246, "RandomTreeDepth1AUC": 0.6369102578538453, "Dimensionality": 0.0421455938697318, "MaxMutualInformation": null, "MinNominalAttDistinctValues": 2, "PercentageOfBinaryFeatures": 4.545454545454546, "Quartile2StdDevOfNumericAtts": 21.942778727265353, "RandomTreeDepth1ErrRate": 0.19348659003831417, "EquivalentNumberOfAtts": null, "MaxNominalAttDistinctValues": 2, "MinSkewnessOfNumericAtts": 1.0464801419245156, "PercentageOfInstancesWithMissingValues": 0, "Quartile3AttributeEntropy": null, "RandomTreeDepth1Kappa": 0.3828053662990799, "J48.00001.AUC": 0.727902263258642, "MaxSkewnessOfNumericAtts": 16.788705242312474, "MinStdDevOfNumericAtts": 0.27560890469343136, "PercentageOfMissingValues": 0, "Quartile3KurtosisOfNumericAtts": 199.21320016550885, "AutoCorrelation": 0.9942418426103646, "RandomTreeDepth2AUC": 0.6369102578538453, "J48.00001.ErrRate": 0.1839080459770115, "MaxStdDevOfNumericAtts": 113271.21645142234, "MinorityClassPercentage": 20.49808429118774, "PercentageOfNumericFeatures": 95.45454545454545, "Quartile3MeansOfNumericAtts": 47.31743295019163, "CfsSubsetEval_DecisionStumpAUC": 0.7286003828397702, "RandomTreeDepth2ErrRate": 0.19348659003831417, "J48.00001.Kappa": 0.3341305907677589, "MeanAttributeEntropy": null, "MinorityClassSize": 107, "PercentageOfSymbolicFeatures": 4.545454545454546, "Quartile3MutualInformation": null, "CfsSubsetEval_DecisionStumpErrRate": 0.1839080459770115, "RandomTreeDepth2Kappa": 0.3828053662990799, "J48.0001.AUC": 0.727902263258642, "MeanKurtosisOfNumericAtts": 130.1084304346329, "NaiveBayesAUC": 0.8144119500884621, "Quartile1AttributeEntropy": null, "Quartile3SkewnessOfNumericAtts": 12.276348915524732, "CfsSubsetEval_DecisionStumpKappa": 0.33953660015288495, "RandomTreeDepth3AUC": 0.6369102578538453, "J48.0001.ErrRate": 0.1839080459770115, "MeanMeansOfNumericAtts": 977.893699142492, "NaiveBayesErrRate": 0.17049808429118773, "Quartile1KurtosisOfNumericAtts": 43.9805869639595, "Quartile3StdDevOfNumericAtts": 116.69468060040823, "CfsSubsetEval_NaiveBayesAUC": 0.7286003828397702, "RandomTreeDepth3ErrRate": 0.19348659003831417, "J48.0001.Kappa": 0.3341305907677589, "MeanMutualInformation": null, "NaiveBayesKappa": 0.40927701345268663, "Quartile1MeansOfNumericAtts": 3.048659003831412, "REPTreeDepth1AUC": 0.777750253349848, "CfsSubsetEval_NaiveBayesErrRate": 0.1839080459770115, "RandomTreeDepth3Kappa": 0.3828053662990799, "J48.001.AUC": 0.727902263258642, "MeanNoiseToSignalRatio": null, "NumberOfBinaryFeatures": 1, "Quartile1MutualInformation": null, "REPTreeDepth1ErrRate": 0.15900383141762453, "CfsSubsetEval_NaiveBayesKappa": 0.33953660015288495, "CfsSubsetEval_kNN1NAUC": 0.7286003828397702, "StdvNominalAttDistinctValues": 0, "J48.001.ErrRate": 0.1839080459770115, "MeanNominalAttDistinctValues": 2, "Quartile1SkewnessOfNumericAtts": 5.476205868149483, "REPTreeDepth1Kappa": 0.40732127711964095, "CfsSubsetEval_kNN1NErrRate": 0.1839080459770115, "kNN1NAUC": 0.6620200427879742, "J48.001.Kappa": 0.3341305907677589, "MeanSkewnessOfNumericAtts": 8.953093281768092, "Quartile1StdDevOfNumericAtts": 6.512591752285926, "REPTreeDepth2AUC": 0.777750253349848, "CfsSubsetEval_kNN1NKappa": 0.33953660015288495, "kNN1NErrRate": 0.19540229885057472, "MajorityClassPercentage": 79.50191570881226, "MeanStdDevOfNumericAtts": 5875.729587941182, "Quartile2AttributeEntropy": null, "REPTreeDepth2ErrRate": 0.15900383141762453, "ClassEntropy": 0.7317786193052257, "kNN1NKappa": 0.3877325728479107, "MajorityClassSize": 415, "MinAttributeEntropy": null, "Quartile2KurtosisOfNumericAtts": 139.5503968851246, "REPTreeDepth2Kappa": 0.40732127711964095, "REPTreeDepth3AUC": 0.777750253349848, "DecisionStumpAUC": 0.7307397815561311, "MaxAttributeEntropy": null, "MinKurtosisOfNumericAtts": 1.99185469826576, "Quartile2MeansOfNumericAtts": 9.735287356321844, "REPTreeDepth3ErrRate": 0.15900383141762453, "DecisionStumpErrRate": 0.19731800766283525, "MaxKurtosisOfNumericAtts": 321.2559116074304, "MinMeansOfNumericAtts": 0.18896551724137942, "Quartile2MutualInformation": null }, "tags": [ { "uploader": "38960", "tag": "Chemistry" }, { "uploader": "38960", "tag": "Life Science" }, { "uploader": "1", "tag": "OpenML-CC18" }, { "uploader": "348", "tag": "OpenML100" }, { "uploader": "24659", "tag": "PROMISE" }, { "uploader": "2", "tag": "study_1" }, { "uploader": "3886", "tag": "study_123" }, { "uploader": "5824", "tag": "study_135" }, { "uploader": "64", "tag": "study_14" }, { "uploader": "1", "tag": "study_34" }, { "uploader": "1", "tag": "study_41" }, { "uploader": "64", "tag": "study_52" }, { "uploader": "64", "tag": "study_7" }, { "uploader": "1935", "tag": "study_98" }, { "uploader": "1", "tag": "study_99" } ], "features": [ { "name": "problems", "index": "21", "type": "nominal", "distinct": "2", "missing": "0", "target": "1", "distr": [ [ "no", "yes" ], [ [ "415", "0" ], [ "0", "107" ] ] ] }, { "name": "loc", "index": "0", "type": "numeric", "distinct": "123", "missing": "0", "min": "1", "max": "1275", "mean": "37", "stdev": "78" }, { "name": "v(g)", "index": "1", "type": "numeric", "distinct": "37", "missing": "0", "min": "1", "max": "180", "mean": "5", "stdev": "11" }, { "name": "ev(g)", "index": "2", "type": "numeric", "distinct": "21", "missing": "0", "min": "1", "max": "125", "mean": "2", "stdev": "7" }, { "name": "iv(g)", "index": "3", "type": "numeric", "distinct": "26", "missing": "0", "min": "1", "max": "143", "mean": "4", "stdev": "8" }, { "name": "n", "index": "4", "type": "numeric", "distinct": "196", "missing": "0", "min": "1", "max": "3982", "mean": "95", "stdev": "233" }, { "name": "v", "index": "5", "type": "numeric", "distinct": "297", "missing": "0", "min": "0", "max": "33815", "mean": "555", "stdev": "1817" }, { "name": "l", "index": "6", "type": "numeric", "distinct": "44", "missing": "0", "min": "0", "max": "2", "mean": "0", "stdev": "0" }, { "name": "d", "index": "7", "type": "numeric", "distinct": "254", "missing": "0", "min": "0", "max": "104", "mean": "10", "stdev": "11" }, { "name": "i", "index": "8", "type": "numeric", "distinct": "319", "missing": "0", "min": "0", "max": "415", "mean": "28", "stdev": "32" }, { "name": "e", "index": "9", "type": "numeric", "distinct": "329", "missing": "0", "min": "0", "max": "2147484", "mean": "18543", "stdev": "113271" }, { "name": "b", "index": "10", "type": "numeric", "distinct": "86", "missing": "0", "min": "0", "max": "11", "mean": "0", "stdev": "1" }, { "name": "t", "index": "11", "type": "numeric", "distinct": "330", "missing": "0", "min": "0", "max": "153047", "mean": "1095", "stdev": "7557" }, { "name": "lOCode", "index": "12", "type": "numeric", "distinct": "112", "missing": "0", "min": "0", "max": "1107", "mean": "28", "stdev": "64" }, { "name": "lOComment", "index": "13", "type": "numeric", "distinct": "28", "missing": "0", "min": "0", "max": "44", "mean": "2", "stdev": "6" }, { "name": "lOBlank", "index": "14", "type": "numeric", "distinct": "35", "missing": "0", "min": "0", "max": "121", "mean": "4", "stdev": "9" }, { "name": "lOCodeAndComment", "index": "15", "type": "numeric", "distinct": "8", "missing": "0", "min": "0", "max": "11", "mean": "0", "stdev": "1" }, { "name": "uniq_Op", "index": "16", "type": "numeric", "distinct": "30", "missing": "0", "min": "1", "max": "47", "mean": "9", "stdev": "6" }, { "name": "uniq_Opnd", "index": "17", "type": "numeric", "distinct": "66", "missing": "0", "min": "0", "max": "325", "mean": "14", "stdev": "22" }, { "name": "total_Op", "index": "18", "type": "numeric", "distinct": "152", "missing": "0", "min": "1", "max": "2469", "mean": "58", "stdev": "143" }, { "name": "total_Opnd", "index": "19", "type": "numeric", "distinct": "131", "missing": "0", "min": "0", "max": "1513", "mean": "37", "stdev": "90" }, { "name": "branchCount", "index": "20", "type": "numeric", "distinct": "37", "missing": "0", "min": "1", "max": "361", "mean": "9", "stdev": "22" } ], "nr_of_issues": 0, "nr_of_downvotes": 0, "nr_of_likes": 0, "nr_of_downloads": 0, "total_downloads": 0, "reach": 0, "reuse": 0, "impact_of_reuse": 0, "reach_of_reuse": 0, "impact": 0 }