ToolHub
中文
Light
GitHub
返回首页
/
开发编程
/
代码行统计
加载中...
语言
自动
JS
TS
Python
Java
C++
Go
Rust
CSS
HTML
代码输入
// TypeScript example import { useState } from 'react'; /** * Counter component */ export default function Counter() { const [count, setCount] = useState(0); // Increment handler const inc = () => setCount(c => c + 1); return <Button onClick={inc}>{count}</Button>; }
统计结果
复制
总行数
14
100%
代码行
6
43%
注释行
5
36%
空白行
3
21%