Mr_cold's blog

Archives · All

Home

Archives

源码

istanbul源码阅读

简介 istanbul 是一个 JavaScript 代码覆盖率工具,它可以帮助我们分析代码的测试覆盖率,从而帮助我们更好的编写测试用例。在这篇文章中,我们将通过阅读 istanbul 的源码来了解它是如何实现代码覆盖率的。 项目结构 lib: 核心代码 misc: 一些工具 test: 测试用例 .jshintignore:指定哪些文件和目录应该被 JSHint 忽略,JSHint 是一个 JavaScript 代码质量工具。 .jshintrc:JSHint 的配置文件,定义代码质量检查的规则。 .travis.yml:Travis CI 的配置文件,用于持续集成服务的设置。 CHANGELOG.md:项目的变更日志,记录每个版本的更新内容。 coverage.json.md:代码覆盖率报告的 JSO..

Read more
鸿蒙

鸿蒙应用开发

本节记录通过黑马程序员B站课程学习鸿蒙应用开发的笔记。 黑马程序员鸿蒙课程 课程内容: 鸿蒙APP开发 (1)ArkUI界面与交互 (2)组件化开发 (3)网络管理 能力套件开发 (1)一次开发多端部署 (2)系统能力集 (3)开放能力集 全场景开发 (1)元服务 (2)端云一体化 (3)万物互联 1. ArkTS基础快速入门 console.log() 在日志里打印东西 三种基础数据类型 string number boolean 存储数据 //let 变量名:类型 = 值 let title : string = "奥利奥" let price : number = 10 let isBuy : bool..

Read more
SoftwareEngineeringSoftwareBloat

Software Bloat Analysis:Finding, Removing, and Preventing Performance Problems in Modern Large-Scale Object-Oriented Applications

@inproceedings{xu2010software, title={Software bloat analysis: Finding, removing, and preventing performance problems in modern large-scale object-oriented applications}, author={Xu, Guoqing and Mitchell, Nick and Arnold, Matthew and Rountev, Atanas and Sevitsky, Gary}, booktitle={Proceedings of the FSE/SDP workshop on F..

Read more
user_study

Practitioners’ Expectations

Practitioners’ Expectations on Automated Code Comment Generation @inproceedings{hu2022practitioners, title={Practitioners' expectations on automated code comment generation}, author={Hu, Xing and Xia, Xin and Lo, David and Wan, Zhiyuan and Chen, Qiuyuan and Zimmermann, Thomas}, booktitle={Proceedings of the 44th Internat..

Read more
1236