2010 · 96 citations · 14 references
ComputingComputer ScienceData MiningMachine LearningSoftware EngineeringDefect DetectionDomain AnalysisSoftware ArchitectureSoftware DesignSoftware TestingStatic Code AnalysisCode ComprehensionCode Smell DetectionCode Smell MetricsCode SmellsOpen-source Software DevelopmentSource Code AnalysisTemporal Code Analysis
Real production code contains lots of knowledge - on the domain, on the architecture, and on the environment. How can we leverage this knowledge in new projects? Using a novel lightweight source code parser, we have mined more than 6,000 open source Linux projects (totaling 200,000,000 lines of code) to obtain 16,000,000 temporal properties reflecting normal interface usage. New projects can be checked against these rules to detect anomalies - that is, code that deviates from the wisdom of the crowds. In a sample of 20 projects, ~25% of the top-ranked anomalies uncovered actual code smells or defects.
14
Zhenmin Li, Yuanyuan Zhou · 2005 · 432 citations
Jinlin Yang, David Evans, Deepali Bhardwaj et al. · 2006 · 406 citations
Graph-based mining of multiple object usage patterns
Tung Nguyen, Hoan Anh Nguyen, Nam H. Pham et al. · 2009 · 294 citations
Detecting object usage anomalies
Andrzej Wasylkowski, Andreas Zeller, Christian Lindig · 2007 · 274 citations
Generating robust parsers using island grammars
Leon Moonen · 2002 · 255 citations
Language Studies, Computer Science, Computational Linguistics +13