deepseek-ai / 3FS
Source Code Overview

Analysis scope, overview of main, test, generated, deployment, build, and other code.

Source Code Analysis Scope
Files includes and excluded from analyses
txt
p
patch
csproj
in
clang-format
gitmodules
clang-tidy
Overview of Analyzed Files
Basic stats on analyzed files
Intro
For analysis purposes we separate files in scope into several categories: main, test, generated, deployment and build, and other.

  • The main category contains all manually created source code files that are being used in the production.
  • Files in the main category are used as input for other analyses: logical decomposition, concerns, duplication, file size, unit size, and conditional complexity.
  • Test source code files are used only for testing of the product. These files are normally not deployed to production.
  • Build and deployment source code files are used to configure or support build and deployment process.
  • Generated source code files are automatically generated files that have not been manually changed after generation.
  • While a source code folder may contain a number of files, we are primarily interested in the source code files that are being written and maintained by developers.
  • Files containing binaries, documentation, or third-party libraries, for instance, are excluded from analysis. The exception are third-party libraries that have been changed by developers.

main96975 LOC (74%) 929 files
test28963 LOC (22%) 214 files
generated0 LOC (0%) 0 files
build and deployment161 LOC (<1%) 4 files
other4485 LOC (3%) 89 files
Main Code
All manually created or maintained source code that defines logic of the product that is run in a production environment.
in
Explore:   circles  |  sunburst
  • The following criteria are used to filter files:
    • files with paths like ".*".
  • 929 files match defined criteria (96,975 LOC, 100.0% vs. main code):
    • 313 *.cc files (44,807 LOC)
    • 509 *.h files (37,243 LOC)
    • 42 *.rs files (5,956 LOC)
    • 22 *.toml files (2,981 LOC)
    • 2 *.hpp files (2,413 LOC)
    • 17 *.py files (1,605 LOC)
    • 1 *.c files (836 LOC)
    • 12 *.cmake files (662 LOC)
    • 9 *.cpp files (381 LOC)
    • 1 *.sql files (49 LOC)
    • 1 *.in files (42 LOC)
  • " *.cc" is biggest, containing 46.2% of LOC.
  • " *.in" is smallest, containing 0.04% of LOC.


*.cc44807 LOC (46%) 313 files
*.h37243 LOC (38%) 509 files
*.rs5956 LOC (6%) 42 files
*.toml2981 LOC (3%) 22 files
*.hpp2413 LOC (2%) 2 files
*.py1605 LOC (1%) 17 files
*.c836 LOC (<1%) 1 file
*.cmake662 LOC (<1%) 12 files
*.cpp381 LOC (<1%) 9 files
*.sql49 LOC (<1%) 1 file
*.in42 LOC (<1%) 1 file
Test Code
Used only for testing of the product. Normally not deployed in a production environment.
p
csproj
Explore:   circles  |  sunburst
  • The following criteria are used to filter files:
    • files with paths like ".*/[Tt]ests/.*".
    • files with paths like ".*/test_.*".
    • files with paths like ".*/[Tt]est/.*".
    • files with paths like ".*/[Ss]pecs/.*".
  • 214 files match defined criteria (28,963 LOC, 29.9% vs. main code):
    • 152 *.cc files (23,362 LOC)
    • 16 *.p files (2,400 LOC)
    • 14 *.h files (1,148 LOC)
    • 13 *.py files (1,140 LOC)
    • 4 *.sh files (379 LOC)
    • 1 *.ps1 files (203 LOC)
    • 11 *.toml files (158 LOC)
    • 1 *.cpp files (145 LOC)
    • 2 *.csproj files (28 LOC)
  • " *.cc" is biggest, containing 80.66% of LOC.
  • " *.csproj" is smallest, containing 0.1% of LOC.


*.cc23362 LOC (80%) 152 files
*.p2400 LOC (8%) 16 files
*.h1148 LOC (3%) 14 files
*.py1140 LOC (3%) 13 files
*.sh379 LOC (1%) 4 files
*.ps1203 LOC (<1%) 1 file
*.toml158 LOC (<1%) 11 files
*.cpp145 LOC (<1%) 1 file
*.csproj28 LOC (<1%) 2 files
Build and Deployment Code
Source code used to configure or support build and deployment process.
Explore:   circles  |  sunburst
  • The following criteria are used to filter files:
    • files with paths like ".*[.]git[a-z]+".
    • files with paths like ".*/[.]gitignore".
    • files with paths like ".*[.]sh".
    • files with paths like ".*[.]dockerfile".
    • files with paths like ".*/[.]gitmodules".
    • files with paths like ".*[.]csproj".
  • 4 files match defined criteria (161 LOC, 0.2% vs. main code):
    • 3 *.dockerfile files (144 LOC)
    • 1 *.sh files (17 LOC)
  • " *.dockerfile" is biggest, containing 89.44% of LOC.
  • " *.sh" is smallest, containing 10.56% of LOC.


*.dockerfile144 LOC (89%) 3 files
*.sh17 LOC (10%) 1 file
Other Code
txt
patch
Explore:   circles  |  sunburst
  • The following criteria are used to filter files:
    • files with paths like ".*[.]txt".
    • files with paths like ".*[.]md".
    • files with paths like ".*/README[.][a-z0-9]+".
    • files with paths like ".*/[Ee]xamples/.*".
    • files with paths like ".*/[.]gitignore".
    • files with paths like ".*/LICENSE[.][a-z0-9]+".
    • files with paths like ".*[.]json".
    • files with paths like ".*[.]patch".
    • files with paths like ".*/[.]dockerignore".
  • 89 files match defined criteria (4,485 LOC, 4.6% vs. main code):
    • 74 *.txt files (2,157 LOC)
    • 2 *.patch files (1,385 LOC)
    • 12 *.md files (864 LOC)
    • 1 *.rs files (79 LOC)
  • " *.txt" is biggest, containing 48.09% of LOC.
  • " *.rs" is smallest, containing 1.76% of LOC.


*.txt2157 LOC (48%) 74 files
*.patch1385 LOC (30%) 2 files
*.md864 LOC (19%) 12 files
*.rs79 LOC (1%) 1 file
Analyzers
Info about analyzers used for source code examinations.


2025-05-03 17:59