facebookincubator / CG-SQL
CG/SQL is a compiler that converts a SQL Stored Procedure like language into C for SQLite. SQLite has no stored procedures of its own. CG/CQL can also generate other useful artifacts for testing and schema maintenance.
GitHub Repo
 
Summary
Y
L
email_034-attachment-send-file-code-cssCreated with Sketch.
Main Code: 31,103 LOC (107 files) = C (77%) + H (7%) + Y (7%) + PY (2%) + SQL (1%) + JS (1%) + L (<1%) + JAVA (<1%) + M (<1%) + CSS (<1%) + INC (<1%)
Secondary code: Test: 11,866 LOC (60); Generated: 7,490 LOC (3); Build & Deploy: 631 LOC (17); Other: 34,343 LOC (69);
Artboard 48 Duplication: 6%
File Size: 60% long (>1000 LOC), 11% short (<= 200 LOC)
Unit Size: 18% long (>100 LOC), 34% short (<= 10 LOC)
Conditional Complexity: 11% complex (McCabe index > 50), 50% simple (McCabe index <= 5)
Logical Component Decomposition: primary (12 components)
files_time

1 year, 6 months old

  • 89% of code older than 365 days
  • 0% of code not updated in the past 365 days

38% 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
1 file
Commits Trend

Latest commit date: 2022-03-30

Reference analysis date: 2022-04-01

46
commits
(30 days)
8
contributors
(30 days)
Commits

111

541

130

Contributors

14

30

10

2022 2021 2020
show commits trend per language
Reports
Analysis Report
Trend
Analysis Report
76_startup_sticky_notes
Notes & Findings

generated by sokrates.dev (configuration) on 2022-04-15; reference date: 2022-04-01