Uber / libphutil
A collection of PHP utility classes
GitHub Repo
40K
lines of main code
331 files
8.7K
lines of test code
99 files
1.6K
lines of other code
41 files
<1%
main code touched
1 year (189 LOC)
0%
new main code
1 year (0 LOC)
0
recent contributors
past 30 days
13y
age
4,833 days
29K
php
6.7K
cpp
Y
2.5K
y
503
xml
L
457
l

travis
make


Main Code: 39,556 LOC (331 files) = PHP (72%) + CPP (16%) + Y (6%) + HPP (2%) + XML (1%) + L (1%)
Secondary code: Test: 8,707 LOC (99); Generated: 0 LOC (0); Build & Deploy: 0 LOC (0); Other: 1,563 LOC (41);
Duplication: 9%
File Size: 27% long (>1000 LOC), 38% short (<= 200 LOC)
Unit Size: 18% long (>100 LOC), 41% short (<= 10 LOC)
Conditional Complexity: 6% complex (McCabe index > 50), 59% simple (McCabe index <= 5)
Logical Component Decomposition: primary (4 components)

13 years, 2 months old

  • 100% of code older than 365 days
  • 99% of code not updated in the past 365 days

31% of code updated more than 50 times

Also see temporal dependencies for files frequently changed in same commits.

Goals: Keep the system simple and easy to change (4)
Straight_Line
Features of interest:
TODOs
22 files

generated by sokrates.dev (configuration) on 2024-04-03