首页> 外国专利> Variable analysis using code context

Variable analysis using code context

机译:使用代码上下文进行变量分析

摘要

Improving how a codebase is developed by analyzing the variables in the codebase's source code. Learned characteristics of a codebase are derived by obtaining context for some of the source code's variables. This context represents semantics and/or patterns associated with those variables. Once the learned characteristics are derived, they are then modified, or rather tuned, by incorporating context from second source code. Particular context for a particular variable used within the second source code is then obtained. This particular context represents semantics and/or patterns associated with the particular variable. This particular context is then analyzed using the learned characteristics to generate zero, one or more anticipated variables. Later, a notification regarding these anticipated variables is displayed. In some situations, conducting the analysis is a part of a variable renaming analysis while in other situation the analysis is a part of a variable misuse analysis.
机译:通过分析代码库源代码中的变量来改进代码库的开发方式。通过获取某些源代码变量的上下文,可以得出代码库的学习特征。该上下文表示与那些变量关联的语义和/或模式。一旦得出学习的特征,就可以通过合并第二个源代码中的上下文来修改或调整它们。然后获得第二源代码内​​使用的特定变量的特定上下文。该特定上下文表示与特定变量关联的语义和/或模式。然后使用学习到的特征来分析此特定上下文,以生成零个,一个或多个预期变量。稍后,将显示有关这些预期变量的通知。在某些情况下,进行分析是变量重命名分析的一部分,而在其他情况下,分析是变量滥用分析的一部分。

著录项

相似文献

  • 专利
  • 外文文献
  • 中文文献
获取专利

客服邮箱:kefu@zhangqiaokeyan.com

京公网安备:11010802029741号 ICP备案号:京ICP备15016152号-6 六维联合信息科技 (北京) 有限公司©版权所有
  • 客服微信

  • 服务号