epam / road-ios-framework
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
plist
storyboard
podspec
txt
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.

main14825 LOC (59%) 390 files
test0 LOC (0%) 0 files
generated0 LOC (0%) 0 files
build and deployment83 LOC (<1%) 4 files
other9872 LOC (39%) 69 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 ".*".
  • 390 files match defined criteria (14,825 LOC, 100.0% vs. main code):
    • 191 *.m files (9,114 LOC)
    • 192 *.h files (5,463 LOC)
    • 6 *.xml files (148 LOC)
    • 1 *.rb files (100 LOC)
  • " *.m" is biggest, containing 61.48% of LOC.
  • " *.rb" is smallest, containing 0.67% of LOC.


*.m9114 LOC (61%) 191 files
*.h5463 LOC (36%) 192 files
*.xml148 LOC (<1%) 6 files
*.rb100 LOC (<1%) 1 file
Build and Deployment Code
Source code used to configure or support build and deployment process.
podspec
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 ".*/build[.]xml".
    • files with paths like ".*[.]podspec".
    • files with paths like ".*[.]sh".
  • 4 files match defined criteria (83 LOC, 0.6% vs. main code):
    • 1 *.podspec files (49 LOC)
    • 2 *.sh files (17 LOC)
    • 1 *.xml files (17 LOC)
  • " *.podspec" is biggest, containing 59.04% of LOC.
  • " *.xml" is smallest, containing 20.48% of LOC.


*.podspec49 LOC (59%) 1 file
*.sh17 LOC (20%) 2 files
*.xml17 LOC (20%) 1 file
Other Code
storyboard
plist
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 ".*[.]xib".
    • files with paths like ".*[.]plist".
    • files with paths like ".*[.]json".
    • files with paths like ".*[.]storyboard".
    • files with paths like ".*/[.]gitignore".
    • files with paths like ".*/[Ee]xamples/.*".
  • 69 files match defined criteria (9,872 LOC, 66.6% vs. main code):
    • 2 *.xib files (6,634 LOC)
    • 12 *.md files (1,021 LOC)
    • 2 *.storyboard files (974 LOC)
    • 16 *.plist files (582 LOC)
    • 12 *.json files (295 LOC)
    • 13 *.m files (259 LOC)
    • 12 *.h files (107 LOC)
  • " *.xib" is biggest, containing 67.2% of LOC.
  • " *.h" is smallest, containing 1.08% of LOC.


*.xib6634 LOC (67%) 2 files
*.md1021 LOC (10%) 12 files
*.storyboard974 LOC (9%) 2 files
*.plist582 LOC (5%) 16 files
*.json295 LOC (2%) 12 files
*.m259 LOC (2%) 13 files
*.h107 LOC (1%) 12 files
Analyzers
Info about analyzers used for source code examinations.


2025-01-10 14:15