Lack of Cohesion of Methods (LCOM) quantitatively measures the cohesiveness of methods within a class. High cohesiveness indicates a class specialized for a given task, making it easier to understand and maintain. LCOM identifies classes with low cohesion, useful for targeted code refactoring in object-oriented software development.
Although LCOM definitions are well-understood, real-world language features complicate practical implementations. In this work, we propose the first known implementation of LCOM for the Ada programming language and use an extendable design via the ROSE compiler tool to provide C++ support as well. In this work, we propose a tool to measure and visualize LCOM for C++ and Ada code. It is the first known implementation of LCOM for the Ada programming language. We evaluate the design decisions needed for a practical LCOM implementation, analyze the approach against open-source code, and compare our analyzer against existing tools. We find that our work is competitive with other evaluated tools while handling edge cases ignored by related works, reporting more accurate LCOM metrics. Finally, we provide a release of our tool, ROSE LCOM Tools, under an open-source license.
Mon 23 JunDisplayed time zone: Amsterdam, Berlin, Bern, Rome, Stockholm, Vienna change
16:00 - 18:00 | MSR 1Industry Papers / Ideas, Visions and Reflections / Research Papers / Journal First at Aurora B Chair(s): Andrew Begel Carnegie Mellon University | ||
16:00 20mTalk | On Refining the SZZ Algorithm with Bug Discussion Data Journal First Pooja Rani University of Zurich, Fernando Petrulio University of Zurich, Alberto Bacchelli University of Zurich | ||
16:20 20mTalk | SemBIC: Semantic-aware Identification of Bug-inducing Commits Research Papers Xiao Chen The Hong Kong University of Science and Technology, Hengcheng Zhu The Hong Kong University of Science and Technology, Jialun Cao Hong Kong University of Science and Technology, Ming Wen Huazhong University of Science and Technology, Shing-Chi Cheung Hong Kong University of Science and Technology DOI | ||
16:40 20mTalk | Evaluating SZZ Implementations: An Empirical Study on the Linux Kernel Journal First Yunbo Lyu Singapore Management University, Hong Jin Kang University of Sydney, Ratnadira Widyasari Singapore Management University, Singapore, Julia Lawall Inria, David Lo Singapore Management University | ||
17:00 10mTalk | HyperSeq: A Hyper-Adaptive Representation for Predictive Sequencing of States Ideas, Visions and Reflections | ||
17:10 10mTalk | LLMs for Defect Prediction in Evolving Datasets: Emerging Results and Future Directions Ideas, Visions and Reflections Umamaheswara Sharma B National Institute of Technology, Calicut, Farhan Chonari National Institute of Technology Calicut, Gokul K Anilkumar National Institute of Technology Calicut, Saikiran Konchada National Institute of Technology Calicut | ||
17:20 20mTalk | ROSE LCOM Tools Industry Papers Kenneth Lamar University of Central Florida, Peter Pirkelbauer Lawrence Livermore National Laboratory, Zachary Painter University of Central Florida, Damian Dechev University of Central Florida | ||
Aurora B is the second room in the Aurora wing.
When facing the main Cosmos Hall, access to the Aurora wing is on the right, close to the side entrance of the hotel.