Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

关于该项目中部分方法命名的建议 #45

Open
HughTang opened this issue Aug 6, 2022 · 0 comments
Open

关于该项目中部分方法命名的建议 #45

HughTang opened this issue Aug 6, 2022 · 0 comments

Comments

@HughTang
Copy link

HughTang commented Aug 6, 2022

尊敬的开发者:
您好!非常感谢您能抽出宝贵的时间来阅读此Issue,我们是来自西北工业大学软件学院硕士课题组的科研团队,正在进行一项关于Java开源项目中方法(函数)名称一致性检查和建议的科研研究,方法(函数)名称的可读性对开发人员理解代码至关重要,我们在本开源项目中随机选择了一些文件作为我们研发工具DMName的实验验证对象,共发现了以下存在的12个方法(函数)命名问题,原始的建议修改的方法名称是第3列original_name,建议的方法名称为第4列suggest_name::

<style> </style>
path line original_name suggest_name
sqlbuilder/src/main/java/com/youngdatafan/sqlbuilder/function/impl/AbstractJavaFunction.java 27 isFunction isAbstractFunction
sqlbuilder/src/main/java/com/youngdatafan/sqlbuilder/function/impl/ClickhouseFunction.java 115 dateDiff diffDateTime
sqlbuilder/src/main/java/com/youngdatafan/sqlbuilder/function/impl/HiveFunction.java 88 dateDiff diffDateTime
sqlbuilder/src/main/java/com/youngdatafan/sqlbuilder/function/impl/KdwFunction.java 60 dateDiff diffDateTime
sqlbuilder/src/main/java/com/youngdatafan/sqlbuilder/function/impl/MySqlFunction.java 54 dateDiff diffDateTime
sqlbuilder/src/main/java/com/youngdatafan/sqlbuilder/function/impl/OracleSqlFunction.java 58 dateDiff diffDateTime
sqlbuilder/src/main/java/com/youngdatafan/sqlbuilder/function/impl/PostgresqlFunction.java 58 dateDiff diffDateTime
sqlbuilder/src/main/java/com/youngdatafan/sqlbuilder/function/impl/SparkFunction.java 85 dateDiff diffDateTime
sqlbuilder/src/main/java/com/youngdatafan/sqlbuilder/function/impl/SqlServerFunction.java 83 dateDiff diffDateTime
sqlbuilder/src/main/java/com/youngdatafan/sqlbuilder/model/Query.java 237 getPreSql getPrecompileSql
sqlbuilder/src/main/java/com/youngdatafan/sqlbuilder/parser/ExpressionParser.java 135 setFieldTypeInfo setSqlFields
sqlbuilder/src/main/java/com/youngdatafan/sqlbuilder/parser/TableNameReplaceSqlParser.java 88 replace replaceSql

如果您认可或反对上述所涉及的问题和命名建议,可以发邮件([email protected])联系我们或直接在本Issue下回复,我们由衷地希望能够得到您宝贵的意见反馈,期待您的回复!

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant