apache / flex-site
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
mxml
as
properties
txt
cgi
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.

main72205 LOC (4%) 729 files
test2784 LOC (<1%) 23 files
generated1383733 LOC (93%) 7,784 files
build and deployment10 LOC (<1%) 10 files
other24903 LOC (1%) 400 files
Main Code
All manually created or maintained source code that defines logic of the product that is run in a production environment.
mxml
as
cgi
Explore:   circles  |  sunburst
  • The following criteria are used to filter files:
    • files with paths like ".*".
  • 729 files match defined criteria (72,205 LOC, 100.0% vs. main code):
    • 198 *.html files (34,464 LOC)
    • 36 *.js files (10,904 LOC)
    • 52 *.css files (10,615 LOC)
    • 372 *.mxml files (7,020 LOC)
    • 49 *.as files (6,052 LOC)
    • 15 *.xml files (2,756 LOC)
    • 2 *.py files (319 LOC)
    • 2 *.rdf files (62 LOC)
    • 3 *.cgi files (13 LOC)
  • " *.html" is biggest, containing 47.73% of LOC.
  • " *.cgi" is smallest, containing 0.02% of LOC.


*.html34464 LOC (47%) 198 files
*.js10904 LOC (15%) 36 files
*.css10615 LOC (14%) 52 files
*.mxml7020 LOC (9%) 372 files
*.as6052 LOC (8%) 49 files
*.xml2756 LOC (3%) 15 files
*.py319 LOC (<1%) 2 files
*.rdf62 LOC (<1%) 2 files
*.cgi13 LOC (<1%) 3 files
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 ".*[-]test[-].*".
    • files with paths like ".*/[Tt]est/.*".
  • 23 files match defined criteria (2,784 LOC, 3.9% vs. main code):
    • 19 *.html files (2,337 LOC)
    • 3 *.css files (446 LOC)
    • 1 *.sh files (1 LOC)
  • " *.html" is biggest, containing 83.94% of LOC.
  • " *.sh" is smallest, containing 0.04% of LOC.


*.html2337 LOC (83%) 19 files
*.css446 LOC (16%) 3 files
*.sh1 LOC (<1%) 1 file
Generated Code
Automatically generated files, not manually changed after generation.
Explore:   circles  |  sunburst
  • The following criteria are used to filter files:
    • files with any line of content like "\<\!\-\-[ ]*Generated by .*".
  • 7784 files match defined criteria (1,383,733 LOC, 1916.4% vs. main code). All matches are in *.html files.


*.html1383733 LOC (100%) 7,784 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".
  • 10 files match defined criteria (10 LOC, 0.0% vs. main code). All matches are in *.sh files.


*.sh10 LOC (100%) 10 files
Other Code
txt
mxml
properties
as
Explore:   circles  |  sunburst
  • The following criteria are used to filter files:
    • files with paths like ".*[.]md".
    • files with paths like ".*/README[.][a-z0-9]+".
    • files with paths like ".*[.]txt".
    • files with paths like ".*/[.]gitignore".
    • files with paths like ".*[.]json".
    • files with paths like ".*/[Ee]xamples/.*".
    • files with paths like ".*/LICENSE[.][a-z0-9]+".
    • files with paths like ".*[.]properties".
    • files with paths like ".*/[.]htaccess".
  • 400 files match defined criteria (24,903 LOC, 34.5% vs. main code):
    • 49 *.md files (8,458 LOC)
    • 7 *.txt files (6,356 LOC)
    • 296 *.mxml files (5,534 LOC)
    • 43 *.properties files (3,970 LOC)
    • 1 *.json files (467 LOC)
    • 2 *.as files (104 LOC)
    • 2 *.xml files (14 LOC)
  • " *.md" is biggest, containing 33.96% of LOC.
  • " *.xml" is smallest, containing 0.06% of LOC.


*.md8458 LOC (33%) 49 files
*.txt6356 LOC (25%) 7 files
*.mxml5534 LOC (22%) 296 files
*.properties3970 LOC (15%) 43 files
*.json467 LOC (1%) 1 file
*.as104 LOC (<1%) 2 files
*.xml14 LOC (<1%) 2 files
Analyzers
Info about analyzers used for source code examinations.


2025-05-07 15:29