aliyun / aliyun-odps-console
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
ini
properties
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.

main24426 LOC (67%) 220 files
test9575 LOC (26%) 100 files
generated0 LOC (0%) 0 files
build and deployment1194 LOC (3%) 14 files
other880 LOC (2%) 86 files
Main Code
All manually created or maintained source code that defines logic of the product that is run in a production environment.
Explore:   circles  |  sunburst
  • The following criteria are used to filter files:
    • files with paths like ".*".
  • 220 files match defined criteria (24,426 LOC, 100.0% vs. main code):
    • 215 *.java files (23,779 LOC)
    • 4 *.xml files (624 LOC)
    • 1 *.g4 files (23 LOC)
  • " *.java" is biggest, containing 97.35% of LOC.
  • " *.g4" is smallest, containing 0.09% of LOC.


*.java23779 LOC (97%) 215 files
*.xml624 LOC (2%) 4 files
*.g423 LOC (<1%) 1 file
Test Code
Used only for testing of the product. Normally not deployed in a production environment.
Explore:   circles  |  sunburst
  • The following criteria are used to filter files:
    • files with paths like ".*/[Tt]est/.*".
    • files with paths like ".*/test_.*".
  • 100 files match defined criteria (9,575 LOC, 39.2% vs. main code):
    • 96 *.java files (9,440 LOC)
    • 1 *.html files (65 LOC)
    • 1 *.js files (63 LOC)
    • 1 *.sql files (6 LOC)
    • 1 *.r files (1 LOC)
  • " *.java" is biggest, containing 98.59% of LOC.
  • " *.r" is smallest, containing 0.01% of LOC.


*.java9440 LOC (98%) 96 files
*.html65 LOC (<1%) 1 file
*.js63 LOC (<1%) 1 file
*.sql6 LOC (<1%) 1 file
*.r1 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 ".*/pom[.]xml".
    • files with paths like ".*[.]git[a-z]+".
    • files with paths like ".*/[.]gitignore".
    • files with paths like ".*/assembly[.]xml".
    • files with paths like ".*[.]bat".
  • 14 files match defined criteria (1,194 LOC, 4.9% vs. main code). All matches are in *.xml files.


*.xml1194 LOC (100%) 14 files
Other Code
txt
ini
properties
Explore:   circles  |  sunburst
  • The following criteria are used to filter files:
    • files with paths like ".*[.]ini".
    • files with paths like ".*[.]txt".
    • files with paths like ".*[.]properties".
    • files with paths like ".*/[.]gitignore".
    • files with paths like ".*[.]md".
    • files with paths like ".*/README[.][a-z0-9]+".
  • 86 files match defined criteria (880 LOC, 3.6% vs. main code):
    • 52 *.txt files (380 LOC)
    • 4 *.md files (279 LOC)
    • 25 *.ini files (142 LOC)
    • 5 *.properties files (79 LOC)
  • " *.txt" is biggest, containing 43.18% of LOC.
  • " *.properties" is smallest, containing 8.98% of LOC.


*.txt380 LOC (43%) 52 files
*.md279 LOC (31%) 4 files
*.ini142 LOC (16%) 25 files
*.properties79 LOC (8%) 5 files
Analyzers
Info about analyzers used for source code examinations.


2025-05-15 04:54