aliyun / heif-decoder-lib
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
in
cmd
m4
s
pro
properties
cfg
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.

main48718 LOC (76%) 168 files
test7579 LOC (11%) 32 files
generated0 LOC (0%) 0 files
build and deployment1065 LOC (1%) 20 files
other6536 LOC (10%) 60 files
Main Code
All manually created or maintained source code that defines logic of the product that is run in a production environment.
in
cfg
Explore:   circles  |  sunburst
  • The following criteria are used to filter files:
    • files with paths like ".*".
  • 168 files match defined criteria (48,718 LOC, 100.0% vs. main code):
    • 64 *.cc files (31,510 LOC)
    • 73 *.h files (9,662 LOC)
    • 1 *.py files (2,905 LOC)
    • 3 *.in files (1,798 LOC)
    • 1 *.go files (1,165 LOC)
    • 16 *.cmake files (809 LOC)
    • 3 *.c files (420 LOC)
    • 1 *.cpp files (247 LOC)
    • 2 *.js files (154 LOC)
    • 3 *.kt files (46 LOC)
    • 1 *.cfg files (2 LOC)
  • " *.cc" is biggest, containing 64.68% of LOC.
  • " *.cfg" is smallest, containing 0% of LOC.


*.cc31510 LOC (64%) 64 files
*.h9662 LOC (19%) 73 files
*.py2905 LOC (5%) 1 file
*.in1798 LOC (3%) 3 files
*.go1165 LOC (2%) 1 file
*.cmake809 LOC (1%) 16 files
*.c420 LOC (<1%) 3 files
*.cpp247 LOC (<1%) 1 file
*.js154 LOC (<1%) 2 files
*.kt46 LOC (<1%) 3 files
*.cfg2 LOC (<1%) 1 file
Test Code
Used only for testing of the product. Normally not deployed in a production environment.
in
Explore:   circles  |  sunburst
  • The following criteria are used to filter files:
    • files with paths like ".*_test[.].*".
    • files with paths like ".*/test_.*".
    • files with paths like ".*/src/androidTest/.*".
    • files with paths like ".*/[Tt]est/.*".
    • files with paths like ".*/[Tt]ests/.*".
  • 32 files match defined criteria (7,579 LOC, 15.6% vs. main code):
    • 24 *.cc files (7,228 LOC)
    • 2 *.go files (209 LOC)
    • 3 *.h files (97 LOC)
    • 2 *.kt files (23 LOC)
    • 1 *.in files (22 LOC)
  • " *.cc" is biggest, containing 95.37% of LOC.
  • " *.in" is smallest, containing 0.29% of LOC.


*.cc7228 LOC (95%) 24 files
*.go209 LOC (2%) 2 files
*.h97 LOC (1%) 3 files
*.kt23 LOC (<1%) 2 files
*.in22 LOC (<1%) 1 file
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 ".*[.]sh".
    • files with paths like ".*[.]bat".
    • files with paths like ".*/AndroidManifest[.]xml".
    • files with paths like ".*[.]git[a-z]+".
    • files with paths like ".*/[.]gitignore".
    • files with paths like ".*[.]gradle".
  • 20 files match defined criteria (1,065 LOC, 2.2% vs. main code):
    • 14 *.sh files (845 LOC)
    • 4 *.gradle files (144 LOC)
    • 1 *.bat files (68 LOC)
    • 1 *.xml files (8 LOC)
  • " *.sh" is biggest, containing 79.34% of LOC.
  • " *.xml" is smallest, containing 0.75% of LOC.


*.sh845 LOC (79%) 14 files
*.gradle144 LOC (13%) 4 files
*.bat68 LOC (6%) 1 file
*.xml8 LOC (<1%) 1 file
Other Code
txt
properties
Explore:   circles  |  sunburst
  • The following criteria are used to filter files:
    • files with paths like ".*[.]json".
    • files with paths like ".*[.]md".
    • files with paths like ".*/README[.][a-z0-9]+".
    • files with paths like ".*[.]txt".
    • files with paths like ".*/[Ee]xamples/.*".
    • files with paths like ".*[.]properties".
    • files with paths like ".*/[Dd]emos?/.*".
    • files with paths like ".*/[.]gitignore".
  • 60 files match defined criteria (6,536 LOC, 13.4% vs. main code):
    • 15 *.cc files (3,818 LOC)
    • 10 *.txt files (1,208 LOC)
    • 1 *.html files (332 LOC)
    • 10 *.xml files (301 LOC)
    • 1 *.md files (207 LOC)
    • 7 *.kt files (163 LOC)
    • 11 *.h files (162 LOC)
    • 1 *.json files (154 LOC)
    • 1 *.go files (120 LOC)
    • 1 *.gradle files (41 LOC)
    • 1 *.properties files (23 LOC)
    • 1 *.c files (7 LOC)
  • " *.cc" is biggest, containing 58.41% of LOC.
  • " *.c" is smallest, containing 0.11% of LOC.


*.cc3818 LOC (58%) 15 files
*.txt1208 LOC (18%) 10 files
*.html332 LOC (5%) 1 file
*.xml301 LOC (4%) 10 files
*.md207 LOC (3%) 1 file
*.kt163 LOC (2%) 7 files
*.h162 LOC (2%) 11 files
*.json154 LOC (2%) 1 file
*.go120 LOC (1%) 1 file
*.gradle41 LOC (<1%) 1 file
*.properties23 LOC (<1%) 1 file
*.c7 LOC (<1%) 1 file
Analyzers
Info about analyzers used for source code examinations.


2025-05-15 05:15