apache / couchdb-www
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
eps
asc
jade
txt
htaccess
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.

main4526 LOC (21%) 21 files
test0 LOC (0%) 0 files
generated16285 LOC (76%) 7 files
build and deployment0 LOC (0%) 0 files
other427 LOC (2%) 18 files
Main Code
All manually created or maintained source code that defines logic of the product that is run in a production environment.
jade
asc
Explore:   circles  |  sunburst
  • The following criteria are used to filter files:
    • files with paths like ".*".
  • 21 files match defined criteria (4,526 LOC, 100.0% vs. main code):
    • 2 *.less files (1,227 LOC)
    • 6 *.html files (1,122 LOC)
    • 2 *.css files (1,004 LOC)
    • 4 *.js files (563 LOC)
    • 2 *.jade files (381 LOC)
    • 3 *.asc files (178 LOC)
    • 1 *.rdf files (42 LOC)
    • 1 *.xml files (9 LOC)
  • " *.less" is biggest, containing 27.11% of LOC.
  • " *.xml" is smallest, containing 0.2% of LOC.


*.less1227 LOC (27%) 2 files
*.html1122 LOC (24%) 6 files
*.css1004 LOC (22%) 2 files
*.js563 LOC (12%) 4 files
*.jade381 LOC (8%) 2 files
*.asc178 LOC (3%) 3 files
*.rdf42 LOC (<1%) 1 file
*.xml9 LOC (<1%) 1 file
Generated Code
Automatically generated files, not manually changed after generation.
eps
Explore:   circles  |  sunburst
  • The following criteria are used to filter files:
    • files with any line of content like "\<\!\-\-[ ]*Generated by .*".
    • files with paths like ".*[.](ps|eps|pfa)".
  • 7 files match defined criteria (16,285 LOC, 359.8% vs. main code):
    • 1 *.eps files (16,237 LOC)
    • 6 *.svg files (48 LOC)
  • " *.eps" is biggest, containing 99.71% of LOC.
  • " *.svg" is smallest, containing 0.29% of LOC.


*.eps16237 LOC (99%) 1 file
*.svg48 LOC (<1%) 6 files
Other Code
txt
Explore:   circles  |  sunburst
  • The following criteria are used to filter files:
    • files with paths like ".*[.]svg".
    • files with paths like ".*[.]md".
    • files with paths like ".*/README[.][a-z0-9]+".
    • files with paths like ".*/[.]gitignore".
    • files with paths like ".*[.]txt".
    • files with paths like ".*[.]json".
    • files with paths like ".*/[.]htaccess".
  • 18 files match defined criteria (427 LOC, 9.4% vs. main code):
    • 15 *.svg files (392 LOC)
    • 1 *.md files (17 LOC)
    • 1 *.json files (17 LOC)
    • 1 *.txt files (1 LOC)
  • " *.svg" is biggest, containing 91.8% of LOC.
  • " *.txt" is smallest, containing 0.23% of LOC.


*.svg392 LOC (91%) 15 files
*.md17 LOC (3%) 1 file
*.json17 LOC (3%) 1 file
*.txt1 LOC (<1%) 1 file
Analyzers
Info about analyzers used for source code examinations.


2025-05-07 15:48