首页> 外国专利> Offline type checking in programming languages

Offline type checking in programming languages

机译:编程语言中的离线类型检查

摘要

Disclosed is a method and system for detecting errors in source code of an application without executing the source code. Embodiments of the disclosed technique include detecting an error generating change at a specific location in source code of an application without executing the source code. The detection includes detecting an error in the changed portion of the source code as well dependencies of the changed portion of the source code. After the error detection, an error message containing information of the error is generated and stored in a storage unit. The information on the error includes (a) an indication of the change in source code, (b) the specific location, or (c) reason for the error. The types of error detected can include (i) a data type mismatch error, (ii) a syntax error, and (iii) other errors such as uninitialized variable access, null value or pointer dereference.
机译:公开了一种用于在不执行源代码的情况下检测应用程序的源代码中的错误的方法和系统。所公开的技术的实施例包括在不执行源代码的情况下检测在应用的源代码中的特定位置处的错误生成改变。该检测包括检测源代码的已更改部分中的错误以及源代码的已更改部分的依赖性。在错误检测之后,包含错误信息的错误消息被生成并存储在存储单元中。有关错误的信息包括(a)源代码更改的指示,(b)具体位置或(c)错误原因。检测到的错误类型可以包括(i)数据类型不匹配错误,(ii)语法错误和(iii)其他错误,例如未初始化的变量访问,空值或指针取消引用。

著录项

  • 公开/公告号US9201757B2

    专利类型

  • 公开/公告日2015-12-01

    原文格式PDF

  • 申请/专利权人 FACEBOOK INC.;

    申请/专利号US201213671049

  • 发明设计人 ALOK MENGHRAJANI;JULIEN VERLAGUET;

    申请日2012-11-07

  • 分类号G06F9/44;G06F11/36;G06F9/45;

  • 国家 US

  • 入库时间 2022-08-21 14:28:19

相似文献

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

客服邮箱:kefu@zhangqiaokeyan.com

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

  • 服务号