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

关于该项目中方法命名的建议 #128

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

关于该项目中方法命名的建议 #128

HughTang opened this issue Aug 6, 2022 · 0 comments

Comments

@HughTang
Copy link

HughTang commented Aug 6, 2022

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

<style> </style>
path line original_name suggest_name
dingtalk-app-server/src/test/java/com/softeng/dingtalk/service/ApplicationServiceTests.java 93 testSetByAuditor testSetApplicationByAuditor
dingtalk-app-server/src/test/java/com/softeng/dingtalk/service/PaperServiceTest.java 59 testUpdateExternalPaperShouldOk testUpdateExternalPaper
dingtalk-app-server/src/test/java/com/softeng/dingtalk/service/PerformanceServiceTest.java 38 test1 testListDcSummaryData
dingtalk-app-server/src/test/java/com/softeng/dingtalk/DingtalkApplicationTests.java 34 test testEncryptor
dingtalk-app-server/src/test/java/com/softeng/dingtalk/DingtalkApplicationTests.java 39 test2 testAddInternalPaper
dingtalk-app-server/src/main/java/com/softeng/dingtalk/api/BaseApi.java 53 setCORPID setCorpId
dingtalk-app-server/src/main/java/com/softeng/dingtalk/api/BaseApi.java 73 setAGENTID setAgentId
dingtalk-app-server/src/main/java/com/softeng/dingtalk/api/BaseApi.java 78 setDOMAIN setDomain
dingtalk-app-server/src/main/java/com/softeng/dingtalk/api/BaseApi.java 194 sign getSignature
dingtalk-app-server/src/main/java/com/softeng/dingtalk/api/BaseApi.java 214 authentication authSignature
dingtalk-app-server/src/main/java/com/softeng/dingtalk/config/FabricConfig.java 36 FabricConfig configFabric
dingtalk-app-server/src/main/java/com/softeng/dingtalk/entity/AbsentOA.java 45 AbsentOA setAbsentOA
dingtalk-app-server/src/main/java/com/softeng/dingtalk/entity/AcItem.java 45 AcItem setAcItem
dingtalk-app-server/src/main/java/com/softeng/dingtalk/entity/Bug.java 55 Bug setBugId
dingtalk-app-server/src/main/java/com/softeng/dingtalk/entity/BugDetail.java 37 BugDetail setBugDetail

如果您认可或反对上述所涉及的问题和命名建议,可以发邮件(hughtang@mail.nwpu.edu.cn)联系我们或直接在本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