{ "data_id": "1065", "name": "kc3", "exact_name": "kc3", "version": 1, "version_label": null, "description": "**Author**: Mike Chapman, NASA \r\n**Source**: [tera-PROMISE](http:\/\/openscience.us\/repo\/defect\/mccabehalsted\/kc3.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**KC3 Software defect prediction** \r\nOne of the NASA Metrics Data Program defect data sets. The specific type of software is unknown. 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. problems : {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": "Mike Chapman", "contributor": null, "date": "2014-10-06 23:57:40", "update_comment": null, "last_update": "2014-10-06 23:57:40", "licence": "Public", "status": "active", "error_message": null, "url": "https:\/\/www.openml.org\/data\/download\/53948\/kc3.arff", "kaggle_url": null, "default_target_attribute": "c", "row_id_attribute": null, "ignore_attribute": null, "runs": 777, "suggest": { "input": [ "kc3", "One of the NASA Metrics Data Program defect data sets. The specific type of software is unknown. 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) : numeric " ], "weight": 5 }, "qualities": { "NumberOfInstances": 458, "NumberOfFeatures": 40, "NumberOfClasses": 2, "NumberOfMissingValues": 0, "NumberOfInstancesWithMissingValues": 0, "NumberOfNumericFeatures": 39, "NumberOfSymbolicFeatures": 1, "Quartile3MutualInformation": null, "CfsSubsetEval_DecisionStumpErrRate": 0.0982532751091703, "RandomTreeDepth2ErrRate": 0.13100436681222707, "J48.00001.Kappa": 0.31192788763887874, "MeanAttributeEntropy": null, "MinorityClassSize": 43, "PercentageOfSymbolicFeatures": 2.5, "Quartile3SkewnessOfNumericAtts": 3.784704935002427, "CfsSubsetEval_DecisionStumpKappa": 0.14686646245550145, "RandomTreeDepth2Kappa": 0.1199641324537248, "J48.0001.AUC": 0.6397029980386664, "MeanKurtosisOfNumericAtts": 18.932703744292265, "NaiveBayesAUC": 0.8215098231863169, "Quartile1AttributeEntropy": null, "Quartile3StdDevOfNumericAtts": 26.472065740865204, "CfsSubsetEval_NaiveBayesAUC": 0.6154384981787614, "RandomTreeDepth3AUC": 0.5514710002801906, "J48.0001.ErrRate": 0.09388646288209607, "MeanMeansOfNumericAtts": 395.4946411376105, "NaiveBayesErrRate": 0.1462882096069869, "Quartile1KurtosisOfNumericAtts": 6.526331322402479, "REPTreeDepth1AUC": 0.6773325861585878, "CfsSubsetEval_NaiveBayesErrRate": 0.0982532751091703, "RandomTreeDepth3ErrRate": 0.13100436681222707, "J48.0001.Kappa": 0.31192788763887874, "MeanMutualInformation": null, "NaiveBayesKappa": 0.2823331306422192, "Quartile1MeansOfNumericAtts": 0.9311572052401746, "REPTreeDepth1ErrRate": 0.09170305676855896, "CfsSubsetEval_NaiveBayesKappa": 0.14686646245550145, "RandomTreeDepth3Kappa": 0.1199641324537248, "J48.001.AUC": 0.6397029980386664, "MeanNoiseToSignalRatio": null, "NumberOfBinaryFeatures": 1, "Quartile1MutualInformation": null, "REPTreeDepth1Kappa": 0.1912889935256033, "CfsSubsetEval_kNN1NAUC": 0.6154384981787614, "StdvNominalAttDistinctValues": 0, "J48.001.ErrRate": 0.09388646288209607, "MeanNominalAttDistinctValues": 2, "Quartile1SkewnessOfNumericAtts": 2.444125819186412, "REPTreeDepth2AUC": 0.6773325861585878, "CfsSubsetEval_kNN1NErrRate": 0.0982532751091703, "kNN1NAUC": 0.730652843933875, "J48.001.Kappa": 0.31192788763887874, "MeanSkewnessOfNumericAtts": 3.10113844959487, "Quartile1StdDevOfNumericAtts": 0.8550365481581099, "REPTreeDepth2ErrRate": 0.09170305676855896, "CfsSubsetEval_kNN1NKappa": 0.14686646245550145, "kNN1NErrRate": 0.11135371179039301, "MajorityClassPercentage": 90.61135371179039, "MeanStdDevOfNumericAtts": 1244.9923289626022, "Quartile2AttributeEntropy": null, "Quartile2KurtosisOfNumericAtts": 11.387958060336313, "REPTreeDepth2Kappa": 0.1912889935256033, "ClassEntropy": 0.44931097622048255, "kNN1NKappa": 0.2777812132830374, "MajorityClassSize": 415, "MinAttributeEntropy": null, "Quartile2MeansOfNumericAtts": 3.4475982532751095, "REPTreeDepth3AUC": 0.6773325861585878, "DecisionStumpAUC": 0.7444382179882318, "MaxAttributeEntropy": null, "MinKurtosisOfNumericAtts": -1.4992423141636746, "Quartile2MutualInformation": null, "REPTreeDepth3ErrRate": 0.09170305676855896, "DecisionStumpErrRate": 0.09388646288209607, "MaxKurtosisOfNumericAtts": 135.62389579561832, "MinMeansOfNumericAtts": 0.0964628820960699, "Quartile2SkewnessOfNumericAtts": 3.0562788397421254, "REPTreeDepth3Kappa": 0.1912889935256033, "DecisionStumpKappa": 0, "MaxMeansOfNumericAtts": 13728.242925764192, "MinMutualInformation": null, "Quartile2StdDevOfNumericAtts": 5.796771340782352, "RandomTreeDepth1AUC": 0.5514710002801906, "Dimensionality": 0.08733624454148471, "MaxMutualInformation": null, "MinNominalAttDistinctValues": 2, "PercentageOfBinaryFeatures": 2.5, "Quartile3AttributeEntropy": null, "RandomTreeDepth1ErrRate": 0.13100436681222707, "EquivalentNumberOfAtts": null, "MaxNominalAttDistinctValues": 2, "MinSkewnessOfNumericAtts": -2.0180617350860963, "PercentageOfInstancesWithMissingValues": 0, "Quartile3KurtosisOfNumericAtts": 20.599386552054526, "AutoCorrelation": 0.8293216630196937, "RandomTreeDepth1Kappa": 0.1199641324537248, "J48.00001.AUC": 0.6397029980386664, "MaxSkewnessOfNumericAtts": 10.031467376936487, "MinStdDevOfNumericAtts": 0.1305072577467533, "PercentageOfMissingValues": 0, "Quartile3MeansOfNumericAtts": 17.14410480349344, "CfsSubsetEval_DecisionStumpAUC": 0.6154384981787614, "RandomTreeDepth2AUC": 0.5514710002801906, "J48.00001.ErrRate": 0.09388646288209607, "MaxStdDevOfNumericAtts": 44394.86622483438, "MinorityClassPercentage": 9.388646288209607, "PercentageOfNumericFeatures": 97.5 }, "tags": [ { "uploader": "38960", "tag": "Computer Science" }, { "uploader": "38960", "tag": "Data Science" }, { "uploader": "38960", "tag": "Engineering" }, { "uploader": "1", "tag": "mythbusting_1" }, { "uploader": "24659", "tag": "PROMISE" }, { "uploader": "2", "tag": "study_1" }, { "uploader": "3886", "tag": "study_123" }, { "uploader": "939", "tag": "study_15" }, { "uploader": "939", "tag": "study_20" }, { "uploader": "1", "tag": "study_41" }, { "uploader": "64", "tag": "study_52" }, { "uploader": "64", "tag": "study_7" }, { "uploader": "4209", "tag": "study_88" } ], "features": [ { "name": "c", "index": "39", "type": "nominal", "distinct": "2", "missing": "0", "target": "1", "distr": [ [ "FALSE", "TRUE" ], [ [ "415", "0" ], [ "0", "43" ] ] ] }, { "name": "LOC_BLANK", "index": "0", "type": "numeric", "distinct": "25", "missing": "0", "min": "0", "max": "28", "mean": "2", "stdev": "4" }, { "name": "BRANCH_COUNT", "index": "1", "type": "numeric", "distinct": "35", "missing": "0", "min": "1", "max": "59", "mean": "5", "stdev": "8" }, { "name": "CALL_PAIRS", "index": "2", "type": "numeric", "distinct": "34", "missing": "0", "min": "0", "max": "46", "mean": "5", "stdev": "7" }, { "name": "LOC_CODE_AND_COMMENT", "index": "3", "type": "numeric", "distinct": "6", "missing": "0", "min": "0", "max": "9", "mean": "0", "stdev": "1" }, { "name": "LOC_COMMENTS", "index": "4", "type": "numeric", "distinct": "20", "missing": "0", "min": "0", "max": "38", "mean": "1", "stdev": "3" }, { "name": "CONDITION_COUNT", "index": "5", "type": "numeric", "distinct": "29", "missing": "0", "min": "0", "max": "76", "mean": "6", "stdev": "12" }, { "name": "CYCLOMATIC_COMPLEXITY", "index": "6", "type": "numeric", "distinct": "24", "missing": "0", "min": "1", "max": "36", "mean": "3", "stdev": "4" }, { "name": "CYCLOMATIC_DENSITY", "index": "7", "type": "numeric", "distinct": "34", "missing": "0", "min": "0", "max": "1", "mean": "0", "stdev": "0" }, { "name": "DECISION_COUNT", "index": "8", "type": "numeric", "distinct": "16", "missing": "0", "min": "0", "max": "34", "mean": "3", "stdev": "5" }, { "name": "DECISION_DENSITY", "index": "9", "type": "numeric", "distinct": "22", "missing": "0", "min": "0", "max": "4", "mean": "1", "stdev": "1" }, { "name": "DESIGN_COMPLEXITY", "index": "10", "type": "numeric", "distinct": "21", "missing": "0", "min": "1", "max": "34", "mean": "3", "stdev": "4" }, { "name": "DESIGN_DENSITY", "index": "11", "type": "numeric", "distinct": "27", "missing": "0", "min": "0", "max": "1", "mean": "1", "stdev": "0" }, { "name": "EDGE_COUNT", "index": "12", "type": "numeric", "distinct": "87", "missing": "0", "min": "1", "max": "233", "mean": "19", "stdev": "30" }, { "name": "ESSENTIAL_COMPLEXITY", "index": "13", "type": "numeric", "distinct": "13", "missing": "0", "min": "1", "max": "20", "mean": "2", "stdev": "2" }, { "name": "ESSENTIAL_DENSITY", "index": "14", "type": "numeric", "distinct": "26", "missing": "0", "min": "0", "max": "1", "mean": "0", "stdev": "0" }, { "name": "LOC_EXECUTABLE", "index": "15", "type": "numeric", "distinct": "74", "missing": "0", "min": "0", "max": "241", "mean": "17", "stdev": "26" }, { "name": "PARAMETER_COUNT", "index": "16", "type": "numeric", "distinct": "4", "missing": "0", "min": "0", "max": "3", "mean": "1", "stdev": "1" }, { "name": "GLOBAL_DATA_COMPLEXITY", "index": "17", "type": "numeric", "distinct": "22", "missing": "0", "min": "0", "max": "33", "mean": "3", "stdev": "4" }, { "name": "GLOBAL_DATA_DENSITY", "index": "18", "type": "numeric", "distinct": "31", "missing": "0", "min": "0", "max": "1", "mean": "1", "stdev": "0" }, { "name": "HALSTEAD_CONTENT", "index": "19", "type": "numeric", "distinct": "291", "missing": "0", "min": "0", "max": "238", "mean": "31", "stdev": "33" }, { "name": "HALSTEAD_DIFFICULTY", "index": "20", "type": "numeric", "distinct": "223", "missing": "0", "min": "0", "max": "55", "mean": "10", "stdev": "9" }, { "name": "HALSTEAD_EFFORT", "index": "21", "type": "numeric", "distinct": "297", "missing": "0", "min": "0", "max": "582830", "mean": "13728", "stdev": "44395" }, { "name": "HALSTEAD_ERROR_EST", "index": "22", "type": "numeric", "distinct": "77", "missing": "0", "min": "0", "max": "4", "mean": "0", "stdev": "0" }, { "name": "HALSTEAD_LENGTH", "index": "23", "type": "numeric", "distinct": "177", "missing": "0", "min": "1", "max": "1413", "mean": "94", "stdev": "158" }, { "name": "HALSTEAD_LEVEL", "index": "24", "type": "numeric", "distinct": "33", "missing": "0", "min": "0", "max": "1", "mean": "0", "stdev": "0" }, { "name": "HALSTEAD_PROG_TIME", "index": "25", "type": "numeric", "distinct": "296", "missing": "0", "min": "0", "max": "32379", "mean": "763", "stdev": "2466" }, { "name": "HALSTEAD_VOLUME", "index": "26", "type": "numeric", "distinct": "276", "missing": "0", "min": "0", "max": "10685", "mean": "540", "stdev": "1091" }, { "name": "MAINTENANCE_SEVERITY", "index": "27", "type": "numeric", "distinct": "37", "missing": "0", "min": "0", "max": "1", "mean": "1", "stdev": "0" }, { "name": "MODIFIED_CONDITION_COUNT", "index": "28", "type": "numeric", "distinct": "18", "missing": "0", "min": "0", "max": "21", "mean": "2", "stdev": "3" }, { "name": "MULTIPLE_CONDITION_COUNT", "index": "29", "type": "numeric", "distinct": "29", "missing": "0", "min": "0", "max": "38", "mean": "3", "stdev": "6" }, { "name": "NODE_COUNT", "index": "30", "type": "numeric", "distinct": "77", "missing": "0", "min": "2", "max": "201", "mean": "17", "stdev": "26" }, { "name": "NORMALIZED_CYLOMATIC_COMPLEXITY", "index": "31", "type": "numeric", "distinct": "34", "missing": "0", "min": "0", "max": "1", "mean": "0", "stdev": "0" }, { "name": "NUM_OPERANDS", "index": "32", "type": "numeric", "distinct": "116", "missing": "0", "min": "0", "max": "556", "mean": "34", "stdev": "60" }, { "name": "NUM_OPERATORS", "index": "33", "type": "numeric", "distinct": "147", "missing": "0", "min": "1", "max": "857", "mean": "59", "stdev": "98" }, { "name": "NUM_UNIQUE_OPERANDS", "index": "34", "type": "numeric", "distinct": "70", "missing": "0", "min": "0", "max": "159", "mean": "16", "stdev": "21" }, { "name": "NUM_UNIQUE_OPERATORS", "index": "35", "type": "numeric", "distinct": "29", "missing": "0", "min": "1", "max": "31", "mean": "11", "stdev": "6" }, { "name": "NUMBER_OF_LINES", "index": "36", "type": "numeric", "distinct": "89", "missing": "0", "min": "1", "max": "310", "mean": "22", "stdev": "33" }, { "name": "PERCENT_COMMENTS", "index": "37", "type": "numeric", "distinct": "87", "missing": "0", "min": "0", "max": "69", "mean": "4", "stdev": "9" }, { "name": "LOC_TOTAL", "index": "38", "type": "numeric", "distinct": "77", "missing": "0", "min": "0", "max": "242", "mean": "17", "stdev": "26" } ], "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 }