{ "data_id": "1068", "name": "pc1", "exact_name": "pc1", "version": 1, "version_label": null, "description": "**Author**: Mike Chapman, NASA \r\n**Source**: [tera-PROMISE](http:\/\/openscience.us\/repo\/defect\/mccabehalsted\/pc1.html) - 2004 \r\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. \r\n \r\n\r\n**PC1 Software defect prediction** \r\nOne of the NASA Metrics Data Program defect data sets. Data from flight software for earth orbiting satellite. 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.\r\n\r\n### Attribute Information \r\n\r\n1. loc : numeric % McCabe's line count of code\r\n2. v(g) : numeric % McCabe \"cyclomatic complexity\"\r\n3. ev(g) : numeric % McCabe \"essential complexity\"\r\n4. iv(g) : numeric % McCabe \"design complexity\"\r\n5. n : numeric % Halstead total operators + operands\r\n6. v : numeric % Halstead \"volume\"\r\n7. l : numeric % Halstead \"program length\"\r\n8. d : numeric % Halstead \"difficulty\"\r\n9. i : numeric % Halstead \"intelligence\"\r\n10. e : numeric % Halstead \"effort\"\r\n11. b : numeric % Halstead \r\n12. t : numeric % Halstead's time estimator\r\n13. lOCode : numeric % Halstead's line count\r\n14. lOComment : numeric % Halstead's count of lines of comments\r\n15. lOBlank : numeric % Halstead's count of blank lines\r\n16. lOCodeAndComment: numeric\r\n17. uniq_Op : numeric % unique operators\r\n18. uniq_Opnd : numeric % unique operands\r\n19. total_Op : numeric % total operators\r\n20. total_Opnd : numeric % total operands\r\n21. branchCount : numeric % of the flow graph\r\n22. branchCount : numeric % of the flow graph\r\n23. defects : {false,true} % module has\/has not one or more reported defects\r\n\r\n### Relevant papers \r\n\r\n- Shepperd, M. and Qinbao Song and Zhongbin Sun and Mair, C. (2013)\r\nData Quality: Some Comments on the NASA Software Defect Datasets, IEEE Transactions on Software Engineering, 39.\r\n\r\n- Tim Menzies and Justin S. Di Stefano (2004) How Good is Your Blind Spot Sampling Policy? 2004 IEEE Conference on High Assurance\r\nSoftware Engineering.\r\n\r\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": null, "contributor": null, "date": "2014-10-06 23:57:45", "update_comment": null, "last_update": "2014-10-06 23:57:45", "licence": "Public", "status": "active", "error_message": null, "url": "https:\/\/www.openml.org\/data\/download\/53951\/pc1.arff", "default_target_attribute": "defects", "row_id_attribute": null, "ignore_attribute": null, "runs": 143523, "suggest": { "input": [ "pc1", "One of the NASA Metrics Data Program defect data sets. Data from flight software for earth orbiting satellite. 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. i " ], "weight": 5 }, "qualities": { "NumberOfInstances": 1109, "NumberOfFeatures": 22, "NumberOfClasses": 2, "NumberOfMissingValues": 0, "NumberOfInstancesWithMissingValues": 0, "NumberOfNumericFeatures": 21, "NumberOfSymbolicFeatures": 1, "REPTreeDepth3ErrRate": 0.07484220018034266, "DecisionStumpErrRate": 0.06943192064923355, "MaxKurtosisOfNumericAtts": 410.48838673995436, "MinMeansOfNumericAtts": 0.12941388638412984, "Quartile2MutualInformation": null, "REPTreeDepth3Kappa": 0.03050251203353649, "DecisionStumpKappa": 0, "MaxMeansOfNumericAtts": 28822.882380522995, "MinMutualInformation": null, "Quartile2SkewnessOfNumericAtts": 7.428331461257432, "RandomTreeDepth1AUC": 0.6027572233967583, "Dimensionality": 0.019837691614066726, "MaxMutualInformation": null, "MinNominalAttDistinctValues": 2, "PercentageOfBinaryFeatures": 4.545454545454546, "Quartile2StdDevOfNumericAtts": 16.54067599865951, "RandomTreeDepth1ErrRate": 0.09918845807033363, "EquivalentNumberOfAtts": null, "MaxNominalAttDistinctValues": 2, "MinSkewnessOfNumericAtts": 2.1722108126029522, "PercentageOfInstancesWithMissingValues": 0, "Quartile3AttributeEntropy": null, "RandomTreeDepth1Kappa": 0.21351574386878833, "J48.00001.AUC": 0.5655454042081949, "MaxSkewnessOfNumericAtts": 18.550221072780662, "MinStdDevOfNumericAtts": 0.1469519403318078, "PercentageOfMissingValues": 0, "Quartile3KurtosisOfNumericAtts": 113.15687940288026, "AutoCorrelation": 0.9981949458483754, "RandomTreeDepth2AUC": 0.6027572233967583, "J48.00001.ErrRate": 0.07303877366997295, "MaxStdDevOfNumericAtts": 170643.60332778358, "MinorityClassPercentage": 6.943192064923355, "PercentageOfNumericFeatures": 95.45454545454545, "Quartile3MeansOfNumericAtts": 58.69765554553661, "CfsSubsetEval_DecisionStumpAUC": 0.7522337158965066, "RandomTreeDepth2ErrRate": 0.09918845807033363, "J48.00001.Kappa": 0.21232342186719078, "MeanAttributeEntropy": null, "MinorityClassSize": 77, "PercentageOfSymbolicFeatures": 4.545454545454546, "Quartile3MutualInformation": null, "CfsSubsetEval_DecisionStumpErrRate": 0.06762849413886383, "CfsSubsetEval_DecisionStumpKappa": 0.10596240043855441, "RandomTreeDepth2Kappa": 0.21351574386878833, "J48.0001.AUC": 0.5655454042081949, "MeanKurtosisOfNumericAtts": 116.04528058633095, "NaiveBayesAUC": 0.6869372008416716, "Quartile1AttributeEntropy": null, "Quartile3SkewnessOfNumericAtts": 8.41665120804005, "CfsSubsetEval_NaiveBayesAUC": 0.7522337158965066, "RandomTreeDepth3AUC": 0.6027572233967583, "J48.0001.ErrRate": 0.07303877366997295, "MeanMeansOfNumericAtts": 1500.9949675812618, "NaiveBayesErrRate": 0.11000901713255185, "Quartile1KurtosisOfNumericAtts": 56.28845420032504, "Quartile3StdDevOfNumericAtts": 99.00596250867234, "CfsSubsetEval_NaiveBayesErrRate": 0.06762849413886383, "RandomTreeDepth3ErrRate": 0.09918845807033363, "J48.0001.Kappa": 0.21232342186719078, "MeanMutualInformation": null, "NaiveBayesKappa": 0.2147442222196429, "Quartile1MeansOfNumericAtts": 4.008746618575299, "REPTreeDepth1AUC": 0.6945346320346321, "REPTreeDepth1ErrRate": 0.07484220018034266, "CfsSubsetEval_NaiveBayesKappa": 0.10596240043855441, "RandomTreeDepth3Kappa": 0.21351574386878833, "J48.001.AUC": 0.5655454042081949, "MeanNoiseToSignalRatio": null, "NumberOfBinaryFeatures": 1, "Quartile1MutualInformation": null, "REPTreeDepth1Kappa": 0.03050251203353649, "CfsSubsetEval_kNN1NAUC": 0.7522337158965066, "StdvNominalAttDistinctValues": 0, "J48.001.ErrRate": 0.07303877366997295, "MeanNominalAttDistinctValues": 2, "Quartile1SkewnessOfNumericAtts": 5.650796484562278, "REPTreeDepth2AUC": 0.6945346320346321, "CfsSubsetEval_kNN1NErrRate": 0.06762849413886383, "kNN1NAUC": 0.7022299406020337, "J48.001.Kappa": 0.21232342186719078, "MeanSkewnessOfNumericAtts": 8.008505554819505, "Quartile1StdDevOfNumericAtts": 7.292111258862489, "REPTreeDepth2ErrRate": 0.07484220018034266, "CfsSubsetEval_kNN1NKappa": 0.10596240043855441, "kNN1NErrRate": 0.07303877366997295, "MajorityClassPercentage": 93.05680793507665, "MeanStdDevOfNumericAtts": 8678.609588564534, "Quartile2AttributeEntropy": null, "REPTreeDepth2Kappa": 0.03050251203353649, "ClassEntropy": 0.3638001053192342, "kNN1NKappa": 0.4099630196462237, "MajorityClassSize": 1032, "MinAttributeEntropy": null, "Quartile2KurtosisOfNumericAtts": 90.71651180753848, "REPTreeDepth3AUC": 0.6945346320346321, "DecisionStumpAUC": 0.7274111547367361, "MaxAttributeEntropy": null, "MinKurtosisOfNumericAtts": 13.730107138742545, "Quartile2MeansOfNumericAtts": 15.396266907123536 }, "tags": [ { "tag": "mythbusting_1", "uploader": "1" }, { "tag": "OpenML-CC18", "uploader": "1" }, { "tag": "OpenML100", "uploader": "348" }, { "tag": "study_1", "uploader": "2" }, { "tag": "study_123", "uploader": "3886" }, { "tag": "study_14", "uploader": "64" }, { "tag": "study_15", "uploader": "939" }, { "tag": "study_20", "uploader": "939" }, { "tag": "study_34", "uploader": "1" }, { "tag": "study_41", "uploader": "1" }, { "tag": "study_52", "uploader": "64" }, { "tag": "study_7", "uploader": "64" }, { "tag": "study_98", "uploader": "1935" }, { "tag": "study_99", "uploader": "1" } ], "features": [ { "name": "defects", "index": "21", "type": "nominal", "distinct": "2", "missing": "0", "target": "1", "distr": [ [ "false", "true" ], [ [ "1032", "0" ], [ "0", "77" ] ] ] }, { "name": "loc", "index": "0", "type": "numeric", "distinct": "111", "missing": "0", "min": "0", "max": "602", "mean": "23", "stdev": "35" }, { "name": "v(g)", "index": "1", "type": "numeric", "distinct": "48", "missing": "0", "min": "1", "max": "136", "mean": "6", "stdev": "9" }, { "name": "ev(g)", "index": "2", "type": "numeric", "distinct": "27", "missing": "0", "min": "1", "max": "123", "mean": "3", "stdev": "6" }, { "name": "iv(G)", "index": "3", "type": "numeric", "distinct": "31", "missing": "0", "min": "1", "max": "123", "mean": "3", "stdev": "6" }, { "name": "N", "index": "4", "type": "numeric", "distinct": "312", "missing": "0", "min": "1", "max": "2785", "mean": "117", "stdev": "197" }, { "name": "V", "index": "5", "type": "numeric", "distinct": "756", "missing": "0", "min": "0", "max": "25943", "mean": "700", "stdev": "1510" }, { "name": "L", "index": "6", "type": "numeric", "distinct": "45", "missing": "0", "min": "0", "max": "2", "mean": "0", "stdev": "0" }, { "name": "D", "index": "7", "type": "numeric", "distinct": "613", "missing": "0", "min": "0", "max": "271", "mean": "15", "stdev": "16" }, { "name": "I", "index": "8", "type": "numeric", "distinct": "823", "missing": "0", "min": "0", "max": "598", "mean": "33", "stdev": "35" }, { "name": "E", "index": "9", "type": "numeric", "distinct": "890", "missing": "0", "min": "0", "max": "4279633", "mean": "28823", "stdev": "170644" }, { "name": "B", "index": "10", "type": "numeric", "distinct": "126", "missing": "0", "min": "0", "max": "9", "mean": "0", "stdev": "1" }, { "name": "T", "index": "11", "type": "numeric", "distinct": "886", "missing": "0", "min": "0", "max": "237757", "mean": "1601", "stdev": "9480" }, { "name": "lOCode", "index": "12", "type": "numeric", "distinct": "113", "missing": "0", "min": "0", "max": "600", "mean": "22", "stdev": "34" }, { "name": "lOComment", "index": "13", "type": "numeric", "distinct": "53", "missing": "0", "min": "0", "max": "159", "mean": "5", "stdev": "11" }, { "name": "locCodeAndComment", "index": "14", "type": "numeric", "distinct": "24", "missing": "0", "min": "0", "max": "48", "mean": "1", "stdev": "3" }, { "name": "lOBlank", "index": "15", "type": "numeric", "distinct": "52", "missing": "0", "min": "0", "max": "225", "mean": "7", "stdev": "12" }, { "name": "uniq_Op", "index": "16", "type": "numeric", "distinct": "46", "missing": "0", "min": "1", "max": "99", "mean": "13", "stdev": "8" }, { "name": "uniq_Opnd", "index": "17", "type": "numeric", "distinct": "106", "missing": "0", "min": "0", "max": "538", "mean": "21", "stdev": "29" }, { "name": "total_Op", "index": "18", "type": "numeric", "distinct": "232", "missing": "0", "min": "1", "max": "1641", "mean": "66", "stdev": "112" }, { "name": "total_Opnd", "index": "19", "type": "numeric", "distinct": "203", "missing": "0", "min": "0", "max": "1144", "mean": "51", "stdev": "86" }, { "name": "branchCount", "index": "20", "type": "numeric", "distinct": "62", "missing": "0", "min": "1", "max": "236", "mean": "10", "stdev": "17" } ], "nr_of_issues": 0, "nr_of_downvotes": 0, "nr_of_likes": 0, "nr_of_downloads": 24, "total_downloads": 28, "reach": 24, "reuse": 18, "impact_of_reuse": 0, "reach_of_reuse": 0, "impact": 18 }