Skip to content

VariaMos Tool Current State

eechava6 edited this page Aug 17, 2018 · 2 revisions

Last update: August 2018

General State:

All type files: 1821 Files.
Files with ".java" extension: 376 Files.
Lines of code in java files: 236291 lines of code.

Actually VariaMos has 9 packages which implements all VariaMos functions, here it is a clasification based in the next items:

  • Complexity : which will be calculated with the following aspects:

    1. ".java" files in the package.
    2. Lines of code in the package in ".java" files.
    3. Use of declarative names in variables and methods(comprehensibility of the code)
    4. Documentation in the package.
  • Dependency : which will be calculated with the following aspects:

    1. Quantity and which packages uses.
    2. Implements self functions or only uses other package functions

Common:

  • Complexity:
    • 11 java files
    • 1163 lines of code in java files
    • Uses declarative names
    • The package is partially/well documented.
  • Dependency:
    • 1, uses IO
    • Implements self functions

I/O:

  • Complexity:
    • 5 java files
    • 374 lines of code in java files
    • Uses partially declarative names
    • The package is partially documented.
  • Dependency:
    • 2, uses Common and Solver
    • Implements self and combine others functions.

Component Parser:

  • Complexity:
    • 25 java files (Some are from Parsers for other languages)
    • 138026 lines of code in java files(Some are from Parsers for other languages)
    • Uses partially declarative names
    • The package is not documented.
  • Dependency:
    • 0
    • Implements self functions

HLCL:

  • Complexity:
    • 34 java files
    • 2655 lines of code in java files
    • Uses partially declarative names
    • The package is partially documented.
  • Dependency:
    • Implements self functions

Solver:

  • Complexity:
    • 17 java files
    • 2661 lines of code in java files
    • Uses partially/bad declarative names
    • The package is not well documented.
  • Dependency:
    • 2, uses Common and Hlcl.
    • Implements self functions and others functions.

Reasoning:

  • Complexity:
    • 61 java files
    • 9870 lines of code in java files
    • Uses partially declarative names
    • The package is not well documented.
  • Dependency:
    • 3, uses Common, Hlcl and Solver.
    • Implements self functions and other functions.

Dynsup:

  • Complexity:
    • 91 java files
    • 50468 lines of code in java files
    • Uses bad declarative names
    • The package is not well documented.
  • Dependency:
    • 8, uses All packages.
    • Implements self functions and other functions.

GUI:

  • Complexity:
    • 132 java files
    • 31074 lines of code in java files
    • Uses bad declarative names
    • The package is not well documented.
  • Dependency:
    • 8, uses All packages.
    • Implements self functions and other functions.

Commands used:

  • Lines of code of java files
    find . -mindepth 1 -type f -name "*.java" -printf x | wc -c
  • Lines of code
    find . -mindepth 1 -type f -name "." -printf x | wc -c
  • File count for java files
    find . -type f -name "*.java" | wc -l