Components play a pivotal role in component-based software, with certain components being crucial in realizing the software’s overall functionality. The importance of component is usually characterized using the weight value of component. How to get the weight value is a problem that needs to be studied. Traditionally, the weight value can be denoted by an expert’s evaluation. However, the importance of components can vary depending on their interactions within different combination structures. Therefore, it becomes necessary to consider the mutual influence resulting from component interactions when determining component weights, in addition to expert evaluations. In this study, we first establish an influence value model that captures the interactions between components within various combinations. Subsequently, we propose a comprehensive weight allocation method for components by integrating expert evaluations with the influence values obtained from the component interactions, using an evidence-based information fusion approach. Finally, we validate the effectiveness of our method by implementing a scenic spot ticket purchase system. This approach is more reasonable than the single method and can provide software developers with a more comprehensive analysis of component importance, enabling them to make informed decisions.