https://github.com/transpect/proj-eval
Simple approatch to evaluate the complexity of a transpect project
https://github.com/transpect/proj-eval
Last synced: 3 months ago
JSON representation
Simple approatch to evaluate the complexity of a transpect project
- Host: GitHub
- URL: https://github.com/transpect/proj-eval
- Owner: transpect
- License: bsd-2-clause
- Created: 2023-02-07T12:17:14.000Z (over 3 years ago)
- Default Branch: main
- Last Pushed: 2023-04-05T17:40:35.000Z (about 3 years ago)
- Last Synced: 2025-03-02T13:17:17.655Z (over 1 year ago)
- Language: XProc
- Size: 24.4 KB
- Stars: 0
- Watchers: 3
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
- License: LICENSE
Awesome Lists containing this project
README
# proj-eval
Simple approach to evaluate the complexity of a transpect project
This XProc script can be checked out in a transpect project directory and evaluate the complexity of a project by analyzing the number of XML elements in XML files and lines in text files. The result is an XML file showing the number as function points.
It will look for a file conf/proj-eval.xml. If it is found and if it contains relative file system paths at `/proj-eval/module-path` (see the [sample file](https://github.com/transpect/proj-eval/blob/main/sample-conf/proj-eval.xml)), the files in these directories will be considered as modules rather than as project-specific code. It is a means to weight module-like common code that is mounted under a9s/common as module code, not as custom code.
You can invoke the script with an XProc processor, e.g. XML Calabash:
```shell
$ ./calabash/calabash.sh -o result=out.xml proj-eval/xpl/proj-eval.xpl debug=yes debug-dir-uri=file:/home/myUser/myProject/trunk/debug
```
```xml
```