Diff of the two buildlogs: -- --- b1/build.log 2024-06-14 00:45:38.921184937 +0000 +++ b2/build.log 2024-06-14 00:48:12.254650039 +0000 @@ -1,6 +1,6 @@ I: pbuilder: network access will be disabled during build -I: Current time: Thu Jun 13 12:37:58 -12 2024 -I: pbuilder-time-stamp: 1718325478 +I: Current time: Thu Jul 17 21:08:41 +14 2025 +I: pbuilder-time-stamp: 1752736121 I: Building the build Environment I: extracting base tarball [/var/cache/pbuilder/trixie-reproducible-base.tgz] I: copying local configuration @@ -32,52 +32,84 @@ dpkg-source: info: applying doxygen-1.9.8.patch I: Not using root during the build. I: Installing the build-deps -I: user script /srv/workspace/pbuilder/906639/tmp/hooks/D02_print_environment starting +I: user script /srv/workspace/pbuilder/2317131/tmp/hooks/D01_modify_environment starting +debug: Running on ionos5-amd64. +I: Changing host+domainname to test build reproducibility +I: Adding a custom variable just for the fun of it... +I: Changing /bin/sh to bash +'/bin/sh' -> '/bin/bash' +lrwxrwxrwx 1 root root 9 Jul 17 07:08 /bin/sh -> /bin/bash +I: Setting pbuilder2's login shell to /bin/bash +I: Setting pbuilder2's GECOS to second user,second room,second work-phone,second home-phone,second other +I: user script /srv/workspace/pbuilder/2317131/tmp/hooks/D01_modify_environment finished +I: user script /srv/workspace/pbuilder/2317131/tmp/hooks/D02_print_environment starting I: set - BUILDDIR='/build/reproducible-path' - BUILDUSERGECOS='first user,first room,first work-phone,first home-phone,first other' - BUILDUSERNAME='pbuilder1' - BUILD_ARCH='amd64' - DEBIAN_FRONTEND='noninteractive' - DEB_BUILD_OPTIONS='buildinfo=+all reproducible=+all parallel=20 ' - DISTRIBUTION='trixie' - HOME='/root' - HOST_ARCH='amd64' + BASH=/bin/sh + BASHOPTS=checkwinsize:cmdhist:complete_fullquote:extquote:force_fignore:globasciiranges:globskipdots:hostcomplete:interactive_comments:patsub_replacement:progcomp:promptvars:sourcepath + BASH_ALIASES=() + BASH_ARGC=() + BASH_ARGV=() + BASH_CMDS=() + BASH_LINENO=([0]="12" [1]="0") + BASH_LOADABLES_PATH=/usr/local/lib/bash:/usr/lib/bash:/opt/local/lib/bash:/usr/pkg/lib/bash:/opt/pkg/lib/bash:. + BASH_SOURCE=([0]="/tmp/hooks/D02_print_environment" [1]="/tmp/hooks/D02_print_environment") + BASH_VERSINFO=([0]="5" [1]="2" [2]="21" [3]="1" [4]="release" [5]="x86_64-pc-linux-gnu") + BASH_VERSION='5.2.21(1)-release' + BUILDDIR=/build/reproducible-path + BUILDUSERGECOS='second user,second room,second work-phone,second home-phone,second other' + BUILDUSERNAME=pbuilder2 + BUILD_ARCH=amd64 + DEBIAN_FRONTEND=noninteractive + DEB_BUILD_OPTIONS='buildinfo=+all reproducible=+all parallel=42 ' + DIRSTACK=() + DISTRIBUTION=trixie + EUID=0 + FUNCNAME=([0]="Echo" [1]="main") + GROUPS=() + HOME=/root + HOSTNAME=i-capture-the-hostname + HOSTTYPE=x86_64 + HOST_ARCH=amd64 IFS=' ' - INVOCATION_ID='8f847c826f234cbabf0cc89e3d334e65' - LANG='C' - LANGUAGE='en_US:en' - LC_ALL='C' - MAIL='/var/mail/root' - OPTIND='1' - PATH='/usr/sbin:/usr/bin:/sbin:/bin:/usr/games' - PBCURRENTCOMMANDLINEOPERATION='build' - PBUILDER_OPERATION='build' - PBUILDER_PKGDATADIR='/usr/share/pbuilder' - PBUILDER_PKGLIBDIR='/usr/lib/pbuilder' - PBUILDER_SYSCONFDIR='/etc' - PPID='906639' - PS1='# ' - PS2='> ' + INVOCATION_ID=32967660572b44fbaf0e5757fb800105 + LANG=C + LANGUAGE=et_EE:et + LC_ALL=C + MACHTYPE=x86_64-pc-linux-gnu + MAIL=/var/mail/root + OPTERR=1 + OPTIND=1 + OSTYPE=linux-gnu + PATH=/usr/sbin:/usr/bin:/sbin:/bin:/usr/games:/i/capture/the/path + PBCURRENTCOMMANDLINEOPERATION=build + PBUILDER_OPERATION=build + PBUILDER_PKGDATADIR=/usr/share/pbuilder + PBUILDER_PKGLIBDIR=/usr/lib/pbuilder + PBUILDER_SYSCONFDIR=/etc + PIPESTATUS=([0]="0") + POSIXLY_CORRECT=y + PPID=2317131 PS4='+ ' - PWD='/' - SHELL='/bin/bash' - SHLVL='2' - SUDO_COMMAND='/usr/bin/timeout -k 18.1h 18h /usr/bin/ionice -c 3 /usr/bin/nice /usr/sbin/pbuilder --build --configfile /srv/reproducible-results/rbuild-debian/r-b-build.ipqSmbcb/pbuilderrc_kFsl --distribution trixie --hookdir /etc/pbuilder/first-build-hooks --debbuildopts -b --basetgz /var/cache/pbuilder/trixie-reproducible-base.tgz --buildresult /srv/reproducible-results/rbuild-debian/r-b-build.ipqSmbcb/b1 --logfile b1/build.log analizo_1.25.4-3.dsc' - SUDO_GID='110' - SUDO_UID='105' - SUDO_USER='jenkins' - TERM='unknown' - TZ='/usr/share/zoneinfo/Etc/GMT+12' - USER='root' - _='/usr/bin/systemd-run' - http_proxy='http://46.16.76.132:3128' + PWD=/ + SHELL=/bin/bash + SHELLOPTS=braceexpand:errexit:hashall:interactive-comments:posix + SHLVL=3 + SUDO_COMMAND='/usr/bin/timeout -k 24.1h 24h /usr/bin/ionice -c 3 /usr/bin/nice -n 11 /usr/bin/unshare --uts -- /usr/sbin/pbuilder --build --configfile /srv/reproducible-results/rbuild-debian/r-b-build.ipqSmbcb/pbuilderrc_rdZk --distribution trixie --hookdir /etc/pbuilder/rebuild-hooks --debbuildopts -b --basetgz /var/cache/pbuilder/trixie-reproducible-base.tgz --buildresult /srv/reproducible-results/rbuild-debian/r-b-build.ipqSmbcb/b2 --logfile b2/build.log analizo_1.25.4-3.dsc' + SUDO_GID=110 + SUDO_UID=105 + SUDO_USER=jenkins + TERM=unknown + TZ=/usr/share/zoneinfo/Etc/GMT-14 + UID=0 + USER=root + _='I: set' + http_proxy=http://213.165.73.152:3128 I: uname -a - Linux ionos1-amd64 6.1.0-21-amd64 #1 SMP PREEMPT_DYNAMIC Debian 6.1.90-1 (2024-05-03) x86_64 GNU/Linux + Linux i-capture-the-hostname 6.7.12+bpo-amd64 #1 SMP PREEMPT_DYNAMIC Debian 6.7.12-1~bpo12+1 (2024-05-06) x86_64 GNU/Linux I: ls -l /bin - lrwxrwxrwx 1 root root 7 Jun 11 11:26 /bin -> usr/bin -I: user script /srv/workspace/pbuilder/906639/tmp/hooks/D02_print_environment finished + lrwxrwxrwx 1 root root 7 Jul 14 17:46 /bin -> usr/bin +I: user script /srv/workspace/pbuilder/2317131/tmp/hooks/D02_print_environment finished -> Attempting to satisfy build-dependencies -> Creating pbuilder-satisfydepends-dummy package Package: pbuilder-satisfydepends-dummy @@ -403,7 +435,7 @@ Get: 222 http://deb.debian.org/debian trixie/main amd64 libzmq5 amd64 4.3.5-1+b2 [281 kB] Get: 223 http://deb.debian.org/debian trixie/main amd64 libzmq3-dev amd64 4.3.5-1+b2 [493 kB] Get: 224 http://deb.debian.org/debian trixie/main amd64 libzmq-ffi-perl all 1.19-1 [31.5 kB] -Fetched 108 MB in 7s (14.4 MB/s) +Fetched 108 MB in 2s (71.5 MB/s) debconf: delaying package configuration, since apt-utils is not installed Selecting previously unselected package netbase. (Reading database ... (Reading database ... 5% (Reading database ... 10% (Reading database ... 15% (Reading database ... 20% (Reading database ... 25% (Reading database ... 30% (Reading database ... 35% (Reading database ... 40% (Reading database ... 45% (Reading database ... 50% (Reading database ... 55% (Reading database ... 60% (Reading database ... 65% (Reading database ... 70% (Reading database ... 75% (Reading database ... 80% (Reading database ... 85% (Reading database ... 90% (Reading database ... 95% (Reading database ... 100% (Reading database ... 19685 files and directories currently installed.) @@ -1321,7 +1353,11 @@ Building tag database... -> Finished parsing the build-deps I: Building the package -I: Running cd /build/reproducible-path/analizo-1.25.4/ && env PATH="/usr/sbin:/usr/bin:/sbin:/bin:/usr/games" HOME="/nonexistent/first-build" dpkg-buildpackage -us -uc -b && env PATH="/usr/sbin:/usr/bin:/sbin:/bin:/usr/games" HOME="/nonexistent/first-build" dpkg-genchanges -S > ../analizo_1.25.4-3_source.changes +I: user script /srv/workspace/pbuilder/2317131/tmp/hooks/A99_set_merged_usr starting +Not re-configuring usrmerge for trixie +I: user script /srv/workspace/pbuilder/2317131/tmp/hooks/A99_set_merged_usr finished +hostname: Name or service not known +I: Running cd /build/reproducible-path/analizo-1.25.4/ && env PATH="/usr/sbin:/usr/bin:/sbin:/bin:/usr/games:/i/capture/the/path" HOME="/nonexistent/second-build" dpkg-buildpackage -us -uc -b && env PATH="/usr/sbin:/usr/bin:/sbin:/bin:/usr/games:/i/capture/the/path" HOME="/nonexistent/second-build" dpkg-genchanges -S > ../analizo_1.25.4-3_source.changes dpkg-buildpackage: info: source package analizo dpkg-buildpackage: info: source version 1.25.4-3 dpkg-buildpackage: info: source distribution unstable @@ -1346,74 +1382,74 @@ Writing Makefile for Analizo Writing MYMETA.yml and MYMETA.json dh_auto_build - make -j20 + make -j42 make[1]: Entering directory '/build/reproducible-path/analizo-1.25.4' -cp lib/Analizo/Command/tree_evolution.pm blib/lib/Analizo/Command/tree_evolution.pm -cp lib/Analizo/Extractor/Doxyparse.pm blib/lib/Analizo/Extractor/Doxyparse.pm -cp lib/Analizo/GlobalMetric/ChangeCost.pm blib/lib/Analizo/GlobalMetric/ChangeCost.pm -cp lib/Analizo/Batch/Runner.pm blib/lib/Analizo/Batch/Runner.pm -cp lib/Analizo/Metric/AfferentConnections.pm blib/lib/Analizo/Metric/AfferentConnections.pm -cp lib/Analizo/Command/files_graph.pm blib/lib/Analizo/Command/files_graph.pm +cp share/bash-completion/analizo blib/lib/auto/share/dist/Analizo/bash-completion/analizo +cp share/README blib/lib/auto/share/dist/Analizo/README +cp lib/Analizo/Command.pm blib/lib/Analizo/Command.pm +cp lib/Analizo/Batch/Directories.pm blib/lib/Analizo/Batch/Directories.pm cp lib/Analizo/Batch.pm blib/lib/Analizo/Batch.pm -cp lib/Analizo/Batch/Job/Directories.pm blib/lib/Analizo/Batch/Job/Directories.pm -cp lib/Analizo/GlobalMetrics.pm blib/lib/Analizo/GlobalMetrics.pm -cp lib/Analizo/GlobalMetric/TotalAbstractClasses.pm blib/lib/Analizo/GlobalMetric/TotalAbstractClasses.pm +cp lib/Analizo/Batch/Git.pm blib/lib/Analizo/Batch/Git.pm cp lib/Analizo/Batch/Output/CSV.pm blib/lib/Analizo/Batch/Output/CSV.pm +cp lib/Analizo/Command/files_graph.pm blib/lib/Analizo/Command/files_graph.pm +cp lib/Analizo/Batch/Runner.pm blib/lib/Analizo/Batch/Runner.pm cp lib/Analizo/Batch/Output/DB.pm blib/lib/Analizo/Batch/Output/DB.pm -cp lib/Analizo/Batch/Runner/Parallel.pm blib/lib/Analizo/Batch/Runner/Parallel.pm +cp lib/Analizo/Batch/Job/Git.pm blib/lib/Analizo/Batch/Job/Git.pm cp lib/Analizo/Batch/Job.pm blib/lib/Analizo/Batch/Job.pm -cp lib/Analizo/Metric/AverageMethodLinesOfCode.pm blib/lib/Analizo/Metric/AverageMethodLinesOfCode.pm +cp lib/Analizo/Command/graph.pm blib/lib/Analizo/Command/graph.pm cp lib/Analizo/Extractor.pm blib/lib/Analizo/Extractor.pm -cp lib/Analizo/Batch/Output.pm blib/lib/Analizo/Batch/Output.pm -cp lib/Analizo/FilenameFilter.pm blib/lib/Analizo/FilenameFilter.pm -cp lib/Analizo/LanguageFilter.pm blib/lib/Analizo/LanguageFilter.pm +cp lib/Analizo/GlobalMetrics.pm blib/lib/Analizo/GlobalMetrics.pm +cp lib/Analizo.pm blib/lib/Analizo.pm +cp lib/Analizo/GlobalMetric/TotalAbstractClasses.pm blib/lib/Analizo/GlobalMetric/TotalAbstractClasses.pm +cp lib/Analizo/Metric/AverageMethodLinesOfCode.pm blib/lib/Analizo/Metric/AverageMethodLinesOfCode.pm cp lib/Analizo/Batch/Runner/Sequential.pm blib/lib/Analizo/Batch/Runner/Sequential.pm -cp lib/Analizo/Command/metrics.pm blib/lib/Analizo/Command/metrics.pm -cp lib/Analizo/Batch/Directories.pm blib/lib/Analizo/Batch/Directories.pm +cp lib/Analizo/GlobalMetric/ChangeCost.pm blib/lib/Analizo/GlobalMetric/ChangeCost.pm cp lib/Analizo/Command/metrics_batch.pm blib/lib/Analizo/Command/metrics_batch.pm -cp lib/Analizo/Command/metrics_history.pm blib/lib/Analizo/Command/metrics_history.pm -cp lib/Analizo/Batch/Git.pm blib/lib/Analizo/Batch/Git.pm -cp lib/Analizo/GlobalMetric/MethodsPerAbstractClass.pm blib/lib/Analizo/GlobalMetric/MethodsPerAbstractClass.pm -cp lib/Analizo/Command/help.pm blib/lib/Analizo/Command/help.pm -cp lib/Analizo/Batch/Job/Git.pm blib/lib/Analizo/Batch/Job/Git.pm -cp lib/Analizo.pm blib/lib/Analizo.pm +cp lib/Analizo/Extractor/Doxyparse.pm blib/lib/Analizo/Extractor/Doxyparse.pm +cp lib/Analizo/Batch/Job/Directories.pm blib/lib/Analizo/Batch/Job/Directories.pm cp lib/Analizo/Filter/Client.pm blib/lib/Analizo/Filter/Client.pm -cp lib/Analizo/Command.pm blib/lib/Analizo/Command.pm -cp lib/Analizo/Command/graph.pm blib/lib/Analizo/Command/graph.pm +cp lib/Analizo/Batch/Output.pm blib/lib/Analizo/Batch/Output.pm +cp lib/Analizo/Command/tree_evolution.pm blib/lib/Analizo/Command/tree_evolution.pm +cp lib/Analizo/Command/metrics.pm blib/lib/Analizo/Command/metrics.pm cp lib/Analizo/Metric/AverageCycloComplexity.pm blib/lib/Analizo/Metric/AverageCycloComplexity.pm +cp lib/Analizo/GlobalMetric/MethodsPerAbstractClass.pm blib/lib/Analizo/GlobalMetric/MethodsPerAbstractClass.pm +cp lib/Analizo/Batch/Runner/Parallel.pm blib/lib/Analizo/Batch/Runner/Parallel.pm +cp lib/Analizo/Metric/AfferentConnections.pm blib/lib/Analizo/Metric/AfferentConnections.pm +cp lib/Analizo/LanguageFilter.pm blib/lib/Analizo/LanguageFilter.pm +cp lib/Analizo/FilenameFilter.pm blib/lib/Analizo/FilenameFilter.pm +cp lib/Analizo/Command/metrics_history.pm blib/lib/Analizo/Command/metrics_history.pm +cp lib/Analizo/Command/help.pm blib/lib/Analizo/Command/help.pm cp lib/Analizo/Metric/AverageNumberOfParameters.pm blib/lib/Analizo/Metric/AverageNumberOfParameters.pm -cp share/bash-completion/analizo blib/lib/auto/share/dist/Analizo/bash-completion/analizo -cp share/README blib/lib/auto/share/dist/Analizo/README -cp lib/Analizo/Metric/NumberOfMethods.pm blib/lib/Analizo/Metric/NumberOfMethods.pm -cp lib/Analizo/Metric/LinesOfCode.pm blib/lib/Analizo/Metric/LinesOfCode.pm -cp lib/Analizo/Metric/NumberOfPublicMethods.pm blib/lib/Analizo/Metric/NumberOfPublicMethods.pm -cp lib/Analizo/ModuleMetric.pm blib/lib/Analizo/ModuleMetric.pm -cp lib/Analizo/Metric/MaximumMethodLinesOfCode.pm blib/lib/Analizo/Metric/MaximumMethodLinesOfCode.pm -cp lib/Analizo/Metric/NumberOfChildren.pm blib/lib/Analizo/Metric/NumberOfChildren.pm -cp lib/Analizo/Metric/StructuralComplexity.pm blib/lib/Analizo/Metric/StructuralComplexity.pm -cp lib/Analizo/Metric/LackOfCohesionOfMethods.pm blib/lib/Analizo/Metric/LackOfCohesionOfMethods.pm -cp lib/Test/Analizo/Class.pm blib/lib/Test/Analizo/Class.pm -cp lib/Test/Analizo/Git.pm blib/lib/Test/Analizo/Git.pm +cp lib/Test/Analizo/BDD/Cucumber/Extension.pm blib/lib/Test/Analizo/BDD/Cucumber/Extension.pm +cp lib/Analizo/Metrics.pm blib/lib/Analizo/Metrics.pm +cp lib/Analizo/ModuleMetrics.pm blib/lib/Analizo/ModuleMetrics.pm +cp lib/Analizo/Metric/NumberOfPublicAttributes.pm blib/lib/Analizo/Metric/NumberOfPublicAttributes.pm cp lib/Analizo/Metric/DepthOfInheritanceTree.pm blib/lib/Analizo/Metric/DepthOfInheritanceTree.pm +cp lib/Analizo/Metric/NumberOfPublicMethods.pm blib/lib/Analizo/Metric/NumberOfPublicMethods.pm cp lib/Analizo/Metric/ResponseForClass.pm blib/lib/Analizo/Metric/ResponseForClass.pm cp profile.pl blib/lib/profile.pl +cp lib/Analizo/Metric/NumberOfChildren.pm blib/lib/Analizo/Metric/NumberOfChildren.pm +cp lib/Analizo/Metric/LinesOfCode.pm blib/lib/Analizo/Metric/LinesOfCode.pm cp lib/Analizo/Metric/NumberOfAttributes.pm blib/lib/Analizo/Metric/NumberOfAttributes.pm -cp lib/Test/Analizo.pm blib/lib/Test/Analizo.pm -cp lib/Test/Analizo/BDD/Cucumber/Extension.pm blib/lib/Test/Analizo/BDD/Cucumber/Extension.pm +cp lib/Analizo/Metric/LackOfCohesionOfMethods.pm blib/lib/Analizo/Metric/LackOfCohesionOfMethods.pm cp lib/Analizo/Metric/CouplingBetweenObjects.pm blib/lib/Analizo/Metric/CouplingBetweenObjects.pm -cp lib/Analizo/ModuleMetrics.pm blib/lib/Analizo/ModuleMetrics.pm -cp lib/Analizo/Metrics.pm blib/lib/Analizo/Metrics.pm +cp lib/Test/Analizo.pm blib/lib/Test/Analizo.pm +cp lib/Analizo/ModuleMetric.pm blib/lib/Analizo/ModuleMetric.pm +cp lib/Test/Analizo/Class.pm blib/lib/Test/Analizo/Class.pm +cp lib/Analizo/Metric/MaximumMethodLinesOfCode.pm blib/lib/Analizo/Metric/MaximumMethodLinesOfCode.pm +cp lib/Analizo/Metric/StructuralComplexity.pm blib/lib/Analizo/Metric/StructuralComplexity.pm cp lib/Analizo/Model.pm blib/lib/Analizo/Model.pm -cp lib/Analizo/Metric/NumberOfPublicAttributes.pm blib/lib/Analizo/Metric/NumberOfPublicAttributes.pm +cp lib/Test/Analizo/Git.pm blib/lib/Test/Analizo/Git.pm +cp lib/Analizo/Metric/NumberOfMethods.pm blib/lib/Analizo/Metric/NumberOfMethods.pm cp bin/analizo blib/script/analizo "/usr/bin/perl" -MExtUtils::MY -e 'MY->fixin(shift)' -- blib/script/analizo Manifying 26 pod documents make[1]: Leaving directory '/build/reproducible-path/analizo-1.25.4' dh_auto_test - make -j20 test TEST_VERBOSE=1 + make -j42 test TEST_VERBOSE=1 make[1]: Entering directory '/build/reproducible-path/analizo-1.25.4' -Skip blib/lib/auto/share/dist/Analizo/bash-completion/analizo (unchanged) Skip blib/lib/auto/share/dist/Analizo/README (unchanged) +Skip blib/lib/auto/share/dist/Analizo/bash-completion/analizo (unchanged) PERL_DL_NONLAZY=1 "/usr/bin/perl" "-MExtUtils::Command::MM" "-MTest::Harness" "-e" "undef *Test::Harness::Switches; test_harness(1, 'blib/lib', 'blib/arch')" t/*.t t/Analizo/*.t t/Analizo/Batch/*.t t/Analizo/Batch/Job/*.t t/Analizo/Batch/Output/*.t t/Analizo/Batch/Runner/*.t t/Analizo/Command/*.t t/Analizo/Extractor/*.t t/Analizo/GlobalMetric/*.t t/Analizo/Metric/*.t t/Analizo/Metric/AfferentConnections/*.t # # t::Analizo->constructor @@ -1497,8 +1533,8 @@ ok 8 - must not analyze commit containing only (prog.cc) ok 9 - must not analyze commit containing only (prog.cc) ok 10 - must not analyze commit containing only (prog.cc) -ok 11 - must not analyze commit containing only (output.cc,prog.cc,output.h) -ok 12 - must not analyze commit containing only (input.h,prog.cc,input.cc) +ok 11 - must not analyze commit containing only (prog.cc,output.h,output.cc) +ok 12 - must not analyze commit containing only (input.h,input.cc,prog.cc) ok 13 - must not analyze commit containing only (prog.cc) ok 14 - find commit ok 15 - An object of class 'Analizo::Batch::Job::Git' isa 'Analizo::Batch::Job::Git' @@ -2826,2316 +2862,2316 @@ t/author-pod-spell.t ..................................................... skipped: these tests are for testing by the author t/author-pod-syntax.t .................................................... skipped: these tests are for testing by the author t/features.t ............................................................. -# Feature storing VCS data in a database -# As a software engineering researcher I want to store data about the changes in a project So that I can analyze the development process -# Scenario basics -ok 1 - When I explode t/samples/evolution.tar.gz +# Feature c code with void argument +# As a software engineering reasearcher I want to know the arguments of each function on a project So that I can run analizo metrics calculate number of parameters +# Scenario calculate anpn on function with void argument +ok 1 - Given I am in t/samples/void/ # -ok 2 - And I run "analizo metrics-history -f db -o data.db" +ok 2 - When I run "analizo metrics ." # -ok 3 - Then the exit status must be 0 +ok 3 - Then analizo must report that module main has anpm = 0 # -ok 4 - When I run "select * from modules" on database "data.db" +# Feature loading command line options from .analizo +# As a analizo user I want to store command line options in a file called .analizo inside my project So that I don't need to alway pass all those options on the command line +# Scenario analizo metrics +ok 4 - Given I copy t/samples/mixed into a temporary directory # -ok 5 - Then the output must match "Input" +ok 5 - And I create a file called .analizo with the following content +# """metrics: --language java""" +ok 6 - When I run "analizo metrics ." # -ok 6 - And the output must match "Output" +ok 7 - Then the output must not match "native_backend.c" # -ok 7 - And the output must match "prog" +ok 8 - And the output must match "UI.java" # -# Feature exclude directories from the analysis -# As a software developer in a large project I want to exclude some directories from the source code analysis In order to not analyse non-production code such as tests -# Scenario excluding test directory -ok 8 - Given I am in t/samples/multidir/cpp +ok 9 - And the exit status must be 0 # -ok 9 - When I run "analizo metrics --exclude test ." +# Scenario all others +ok 10 - Given I change to an empty temporary directory # -ok 10 - Then the output must match "module: HelloWorld" +ok 11 - And I create a file called .analizo with the following content +# """: --help""" +ok 12 - When I run "analizo graph" # -ok 11 - And the output must not match "module: hello_test" +ok 13 - Then the output must match "analizo graph is part of the analizo suite." # -# Scenario excluding test directory -ok 12 - Given I am in t/samples/multidir/csharp +# Scenario all others +ok 14 - Given I change to an empty temporary directory # -ok 13 - When I run "analizo metrics --exclude test ." +ok 15 - And I create a file called .analizo with the following content +# """: --help""" +ok 16 - When I run "analizo metrics" # -ok 14 - Then the output must match "module: HelloWorld" +ok 17 - Then the output must match "analizo metrics is part of the analizo suite." # -ok 15 - And the output must not match "module: hello_test" +# Scenario all others +ok 18 - Given I change to an empty temporary directory # -# Scenario excluding a list of directories -ok 16 - Given I am in t/samples/multidir/cpp +ok 19 - And I create a file called .analizo with the following content +# """: --help""" +ok 20 - When I run "analizo metrics-batch" # -ok 17 - When I run "analizo metrics --exclude test:src ." +ok 21 - Then the output must match "analizo metrics-batch is part of the analizo suite." # -ok 18 - Then the output must not match "module: HelloWorld" +# Scenario all others +ok 22 - Given I change to an empty temporary directory # -ok 19 - And the output must not match "module: hello_test" +ok 23 - And I create a file called .analizo with the following content +# """: --help""" +ok 24 - When I run "analizo metrics-history" # -# Scenario excluding a list of directories -ok 20 - Given I am in t/samples/multidir/csharp +ok 25 - Then the output must match "analizo metrics-history is part of the analizo suite." # -ok 21 - When I run "analizo metrics --exclude test:src ." +# Scenario all others +ok 26 - Given I change to an empty temporary directory # -ok 22 - Then the output must not match "module: HelloWorld" +ok 27 - And I create a file called .analizo with the following content +# """: --help""" +ok 28 - When I run "analizo tree-evolution" # -ok 23 - And the output must not match "module: hello_test" +ok 29 - Then the output must match "analizo tree-evolution is part of the analizo suite." # -# Scenario excluding src directory -ok 24 - Given I am in t/samples/multidir/cpp +# Scenario all others +ok 30 - Given I change to an empty temporary directory # -ok 25 - When I run "analizo metrics --exclude src ." +ok 31 - And I create a file called .analizo with the following content +# """: --help""" +ok 32 - When I run "analizo files-graph" # -ok 26 - Then the output must match "module: hello_test" +ok 33 - Then the output must match "analizo files-graph is part of the analizo suite." # -ok 27 - And the output must not match "module: HelloWorld" +# Scenario all others +ok 34 - Given I change to an empty temporary directory # -# Scenario excluding src directory -ok 28 - Given I am in t/samples/multidir/csharp +ok 35 - And I create a file called .analizo with the following content +# """: --help""" +ok 36 - When I run "analizo help" # -ok 29 - When I run "analizo metrics --exclude src ." +ok 37 - Then the output must match "analizo help is part of the analizo suite." # -ok 30 - Then the output must match "module: hello_test" +# Feature storing VCS data in a database +# As a software engineering researcher I want to store data about the changes in a project So that I can analyze the development process +# Scenario basics +ok 38 - When I explode t/samples/evolution.tar.gz # -ok 31 - And the output must not match "module: HelloWorld" +ok 39 - And I run "analizo metrics-history -f db -o data.db" # -# Feature dependency graph among files -# As a software engineering reasearcher I want to know the all relationships between all files on project So that I can run analizo files-graph to produces a DOT graph from source-code -# Scenario relation between function call -ok 32 - Given I am in t/samples/animals/cpp +ok 40 - Then the exit status must be 0 # -ok 33 - When I run "analizo files-graph ." +ok 41 - When I run "select * from modules" on database "data.db" # -ok 34 - Then analizo must report that "main" depends on "animal" +ok 42 - Then the output must match "Input" # -# Scenario relation between function call -ok 35 - Given I am in t/samples/animals/java +ok 43 - And the output must match "Output" # -ok 36 - When I run "analizo files-graph ." +ok 44 - And the output must match "prog" # -ok 37 - Then analizo must report that "Main" depends on "Animal" +# Feature analizo wrapper script +# Scenario invoking a tool +ok 45 - When I run "analizo metrics lib t" # -# Scenario relation between function call -ok 38 - Given I am in t/samples/animals/csharp +ok 46 - Then analizo must emit a warning matching "Usage:" # -ok 39 - When I run "analizo files-graph ." +ok 47 - And analizo must emit a warning matching "analizo.metrics" # -ok 40 - Then analizo must report that "Main" depends on "Animal" +ok 48 - And the exit status must not be 0 # -# Scenario relation between inheritance -ok 41 - Given I am in t/samples/animals/cpp +# Scenario must not pass --version ahead +ok 49 - When I run "analizo metrics --version" # -ok 42 - When I run "analizo files-graph ." +ok 50 - Then analizo must emit a warning matching "Invalid option: --version" # -ok 43 - Then analizo must report that "dog" depends on "mammal" +ok 51 - And the exit status must not be 0 # -# Scenario relation between inheritance -ok 44 - Given I am in t/samples/animals/java +# Scenario display help +ok 52 - When I run "analizo --help" # -ok 45 - When I run "analizo files-graph ." +ok 53 - Then the output must match "[NAME|N^HNA^HAM^HME^HE]\s+analizo\s" # -ok 46 - Then analizo must report that "Dog" depends on "Mammal" +ok 54 - And the output must match "[USAGE|U^HUS^HSA^HAG^HGE^HE]\s+analizo\s" # -# Scenario relation between inheritance -ok 47 - Given I am in t/samples/animals/csharp +ok 55 - And the exit status must be 0 # -ok 48 - When I run "analizo files-graph ." +# Scenario display version +ok 56 - When I run "analizo --version" # -ok 49 - Then analizo must report that "Dog" depends on "Mammal" +ok 57 - Then the output must match "^analizo version [0-9]+.[0-9]+.[0-9]+" # -# Scenario relation between inheritance -ok 50 - Given I am in t/samples/animals/cpp +ok 58 - And the exit status must be 0 # -ok 51 - When I run "analizo files-graph ." +# Scenario invalid option +ok 59 - When I run "analizo --invalid-option" # -ok 52 - Then analizo must report that "mammal" depends on "animal" +ok 60 - Then the output must match "Unrecognized command" # -# Scenario relation between inheritance -ok 53 - Given I am in t/samples/animals/java +ok 61 - And the exit status must not be 0 # -ok 54 - When I run "analizo files-graph ." +# Feature tree evolution +# As a software engineering reasearcher I want to know what directories existed during the project lifetime So that I can analyze only the production code (and not tests etc) +# Scenario sample git repository +ok 62 - When I explode t/samples/tree-evolution.tar.gz # -ok 55 - Then analizo must report that "Mammal" depends on "Animal" +ok 63 - And I run "analizo tree-evolution" # -# Scenario relation between inheritance -ok 56 - Given I am in t/samples/animals/csharp +ok 64 - Then the output lines must match "\# 073290fbad0254793bd3ecfb97654c04368d0039\\nsrc\\n\#" # -ok 57 - When I run "analizo files-graph ." +ok 65 - Then the output lines must match "\# 85f7db08f7b7b0b62e3c0023b2743d529b0d5b4b\\nsrc\\nsrc/input\\n\#" # -ok 58 - Then analizo must report that "Mammal" depends on "Animal" +ok 66 - Then the output lines must match "\# f41cf7d0351e812285efd60c6d957c330b1f61a1\\nsrc\\nsrc/input\\nsrc/output" # -# Feature loading command line options from .analizo -# As a analizo user I want to store command line options in a file called .analizo inside my project So that I don't need to alway pass all those options on the command line -# Scenario analizo metrics -ok 59 - Given I copy t/samples/mixed into a temporary directory +# Feature mapping modules to filenames +# As a software engineering resesearcher I want to know in which file each module is declared So that I can compare that with data from the VCS +# Scenario C++, runing against some directory +ok 67 - When I run "analizo metrics t/samples/animals/cpp" # -ok 60 - And I create a file called .analizo with the following content -# """metrics: --language java""" -ok 61 - When I run "analizo metrics ." +ok 68 - Then analizo must report that file animal.h declares module Animal # -ok 62 - Then the output must not match "native_backend.c" +ok 69 - And analizo must report that file cat.cc declares module Cat # -ok 63 - And the output must match "UI.java" +ok 70 - And analizo must report that file cat.h declares module Cat # -ok 64 - And the exit status must be 0 +ok 71 - And analizo must report that file cat.cc not declares module Dog # -# Scenario all others -ok 65 - Given I change to an empty temporary directory +ok 72 - And analizo must report that file cat.h not declares module Dog # -ok 66 - And I create a file called .analizo with the following content -# """: --help""" -ok 67 - When I run "analizo graph" +# Scenario C++, running against current directory +ok 73 - Given I am in t/samples/animals/cpp # -ok 68 - Then the output must match "analizo graph is part of the analizo suite." +ok 74 - When I run "analizo metrics ." # -# Scenario all others -ok 69 - Given I change to an empty temporary directory +ok 75 - Then analizo must report that file animal.h declares module Animal # -ok 70 - And I create a file called .analizo with the following content -# """: --help""" -ok 71 - When I run "analizo metrics" +ok 76 - And analizo must report that file cat.cc declares module Cat # -ok 72 - Then the output must match "analizo metrics is part of the analizo suite." +ok 77 - And analizo must report that file cat.h declares module Cat # -# Scenario all others -ok 73 - Given I change to an empty temporary directory +# Scenario Java +ok 78 - When I run "analizo metrics t/samples/animals/java" # -ok 74 - And I create a file called .analizo with the following content -# """: --help""" -ok 75 - When I run "analizo metrics-batch" +ok 79 - Then analizo must report that file Animal.java declares module Animal # -ok 76 - Then the output must match "analizo metrics-batch is part of the analizo suite." +# Scenario C +ok 80 - Given I am in t/samples/hello_world/c # -# Scenario all others -ok 77 - Given I change to an empty temporary directory +ok 81 - When I run "analizo metrics ." # -ok 78 - And I create a file called .analizo with the following content -# """: --help""" -ok 79 - When I run "analizo metrics-history" +ok 82 - Then analizo must report that module hello_world has _filename = [hello_world.c,hello_world.h] # -ok 80 - Then the output must match "analizo metrics-history is part of the analizo suite." +ok 83 - And analizo must report that file hello_world.c declares module hello_world # -# Scenario all others -ok 81 - Given I change to an empty temporary directory +ok 84 - And analizo must report that file hello_world.h declares module hello_world # -ok 82 - And I create a file called .analizo with the following content -# """: --help""" -ok 83 - When I run "analizo tree-evolution" +# Scenario CSharp hello_world +ok 85 - Given I am in t/samples/hello_world/csharp # -ok 84 - Then the output must match "analizo tree-evolution is part of the analizo suite." +ok 86 - When I run "analizo metrics ." # -# Scenario all others -ok 85 - Given I change to an empty temporary directory +ok 87 - Then analizo must report that module HelloWorld has _filename = [HelloWorld.cs] # -ok 86 - And I create a file called .analizo with the following content -# """: --help""" -ok 87 - When I run "analizo files-graph" +# Scenario CSharp polygons +ok 88 - Given I am in t/samples/polygons/csharp # -ok 88 - Then the output must match "analizo files-graph is part of the analizo suite." +ok 89 - When I run "analizo metrics ." # -# Scenario all others -ok 89 - Given I change to an empty temporary directory +ok 90 - Then analizo must report that file Polygon.cs declares module Polygon # -ok 90 - And I create a file called .analizo with the following content -# """: --help""" -ok 91 - When I run "analizo help" +ok 91 - And analizo must report that file Rect.cs declares module Rect # -ok 92 - Then the output must match "analizo help is part of the analizo suite." +ok 92 - And analizo must report that file Triangle.cs declares module Triangle # -# Feature metrics batch -# As a software engineering researcher I want to analyze several different projects So I can compare their metrics -# Scenario "hello, world" -ok 93 - Given I am in t/samples/hello_world/ +# Scenario Java Generics WildCard sample +ok 93 - Given I am in t/samples/wildcard # -ok 94 - When I run "analizo metrics-batch" +ok 94 - When I run "analizo metrics ." # -ok 95 - Then the output must match "I: Processed c." +ok 95 - Then analizo must report that file WildcardClass.java declares module WildcardClass # -ok 96 - And the output must match "I: Processed cpp." +ok 96 - And analizo must report that file GenericClass.java declares module GenericClass # -ok 97 - And the output must match "I: Processed java." +# Scenario Java Enumeration sample +ok 97 - Given I am in t/samples/enumeration # -# Scenario summarizing -ok 98 - Given I am in t/samples/hello_world/ +ok 98 - When I run "analizo metrics ." # -ok 99 - When I run "analizo metrics-batch --quiet -o data.csv && cat data.csv && rm -f *.csv" +ok 99 - Then analizo must report that file Main.java declares module Main::MyEnumeration # -ok 100 - Then the output must match "^id," +ok 100 - And analizo must report that file Enumeration.java declares module Enumeration # -ok 101 - And the output must not match ",---," +# Feature dependency graph among files +# As a software engineering reasearcher I want to know the all relationships between all files on project So that I can run analizo files-graph to produces a DOT graph from source-code +# Scenario relation between function call +ok 101 - Given I am in t/samples/animals/cpp # -ok 102 - And the output must match "c," +ok 102 - When I run "analizo files-graph ." # -ok 103 - And the output must match "cpp," +ok 103 - Then analizo must report that "main" depends on "animal" # -ok 104 - And the output must match "java," +# Scenario relation between function call +ok 104 - Given I am in t/samples/animals/java # -ok 105 - And the output must not match "I: Processed" +ok 105 - When I run "analizo files-graph ." # -# Scenario support for parallel processing -ok 106 - Given I copy t/samples/hello_world/* into a temporary directory +ok 106 - Then analizo must report that "Main" depends on "Animal" # -ok 107 - When I run "analizo metrics-batch -q -o sequential.csv" +# Scenario relation between function call +ok 107 - Given I am in t/samples/animals/csharp # -ok 108 - And I run "analizo metrics-batch -q -o parallel.csv -p 2" +ok 108 - When I run "analizo files-graph ." # -ok 109 - And I run "sort sequential.csv > sequential-sorted.csv" +ok 109 - Then analizo must report that "Main" depends on "Animal" # -ok 110 - And I run "sort parallel.csv > parallel-sorted.csv" +# Scenario relation between inheritance +ok 110 - Given I am in t/samples/animals/cpp # -ok 111 - And I run "diff -u sequential-sorted.csv parallel-sorted.csv" +ok 111 - When I run "analizo files-graph ." # -ok 112 - Then the output must not match "---" +ok 112 - Then analizo must report that "dog" depends on "mammal" # -ok 113 - Then the exit status must be 0 +# Scenario relation between inheritance +ok 113 - Given I am in t/samples/animals/java # -# Scenario passing two input directories as argument -ok 114 - Given I copy t/samples/hello_world/* into a temporary directory +ok 114 - When I run "analizo files-graph ." # -ok 115 - When I run "analizo metrics-batch --quiet -o data.csv cpp java" +ok 115 - Then analizo must report that "Dog" depends on "Mammal" # -ok 116 - Then the exit status must be 0 +# Scenario relation between inheritance +ok 116 - Given I am in t/samples/animals/csharp # -ok 117 - And the file "c-details.csv" should not exist +ok 117 - When I run "analizo files-graph ." # -ok 118 - And the file "cpp-details.csv" should exist +ok 118 - Then analizo must report that "Dog" depends on "Mammal" # -ok 119 - And the file "java-details.csv" should exist +# Scenario relation between inheritance +ok 119 - Given I am in t/samples/animals/cpp # -# Scenario passing one input directory as argument -ok 120 - Given I copy t/samples/hello_world/* into a temporary directory +ok 120 - When I run "analizo files-graph ." # -ok 121 - When I run "analizo metrics-batch --quiet -o data.csv cpp" +ok 121 - Then analizo must report that "mammal" depends on "animal" # -ok 122 - Then the exit status must be 0 +# Scenario relation between inheritance +ok 122 - Given I am in t/samples/animals/java # -ok 123 - And the file "c-details.csv" should not exist +ok 123 - When I run "analizo files-graph ." # -ok 124 - And the file "cpp-details.csv" should exist +ok 124 - Then analizo must report that "Mammal" depends on "Animal" # -ok 125 - And the file "java-details.csv" should not exist +# Scenario relation between inheritance +ok 125 - Given I am in t/samples/animals/csharp # -# Feature tree evolution -# As a software engineering reasearcher I want to know what directories existed during the project lifetime So that I can analyze only the production code (and not tests etc) -# Scenario sample git repository -ok 126 - When I explode t/samples/tree-evolution.tar.gz +ok 126 - When I run "analizo files-graph ." # -ok 127 - And I run "analizo tree-evolution" +ok 127 - Then analizo must report that "Mammal" depends on "Animal" # -ok 128 - Then the output lines must match "\# 073290fbad0254793bd3ecfb97654c04368d0039\\nsrc\\n\#" +# Feature give manpage on --help +# As a user I want to read the manpage when passing --help command line option In order to get instructions on how to use the tools +# Scenario display manpage for `analizo graph` +ok 128 - When I run "analizo graph --help" # -ok 129 - Then the output lines must match "\# 85f7db08f7b7b0b62e3c0023b2743d529b0d5b4b\\nsrc\\nsrc/input\\n\#" +ok 129 - Then the output must match "[NAME|N^HNA^HAM^HME^HE]\s+analizo-graph" # -ok 130 - Then the output lines must match "\# f41cf7d0351e812285efd60c6d957c330b1f61a1\\nsrc\\nsrc/input\\nsrc/output" +ok 130 - Then the output must match "[USAGE|U^HUS^HSA^HAG^HGE^HE]\s+analizo graph \[OPTIONS\]" # -# Feature analizo wrapper script -# Scenario invoking a tool -ok 131 - When I run "analizo metrics lib t" +# Scenario display manpage for `analizo metrics` +ok 131 - When I run "analizo metrics --help" # -ok 132 - Then analizo must emit a warning matching "Usage:" +ok 132 - Then the output must match "[NAME|N^HNA^HAM^HME^HE]\s+analizo-metrics" # -ok 133 - And analizo must emit a warning matching "analizo.metrics" +ok 133 - Then the output must match "[USAGE|U^HUS^HSA^HAG^HGE^HE]\s+analizo metrics \[OPTIONS\]" # -ok 134 - And the exit status must not be 0 +# Scenario display manpage for `analizo metrics-batch` +ok 134 - When I run "analizo metrics-batch --help" # -# Scenario must not pass --version ahead -ok 135 - When I run "analizo metrics --version" +ok 135 - Then the output must match "[NAME|N^HNA^HAM^HME^HE]\s+analizo-metrics-batch" # -ok 136 - Then analizo must emit a warning matching "Invalid option: --version" +ok 136 - Then the output must match "[USAGE|U^HUS^HSA^HAG^HGE^HE]\s+analizo metrics-batch \[OPTIONS\]" # -ok 137 - And the exit status must not be 0 +# Scenario display manpage for `analizo metrics-history` +ok 137 - When I run "analizo metrics-history --help" # -# Scenario display help -ok 138 - When I run "analizo --help" +ok 138 - Then the output must match "[NAME|N^HNA^HAM^HME^HE]\s+analizo-metrics-history" # -ok 139 - Then the output must match "[NAME|N^HNA^HAM^HME^HE]\s+analizo\s" +ok 139 - Then the output must match "[USAGE|U^HUS^HSA^HAG^HGE^HE]\s+analizo metrics-history \[OPTIONS\]" # -ok 140 - And the output must match "[USAGE|U^HUS^HSA^HAG^HGE^HE]\s+analizo\s" +# Scenario display manpage for `analizo tree-evolution` +ok 140 - When I run "analizo tree-evolution --help" # -ok 141 - And the exit status must be 0 +ok 141 - Then the output must match "[NAME|N^HNA^HAM^HME^HE]\s+analizo-tree-evolution" # -# Scenario display version -ok 142 - When I run "analizo --version" +ok 142 - Then the output must match "[USAGE|U^HUS^HSA^HAG^HGE^HE]\s+analizo tree-evolution \[OPTIONS\]" # -ok 143 - Then the output must match "^analizo version [0-9]+.[0-9]+.[0-9]+" +# Scenario display manpage for `analizo files-graph` +ok 143 - When I run "analizo files-graph --help" # -ok 144 - And the exit status must be 0 +ok 144 - Then the output must match "[NAME|N^HNA^HAM^HME^HE]\s+analizo-files-graph" # -# Scenario invalid option -ok 145 - When I run "analizo --invalid-option" +ok 145 - Then the output must match "[USAGE|U^HUS^HSA^HAG^HGE^HE]\s+analizo files-graph \[OPTIONS\]" # -ok 146 - Then the output must match "Unrecognized command" +# Feature exclude directories from the analysis +# As a software developer in a large project I want to exclude some directories from the source code analysis In order to not analyse non-production code such as tests +# Scenario excluding test directory +ok 146 - Given I am in t/samples/multidir/cpp # -ok 147 - And the exit status must not be 0 +ok 147 - When I run "analizo metrics --exclude test ." # -# Feature analizo metrics-history -# As a software engineering researcher I want to analyse the entire history of a project To understand its development process -# Scenario listing merge commits with code changes that should be analyzed -ok 148 - When I explode t/samples/evolution.tar.gz +ok 148 - Then the output must match "module: HelloWorld" # -ok 149 - And I run "analizo metrics-history --list ." +ok 149 - And the output must not match "module: hello_test" # -ok 150 - Then the output must match "0a06a6fcc2e7b4fe56d134e89d74ad028bb122ed" +# Scenario excluding test directory +ok 150 - Given I am in t/samples/multidir/csharp # -ok 151 - And the output must match "eb67c27055293e835049b58d7d73ce3664d3f90e" +ok 151 - When I run "analizo metrics --exclude test ." # -ok 152 - And the output must match "aa2d0fcb7879485d5ff1cd189743f91f04bea8ce" +ok 152 - Then the output must match "module: HelloWorld" # -ok 153 - And the output must match "e8faf88f0e20a193d700b6c68eeb31897dd85e53" +ok 153 - And the output must not match "module: hello_test" # -ok 154 - And the output must match "d7f52e74dc3d8f57640e83d41c5e9f8fcf621c00" +# Scenario excluding a list of directories +ok 154 - Given I am in t/samples/multidir/cpp # -ok 155 - And the output must match "0d3c023120ad4e9f519a03fff275d048c52671ad" +ok 155 - When I run "analizo metrics --exclude test:src ." # -# Scenario non-code commits should not be analyzed -ok 156 - When I explode t/samples/evolution.tar.gz +ok 156 - Then the output must not match "module: HelloWorld" # -ok 157 - And I run "analizo metrics-history --list ." +ok 157 - And the output must not match "module: hello_test" # -ok 158 - Then the output must not match "ba62278e976944c0334103aa0044535169e1a51e" +# Scenario excluding a list of directories +ok 158 - Given I am in t/samples/multidir/csharp # -# Scenario merge commits without code change should not be analyzed -ok 159 - When I explode t/samples/evolution.tar.gz +ok 159 - When I run "analizo metrics --exclude test:src ." # -ok 160 - And I run "analizo metrics-history --list ." +ok 160 - Then the output must not match "module: HelloWorld" # -ok 161 - Then the output must not match "0fdaaa7dcc8073332a957024fafc8c98f165e725" +ok 161 - And the output must not match "module: hello_test" # -# Scenario actually processing merge commits -ok 162 - When I explode t/samples/evolution.tar.gz +# Scenario excluding src directory +ok 162 - Given I am in t/samples/multidir/cpp # -ok 163 - And I run "analizo metrics-history -o metrics.csv . && cat metrics.csv" +ok 163 - When I run "analizo metrics --exclude src ." # -ok 164 - Then the output must match "^id,previous_commit_id,author_date,author_name,author_email,.*,sc_mean" +ok 164 - Then the output must match "module: hello_test" # -ok 165 - And the output must match "0a06a6fcc2e7b4fe56d134e89d74ad028bb122ed,eb67c27055293e835049b58d7d73ce3664d3f90e" +ok 165 - And the output must not match "module: HelloWorld" # -ok 166 - And the output must match "eb67c27055293e835049b58d7d73ce3664d3f90e,," +# Scenario excluding src directory +ok 166 - Given I am in t/samples/multidir/csharp # -ok 167 - And the output must match "aa2d0fcb7879485d5ff1cd189743f91f04bea8ce,d7f52e74dc3d8f57640e83d41c5e9f8fcf621c00" +ok 167 - When I run "analizo metrics --exclude src ." # -ok 168 - And the output must match "e8faf88f0e20a193d700b6c68eeb31897dd85e53,d7f52e74dc3d8f57640e83d41c5e9f8fcf621c00" +ok 168 - Then the output must match "module: hello_test" # -ok 169 - And the output must match "d7f52e74dc3d8f57640e83d41c5e9f8fcf621c00,0d3c023120ad4e9f519a03fff275d048c52671ad" +ok 169 - And the output must not match "module: HelloWorld" # -# Scenario actually processing initial commit and first commit after a non-relevant merge +# Feature analizo metrics-history +# As a software engineering researcher I want to analyse the entire history of a project To understand its development process +# Scenario listing merge commits with code changes that should be analyzed ok 170 - When I explode t/samples/evolution.tar.gz # -ok 171 - And I run "analizo metrics-history -o metrics.csv . && cat metrics.csv" +ok 171 - And I run "analizo metrics-history --list ." # -ok 172 - Then the output must match "0d3c023120ad4e9f519a03fff275d048c52671ad,," +ok 172 - Then the output must match "0a06a6fcc2e7b4fe56d134e89d74ad028bb122ed" # -ok 173 - And the output must match "8183eafad3a0f3eff6e8869f1bdbfd255e86825a,0a06a6fcc2e7b4fe56d134e89d74ad028bb122ed" +ok 173 - And the output must match "eb67c27055293e835049b58d7d73ce3664d3f90e" # -# Scenario support for parallel processing -ok 174 - Given I copy t/samples/evolution.tar.gz into a temporary directory +ok 174 - And the output must match "aa2d0fcb7879485d5ff1cd189743f91f04bea8ce" # -ok 175 - When I run "tar xzf evolution.tar.gz" +ok 175 - And the output must match "e8faf88f0e20a193d700b6c68eeb31897dd85e53" # -ok 176 - And I run "cd evolution && analizo metrics-history -o ../sequential.csv" +ok 176 - And the output must match "d7f52e74dc3d8f57640e83d41c5e9f8fcf621c00" # -ok 177 - And I run "cd evolution && analizo metrics-history -p 2 -o ../parallel.csv" +ok 177 - And the output must match "0d3c023120ad4e9f519a03fff275d048c52671ad" # -ok 178 - Then the exit status must be 0 +# Scenario non-code commits should not be analyzed +ok 178 - When I explode t/samples/evolution.tar.gz # -ok 179 - When I run "sort sequential.csv > sequential-sorted.csv" +ok 179 - And I run "analizo metrics-history --list ." # -ok 180 - And I run "sort parallel.csv > parallel-sorted.csv" +ok 180 - Then the output must not match "ba62278e976944c0334103aa0044535169e1a51e" # -ok 181 - And I run "diff -u sequential-sorted.csv parallel-sorted.csv" +# Scenario merge commits without code change should not be analyzed +ok 181 - When I explode t/samples/evolution.tar.gz # -ok 182 - Then the output must not match "---" +ok 182 - And I run "analizo metrics-history --list ." # -ok 183 - And the exit status must be 0 +ok 183 - Then the output must not match "0fdaaa7dcc8073332a957024fafc8c98f165e725" # -# Scenario parsing git log format containing renamed files among status of changed files -ok 184 - Given I copy t/samples/evolution.tar.gz into a temporary directory +# Scenario actually processing merge commits +ok 184 - When I explode t/samples/evolution.tar.gz # -ok 185 - When I run "tar xzf evolution.tar.gz" +ok 185 - And I run "analizo metrics-history -o metrics.csv . && cat metrics.csv" # -ok 186 - And I run "cd evolution && git checkout doc && analizo metrics-history ." +ok 186 - Then the output must match "^id,previous_commit_id,author_date,author_name,author_email,.*,sc_mean" # -ok 187 - Then the exit status must be 0 +ok 187 - And the output must match "0a06a6fcc2e7b4fe56d134e89d74ad028bb122ed,eb67c27055293e835049b58d7d73ce3664d3f90e" # -# Scenario language filters -ok 188 - Given I copy t/samples/mixed into a temporary directory +ok 188 - And the output must match "eb67c27055293e835049b58d7d73ce3664d3f90e,," # -ok 189 - When I run "(cd mixed && git init && git add * && git commit -m 'initial commit')" +ok 189 - And the output must match "aa2d0fcb7879485d5ff1cd189743f91f04bea8ce,d7f52e74dc3d8f57640e83d41c5e9f8fcf621c00" # -ok 190 - And I run "analizo metrics-history --language java mixed" +ok 190 - And the output must match "e8faf88f0e20a193d700b6c68eeb31897dd85e53,d7f52e74dc3d8f57640e83d41c5e9f8fcf621c00" # -ok 191 - Then the output must not match "native_backend.c" +ok 191 - And the output must match "d7f52e74dc3d8f57640e83d41c5e9f8fcf621c00,0d3c023120ad4e9f519a03fff275d048c52671ad" # -# Feature doxyparse extractor external tool -# As a Analizo developer I want to guarantee that doxyparse deal with any source code To provide reliability for Analizo users -# Scenario don't die parsing MCLinker.cpp from android 5.1.1 -ok 192 - Given I am in t/samples/android-framework/android-5.1.1_r38 +# Scenario actually processing initial commit and first commit after a non-relevant merge +ok 192 - When I explode t/samples/evolution.tar.gz # -ok 193 - When I run "analizo metrics ." +ok 193 - And I run "analizo metrics-history -o metrics.csv . && cat metrics.csv" # -ok 194 - Then the exit status must be 0 +ok 194 - Then the output must match "0d3c023120ad4e9f519a03fff275d048c52671ad,," # -# Scenario don't duplicate YAML keys parsing AudioTrackShared.cpp from android 5.1.1 -ok 195 - Given I am in t/samples/android-framework/android-5.1.1_r38 +ok 195 - And the output must match "8183eafad3a0f3eff6e8869f1bdbfd255e86825a,0a06a6fcc2e7b4fe56d134e89d74ad028bb122ed" # -ok 196 - When I run "analizo metrics ." +# Scenario support for parallel processing +ok 196 - Given I copy t/samples/evolution.tar.gz into a temporary directory # -ok 197 - Then analizo must not emit a warning matching "YAML_LOAD_WARN_DUPLICATE_KEY" +ok 197 - When I run "tar xzf evolution.tar.gz" # -# Scenario don't abort parsing mlpack 3.0.0 -ok 198 - Given I am in t/samples/mlpack-3.0.0 +ok 198 - And I run "cd evolution && analizo metrics-history -o ../sequential.csv" # -ok 199 - When I run "analizo metrics ." +ok 199 - And I run "cd evolution && analizo metrics-history -p 2 -o ../parallel.csv" # -ok 200 - Then analizo must not emit a warning matching "Aborted" +ok 200 - Then the exit status must be 0 # -ok 201 - And the exit status must be 0 +ok 201 - When I run "sort sequential.csv > sequential-sorted.csv" # -# Scenario don't die parsing kdelibs warning about unknown escape character -ok 202 - Given I am in t/samples/kdelibs +ok 202 - And I run "sort parallel.csv > parallel-sorted.csv" # -ok 203 - When I run "analizo metrics ." +ok 203 - And I run "diff -u sequential-sorted.csv parallel-sorted.csv" # -ok 204 - Then analizo must not emit a warning matching "Error" +ok 204 - Then the output must not match "---" # ok 205 - And the exit status must be 0 # -# Scenario don't die parsing mod_suexec.h from http 2.4.38 -ok 206 - Given I am in t/samples/httpd-2.4.38 +# Scenario parsing git log format containing renamed files among status of changed files +ok 206 - Given I copy t/samples/evolution.tar.gz into a temporary directory # -ok 207 - When I run "analizo metrics ." +ok 207 - When I run "tar xzf evolution.tar.gz" # -ok 208 - Then analizo must not emit a warning matching "Not a HASH reference" +ok 208 - And I run "cd evolution && git checkout doc && analizo metrics-history ." # -ok 209 - And the exit status must be 0 +ok 209 - Then the exit status must be 0 # -# Scenario allow dot on module filename -ok 210 - Given I am in t/samples/sample_basic/c +# Scenario language filters +ok 210 - Given I copy t/samples/mixed into a temporary directory +# +ok 211 - When I run "(cd mixed && git init && git add * && git commit -m 'initial commit')" # -ok 211 - When I run "analizo metrics ." +ok 212 - And I run "analizo metrics-history --language java mixed" # -ok 212 - Then analizo must report that file module1.c declares module module1 +ok 213 - Then the output must not match "native_backend.c" # # Feature multi-language support # As a Researcher or Practioneer I want to be able to analyze software in different languages In order do compare them # Scenario dependency between modules -ok 213 - Given I am in t/samples/hello_world/c +ok 214 - Given I am in t/samples/hello_world/c # -ok 214 - When I run "analizo graph --modules ." +ok 215 - When I run "analizo graph --modules ." # -ok 215 - Then analizo must report that "main" depends on "hello_world" +ok 216 - Then analizo must report that "main" depends on "hello_world" # # Scenario dependency between modules -ok 216 - Given I am in t/samples/hello_world/cpp +ok 217 - Given I am in t/samples/hello_world/cpp # -ok 217 - When I run "analizo graph --modules ." +ok 218 - When I run "analizo graph --modules ." # -ok 218 - Then analizo must report that "main" depends on "HelloWorld" +ok 219 - Then analizo must report that "main" depends on "HelloWorld" # # Scenario dependency between modules -ok 219 - Given I am in t/samples/hello_world/java +ok 220 - Given I am in t/samples/hello_world/java # -ok 220 - When I run "analizo graph --modules ." +ok 221 - When I run "analizo graph --modules ." # -ok 221 - Then analizo must report that "Main" depends on "HelloWorld" +ok 222 - Then analizo must report that "Main" depends on "HelloWorld" # # Scenario dependency between modules -ok 222 - Given I am in t/samples/hello_world/csharp +ok 223 - Given I am in t/samples/hello_world/csharp # -ok 223 - When I run "analizo graph --modules ." +ok 224 - When I run "analizo graph --modules ." # -ok 224 - Then analizo must report that "main" depends on "HelloWorld" +ok 225 - Then analizo must report that "main" depends on "HelloWorld" # # Scenario dependency between specific functions -ok 225 - Given I am in t/samples/hello_world/c +ok 226 - Given I am in t/samples/hello_world/c # -ok 226 - When I run "analizo graph ." +ok 227 - When I run "analizo graph ." # -ok 227 - Then analizo must report that "main::main()" depends on "hello_world::hello_world_say(hello_world *)" +ok 228 - Then analizo must report that "main::main()" depends on "hello_world::hello_world_say(hello_world *)" # -ok 228 - And analizo must report that "main::main()" depends on "hello_world::hello_world_destroy(hello_world *)" +ok 229 - And analizo must report that "main::main()" depends on "hello_world::hello_world_destroy(hello_world *)" # # Scenario dependency between specific functions -ok 229 - Given I am in t/samples/hello_world/cpp +ok 230 - Given I am in t/samples/hello_world/cpp # -ok 230 - When I run "analizo graph ." +ok 231 - When I run "analizo graph ." # -ok 231 - Then analizo must report that "main::main()" depends on "HelloWorld::say()" +ok 232 - Then analizo must report that "main::main()" depends on "HelloWorld::say()" # -ok 232 - And analizo must report that "main::main()" depends on "HelloWorld::destroy()" +ok 233 - And analizo must report that "main::main()" depends on "HelloWorld::destroy()" # # Scenario dependency between specific functions -ok 233 - Given I am in t/samples/hello_world/java +ok 234 - Given I am in t/samples/hello_world/java # -ok 234 - When I run "analizo graph ." +ok 235 - When I run "analizo graph ." # -ok 235 - Then analizo must report that "Main::main(String[])" depends on "HelloWorld::say()" +ok 236 - Then analizo must report that "Main::main(String[])" depends on "HelloWorld::say()" # -ok 236 - And analizo must report that "Main::main(String[])" depends on "HelloWorld::destroy()" +ok 237 - And analizo must report that "Main::main(String[])" depends on "HelloWorld::destroy()" # # Scenario dependency between specific functions -ok 237 - Given I am in t/samples/hello_world/csharp +ok 238 - Given I am in t/samples/hello_world/csharp # -ok 238 - When I run "analizo graph ." +ok 239 - When I run "analizo graph ." # -ok 239 - Then analizo must report that "main::Main()" depends on "HelloWorld::say()" +ok 240 - Then analizo must report that "main::Main()" depends on "HelloWorld::say()" # -ok 240 - And analizo must report that "main::Main()" depends on "HelloWorld::destroy()" +ok 241 - And analizo must report that "main::Main()" depends on "HelloWorld::destroy()" # # Scenario intra-module dependencies -ok 241 - Given I am in t/samples/hello_world/c +ok 242 - Given I am in t/samples/hello_world/c # -ok 242 - When I run "analizo graph ." +ok 243 - When I run "analizo graph ." # -ok 243 - Then analizo must report that "hello_world::hello_world_say(hello_world *)" depends on "hello_world::_hello_world::id" +ok 244 - Then analizo must report that "hello_world::hello_world_say(hello_world *)" depends on "hello_world::_hello_world::id" # -ok 244 - And analizo must report that "hello_world::hello_world_destroy(hello_world *)" depends on "hello_world::_hello_world::id" +ok 245 - And analizo must report that "hello_world::hello_world_destroy(hello_world *)" depends on "hello_world::_hello_world::id" # # Scenario intra-module dependencies -ok 245 - Given I am in t/samples/hello_world/cpp +ok 246 - Given I am in t/samples/hello_world/cpp # -ok 246 - When I run "analizo graph ." +ok 247 - When I run "analizo graph ." # -ok 247 - Then analizo must report that "HelloWorld::say()" depends on "HelloWorld::_id" +ok 248 - Then analizo must report that "HelloWorld::say()" depends on "HelloWorld::_id" # -ok 248 - And analizo must report that "HelloWorld::destroy()" depends on "HelloWorld::_id" +ok 249 - And analizo must report that "HelloWorld::destroy()" depends on "HelloWorld::_id" # # Scenario intra-module dependencies -ok 249 - Given I am in t/samples/hello_world/java +ok 250 - Given I am in t/samples/hello_world/java # -ok 250 - When I run "analizo graph ." +ok 251 - When I run "analizo graph ." # -ok 251 - Then analizo must report that "HelloWorld::say()" depends on "HelloWorld::_id" +ok 252 - Then analizo must report that "HelloWorld::say()" depends on "HelloWorld::_id" # -ok 252 - And analizo must report that "HelloWorld::destroy()" depends on "HelloWorld::_id" +ok 253 - And analizo must report that "HelloWorld::destroy()" depends on "HelloWorld::_id" # # Scenario intra-module dependencies -ok 253 - Given I am in t/samples/hello_world/csharp +ok 254 - Given I am in t/samples/hello_world/csharp # -ok 254 - When I run "analizo graph ." +ok 255 - When I run "analizo graph ." # -ok 255 - Then analizo must report that "HelloWorld::say()" depends on "HelloWorld::_id" +ok 256 - Then analizo must report that "HelloWorld::say()" depends on "HelloWorld::_id" # -ok 256 - And analizo must report that "HelloWorld::destroy()" depends on "HelloWorld::_id" +ok 257 - And analizo must report that "HelloWorld::destroy()" depends on "HelloWorld::_id" # # Scenario some metrics -ok 257 - Given I am in t/samples/hello_world/c +ok 258 - Given I am in t/samples/hello_world/c # -ok 258 - When I run "analizo metrics ." +ok 259 - When I run "analizo metrics ." # -ok 259 - Then analizo must report that the project has total_modules = 2 +ok 260 - Then analizo must report that the project has total_modules = 2 # -ok 260 - And analizo must report that module main has nom = 1 +ok 261 - And analizo must report that module main has nom = 1 # -ok 261 - And analizo must report that module hello_world has npm = 3 +ok 262 - And analizo must report that module hello_world has npm = 3 # -ok 262 - And analizo must report that module hello_world has nom = 3 +ok 263 - And analizo must report that module hello_world has nom = 3 # -ok 263 - And analizo must report that module hello_world has npa = 2 +ok 264 - And analizo must report that module hello_world has npa = 2 # # Scenario some metrics -ok 264 - Given I am in t/samples/hello_world/cpp +ok 265 - Given I am in t/samples/hello_world/cpp # -ok 265 - When I run "analizo metrics ." +ok 266 - When I run "analizo metrics ." # -ok 266 - Then analizo must report that the project has total_modules = 2 +ok 267 - Then analizo must report that the project has total_modules = 2 # -ok 267 - And analizo must report that module main has nom = 1 +ok 268 - And analizo must report that module main has nom = 1 # -ok 268 - And analizo must report that module HelloWorld has npm = 3 +ok 269 - And analizo must report that module HelloWorld has npm = 3 # -ok 269 - And analizo must report that module HelloWorld has nom = 4 +ok 270 - And analizo must report that module HelloWorld has nom = 4 # -ok 270 - And analizo must report that module HelloWorld has npa = 1 +ok 271 - And analizo must report that module HelloWorld has npa = 1 # # Scenario some metrics -ok 271 - Given I am in t/samples/hello_world/java +ok 272 - Given I am in t/samples/hello_world/java # -ok 272 - When I run "analizo metrics ." +ok 273 - When I run "analizo metrics ." # -ok 273 - Then analizo must report that the project has total_modules = 2 +ok 274 - Then analizo must report that the project has total_modules = 2 # -ok 274 - And analizo must report that module Main has nom = 1 +ok 275 - And analizo must report that module Main has nom = 1 # -ok 275 - And analizo must report that module HelloWorld has npm = 3 +ok 276 - And analizo must report that module HelloWorld has npm = 3 # -ok 276 - And analizo must report that module HelloWorld has nom = 4 +ok 277 - And analizo must report that module HelloWorld has nom = 4 # -ok 277 - And analizo must report that module HelloWorld has npa = 1 +ok 278 - And analizo must report that module HelloWorld has npa = 1 # # Scenario some metrics -ok 278 - Given I am in t/samples/hello_world/csharp +ok 279 - Given I am in t/samples/hello_world/csharp # -ok 279 - When I run "analizo metrics ." +ok 280 - When I run "analizo metrics ." # -ok 280 - Then analizo must report that the project has total_modules = 2 +ok 281 - Then analizo must report that the project has total_modules = 2 # -ok 281 - And analizo must report that module main has nom = 1 +ok 282 - And analizo must report that module main has nom = 1 # -ok 282 - And analizo must report that module HelloWorld has npm = 3 +ok 283 - And analizo must report that module HelloWorld has npm = 3 # -ok 283 - And analizo must report that module HelloWorld has nom = 4 +ok 284 - And analizo must report that module HelloWorld has nom = 4 # -ok 284 - And analizo must report that module HelloWorld has npa = 1 +ok 285 - And analizo must report that module HelloWorld has npa = 1 # # Scenario inheritance data -ok 285 - Given I am in t/samples/animals/cpp +ok 286 - Given I am in t/samples/animals/cpp # -ok 286 - When I run "analizo graph --modules ." +ok 287 - When I run "analizo graph --modules ." # -ok 287 - Then analizo must report that "Cat" depends on "Mammal" +ok 288 - Then analizo must report that "Cat" depends on "Mammal" # -ok 288 - And analizo must report that "Dog" depends on "Mammal" +ok 289 - And analizo must report that "Dog" depends on "Mammal" # -ok 289 - And analizo must report that "Mammal" depends on "Animal" +ok 290 - And analizo must report that "Mammal" depends on "Animal" # -ok 290 - When I run "analizo metrics ." +ok 291 - When I run "analizo metrics ." # -ok 291 - Then analizo must report that module Cat has dit = 2 +ok 292 - Then analizo must report that module Cat has dit = 2 # -ok 292 - And analizo must report that module Dog has dit = 2 +ok 293 - And analizo must report that module Dog has dit = 2 # -ok 293 - And analizo must report that module Mammal has dit = 1 +ok 294 - And analizo must report that module Mammal has dit = 1 # -ok 294 - And analizo must report that module Animal has dit = 0 +ok 295 - And analizo must report that module Animal has dit = 0 # # Scenario inheritance data -ok 295 - Given I am in t/samples/animals/java +ok 296 - Given I am in t/samples/animals/java # -ok 296 - When I run "analizo graph --modules ." +ok 297 - When I run "analizo graph --modules ." # -ok 297 - Then analizo must report that "Cat" depends on "Mammal" +ok 298 - Then analizo must report that "Cat" depends on "Mammal" # -ok 298 - And analizo must report that "Dog" depends on "Mammal" +ok 299 - And analizo must report that "Dog" depends on "Mammal" # -ok 299 - And analizo must report that "Mammal" depends on "Animal" +ok 300 - And analizo must report that "Mammal" depends on "Animal" # -ok 300 - When I run "analizo metrics ." +ok 301 - When I run "analizo metrics ." # -ok 301 - Then analizo must report that module Cat has dit = 2 +ok 302 - Then analizo must report that module Cat has dit = 2 # -ok 302 - And analizo must report that module Dog has dit = 2 +ok 303 - And analizo must report that module Dog has dit = 2 # -ok 303 - And analizo must report that module Mammal has dit = 1 +ok 304 - And analizo must report that module Mammal has dit = 1 # -ok 304 - And analizo must report that module Animal has dit = 0 +ok 305 - And analizo must report that module Animal has dit = 0 # # Scenario mixed Java and C -ok 305 - Given I am in t/samples/mixed +ok 306 - Given I am in t/samples/mixed # -ok 306 - When I run "analizo metrics ." +ok 307 - When I run "analizo metrics ." # -ok 307 - Then the output must match "_module: native_backend" +ok 308 - Then the output must match "_module: native_backend" # -ok 308 - And the output must match "_module: UI" +ok 309 - And the output must match "_module: UI" # -ok 309 - And the output must match "_module: Backend" +ok 310 - And the output must match "_module: Backend" # -# Feature give manpage on --help -# As a user I want to read the manpage when passing --help command line option In order to get instructions on how to use the tools -# Scenario display manpage for `analizo graph` -ok 310 - When I run "analizo graph --help" -# -ok 311 - Then the output must match "[NAME|N^HNA^HAM^HME^HE]\s+analizo-graph" +# Feature doxyparse extractor external tool +# As a Analizo developer I want to guarantee that doxyparse deal with any source code To provide reliability for Analizo users +# Scenario don't die parsing MCLinker.cpp from android 5.1.1 +ok 311 - Given I am in t/samples/android-framework/android-5.1.1_r38 # -ok 312 - Then the output must match "[USAGE|U^HUS^HSA^HAG^HGE^HE]\s+analizo graph \[OPTIONS\]" +ok 312 - When I run "analizo metrics ." # -# Scenario display manpage for `analizo metrics` -ok 313 - When I run "analizo metrics --help" +ok 313 - Then the exit status must be 0 # -ok 314 - Then the output must match "[NAME|N^HNA^HAM^HME^HE]\s+analizo-metrics" +# Scenario don't duplicate YAML keys parsing AudioTrackShared.cpp from android 5.1.1 +ok 314 - Given I am in t/samples/android-framework/android-5.1.1_r38 # -ok 315 - Then the output must match "[USAGE|U^HUS^HSA^HAG^HGE^HE]\s+analizo metrics \[OPTIONS\]" +ok 315 - When I run "analizo metrics ." # -# Scenario display manpage for `analizo metrics-batch` -ok 316 - When I run "analizo metrics-batch --help" +ok 316 - Then analizo must not emit a warning matching "YAML_LOAD_WARN_DUPLICATE_KEY" # -ok 317 - Then the output must match "[NAME|N^HNA^HAM^HME^HE]\s+analizo-metrics-batch" +# Scenario don't abort parsing mlpack 3.0.0 +ok 317 - Given I am in t/samples/mlpack-3.0.0 # -ok 318 - Then the output must match "[USAGE|U^HUS^HSA^HAG^HGE^HE]\s+analizo metrics-batch \[OPTIONS\]" +ok 318 - When I run "analizo metrics ." # -# Scenario display manpage for `analizo metrics-history` -ok 319 - When I run "analizo metrics-history --help" +ok 319 - Then analizo must not emit a warning matching "Aborted" # -ok 320 - Then the output must match "[NAME|N^HNA^HAM^HME^HE]\s+analizo-metrics-history" +ok 320 - And the exit status must be 0 # -ok 321 - Then the output must match "[USAGE|U^HUS^HSA^HAG^HGE^HE]\s+analizo metrics-history \[OPTIONS\]" +# Scenario don't die parsing kdelibs warning about unknown escape character +ok 321 - Given I am in t/samples/kdelibs # -# Scenario display manpage for `analizo tree-evolution` -ok 322 - When I run "analizo tree-evolution --help" +ok 322 - When I run "analizo metrics ." # -ok 323 - Then the output must match "[NAME|N^HNA^HAM^HME^HE]\s+analizo-tree-evolution" +ok 323 - Then analizo must not emit a warning matching "Error" # -ok 324 - Then the output must match "[USAGE|U^HUS^HSA^HAG^HGE^HE]\s+analizo tree-evolution \[OPTIONS\]" +ok 324 - And the exit status must be 0 # -# Scenario display manpage for `analizo files-graph` -ok 325 - When I run "analizo files-graph --help" +# Scenario don't die parsing mod_suexec.h from http 2.4.38 +ok 325 - Given I am in t/samples/httpd-2.4.38 # -ok 326 - Then the output must match "[NAME|N^HNA^HAM^HME^HE]\s+analizo-files-graph" +ok 326 - When I run "analizo metrics ." # -ok 327 - Then the output must match "[USAGE|U^HUS^HSA^HAG^HGE^HE]\s+analizo files-graph \[OPTIONS\]" +ok 327 - Then analizo must not emit a warning matching "Not a HASH reference" # -# Feature c code with void argument -# As a software engineering reasearcher I want to know the arguments of each function on a project So that I can run analizo metrics calculate number of parameters -# Scenario calculate anpn on function with void argument -ok 328 - Given I am in t/samples/void/ +ok 328 - And the exit status must be 0 # -ok 329 - When I run "analizo metrics ." +# Scenario allow dot on module filename +ok 329 - Given I am in t/samples/sample_basic/c # -ok 330 - Then analizo must report that module main has anpm = 0 +ok 330 - When I run "analizo metrics ." # -# Feature mapping modules to filenames -# As a software engineering resesearcher I want to know in which file each module is declared So that I can compare that with data from the VCS -# Scenario C++, runing against some directory -ok 331 - When I run "analizo metrics t/samples/animals/cpp" +ok 331 - Then analizo must report that file module1.c declares module module1 # -ok 332 - Then analizo must report that file animal.h declares module Animal +# Feature metrics batch +# As a software engineering researcher I want to analyze several different projects So I can compare their metrics +# Scenario "hello, world" +ok 332 - Given I am in t/samples/hello_world/ # -ok 333 - And analizo must report that file cat.cc declares module Cat +ok 333 - When I run "analizo metrics-batch" # -ok 334 - And analizo must report that file cat.h declares module Cat +ok 334 - Then the output must match "I: Processed c." # -ok 335 - And analizo must report that file cat.cc not declares module Dog +ok 335 - And the output must match "I: Processed cpp." # -ok 336 - And analizo must report that file cat.h not declares module Dog +ok 336 - And the output must match "I: Processed java." # -# Scenario C++, running against current directory -ok 337 - Given I am in t/samples/animals/cpp +# Scenario summarizing +ok 337 - Given I am in t/samples/hello_world/ # -ok 338 - When I run "analizo metrics ." +ok 338 - When I run "analizo metrics-batch --quiet -o data.csv && cat data.csv && rm -f *.csv" # -ok 339 - Then analizo must report that file animal.h declares module Animal +ok 339 - Then the output must match "^id," # -ok 340 - And analizo must report that file cat.cc declares module Cat +ok 340 - And the output must not match ",---," # -ok 341 - And analizo must report that file cat.h declares module Cat +ok 341 - And the output must match "c," # -# Scenario Java -ok 342 - When I run "analizo metrics t/samples/animals/java" +ok 342 - And the output must match "cpp," # -ok 343 - Then analizo must report that file Animal.java declares module Animal +ok 343 - And the output must match "java," # -# Scenario C -ok 344 - Given I am in t/samples/hello_world/c +ok 344 - And the output must not match "I: Processed" # -ok 345 - When I run "analizo metrics ." +# Scenario support for parallel processing +ok 345 - Given I copy t/samples/hello_world/* into a temporary directory # -ok 346 - Then analizo must report that module hello_world has _filename = [hello_world.c,hello_world.h] +ok 346 - When I run "analizo metrics-batch -q -o sequential.csv" # -ok 347 - And analizo must report that file hello_world.c declares module hello_world +ok 347 - And I run "analizo metrics-batch -q -o parallel.csv -p 2" # -ok 348 - And analizo must report that file hello_world.h declares module hello_world +ok 348 - And I run "sort sequential.csv > sequential-sorted.csv" # -# Scenario CSharp hello_world -ok 349 - Given I am in t/samples/hello_world/csharp +ok 349 - And I run "sort parallel.csv > parallel-sorted.csv" # -ok 350 - When I run "analizo metrics ." +ok 350 - And I run "diff -u sequential-sorted.csv parallel-sorted.csv" # -ok 351 - Then analizo must report that module HelloWorld has _filename = [HelloWorld.cs] +ok 351 - Then the output must not match "---" # -# Scenario CSharp polygons -ok 352 - Given I am in t/samples/polygons/csharp +ok 352 - Then the exit status must be 0 # -ok 353 - When I run "analizo metrics ." +# Scenario passing two input directories as argument +ok 353 - Given I copy t/samples/hello_world/* into a temporary directory # -ok 354 - Then analizo must report that file Polygon.cs declares module Polygon +ok 354 - When I run "analizo metrics-batch --quiet -o data.csv cpp java" # -ok 355 - And analizo must report that file Rect.cs declares module Rect +ok 355 - Then the exit status must be 0 # -ok 356 - And analizo must report that file Triangle.cs declares module Triangle +ok 356 - And the file "c-details.csv" should not exist # -# Scenario Java Generics WildCard sample -ok 357 - Given I am in t/samples/wildcard +ok 357 - And the file "cpp-details.csv" should exist # -ok 358 - When I run "analizo metrics ." +ok 358 - And the file "java-details.csv" should exist # -ok 359 - Then analizo must report that file WildcardClass.java declares module WildcardClass +# Scenario passing one input directory as argument +ok 359 - Given I copy t/samples/hello_world/* into a temporary directory # -ok 360 - And analizo must report that file GenericClass.java declares module GenericClass +ok 360 - When I run "analizo metrics-batch --quiet -o data.csv cpp" # -# Scenario Java Enumeration sample -ok 361 - Given I am in t/samples/enumeration +ok 361 - Then the exit status must be 0 # -ok 362 - When I run "analizo metrics ." +ok 362 - And the file "c-details.csv" should not exist # -ok 363 - Then analizo must report that file Main.java declares module Main::MyEnumeration +ok 363 - And the file "cpp-details.csv" should exist # -ok 364 - And analizo must report that file Enumeration.java declares module Enumeration +ok 364 - And the file "java-details.csv" should not exist # -# Feature number of abstract classes -# As a software developer I want analizo to report the number of modules with at least a defined method in my code So that I can evaluate it -# Scenario "Hello, world" project -ok 365 - Given I am in t/samples/hello_world/cpp +# Feature plain analizo graph run +# Scenario simply running analizo +ok 365 - Given I am in t/samples/sample_basic/c/ # -ok 366 - When I run "analizo metrics ." +ok 366 - When I run "analizo graph ." # -ok 367 - Then analizo must report that the project has total_modules_with_defined_methods = 2 +ok 367 - Then analizo must report that "module1::main()" depends on "module3::variable" # -# Scenario "Hello, world" project -ok 368 - Given I am in t/samples/hello_world/java +ok 368 - Then analizo must report that "module1::main()" depends on "module3::callback()" # -ok 369 - When I run "analizo metrics ." +ok 369 - Then analizo must report that "module1::main()" depends on "module2::say_bye()" # -ok 370 - Then analizo must report that the project has total_modules_with_defined_methods = 2 +ok 370 - Then analizo must report that "module1::main()" depends on "module2::say_hello()" # -# Scenario "Hello, world" project -ok 371 - Given I am in t/samples/hello_world/csharp +ok 371 - And the exit status must be 0 # -ok 372 - When I run "analizo metrics ." +# Feature group by modules +# Scenario sample project +ok 372 - Given I am in t/samples/sample_basic/c/ # -ok 373 - Then analizo must report that the project has total_modules_with_defined_methods = 2 +ok 373 - When I run "analizo graph --modules ." # -# Scenario "Animals" project -ok 374 - Given I am in t/samples/animals/cpp +ok 374 - Then analizo must report that "module1" depends on "module2" # -ok 375 - When I run "analizo metrics ." +ok 375 - Then analizo must report that "module1" depends on "module3" # -ok 376 - Then analizo must report that the project has total_modules_with_defined_methods = 5 +# Feature clustering subroutines in the same module together +# Scenario clustering dependencies +ok 376 - Given I am in t/samples/sample_basic/c/ # -# Scenario "Animals" project -ok 377 - Given I am in t/samples/animals/java +ok 377 - When I run "analizo graph --cluster ." # -ok 378 - When I run "analizo metrics ." +ok 378 - Then analizo must report that "module1::main()" is part of "module1" # -ok 379 - Then analizo must report that the project has total_modules_with_defined_methods = 5 +ok 379 - Then analizo must report that "module2::say_hello()" is part of "module2" # -# Scenario "Animals" project -ok 380 - Given I am in t/samples/animals/csharp +ok 380 - Then analizo must report that "module2::say_bye()" is part of "module2" # -ok 381 - When I run "analizo metrics ." +ok 381 - Then analizo must report that "module3::variable" is part of "module3" # -ok 382 - Then analizo must report that the project has total_modules_with_defined_methods = 5 +ok 382 - Then analizo must report that "module3::callback()" is part of "module3" # -# Feature number of attributes metric -# As a software developer I want to calculate the number of attributes per module metric So that I can evaluate my code -# Scenario number of attributes in the "Animals" project -ok 383 - Given I am in t/samples/animals/cpp +# Feature displaying version +# Scenario running without any arguments +ok 383 - When I run "analizo graph" # -ok 384 - When I run "analizo metrics ." +ok 384 - Then analizo must emit a warning matching "Usage:" # -ok 385 - Then analizo must report that module Dog has noa = 1 +ok 385 - And the exit status must not be 0 # -ok 386 - And analizo must report that module Cat has noa = 1 +# Feature input files for graph tool +# Scenario passing specific files in the command line +ok 386 - Given I am in t/samples/sample_basic/c # -ok 387 - And analizo must report that module main has noa = 0 +ok 387 - When I run "analizo graph module1.c module2.c" # -# Scenario number of attributes in the "Animals" project -ok 388 - Given I am in t/samples/animals/java +ok 388 - Then the output must match "module1" # -ok 389 - When I run "analizo metrics ." +ok 389 - And the output must match "module2" # -ok 390 - Then analizo must report that module Dog has noa = 1 +ok 390 - And the output must not match "module3" # -ok 391 - And analizo must report that module Cat has noa = 1 +# Scenario passing unexisting file +ok 391 - Given I am in t/samples/sample_basic/c # -ok 392 - And analizo must report that module Main has noa = 0 +ok 392 - When I run "analizo graph unexisting-file.c" # -# Scenario number of attributes in the "Animals" project -ok 393 - Given I am in t/samples/animals/csharp +ok 393 - Then analizo must emit a warning matching "is not readable" # -ok 394 - When I run "analizo metrics ." +# Feature functions calls +# Scenario detect function calls among classes +ok 394 - Given I am in t/samples/animals/cpp # -ok 395 - Then analizo must report that module Dog has noa = 1 +ok 395 - When I run "analizo graph ." # -ok 396 - And analizo must report that module Cat has noa = 1 +ok 396 - Then analizo must report that "Cat::Cat(char *)" depends on "Cat::_name" # -ok 397 - And analizo must report that module main has noa = 0 +ok 397 - And analizo must not report that "Cat::Cat(char *)" depends on "Cat::name()" # -# Feature total number of methods per abstract class -# As a software developer I want analizo to report the number of abstract classes in my code So that I can evaluate it -# Scenario "Hello, world" project -ok 398 - Given I am in t/samples/hello_world/cpp +ok 398 - And the exit status must be 0 # -ok 399 - When I run "analizo metrics ." +# Feature omitting certain modules +# Scenario omitting say_bye +ok 399 - Given I am in t/samples/sample_basic/ # -ok 400 - Then analizo must report that the project has total_methods_per_abstract_class = 0 +ok 400 - When I run "analizo graph --omit 'module2::say_bye()' ." # -# Scenario "Hello, world" project -ok 401 - Given I am in t/samples/hello_world/java +ok 401 - Then the output must not match "module2::say_bye()" # -ok 402 - When I run "analizo metrics ." +# Scenario omitting two functions +ok 402 - Given I am in t/samples/sample_basic/ # -ok 403 - Then analizo must report that the project has total_methods_per_abstract_class = 0 +ok 403 - When I run "analizo graph --omit 'module2::say_bye()','module2::say_hello()' ." # -# Scenario "Hello, world" project -ok 404 - Given I am in t/samples/hello_world/csharp +ok 404 - Then the output must not match "module2::say_bye()" # -ok 405 - When I run "analizo metrics ." +ok 405 - Then the output must not match "module2::say_hello()" # -ok 406 - Then analizo must report that the project has total_methods_per_abstract_class = 0 +# Scenario omitting depending functions +ok 406 - Given I am in t/samples/sample_basic/ # -# Scenario "Animals" project -ok 407 - Given I am in t/samples/animals/cpp +ok 407 - When I run "analizo graph --omit 'module1::main()' ." # -ok 408 - When I run "analizo metrics ." +ok 408 - Then the output must not match "module1::main()" # -ok 409 - Then analizo must report that the project has total_methods_per_abstract_class = 1 +# Feature output file for graph tool +# Scenario passing output file in the command line +ok 409 - Given I am in . # -# Scenario "Animals" project -ok 410 - Given I am in t/samples/animals/java +ok 410 - When I run "analizo graph --output output.dot.tmp t/samples/sample_basic/c/" # -ok 411 - When I run "analizo metrics ." +ok 411 - Then the contents of "output.dot.tmp" must match "module1" # -ok 412 - Then analizo must report that the project has total_methods_per_abstract_class = 1 +ok 412 - And the exit status must be 0 # -# Scenario "Animals" project -ok 413 - Given I am in t/samples/animals/csharp +# Scenario passing output file in an unexisting directory +ok 413 - Given I am in . # -ok 414 - When I run "analizo metrics ." +ok 414 - When I run "analizo graph --output /this/directory/must/not/exists/output.dot t/samples/sample_basic/c/" # -ok 415 - Then analizo must report that the project has total_methods_per_abstract_class = 1 +ok 415 - Then analizo must emit a warning matching "No such file or directory" # -# Scenario "Polygons" project -ok 416 - Given I am in t/samples/polygons/cpp +ok 416 - And the exit status must not be 0 # -ok 417 - When I run "analizo metrics ." +# Scenario passing output file without permission to write +ok 417 - Given I am in . # -ok 418 - Then analizo must report that the project has total_methods_per_abstract_class = 2.5 +ok 418 - When I run "touch output.tmp" # -# Scenario "Polygons" project -ok 419 - Given I am in t/samples/polygons/java +ok 419 - And I run "chmod 000 output.tmp" # -ok 420 - When I run "analizo metrics ." +ok 420 - And I run "analizo graph --output output.tmp t/samples/sample_basic/c/" # -ok 421 - Then analizo must report that the project has total_methods_per_abstract_class = 2 +ok 421 - Then the exit status must not be 0 # -# Scenario "Polygons" project -ok 422 - Given I am in t/samples/polygons/csharp +ok 422 - And analizo must emit a warning matching "Permission denied" # -ok 423 - When I run "analizo metrics ." +# Feature coupling between objects +# As a software developer I want analizo to report the value of CBO metric in my code So that I can evaluate it +# Scenario "Hello, world" project +ok 423 - Given I am in t/samples/hello_world/c # -ok 424 - Then analizo must report that the project has total_methods_per_abstract_class = 2 +ok 424 - When I run "analizo metrics ." # -# Feature number of public methods metric -# As a software developer I want to calculate the number of public methods per module metric So that I can evaluate my code -# Scenario number of attributes in the "Animals" project -ok 425 - Given I am in t/samples/polygons/cpp +ok 425 - Then analizo must report that module main has cbo = 1 # -ok 426 - When I run "analizo metrics ." +# Scenario "Hello, world" project +ok 426 - Given I am in t/samples/hello_world/cpp # -ok 427 - Then analizo must report that module CPolygon has npm = 2 +ok 427 - When I run "analizo metrics ." # -# Scenario number of attributes in the "Animals" project -ok 428 - Given I am in t/samples/polygons/cpp +ok 428 - Then analizo must report that module main has cbo = 1 # -ok 429 - When I run "analizo metrics ." +# Scenario "Hello, world" project +ok 429 - Given I am in t/samples/hello_world/java # -ok 430 - Then analizo must report that module CTetragon has npm = 1 +ok 430 - When I run "analizo metrics ." # -# Scenario number of attributes in the "Animals" project -ok 431 - Given I am in t/samples/polygons/java +ok 431 - Then analizo must report that module Main has cbo = 1 # -ok 432 - When I run "analizo metrics ." +# Scenario "Hello, world" project +ok 432 - Given I am in t/samples/hello_world/csharp # -ok 433 - Then analizo must report that module Polygon has npm = 3 +ok 433 - When I run "analizo metrics ." # -# Scenario number of attributes in the "Animals" project -ok 434 - Given I am in t/samples/polygons/csharp +ok 434 - Then analizo must report that module main has cbo = 1 # -ok 435 - When I run "analizo metrics ." +# Scenario "Animals" project +ok 435 - Given I am in t/samples/animals/cpp # -ok 436 - Then analizo must report that module Polygon has npm = 2 +ok 436 - When I run "analizo metrics ." # -# Scenario number of attributes in the "Animals" project -ok 437 - Given I am in t/samples/animals/cpp +ok 437 - Then analizo must report that module main has cbo = 1 # -ok 438 - When I run "analizo metrics ." +# Scenario "Animals" project +ok 438 - Given I am in t/samples/animals/cpp # -ok 439 - Then analizo must report that module Animal has npm = 1 +ok 439 - When I run "analizo metrics ." # -# Scenario number of attributes in the "Animals" project -ok 440 - Given I am in t/samples/animals/cpp +ok 440 - Then analizo must report that module mammal has cbo = 0 # -ok 441 - When I run "analizo metrics ." +# Scenario "Animals" project +ok 441 - Given I am in t/samples/animals/java # -ok 442 - Then analizo must report that module Cat has npm = 2 +ok 442 - When I run "analizo metrics ." # -# Scenario number of attributes in the "Animals" project -ok 443 - Given I am in t/samples/animals/cpp +ok 443 - Then analizo must report that module Main has cbo = 1 # -ok 444 - When I run "analizo metrics ." +# Scenario "Animals" project +ok 444 - Given I am in t/samples/animals/java # -ok 445 - Then analizo must report that module Dog has npm = 2 +ok 445 - When I run "analizo metrics ." # -# Scenario number of attributes in the "Animals" project -ok 446 - Given I am in t/samples/animals/java +ok 446 - Then analizo must report that module Mammal has cbo = 0 # -ok 447 - When I run "analizo metrics ." +# Scenario "Animals" project +ok 447 - Given I am in t/samples/animals/csharp # -ok 448 - Then analizo must report that module Animal has npm = 1 +ok 448 - When I run "analizo metrics ." # -# Scenario number of attributes in the "Animals" project -ok 449 - Given I am in t/samples/animals/java +ok 449 - Then analizo must report that module main has cbo = 1 # -ok 450 - When I run "analizo metrics ." +# Scenario "Animals" project +ok 450 - Given I am in t/samples/animals/csharp # -ok 451 - Then analizo must report that module Cat has npm = 2 +ok 451 - When I run "analizo metrics ." # -# Scenario number of attributes in the "Animals" project -ok 452 - Given I am in t/samples/animals/java +ok 452 - Then analizo must report that module Mammal has cbo = 0 # -ok 453 - When I run "analizo metrics ." +# Feature number of methods +# As a software developer I want analizo to report the number of methods of each module So that I can evaluate it +# Scenario number of methods of the polygon java sample +ok 453 - Given I am in t/samples/polygons/cpp # -ok 454 - Then analizo must report that module Dog has npm = 2 +ok 454 - When I run "analizo metrics ." # -# Scenario number of attributes in the "Animals" project -ok 455 - Given I am in t/samples/animals/csharp +ok 455 - Then analizo must report that module CPolygon has nom = 3 # -ok 456 - When I run "analizo metrics ." +# Scenario number of methods of the polygon java sample +ok 456 - Given I am in t/samples/polygons/cpp # -ok 457 - Then analizo must report that module Animal has npm = 1 +ok 457 - When I run "analizo metrics ." # -# Scenario number of attributes in the "Animals" project -ok 458 - Given I am in t/samples/animals/csharp +ok 458 - Then analizo must report that module CTetragon has nom = 2 # -ok 459 - When I run "analizo metrics ." +# Scenario number of methods of the polygon java sample +ok 459 - Given I am in t/samples/polygons/java # -ok 460 - Then analizo must report that module Cat has npm = 2 +ok 460 - When I run "analizo metrics ." # -# Scenario number of attributes in the "Animals" project -ok 461 - Given I am in t/samples/animals/csharp +ok 461 - Then analizo must report that module Polygon has nom = 3 # -ok 462 - When I run "analizo metrics ." +# Scenario number of methods of the polygon java sample +ok 462 - Given I am in t/samples/polygons/csharp # -ok 463 - Then analizo must report that module Dog has npm = 2 +ok 463 - When I run "analizo metrics ." # -# Feature list metrics -# As a Research or Practioner I want to extract metrics from source code So that I can learn, understand and evaluate it -# Scenario listing metrics -ok 464 - When I run "analizo metrics --list" +ok 464 - Then analizo must report that module Polygon has nom = 2 # -ok 465 - Then analizo must present a list of metrics +# Scenario number of methods of the polygon java sample +ok 465 - Given I am in t/samples/polygons/csharp # -# Scenario listing metrics -ok 466 - When I run "analizo metrics -l" +ok 466 - When I run "analizo metrics ." # -ok 467 - Then analizo must present a list of metrics +ok 467 - Then analizo must report that module Tetragon has nom = 2 # -# Feature output file for metrics tool -# Scenario passing output file in the command line -ok 468 - Given I am in . +# Scenario number of methods of the polygon java sample +ok 468 - Given I am in t/samples/animals/cpp # -ok 469 - When I run "analizo metrics --output output.yml.tmp t/samples/sample_basic/" +ok 469 - When I run "analizo metrics ." # -ok 470 - Then the contents of "output.yml.tmp" must match "module2" +ok 470 - Then analizo must report that module Animal has nom = 1 # -ok 471 - And the exit status must be 0 +# Scenario number of methods of the polygon java sample +ok 471 - Given I am in t/samples/animals/cpp # -# Scenario passing output file without permission to write -ok 472 - Given I am in . +ok 472 - When I run "analizo metrics ." # -ok 473 - When I run "touch output.tmp" +ok 473 - Then analizo must report that module Cat has nom = 2 # -ok 474 - And I run "chmod 000 output.tmp" +# Scenario number of methods of the polygon java sample +ok 474 - Given I am in t/samples/animals/cpp # -ok 475 - And I run "analizo metrics --output output.tmp t/samples/sample_basic/" +ok 475 - When I run "analizo metrics ." # -ok 476 - Then the exit status must not be 0 +ok 476 - Then analizo must report that module Dog has nom = 2 # -ok 477 - And analizo must emit a warning matching "Permission denied" +# Scenario number of methods of the polygon java sample +ok 477 - Given I am in t/samples/animals/java # -# Scenario passing output file in an unexisting directory -ok 478 - Given I am in . +ok 478 - When I run "analizo metrics ." # -ok 479 - When I run "analizo metrics --output /this/directory/must/not/exists/output.yml t/samples" +ok 479 - Then analizo must report that module Animal has nom = 1 # -ok 480 - Then the exit status must not be 0 +# Scenario number of methods of the polygon java sample +ok 480 - Given I am in t/samples/animals/java # -ok 481 - And analizo must emit a warning matching "No such file or directory" +ok 481 - When I run "analizo metrics ." # -# Feature output only global metrics -# As a researcher I want to ouput only the global metrics So that I can evaluate several projects at once -# Scenario simple case -ok 482 - Given I am in t/samples/sample_basic/c/ +ok 482 - Then analizo must report that module Cat has nom = 2 # -ok 483 - When I run "analizo metrics --global-only ." +# Scenario number of methods of the polygon java sample +ok 483 - Given I am in t/samples/animals/java # -ok 484 - Then the output must match "cbo_mean:" +ok 484 - When I run "analizo metrics ." # -ok 485 - And the output must not match "_module:" +ok 485 - Then analizo must report that module Dog has nom = 2 # -# Scenario short version -ok 486 - Given I am in t/samples/sample_basic/c/ +# Scenario number of methods of the polygon java sample +ok 486 - Given I am in t/samples/animals/csharp # -ok 487 - When I run "analizo metrics -g ." +ok 487 - When I run "analizo metrics ." # -ok 488 - Then the output must match "cbo_mean:" +ok 488 - Then analizo must report that module Animal has nom = 1 # -ok 489 - And the output must not match "_module:" +# Scenario number of methods of the polygon java sample +ok 489 - Given I am in t/samples/animals/csharp # -# Feature total modules -# As a software developer I want analizo to report the total number of modules in my code So that I can evaluate it -# Scenario Java Enumeration sample -ok 490 - Given I am in t/samples/enumeration +ok 490 - When I run "analizo metrics ." # -ok 491 - When I run "analizo metrics ." +ok 491 - Then analizo must report that module Cat has nom = 2 # -ok 492 - Then analizo must report that the project has total_modules = 3 +# Scenario number of methods of the polygon java sample +ok 492 - Given I am in t/samples/animals/csharp # -# Feature number of abstract classes -# As a software developer I want analizo to report the number of abstract classes in my code So that I can evaluate it -# Scenario "Hello, world" project -ok 493 - Given I am in t/samples/hello_world/cpp +ok 493 - When I run "analizo metrics ." # -ok 494 - When I run "analizo metrics ." +ok 494 - Then analizo must report that module Dog has nom = 2 # -ok 495 - Then analizo must report that the project has total_abstract_classes = 0 +# Scenario not computes macro on C code as method definition +ok 495 - Given I am in t/samples/macro # -# Scenario "Hello, world" project -ok 496 - Given I am in t/samples/hello_world/java +ok 496 - When I run "analizo metrics ." # -ok 497 - When I run "analizo metrics ." +ok 497 - Then analizo must report that module using_macro has nom = 1 # -ok 498 - Then analizo must report that the project has total_abstract_classes = 0 +# Feature afferent connections with deep inheritance +# As a software developer I want analizo to report the afferent connections of each module So that I can evaluate it +# Scenario afferent connections of the dog family java sample +ok 498 - Given I am in t/samples/deep_inheritance/java # -# Scenario "Hello, world" project -ok 499 - Given I am in t/samples/hello_world/csharp +ok 499 - When I run "analizo metrics ." # -ok 500 - When I run "analizo metrics ." +ok 500 - Then analizo must report that module Dog has acc = 7 # -ok 501 - Then analizo must report that the project has total_abstract_classes = 0 +# Scenario afferent connections of the dog family java sample +ok 501 - Given I am in t/samples/deep_inheritance/java # -# Scenario "Animals" project -ok 502 - Given I am in t/samples/animals/cpp +ok 502 - When I run "analizo metrics ." # -ok 503 - When I run "analizo metrics ." +ok 503 - Then analizo must report that module DogFirstGreatGrandson has acc = 1 # -ok 504 - Then analizo must report that the project has total_abstract_classes = 2 +# Scenario afferent connections of the dog family java sample +ok 504 - Given I am in t/samples/deep_inheritance/java # -# Scenario "Animals" project -ok 505 - Given I am in t/samples/animals/java +ok 505 - When I run "analizo metrics ." # -ok 506 - When I run "analizo metrics ." +ok 506 - Then analizo must report that module DogFirstPuppy has acc = 4 # -ok 507 - Then analizo must report that the project has total_abstract_classes = 2 +# Scenario afferent connections of the dog family java sample +ok 507 - Given I am in t/samples/deep_inheritance/java # -# Scenario "Animals" project -ok 508 - Given I am in t/samples/animals/csharp +ok 508 - When I run "analizo metrics ." # -ok 509 - When I run "analizo metrics ." +ok 509 - Then analizo must report that module DogGrandson has acc = 3 # -ok 510 - Then analizo must report that the project has total_abstract_classes = 2 +# Scenario afferent connections of the dog family java sample +ok 510 - Given I am in t/samples/deep_inheritance/java # -# Scenario "Polygons" project -ok 511 - Given I am in t/samples/polygons/cpp +ok 511 - When I run "analizo metrics ." # -ok 512 - When I run "analizo metrics ." +ok 512 - Then analizo must report that module DogSecondGreatGrandson has acc = 0 # -ok 513 - Then analizo must report that the project has total_abstract_classes = 2 +# Scenario afferent connections of the dog family java sample +ok 513 - Given I am in t/samples/deep_inheritance/java # -# Scenario "Polygons" project -ok 514 - Given I am in t/samples/polygons/java +ok 514 - When I run "analizo metrics ." # -ok 515 - When I run "analizo metrics ." +ok 515 - Then analizo must report that module DogSecondPuppy has acc = 0 # -ok 516 - Then analizo must report that the project has total_abstract_classes = 2 +# Scenario afferent connections of the dog family java sample +ok 516 - Given I am in t/samples/deep_inheritance/java # -# Scenario "Polygons" project -ok 517 - Given I am in t/samples/polygons/csharp +ok 517 - When I run "analizo metrics ." # -ok 518 - When I run "analizo metrics ." +ok 518 - Then analizo must report that module DogSuperYoung has acc = 0 # -ok 519 - Then analizo must report that the project has total_abstract_classes = 2 +# Scenario afferent connections of the dog family java sample +ok 519 - Given I am in t/samples/deep_inheritance/java # -# Scenario "AbstractClass" project -ok 520 - Given I am in t/samples/abstract_class/java +ok 520 - When I run "analizo metrics ." # -ok 521 - When I run "analizo metrics ." +ok 521 - Then analizo must report that module Human has acc = 2 # -ok 522 - Then analizo must report that the project has total_abstract_classes = 1 +# Scenario afferent connections of the dog family java sample +ok 522 - Given I am in t/samples/deep_inheritance/java # -ok 523 - And analizo must report that the project has total_methods_per_abstract_class = 6 +ok 523 - When I run "analizo metrics ." # -# Scenario "AbstractClass" project -ok 524 - Given I am in t/samples/abstract_class/csharp +ok 524 - Then analizo must report that module ShopController has acc = 0 # -ok 525 - When I run "analizo metrics ." +# Scenario afferent connections of the dog family java sample +ok 525 - Given I am in t/samples/deep_inheritance/java # -ok 526 - Then analizo must report that the project has total_abstract_classes = 1 +ok 526 - When I run "analizo metrics ." # -ok 527 - And analizo must report that the project has total_methods_per_abstract_class = 1 +ok 527 - Then analizo must report that module VenderShop has acc = 1 # -# Feature language filters -# As a software developer in a multi-language project I want to analyze only one programming language So that the results are as correct as possible -# Scenario filtering for C code -ok 528 - Given I am in t/samples/mixed +# Feature change cost degree +# As a software developer I want analizo to report the degree of change cost in my code So that I can evaluate it +# Scenario "Hello, world" project +ok 528 - Given I am in t/samples/hello_world/cpp # -ok 529 - When I run "analizo metrics --language c ." +ok 529 - When I run "analizo metrics ." # -ok 530 - Then the output must match "native_backend" +ok 530 - Then analizo must report that the project has change_cost = 0.75 # -ok 531 - And the output must not match "UI" +# Scenario "Hello, world" project +ok 531 - Given I am in t/samples/hello_world/java # -ok 532 - And the output must not match "Backend" +ok 532 - When I run "analizo metrics ." # -ok 533 - And the output must not match "CSharp_Backend" +ok 533 - Then analizo must report that the project has change_cost = 0.75 # -# Scenario filtering for Java code -ok 534 - Given I am in t/samples/mixed +# Scenario "Hello, world" project +ok 534 - Given I am in t/samples/hello_world/csharp # -ok 535 - When I run "analizo metrics --language java ." +ok 535 - When I run "analizo metrics ." # -ok 536 - Then the output must match "UI" +ok 536 - Then analizo must report that the project has change_cost = 0.75 # -ok 537 - And the output must match "Backend" +# Scenario "Animals" project +ok 537 - Given I am in t/samples/animals/cpp # -ok 538 - And the output must not match "native_backend" +ok 538 - When I run "analizo metrics ." # -ok 539 - And the output must not match "CSharp_Backend" +ok 539 - Then analizo must report that the project has change_cost = 0.44 # -# Scenario filtering for CSharp code -ok 540 - Given I am in t/samples/mixed +# Scenario "Animals" project +ok 540 - Given I am in t/samples/animals/java # -ok 541 - When I run "analizo metrics --language csharp ." +ok 541 - When I run "analizo metrics ." # -ok 542 - Then the output must match "CSharp_Backend" +ok 542 - Then analizo must report that the project has change_cost = 0.44 # -ok 543 - And the output must not match "UI" +# Scenario "Animals" project +ok 543 - Given I am in t/samples/animals/csharp # -ok 544 - And the output must not match "native_backend" +ok 544 - When I run "analizo metrics ." # -# Scenario listing languages -ok 545 - When I run "analizo metrics --language list" +ok 545 - Then analizo must report that the project has change_cost = 0.44 # -ok 546 - Then analizo must present a list of languages +# Scenario "Hieracchical Graph" project +ok 546 - Given I am in t/samples/hierarchical_graph/c # -# Feature number of abstract classes -# As a software developer I want analizo to report the number of modules with at least a defined method in my code So that I can evaluate it -# Scenario "Hello, world" project -ok 547 - Given I am in t/samples/hello_world/cpp +ok 547 - When I run "analizo metrics ." # -ok 548 - When I run "analizo metrics ." +ok 548 - Then analizo must report that the project has change_cost = 0.42 # -ok 549 - Then analizo must report that the project has total_modules_with_defined_attributes = 1 +# Scenario "Hieracchical Graph" project +ok 549 - Given I am in t/samples/hierarchical_graph/csharp # -# Scenario "Hello, world" project -ok 550 - Given I am in t/samples/hello_world/java +ok 550 - When I run "analizo metrics ." # -ok 551 - When I run "analizo metrics ." +ok 551 - Then analizo must report that the project has change_cost = 0.28 # -ok 552 - Then analizo must report that the project has total_modules_with_defined_attributes = 1 +# Scenario "Cyclical Graph" project +ok 552 - Given I am in t/samples/cyclical_graph/c # -# Scenario "Hello, world" project -ok 553 - Given I am in t/samples/hello_world/csharp +ok 553 - When I run "analizo metrics ." # -ok 554 - When I run "analizo metrics ." +ok 554 - Then analizo must report that the project has change_cost = 0.5 # -ok 555 - Then analizo must report that the project has total_modules_with_defined_attributes = 1 +# Scenario "Cyclical Graph" project +ok 555 - Given I am in t/samples/cyclical_graph/csharp # -# Scenario "Animals" project -ok 556 - Given I am in t/samples/animals/cpp +ok 556 - When I run "analizo metrics ." # -ok 557 - When I run "analizo metrics ." +ok 557 - Then analizo must report that the project has change_cost = 0.36 # -ok 558 - Then analizo must report that the project has total_modules_with_defined_attributes = 2 +# Feature total modules +# As a software developer I want analizo to report the total number of modules in my code So that I can evaluate it +# Scenario Java Enumeration sample +ok 558 - Given I am in t/samples/enumeration # -# Scenario "Animals" project -ok 559 - Given I am in t/samples/animals/java +ok 559 - When I run "analizo metrics ." # -ok 560 - When I run "analizo metrics ." +ok 560 - Then analizo must report that the project has total_modules = 3 # -ok 561 - Then analizo must report that the project has total_modules_with_defined_attributes = 2 +# Feature list metrics +# As a Research or Practioner I want to extract metrics from source code So that I can learn, understand and evaluate it +# Scenario listing metrics +ok 561 - When I run "analizo metrics --list" # -# Scenario "Animals" project -ok 562 - Given I am in t/samples/animals/csharp +ok 562 - Then analizo must present a list of metrics # -ok 563 - When I run "analizo metrics ." +# Scenario listing metrics +ok 563 - When I run "analizo metrics -l" # -ok 564 - Then analizo must report that the project has total_modules_with_defined_attributes = 2 +ok 564 - Then analizo must present a list of metrics # -# Feature afferent connections with deep inheritance -# As a software developer I want analizo to report the afferent connections of each module So that I can evaluate it -# Scenario afferent connections of the dog family java sample -ok 565 - Given I am in t/samples/deep_inheritance/java +# Feature average cyclomatic complexity per method +# As a software developer I want to calculate the average cyclomatic complexity per method of my code So that I can spot the more complex modules and refactor them +# Scenario my "conditionals" C project +ok 565 - Given I am in t/samples/conditionals/c # ok 566 - When I run "analizo metrics ." # -ok 567 - Then analizo must report that module Dog has acc = 7 +ok 567 - Then analizo must report that module cc1 has accm = 1 # -# Scenario afferent connections of the dog family java sample -ok 568 - Given I am in t/samples/deep_inheritance/java +ok 568 - Then analizo must report that module cc2 has accm = 2 # -ok 569 - When I run "analizo metrics ." +ok 569 - Then analizo must report that module cc3 has accm = 3 # -ok 570 - Then analizo must report that module DogFirstGreatGrandson has acc = 1 +ok 570 - Then analizo must report that module cc4 has accm = 4 # -# Scenario afferent connections of the dog family java sample -ok 571 - Given I am in t/samples/deep_inheritance/java +# Scenario my "conditionals" C project +ok 571 - Given I am in t/samples/conditionals/csharp # ok 572 - When I run "analizo metrics ." # -ok 573 - Then analizo must report that module DogFirstPuppy has acc = 4 +ok 573 - Then analizo must report that module cc1 has accm = 1 # -# Scenario afferent connections of the dog family java sample -ok 574 - Given I am in t/samples/deep_inheritance/java +ok 574 - Then analizo must report that module cc2 has accm = 2 # -ok 575 - When I run "analizo metrics ." +ok 575 - Then analizo must report that module cc3 has accm = 3 # -ok 576 - Then analizo must report that module DogGrandson has acc = 3 +ok 576 - Then analizo must report that module cc4 has accm = 4 # -# Scenario afferent connections of the dog family java sample -ok 577 - Given I am in t/samples/deep_inheritance/java +# Feature output only global metrics +# As a researcher I want to ouput only the global metrics So that I can evaluate several projects at once +# Scenario simple case +ok 577 - Given I am in t/samples/sample_basic/c/ # -ok 578 - When I run "analizo metrics ." +ok 578 - When I run "analizo metrics --global-only ." # -ok 579 - Then analizo must report that module DogSecondGreatGrandson has acc = 0 +ok 579 - Then the output must match "cbo_mean:" # -# Scenario afferent connections of the dog family java sample -ok 580 - Given I am in t/samples/deep_inheritance/java +ok 580 - And the output must not match "_module:" # -ok 581 - When I run "analizo metrics ." +# Scenario short version +ok 581 - Given I am in t/samples/sample_basic/c/ # -ok 582 - Then analizo must report that module DogSecondPuppy has acc = 0 +ok 582 - When I run "analizo metrics -g ." # -# Scenario afferent connections of the dog family java sample -ok 583 - Given I am in t/samples/deep_inheritance/java +ok 583 - Then the output must match "cbo_mean:" # -ok 584 - When I run "analizo metrics ." +ok 584 - And the output must not match "_module:" # -ok 585 - Then analizo must report that module DogSuperYoung has acc = 0 +# Feature average number of parameters metric +# As a software developer I want to calculate the average number of arguments per method metric So that I can evaluate my code +# Scenario number of parameters in the "Animals" project +ok 585 - Given I am in t/samples/animals/cpp # -# Scenario afferent connections of the dog family java sample -ok 586 - Given I am in t/samples/deep_inheritance/java +ok 586 - When I run "analizo metrics ." # -ok 587 - When I run "analizo metrics ." +ok 587 - Then analizo must report that module Dog has anpm = 0.5 # -ok 588 - Then analizo must report that module Human has acc = 2 +ok 588 - And analizo must report that module Cat has anpm = 0.5 # -# Scenario afferent connections of the dog family java sample -ok 589 - Given I am in t/samples/deep_inheritance/java +ok 589 - And analizo must report that module main has anpm = 0 # -ok 590 - When I run "analizo metrics ." +# Scenario number of parameters in the "Animals" project +ok 590 - Given I am in t/samples/animals/java # -ok 591 - Then analizo must report that module ShopController has acc = 0 +ok 591 - When I run "analizo metrics ." # -# Scenario afferent connections of the dog family java sample -ok 592 - Given I am in t/samples/deep_inheritance/java +ok 592 - Then analizo must report that module Dog has anpm = 0.5 # -ok 593 - When I run "analizo metrics ." +ok 593 - And analizo must report that module Cat has anpm = 0.5 # -ok 594 - Then analizo must report that module VenderShop has acc = 1 +ok 594 - And analizo must report that module Main has anpm = 1 # -# Feature change cost degree -# As a software developer I want analizo to report the degree of change cost in my code So that I can evaluate it -# Scenario "Hello, world" project -ok 595 - Given I am in t/samples/hello_world/cpp +# Scenario number of parameters in the "Animals" project +ok 595 - Given I am in t/samples/animals/csharp # ok 596 - When I run "analizo metrics ." # -ok 597 - Then analizo must report that the project has change_cost = 0.75 -# -# Scenario "Hello, world" project -ok 598 - Given I am in t/samples/hello_world/java +ok 597 - Then analizo must report that module Dog has anpm = 0.5 # -ok 599 - When I run "analizo metrics ." +ok 598 - And analizo must report that module Cat has anpm = 0.5 # -ok 600 - Then analizo must report that the project has change_cost = 0.75 +ok 599 - And analizo must report that module main has anpm = 1 # +# Feature output statistics values of metrics +# As a researcher I want to ouput statistics values of metrics So that I can evaluate a project at once # Scenario "Hello, world" project -ok 601 - Given I am in t/samples/hello_world/csharp +ok 600 - Given I am in t/samples/hello_world/ # -ok 602 - When I run "analizo metrics ." +ok 601 - When I run "analizo metrics ." # -ok 603 - Then analizo must report that the project has change_cost = 0.75 +ok 602 - Then the output must match "acc_mean:" # -# Scenario "Animals" project -ok 604 - Given I am in t/samples/animals/cpp +ok 603 - Then the output must match "acc_mode:" # -ok 605 - When I run "analizo metrics ." +ok 604 - Then the output must match "acc_standard_deviation:" # -ok 606 - Then analizo must report that the project has change_cost = 0.44 +ok 605 - Then the output must match "acc_sum:" # -# Scenario "Animals" project -ok 607 - Given I am in t/samples/animals/java +ok 606 - Then the output must match "acc_variance:" # -ok 608 - When I run "analizo metrics ." +ok 607 - Then the output must match "acc_quantile_min:" # -ok 609 - Then analizo must report that the project has change_cost = 0.44 +ok 608 - Then the output must match "acc_quantile_lower:" # -# Scenario "Animals" project -ok 610 - Given I am in t/samples/animals/csharp +ok 609 - Then the output must match "acc_quantile_median:" # -ok 611 - When I run "analizo metrics ." +ok 610 - Then the output must match "acc_quantile_upper:" # -ok 612 - Then analizo must report that the project has change_cost = 0.44 +ok 611 - Then the output must match "acc_quantile_max:" # -# Scenario "Hieracchical Graph" project -ok 613 - Given I am in t/samples/hierarchical_graph/c +ok 612 - Then the output must match "acc_kurtosis:" # -ok 614 - When I run "analizo metrics ." +ok 613 - Then the output must match "acc_skewness:" # -ok 615 - Then analizo must report that the project has change_cost = 0.42 +# Scenario "Hello, world" project +ok 614 - Given I am in t/samples/hello_world/ # -# Scenario "Hieracchical Graph" project -ok 616 - Given I am in t/samples/hierarchical_graph/csharp +ok 615 - When I run "analizo metrics ." # -ok 617 - When I run "analizo metrics ." +ok 616 - Then the output must match "accm_mean:" # -ok 618 - Then analizo must report that the project has change_cost = 0.28 +ok 617 - Then the output must match "accm_mode:" # -# Scenario "Cyclical Graph" project -ok 619 - Given I am in t/samples/cyclical_graph/c +ok 618 - Then the output must match "accm_standard_deviation:" # -ok 620 - When I run "analizo metrics ." +ok 619 - Then the output must match "accm_sum:" # -ok 621 - Then analizo must report that the project has change_cost = 0.5 +ok 620 - Then the output must match "accm_variance:" # -# Scenario "Cyclical Graph" project -ok 622 - Given I am in t/samples/cyclical_graph/csharp +ok 621 - Then the output must match "accm_quantile_min:" # -ok 623 - When I run "analizo metrics ." +ok 622 - Then the output must match "accm_quantile_lower:" # -ok 624 - Then analizo must report that the project has change_cost = 0.36 +ok 623 - Then the output must match "accm_quantile_median:" # -# Feature number of methods -# As a software developer I want analizo to report the number of methods of each module So that I can evaluate it -# Scenario number of methods of the polygon java sample -ok 625 - Given I am in t/samples/polygons/cpp +ok 624 - Then the output must match "accm_quantile_upper:" # -ok 626 - When I run "analizo metrics ." +ok 625 - Then the output must match "accm_quantile_max:" # -ok 627 - Then analizo must report that module CPolygon has nom = 3 +ok 626 - Then the output must match "accm_kurtosis:" # -# Scenario number of methods of the polygon java sample -ok 628 - Given I am in t/samples/polygons/cpp +ok 627 - Then the output must match "accm_skewness:" +# +# Scenario "Hello, world" project +ok 628 - Given I am in t/samples/hello_world/ # ok 629 - When I run "analizo metrics ." # -ok 630 - Then analizo must report that module CTetragon has nom = 2 +ok 630 - Then the output must match "amloc_mean:" # -# Scenario number of methods of the polygon java sample -ok 631 - Given I am in t/samples/polygons/java +ok 631 - Then the output must match "amloc_mode:" # -ok 632 - When I run "analizo metrics ." +ok 632 - Then the output must match "amloc_standard_deviation:" # -ok 633 - Then analizo must report that module Polygon has nom = 3 +ok 633 - Then the output must match "amloc_sum:" # -# Scenario number of methods of the polygon java sample -ok 634 - Given I am in t/samples/polygons/csharp +ok 634 - Then the output must match "amloc_variance:" # -ok 635 - When I run "analizo metrics ." +ok 635 - Then the output must match "amloc_quantile_min:" # -ok 636 - Then analizo must report that module Polygon has nom = 2 +ok 636 - Then the output must match "amloc_quantile_lower:" # -# Scenario number of methods of the polygon java sample -ok 637 - Given I am in t/samples/polygons/csharp +ok 637 - Then the output must match "amloc_quantile_median:" # -ok 638 - When I run "analizo metrics ." +ok 638 - Then the output must match "amloc_quantile_upper:" # -ok 639 - Then analizo must report that module Tetragon has nom = 2 +ok 639 - Then the output must match "amloc_quantile_max:" # -# Scenario number of methods of the polygon java sample -ok 640 - Given I am in t/samples/animals/cpp +ok 640 - Then the output must match "amloc_kurtosis:" # -ok 641 - When I run "analizo metrics ." +ok 641 - Then the output must match "amloc_skewness:" # -ok 642 - Then analizo must report that module Animal has nom = 1 +# Scenario "Hello, world" project +ok 642 - Given I am in t/samples/hello_world/ # -# Scenario number of methods of the polygon java sample -ok 643 - Given I am in t/samples/animals/cpp +ok 643 - When I run "analizo metrics ." # -ok 644 - When I run "analizo metrics ." +ok 644 - Then the output must match "anpm_mean:" # -ok 645 - Then analizo must report that module Cat has nom = 2 +ok 645 - Then the output must match "anpm_mode:" # -# Scenario number of methods of the polygon java sample -ok 646 - Given I am in t/samples/animals/cpp +ok 646 - Then the output must match "anpm_standard_deviation:" # -ok 647 - When I run "analizo metrics ." +ok 647 - Then the output must match "anpm_sum:" # -ok 648 - Then analizo must report that module Dog has nom = 2 +ok 648 - Then the output must match "anpm_variance:" # -# Scenario number of methods of the polygon java sample -ok 649 - Given I am in t/samples/animals/java +ok 649 - Then the output must match "anpm_quantile_min:" # -ok 650 - When I run "analizo metrics ." +ok 650 - Then the output must match "anpm_quantile_lower:" # -ok 651 - Then analizo must report that module Animal has nom = 1 +ok 651 - Then the output must match "anpm_quantile_median:" # -# Scenario number of methods of the polygon java sample -ok 652 - Given I am in t/samples/animals/java +ok 652 - Then the output must match "anpm_quantile_upper:" # -ok 653 - When I run "analizo metrics ." +ok 653 - Then the output must match "anpm_quantile_max:" # -ok 654 - Then analizo must report that module Cat has nom = 2 +ok 654 - Then the output must match "anpm_kurtosis:" # -# Scenario number of methods of the polygon java sample -ok 655 - Given I am in t/samples/animals/java +ok 655 - Then the output must match "anpm_skewness:" # -ok 656 - When I run "analizo metrics ." +# Scenario "Hello, world" project +ok 656 - Given I am in t/samples/hello_world/ # -ok 657 - Then analizo must report that module Dog has nom = 2 +ok 657 - When I run "analizo metrics ." # -# Scenario number of methods of the polygon java sample -ok 658 - Given I am in t/samples/animals/csharp +ok 658 - Then the output must match "cbo_mean:" # -ok 659 - When I run "analizo metrics ." +ok 659 - Then the output must match "cbo_mode:" # -ok 660 - Then analizo must report that module Animal has nom = 1 +ok 660 - Then the output must match "cbo_standard_deviation:" # -# Scenario number of methods of the polygon java sample -ok 661 - Given I am in t/samples/animals/csharp +ok 661 - Then the output must match "cbo_sum:" # -ok 662 - When I run "analizo metrics ." +ok 662 - Then the output must match "cbo_variance:" # -ok 663 - Then analizo must report that module Cat has nom = 2 +ok 663 - Then the output must match "cbo_quantile_min:" # -# Scenario number of methods of the polygon java sample -ok 664 - Given I am in t/samples/animals/csharp +ok 664 - Then the output must match "cbo_quantile_lower:" # -ok 665 - When I run "analizo metrics ." +ok 665 - Then the output must match "cbo_quantile_median:" # -ok 666 - Then analizo must report that module Dog has nom = 2 +ok 666 - Then the output must match "cbo_quantile_upper:" # -# Scenario not computes macro on C code as method definition -ok 667 - Given I am in t/samples/macro +ok 667 - Then the output must match "cbo_quantile_max:" # -ok 668 - When I run "analizo metrics ." +ok 668 - Then the output must match "cbo_kurtosis:" # -ok 669 - Then analizo must report that module using_macro has nom = 1 +ok 669 - Then the output must match "cbo_skewness:" # -# Feature coupling between objects -# As a software developer I want analizo to report the value of CBO metric in my code So that I can evaluate it # Scenario "Hello, world" project -ok 670 - Given I am in t/samples/hello_world/c +ok 670 - Given I am in t/samples/hello_world/ # ok 671 - When I run "analizo metrics ." # -ok 672 - Then analizo must report that module main has cbo = 1 +ok 672 - Then the output must match "dit_mean:" # -# Scenario "Hello, world" project -ok 673 - Given I am in t/samples/hello_world/cpp +ok 673 - Then the output must match "dit_mode:" # -ok 674 - When I run "analizo metrics ." +ok 674 - Then the output must match "dit_standard_deviation:" # -ok 675 - Then analizo must report that module main has cbo = 1 +ok 675 - Then the output must match "dit_sum:" # -# Scenario "Hello, world" project -ok 676 - Given I am in t/samples/hello_world/java +ok 676 - Then the output must match "dit_variance:" # -ok 677 - When I run "analizo metrics ." +ok 677 - Then the output must match "dit_quantile_min:" # -ok 678 - Then analizo must report that module Main has cbo = 1 +ok 678 - Then the output must match "dit_quantile_lower:" # -# Scenario "Hello, world" project -ok 679 - Given I am in t/samples/hello_world/csharp +ok 679 - Then the output must match "dit_quantile_median:" # -ok 680 - When I run "analizo metrics ." +ok 680 - Then the output must match "dit_quantile_upper:" # -ok 681 - Then analizo must report that module main has cbo = 1 +ok 681 - Then the output must match "dit_quantile_max:" # -# Scenario "Animals" project -ok 682 - Given I am in t/samples/animals/cpp +ok 682 - Then the output must match "dit_kurtosis:" # -ok 683 - When I run "analizo metrics ." +ok 683 - Then the output must match "dit_skewness:" # -ok 684 - Then analizo must report that module main has cbo = 1 +# Scenario "Hello, world" project +ok 684 - Given I am in t/samples/hello_world/ # -# Scenario "Animals" project -ok 685 - Given I am in t/samples/animals/cpp +ok 685 - When I run "analizo metrics ." # -ok 686 - When I run "analizo metrics ." +ok 686 - Then the output must match "lcom4_mean:" # -ok 687 - Then analizo must report that module mammal has cbo = 0 +ok 687 - Then the output must match "lcom4_mode:" # -# Scenario "Animals" project -ok 688 - Given I am in t/samples/animals/java +ok 688 - Then the output must match "lcom4_standard_deviation:" # -ok 689 - When I run "analizo metrics ." +ok 689 - Then the output must match "lcom4_sum:" # -ok 690 - Then analizo must report that module Main has cbo = 1 +ok 690 - Then the output must match "lcom4_variance:" # -# Scenario "Animals" project -ok 691 - Given I am in t/samples/animals/java +ok 691 - Then the output must match "lcom4_quantile_min:" # -ok 692 - When I run "analizo metrics ." +ok 692 - Then the output must match "lcom4_quantile_lower:" # -ok 693 - Then analizo must report that module Mammal has cbo = 0 +ok 693 - Then the output must match "lcom4_quantile_median:" # -# Scenario "Animals" project -ok 694 - Given I am in t/samples/animals/csharp +ok 694 - Then the output must match "lcom4_quantile_upper:" # -ok 695 - When I run "analizo metrics ." +ok 695 - Then the output must match "lcom4_quantile_max:" # -ok 696 - Then analizo must report that module main has cbo = 1 +ok 696 - Then the output must match "lcom4_kurtosis:" # -# Scenario "Animals" project -ok 697 - Given I am in t/samples/animals/csharp +ok 697 - Then the output must match "lcom4_skewness:" # -ok 698 - When I run "analizo metrics ." +# Scenario "Hello, world" project +ok 698 - Given I am in t/samples/hello_world/ # -ok 699 - Then analizo must report that module Mammal has cbo = 0 +ok 699 - When I run "analizo metrics ." # -# Feature average cyclomatic complexity per method -# As a software developer I want to calculate the average cyclomatic complexity per method of my code So that I can spot the more complex modules and refactor them -# Scenario my "conditionals" C project -ok 700 - Given I am in t/samples/conditionals/c +ok 700 - Then the output must match "loc_mean:" # -ok 701 - When I run "analizo metrics ." +ok 701 - Then the output must match "loc_mode:" # -ok 702 - Then analizo must report that module cc1 has accm = 1 +ok 702 - Then the output must match "loc_standard_deviation:" # -ok 703 - Then analizo must report that module cc2 has accm = 2 +ok 703 - Then the output must match "loc_sum:" # -ok 704 - Then analizo must report that module cc3 has accm = 3 +ok 704 - Then the output must match "loc_variance:" # -ok 705 - Then analizo must report that module cc4 has accm = 4 +ok 705 - Then the output must match "loc_quantile_min:" # -# Scenario my "conditionals" C project -ok 706 - Given I am in t/samples/conditionals/csharp +ok 706 - Then the output must match "loc_quantile_lower:" # -ok 707 - When I run "analizo metrics ." +ok 707 - Then the output must match "loc_quantile_median:" # -ok 708 - Then analizo must report that module cc1 has accm = 1 +ok 708 - Then the output must match "loc_quantile_upper:" # -ok 709 - Then analizo must report that module cc2 has accm = 2 +ok 709 - Then the output must match "loc_quantile_max:" # -ok 710 - Then analizo must report that module cc3 has accm = 3 +ok 710 - Then the output must match "loc_kurtosis:" # -ok 711 - Then analizo must report that module cc4 has accm = 4 +ok 711 - Then the output must match "loc_skewness:" # -# Feature average number of parameters metric -# As a software developer I want to calculate the average number of arguments per method metric So that I can evaluate my code -# Scenario number of parameters in the "Animals" project -ok 712 - Given I am in t/samples/animals/cpp +# Scenario "Hello, world" project +ok 712 - Given I am in t/samples/hello_world/ # ok 713 - When I run "analizo metrics ." # -ok 714 - Then analizo must report that module Dog has anpm = 0.5 +ok 714 - Then the output must match "mmloc_mean:" # -ok 715 - And analizo must report that module Cat has anpm = 0.5 +ok 715 - Then the output must match "mmloc_mode:" # -ok 716 - And analizo must report that module main has anpm = 0 +ok 716 - Then the output must match "mmloc_standard_deviation:" # -# Scenario number of parameters in the "Animals" project -ok 717 - Given I am in t/samples/animals/java -# -ok 718 - When I run "analizo metrics ." +ok 717 - Then the output must match "mmloc_sum:" # -ok 719 - Then analizo must report that module Dog has anpm = 0.5 +ok 718 - Then the output must match "mmloc_variance:" # -ok 720 - And analizo must report that module Cat has anpm = 0.5 +ok 719 - Then the output must match "mmloc_quantile_min:" # -ok 721 - And analizo must report that module Main has anpm = 1 +ok 720 - Then the output must match "mmloc_quantile_lower:" # -# Scenario number of parameters in the "Animals" project -ok 722 - Given I am in t/samples/animals/csharp +ok 721 - Then the output must match "mmloc_quantile_median:" # -ok 723 - When I run "analizo metrics ." +ok 722 - Then the output must match "mmloc_quantile_upper:" # -ok 724 - Then analizo must report that module Dog has anpm = 0.5 +ok 723 - Then the output must match "mmloc_quantile_max:" # -ok 725 - And analizo must report that module Cat has anpm = 0.5 +ok 724 - Then the output must match "mmloc_kurtosis:" # -ok 726 - And analizo must report that module main has anpm = 1 +ok 725 - Then the output must match "mmloc_skewness:" # -# Feature output statistics values of metrics -# As a researcher I want to ouput statistics values of metrics So that I can evaluate a project at once # Scenario "Hello, world" project -ok 727 - Given I am in t/samples/hello_world/ +ok 726 - Given I am in t/samples/hello_world/ # -ok 728 - When I run "analizo metrics ." +ok 727 - When I run "analizo metrics ." # -ok 729 - Then the output must match "acc_mean:" +ok 728 - Then the output must match "noa_mean:" # -ok 730 - Then the output must match "acc_mode:" +ok 729 - Then the output must match "noa_mode:" # -ok 731 - Then the output must match "acc_standard_deviation:" +ok 730 - Then the output must match "noa_standard_deviation:" # -ok 732 - Then the output must match "acc_sum:" +ok 731 - Then the output must match "noa_sum:" # -ok 733 - Then the output must match "acc_variance:" +ok 732 - Then the output must match "noa_variance:" # -ok 734 - Then the output must match "acc_quantile_min:" +ok 733 - Then the output must match "noa_quantile_min:" # -ok 735 - Then the output must match "acc_quantile_lower:" +ok 734 - Then the output must match "noa_quantile_lower:" # -ok 736 - Then the output must match "acc_quantile_median:" +ok 735 - Then the output must match "noa_quantile_median:" # -ok 737 - Then the output must match "acc_quantile_upper:" +ok 736 - Then the output must match "noa_quantile_upper:" # -ok 738 - Then the output must match "acc_quantile_max:" +ok 737 - Then the output must match "noa_quantile_max:" # -ok 739 - Then the output must match "acc_kurtosis:" +ok 738 - Then the output must match "noa_kurtosis:" # -ok 740 - Then the output must match "acc_skewness:" +ok 739 - Then the output must match "noa_skewness:" # # Scenario "Hello, world" project -ok 741 - Given I am in t/samples/hello_world/ +ok 740 - Given I am in t/samples/hello_world/ # -ok 742 - When I run "analizo metrics ." +ok 741 - When I run "analizo metrics ." # -ok 743 - Then the output must match "accm_mean:" +ok 742 - Then the output must match "noc_mean:" # -ok 744 - Then the output must match "accm_mode:" +ok 743 - Then the output must match "noc_mode:" # -ok 745 - Then the output must match "accm_standard_deviation:" +ok 744 - Then the output must match "noc_standard_deviation:" # -ok 746 - Then the output must match "accm_sum:" +ok 745 - Then the output must match "noc_sum:" # -ok 747 - Then the output must match "accm_variance:" +ok 746 - Then the output must match "noc_variance:" # -ok 748 - Then the output must match "accm_quantile_min:" +ok 747 - Then the output must match "noc_quantile_min:" # -ok 749 - Then the output must match "accm_quantile_lower:" +ok 748 - Then the output must match "noc_quantile_lower:" # -ok 750 - Then the output must match "accm_quantile_median:" +ok 749 - Then the output must match "noc_quantile_median:" # -ok 751 - Then the output must match "accm_quantile_upper:" +ok 750 - Then the output must match "noc_quantile_upper:" # -ok 752 - Then the output must match "accm_quantile_max:" +ok 751 - Then the output must match "noc_quantile_max:" # -ok 753 - Then the output must match "accm_kurtosis:" +ok 752 - Then the output must match "noc_kurtosis:" # -ok 754 - Then the output must match "accm_skewness:" +ok 753 - Then the output must match "noc_skewness:" # # Scenario "Hello, world" project -ok 755 - Given I am in t/samples/hello_world/ +ok 754 - Given I am in t/samples/hello_world/ # -ok 756 - When I run "analizo metrics ." +ok 755 - When I run "analizo metrics ." # -ok 757 - Then the output must match "amloc_mean:" +ok 756 - Then the output must match "nom_mean:" # -ok 758 - Then the output must match "amloc_mode:" +ok 757 - Then the output must match "nom_mode:" # -ok 759 - Then the output must match "amloc_standard_deviation:" +ok 758 - Then the output must match "nom_standard_deviation:" # -ok 760 - Then the output must match "amloc_sum:" +ok 759 - Then the output must match "nom_sum:" # -ok 761 - Then the output must match "amloc_variance:" +ok 760 - Then the output must match "nom_variance:" # -ok 762 - Then the output must match "amloc_quantile_min:" +ok 761 - Then the output must match "nom_quantile_min:" # -ok 763 - Then the output must match "amloc_quantile_lower:" +ok 762 - Then the output must match "nom_quantile_lower:" # -ok 764 - Then the output must match "amloc_quantile_median:" +ok 763 - Then the output must match "nom_quantile_median:" # -ok 765 - Then the output must match "amloc_quantile_upper:" +ok 764 - Then the output must match "nom_quantile_upper:" # -ok 766 - Then the output must match "amloc_quantile_max:" +ok 765 - Then the output must match "nom_quantile_max:" # -ok 767 - Then the output must match "amloc_kurtosis:" +ok 766 - Then the output must match "nom_kurtosis:" # -ok 768 - Then the output must match "amloc_skewness:" +ok 767 - Then the output must match "nom_skewness:" # # Scenario "Hello, world" project -ok 769 - Given I am in t/samples/hello_world/ +ok 768 - Given I am in t/samples/hello_world/ # -ok 770 - When I run "analizo metrics ." +ok 769 - When I run "analizo metrics ." # -ok 771 - Then the output must match "anpm_mean:" +ok 770 - Then the output must match "npm_mean:" # -ok 772 - Then the output must match "anpm_mode:" +ok 771 - Then the output must match "npm_mode:" # -ok 773 - Then the output must match "anpm_standard_deviation:" +ok 772 - Then the output must match "npm_standard_deviation:" # -ok 774 - Then the output must match "anpm_sum:" +ok 773 - Then the output must match "npm_sum:" # -ok 775 - Then the output must match "anpm_variance:" +ok 774 - Then the output must match "npm_variance:" # -ok 776 - Then the output must match "anpm_quantile_min:" +ok 775 - Then the output must match "npm_quantile_min:" # -ok 777 - Then the output must match "anpm_quantile_lower:" +ok 776 - Then the output must match "npm_quantile_lower:" # -ok 778 - Then the output must match "anpm_quantile_median:" +ok 777 - Then the output must match "npm_quantile_median:" # -ok 779 - Then the output must match "anpm_quantile_upper:" +ok 778 - Then the output must match "npm_quantile_upper:" # -ok 780 - Then the output must match "anpm_quantile_max:" +ok 779 - Then the output must match "npm_quantile_max:" # -ok 781 - Then the output must match "anpm_kurtosis:" +ok 780 - Then the output must match "npm_kurtosis:" # -ok 782 - Then the output must match "anpm_skewness:" +ok 781 - Then the output must match "npm_skewness:" # # Scenario "Hello, world" project -ok 783 - Given I am in t/samples/hello_world/ +ok 782 - Given I am in t/samples/hello_world/ # -ok 784 - When I run "analizo metrics ." +ok 783 - When I run "analizo metrics ." # -ok 785 - Then the output must match "cbo_mean:" +ok 784 - Then the output must match "npa_mean:" # -ok 786 - Then the output must match "cbo_mode:" +ok 785 - Then the output must match "npa_mode:" # -ok 787 - Then the output must match "cbo_standard_deviation:" +ok 786 - Then the output must match "npa_standard_deviation:" # -ok 788 - Then the output must match "cbo_sum:" +ok 787 - Then the output must match "npa_sum:" # -ok 789 - Then the output must match "cbo_variance:" +ok 788 - Then the output must match "npa_variance:" # -ok 790 - Then the output must match "cbo_quantile_min:" +ok 789 - Then the output must match "npa_quantile_min:" # -ok 791 - Then the output must match "cbo_quantile_lower:" +ok 790 - Then the output must match "npa_quantile_lower:" # -ok 792 - Then the output must match "cbo_quantile_median:" +ok 791 - Then the output must match "npa_quantile_median:" # -ok 793 - Then the output must match "cbo_quantile_upper:" +ok 792 - Then the output must match "npa_quantile_upper:" # -ok 794 - Then the output must match "cbo_quantile_max:" +ok 793 - Then the output must match "npa_quantile_max:" # -ok 795 - Then the output must match "cbo_kurtosis:" +ok 794 - Then the output must match "npa_kurtosis:" # -ok 796 - Then the output must match "cbo_skewness:" +ok 795 - Then the output must match "npa_skewness:" # # Scenario "Hello, world" project -ok 797 - Given I am in t/samples/hello_world/ +ok 796 - Given I am in t/samples/hello_world/ # -ok 798 - When I run "analizo metrics ." +ok 797 - When I run "analizo metrics ." # -ok 799 - Then the output must match "dit_mean:" +ok 798 - Then the output must match "rfc_mean:" # -ok 800 - Then the output must match "dit_mode:" +ok 799 - Then the output must match "rfc_mode:" # -ok 801 - Then the output must match "dit_standard_deviation:" +ok 800 - Then the output must match "rfc_standard_deviation:" # -ok 802 - Then the output must match "dit_sum:" +ok 801 - Then the output must match "rfc_sum:" # -ok 803 - Then the output must match "dit_variance:" +ok 802 - Then the output must match "rfc_variance:" # -ok 804 - Then the output must match "dit_quantile_min:" +ok 803 - Then the output must match "rfc_quantile_min:" # -ok 805 - Then the output must match "dit_quantile_lower:" +ok 804 - Then the output must match "rfc_quantile_lower:" # -ok 806 - Then the output must match "dit_quantile_median:" +ok 805 - Then the output must match "rfc_quantile_median:" # -ok 807 - Then the output must match "dit_quantile_upper:" +ok 806 - Then the output must match "rfc_quantile_upper:" # -ok 808 - Then the output must match "dit_quantile_max:" +ok 807 - Then the output must match "rfc_quantile_max:" # -ok 809 - Then the output must match "dit_kurtosis:" +ok 808 - Then the output must match "rfc_kurtosis:" # -ok 810 - Then the output must match "dit_skewness:" +ok 809 - Then the output must match "rfc_skewness:" # # Scenario "Hello, world" project -ok 811 - Given I am in t/samples/hello_world/ +ok 810 - Given I am in t/samples/hello_world/ # -ok 812 - When I run "analizo metrics ." +ok 811 - When I run "analizo metrics ." # -ok 813 - Then the output must match "lcom4_mean:" +ok 812 - Then the output must match "sc_mean:" # -ok 814 - Then the output must match "lcom4_mode:" +ok 813 - Then the output must match "sc_mode:" # -ok 815 - Then the output must match "lcom4_standard_deviation:" +ok 814 - Then the output must match "sc_standard_deviation:" # -ok 816 - Then the output must match "lcom4_sum:" +ok 815 - Then the output must match "sc_sum:" # -ok 817 - Then the output must match "lcom4_variance:" +ok 816 - Then the output must match "sc_variance:" # -ok 818 - Then the output must match "lcom4_quantile_min:" +ok 817 - Then the output must match "sc_quantile_min:" # -ok 819 - Then the output must match "lcom4_quantile_lower:" +ok 818 - Then the output must match "sc_quantile_lower:" # -ok 820 - Then the output must match "lcom4_quantile_median:" +ok 819 - Then the output must match "sc_quantile_median:" # -ok 821 - Then the output must match "lcom4_quantile_upper:" +ok 820 - Then the output must match "sc_quantile_upper:" # -ok 822 - Then the output must match "lcom4_quantile_max:" +ok 821 - Then the output must match "sc_quantile_max:" # -ok 823 - Then the output must match "lcom4_kurtosis:" +ok 822 - Then the output must match "sc_kurtosis:" # -ok 824 - Then the output must match "lcom4_skewness:" +ok 823 - Then the output must match "sc_skewness:" # -# Scenario "Hello, world" project -ok 825 - Given I am in t/samples/hello_world/ +# Feature number of public methods metric +# As a software developer I want to calculate the number of public methods per module metric So that I can evaluate my code +# Scenario number of attributes in the "Animals" project +ok 824 - Given I am in t/samples/polygons/cpp # -ok 826 - When I run "analizo metrics ." +ok 825 - When I run "analizo metrics ." # -ok 827 - Then the output must match "loc_mean:" +ok 826 - Then analizo must report that module CPolygon has npm = 2 # -ok 828 - Then the output must match "loc_mode:" +# Scenario number of attributes in the "Animals" project +ok 827 - Given I am in t/samples/polygons/cpp # -ok 829 - Then the output must match "loc_standard_deviation:" +ok 828 - When I run "analizo metrics ." # -ok 830 - Then the output must match "loc_sum:" +ok 829 - Then analizo must report that module CTetragon has npm = 1 # -ok 831 - Then the output must match "loc_variance:" +# Scenario number of attributes in the "Animals" project +ok 830 - Given I am in t/samples/polygons/java # -ok 832 - Then the output must match "loc_quantile_min:" +ok 831 - When I run "analizo metrics ." # -ok 833 - Then the output must match "loc_quantile_lower:" +ok 832 - Then analizo must report that module Polygon has npm = 3 # -ok 834 - Then the output must match "loc_quantile_median:" +# Scenario number of attributes in the "Animals" project +ok 833 - Given I am in t/samples/polygons/csharp # -ok 835 - Then the output must match "loc_quantile_upper:" +ok 834 - When I run "analizo metrics ." # -ok 836 - Then the output must match "loc_quantile_max:" +ok 835 - Then analizo must report that module Polygon has npm = 2 # -ok 837 - Then the output must match "loc_kurtosis:" +# Scenario number of attributes in the "Animals" project +ok 836 - Given I am in t/samples/animals/cpp # -ok 838 - Then the output must match "loc_skewness:" +ok 837 - When I run "analizo metrics ." # -# Scenario "Hello, world" project -ok 839 - Given I am in t/samples/hello_world/ +ok 838 - Then analizo must report that module Animal has npm = 1 +# +# Scenario number of attributes in the "Animals" project +ok 839 - Given I am in t/samples/animals/cpp # ok 840 - When I run "analizo metrics ." # -ok 841 - Then the output must match "mmloc_mean:" +ok 841 - Then analizo must report that module Cat has npm = 2 # -ok 842 - Then the output must match "mmloc_mode:" +# Scenario number of attributes in the "Animals" project +ok 842 - Given I am in t/samples/animals/cpp # -ok 843 - Then the output must match "mmloc_standard_deviation:" +ok 843 - When I run "analizo metrics ." # -ok 844 - Then the output must match "mmloc_sum:" +ok 844 - Then analizo must report that module Dog has npm = 2 # -ok 845 - Then the output must match "mmloc_variance:" +# Scenario number of attributes in the "Animals" project +ok 845 - Given I am in t/samples/animals/java # -ok 846 - Then the output must match "mmloc_quantile_min:" +ok 846 - When I run "analizo metrics ." # -ok 847 - Then the output must match "mmloc_quantile_lower:" +ok 847 - Then analizo must report that module Animal has npm = 1 # -ok 848 - Then the output must match "mmloc_quantile_median:" +# Scenario number of attributes in the "Animals" project +ok 848 - Given I am in t/samples/animals/java # -ok 849 - Then the output must match "mmloc_quantile_upper:" +ok 849 - When I run "analizo metrics ." # -ok 850 - Then the output must match "mmloc_quantile_max:" +ok 850 - Then analizo must report that module Cat has npm = 2 # -ok 851 - Then the output must match "mmloc_kurtosis:" +# Scenario number of attributes in the "Animals" project +ok 851 - Given I am in t/samples/animals/java # -ok 852 - Then the output must match "mmloc_skewness:" +ok 852 - When I run "analizo metrics ." # -# Scenario "Hello, world" project -ok 853 - Given I am in t/samples/hello_world/ +ok 853 - Then analizo must report that module Dog has npm = 2 # -ok 854 - When I run "analizo metrics ." +# Scenario number of attributes in the "Animals" project +ok 854 - Given I am in t/samples/animals/csharp # -ok 855 - Then the output must match "noa_mean:" +ok 855 - When I run "analizo metrics ." # -ok 856 - Then the output must match "noa_mode:" +ok 856 - Then analizo must report that module Animal has npm = 1 # -ok 857 - Then the output must match "noa_standard_deviation:" +# Scenario number of attributes in the "Animals" project +ok 857 - Given I am in t/samples/animals/csharp # -ok 858 - Then the output must match "noa_sum:" +ok 858 - When I run "analizo metrics ." # -ok 859 - Then the output must match "noa_variance:" +ok 859 - Then analizo must report that module Cat has npm = 2 # -ok 860 - Then the output must match "noa_quantile_min:" +# Scenario number of attributes in the "Animals" project +ok 860 - Given I am in t/samples/animals/csharp # -ok 861 - Then the output must match "noa_quantile_lower:" +ok 861 - When I run "analizo metrics ." # -ok 862 - Then the output must match "noa_quantile_median:" +ok 862 - Then analizo must report that module Dog has npm = 2 # -ok 863 - Then the output must match "noa_quantile_upper:" +# Feature number of attributes metric +# As a software developer I want to calculate the number of attributes per module metric So that I can evaluate my code +# Scenario number of attributes in the "Animals" project +ok 863 - Given I am in t/samples/animals/cpp # -ok 864 - Then the output must match "noa_quantile_max:" +ok 864 - When I run "analizo metrics ." # -ok 865 - Then the output must match "noa_kurtosis:" +ok 865 - Then analizo must report that module Dog has noa = 1 # -ok 866 - Then the output must match "noa_skewness:" +ok 866 - And analizo must report that module Cat has noa = 1 # -# Scenario "Hello, world" project -ok 867 - Given I am in t/samples/hello_world/ +ok 867 - And analizo must report that module main has noa = 0 # -ok 868 - When I run "analizo metrics ." +# Scenario number of attributes in the "Animals" project +ok 868 - Given I am in t/samples/animals/java # -ok 869 - Then the output must match "noc_mean:" +ok 869 - When I run "analizo metrics ." # -ok 870 - Then the output must match "noc_mode:" +ok 870 - Then analizo must report that module Dog has noa = 1 # -ok 871 - Then the output must match "noc_standard_deviation:" +ok 871 - And analizo must report that module Cat has noa = 1 # -ok 872 - Then the output must match "noc_sum:" +ok 872 - And analizo must report that module Main has noa = 0 # -ok 873 - Then the output must match "noc_variance:" +# Scenario number of attributes in the "Animals" project +ok 873 - Given I am in t/samples/animals/csharp # -ok 874 - Then the output must match "noc_quantile_min:" +ok 874 - When I run "analizo metrics ." # -ok 875 - Then the output must match "noc_quantile_lower:" +ok 875 - Then analizo must report that module Dog has noa = 1 # -ok 876 - Then the output must match "noc_quantile_median:" +ok 876 - And analizo must report that module Cat has noa = 1 # -ok 877 - Then the output must match "noc_quantile_upper:" +ok 877 - And analizo must report that module main has noa = 0 # -ok 878 - Then the output must match "noc_quantile_max:" +# Feature number of abstract classes +# As a software developer I want analizo to report the number of modules with at least a defined method in my code So that I can evaluate it +# Scenario "Hello, world" project +ok 878 - Given I am in t/samples/hello_world/cpp # -ok 879 - Then the output must match "noc_kurtosis:" +ok 879 - When I run "analizo metrics ." # -ok 880 - Then the output must match "noc_skewness:" +ok 880 - Then analizo must report that the project has total_modules_with_defined_attributes = 1 # # Scenario "Hello, world" project -ok 881 - Given I am in t/samples/hello_world/ +ok 881 - Given I am in t/samples/hello_world/java # ok 882 - When I run "analizo metrics ." # -ok 883 - Then the output must match "nom_mean:" +ok 883 - Then analizo must report that the project has total_modules_with_defined_attributes = 1 # -ok 884 - Then the output must match "nom_mode:" +# Scenario "Hello, world" project +ok 884 - Given I am in t/samples/hello_world/csharp # -ok 885 - Then the output must match "nom_standard_deviation:" +ok 885 - When I run "analizo metrics ." # -ok 886 - Then the output must match "nom_sum:" +ok 886 - Then analizo must report that the project has total_modules_with_defined_attributes = 1 # -ok 887 - Then the output must match "nom_variance:" +# Scenario "Animals" project +ok 887 - Given I am in t/samples/animals/cpp # -ok 888 - Then the output must match "nom_quantile_min:" +ok 888 - When I run "analizo metrics ." # -ok 889 - Then the output must match "nom_quantile_lower:" +ok 889 - Then analizo must report that the project has total_modules_with_defined_attributes = 2 # -ok 890 - Then the output must match "nom_quantile_median:" +# Scenario "Animals" project +ok 890 - Given I am in t/samples/animals/java # -ok 891 - Then the output must match "nom_quantile_upper:" +ok 891 - When I run "analizo metrics ." # -ok 892 - Then the output must match "nom_quantile_max:" +ok 892 - Then analizo must report that the project has total_modules_with_defined_attributes = 2 # -ok 893 - Then the output must match "nom_kurtosis:" +# Scenario "Animals" project +ok 893 - Given I am in t/samples/animals/csharp # -ok 894 - Then the output must match "nom_skewness:" +ok 894 - When I run "analizo metrics ." # -# Scenario "Hello, world" project -ok 895 - Given I am in t/samples/hello_world/ +ok 895 - Then analizo must report that the project has total_modules_with_defined_attributes = 2 # -ok 896 - When I run "analizo metrics ." +# Feature total number of methods per abstract class +# As a software developer I want analizo to report the number of abstract classes in my code So that I can evaluate it +# Scenario "Hello, world" project +ok 896 - Given I am in t/samples/hello_world/cpp # -ok 897 - Then the output must match "npm_mean:" +ok 897 - When I run "analizo metrics ." # -ok 898 - Then the output must match "npm_mode:" +ok 898 - Then analizo must report that the project has total_methods_per_abstract_class = 0 # -ok 899 - Then the output must match "npm_standard_deviation:" +# Scenario "Hello, world" project +ok 899 - Given I am in t/samples/hello_world/java # -ok 900 - Then the output must match "npm_sum:" +ok 900 - When I run "analizo metrics ." # -ok 901 - Then the output must match "npm_variance:" +ok 901 - Then analizo must report that the project has total_methods_per_abstract_class = 0 # -ok 902 - Then the output must match "npm_quantile_min:" +# Scenario "Hello, world" project +ok 902 - Given I am in t/samples/hello_world/csharp # -ok 903 - Then the output must match "npm_quantile_lower:" +ok 903 - When I run "analizo metrics ." # -ok 904 - Then the output must match "npm_quantile_median:" +ok 904 - Then analizo must report that the project has total_methods_per_abstract_class = 0 # -ok 905 - Then the output must match "npm_quantile_upper:" +# Scenario "Animals" project +ok 905 - Given I am in t/samples/animals/cpp # -ok 906 - Then the output must match "npm_quantile_max:" +ok 906 - When I run "analizo metrics ." # -ok 907 - Then the output must match "npm_kurtosis:" +ok 907 - Then analizo must report that the project has total_methods_per_abstract_class = 1 # -ok 908 - Then the output must match "npm_skewness:" +# Scenario "Animals" project +ok 908 - Given I am in t/samples/animals/java # -# Scenario "Hello, world" project -ok 909 - Given I am in t/samples/hello_world/ +ok 909 - When I run "analizo metrics ." # -ok 910 - When I run "analizo metrics ." +ok 910 - Then analizo must report that the project has total_methods_per_abstract_class = 1 # -ok 911 - Then the output must match "npa_mean:" +# Scenario "Animals" project +ok 911 - Given I am in t/samples/animals/csharp # -ok 912 - Then the output must match "npa_mode:" +ok 912 - When I run "analizo metrics ." # -ok 913 - Then the output must match "npa_standard_deviation:" +ok 913 - Then analizo must report that the project has total_methods_per_abstract_class = 1 # -ok 914 - Then the output must match "npa_sum:" +# Scenario "Polygons" project +ok 914 - Given I am in t/samples/polygons/cpp # -ok 915 - Then the output must match "npa_variance:" +ok 915 - When I run "analizo metrics ." # -ok 916 - Then the output must match "npa_quantile_min:" +ok 916 - Then analizo must report that the project has total_methods_per_abstract_class = 2.5 # -ok 917 - Then the output must match "npa_quantile_lower:" +# Scenario "Polygons" project +ok 917 - Given I am in t/samples/polygons/java # -ok 918 - Then the output must match "npa_quantile_median:" +ok 918 - When I run "analizo metrics ." # -ok 919 - Then the output must match "npa_quantile_upper:" +ok 919 - Then analizo must report that the project has total_methods_per_abstract_class = 2 # -ok 920 - Then the output must match "npa_quantile_max:" +# Scenario "Polygons" project +ok 920 - Given I am in t/samples/polygons/csharp # -ok 921 - Then the output must match "npa_kurtosis:" +ok 921 - When I run "analizo metrics ." # -ok 922 - Then the output must match "npa_skewness:" +ok 922 - Then analizo must report that the project has total_methods_per_abstract_class = 2 # +# Feature number of abstract classes +# As a software developer I want analizo to report the number of modules with at least a defined method in my code So that I can evaluate it # Scenario "Hello, world" project -ok 923 - Given I am in t/samples/hello_world/ +ok 923 - Given I am in t/samples/hello_world/cpp # ok 924 - When I run "analizo metrics ." # -ok 925 - Then the output must match "rfc_mean:" +ok 925 - Then analizo must report that the project has total_modules_with_defined_methods = 2 # -ok 926 - Then the output must match "rfc_mode:" +# Scenario "Hello, world" project +ok 926 - Given I am in t/samples/hello_world/java # -ok 927 - Then the output must match "rfc_standard_deviation:" +ok 927 - When I run "analizo metrics ." # -ok 928 - Then the output must match "rfc_sum:" +ok 928 - Then analizo must report that the project has total_modules_with_defined_methods = 2 # -ok 929 - Then the output must match "rfc_variance:" +# Scenario "Hello, world" project +ok 929 - Given I am in t/samples/hello_world/csharp # -ok 930 - Then the output must match "rfc_quantile_min:" +ok 930 - When I run "analizo metrics ." # -ok 931 - Then the output must match "rfc_quantile_lower:" +ok 931 - Then analizo must report that the project has total_modules_with_defined_methods = 2 # -ok 932 - Then the output must match "rfc_quantile_median:" +# Scenario "Animals" project +ok 932 - Given I am in t/samples/animals/cpp # -ok 933 - Then the output must match "rfc_quantile_upper:" +ok 933 - When I run "analizo metrics ." # -ok 934 - Then the output must match "rfc_quantile_max:" +ok 934 - Then analizo must report that the project has total_modules_with_defined_methods = 5 # -ok 935 - Then the output must match "rfc_kurtosis:" +# Scenario "Animals" project +ok 935 - Given I am in t/samples/animals/java # -ok 936 - Then the output must match "rfc_skewness:" +ok 936 - When I run "analizo metrics ." # -# Scenario "Hello, world" project -ok 937 - Given I am in t/samples/hello_world/ +ok 937 - Then analizo must report that the project has total_modules_with_defined_methods = 5 # -ok 938 - When I run "analizo metrics ." +# Scenario "Animals" project +ok 938 - Given I am in t/samples/animals/csharp # -ok 939 - Then the output must match "sc_mean:" +ok 939 - When I run "analizo metrics ." # -ok 940 - Then the output must match "sc_mode:" +ok 940 - Then analizo must report that the project has total_modules_with_defined_methods = 5 # -ok 941 - Then the output must match "sc_standard_deviation:" +# Feature output file for metrics tool +# Scenario passing output file in the command line +ok 941 - Given I am in . # -ok 942 - Then the output must match "sc_sum:" +ok 942 - When I run "analizo metrics --output output.yml.tmp t/samples/sample_basic/" # -ok 943 - Then the output must match "sc_variance:" +ok 943 - Then the contents of "output.yml.tmp" must match "module2" # -ok 944 - Then the output must match "sc_quantile_min:" +ok 944 - And the exit status must be 0 # -ok 945 - Then the output must match "sc_quantile_lower:" +# Scenario passing output file without permission to write +ok 945 - Given I am in . # -ok 946 - Then the output must match "sc_quantile_median:" +ok 946 - When I run "touch output.tmp" # -ok 947 - Then the output must match "sc_quantile_upper:" +ok 947 - And I run "chmod 000 output.tmp" # -ok 948 - Then the output must match "sc_quantile_max:" +ok 948 - And I run "analizo metrics --output output.tmp t/samples/sample_basic/" # -ok 949 - Then the output must match "sc_kurtosis:" +ok 949 - Then the exit status must not be 0 # -ok 950 - Then the output must match "sc_skewness:" +ok 950 - And analizo must emit a warning matching "Permission denied" # -# Feature group by modules -# Scenario sample project -ok 951 - Given I am in t/samples/sample_basic/c/ +# Scenario passing output file in an unexisting directory +ok 951 - Given I am in . # -ok 952 - When I run "analizo graph --modules ." +ok 952 - When I run "analizo metrics --output /this/directory/must/not/exists/output.yml t/samples" # -ok 953 - Then analizo must report that "module1" depends on "module2" +ok 953 - Then the exit status must not be 0 # -ok 954 - Then analizo must report that "module1" depends on "module3" +ok 954 - And analizo must emit a warning matching "No such file or directory" # -# Feature functions calls -# Scenario detect function calls among classes -ok 955 - Given I am in t/samples/animals/cpp +# Feature number of abstract classes +# As a software developer I want analizo to report the number of abstract classes in my code So that I can evaluate it +# Scenario "Hello, world" project +ok 955 - Given I am in t/samples/hello_world/cpp # -ok 956 - When I run "analizo graph ." +ok 956 - When I run "analizo metrics ." # -ok 957 - Then analizo must report that "Cat::Cat(char *)" depends on "Cat::_name" +ok 957 - Then analizo must report that the project has total_abstract_classes = 0 # -ok 958 - And analizo must not report that "Cat::Cat(char *)" depends on "Cat::name()" +# Scenario "Hello, world" project +ok 958 - Given I am in t/samples/hello_world/java # -ok 959 - And the exit status must be 0 +ok 959 - When I run "analizo metrics ." # -# Feature plain analizo graph run -# Scenario simply running analizo -ok 960 - Given I am in t/samples/sample_basic/c/ +ok 960 - Then analizo must report that the project has total_abstract_classes = 0 # -ok 961 - When I run "analizo graph ." +# Scenario "Hello, world" project +ok 961 - Given I am in t/samples/hello_world/csharp # -ok 962 - Then analizo must report that "module1::main()" depends on "module3::variable" +ok 962 - When I run "analizo metrics ." # -ok 963 - Then analizo must report that "module1::main()" depends on "module3::callback()" +ok 963 - Then analizo must report that the project has total_abstract_classes = 0 # -ok 964 - Then analizo must report that "module1::main()" depends on "module2::say_bye()" +# Scenario "Animals" project +ok 964 - Given I am in t/samples/animals/cpp # -ok 965 - Then analizo must report that "module1::main()" depends on "module2::say_hello()" +ok 965 - When I run "analizo metrics ." # -ok 966 - And the exit status must be 0 +ok 966 - Then analizo must report that the project has total_abstract_classes = 2 # -# Feature output file for graph tool -# Scenario passing output file in the command line -ok 967 - Given I am in . +# Scenario "Animals" project +ok 967 - Given I am in t/samples/animals/java # -ok 968 - When I run "analizo graph --output output.dot.tmp t/samples/sample_basic/c/" +ok 968 - When I run "analizo metrics ." # -ok 969 - Then the contents of "output.dot.tmp" must match "module1" +ok 969 - Then analizo must report that the project has total_abstract_classes = 2 # -ok 970 - And the exit status must be 0 +# Scenario "Animals" project +ok 970 - Given I am in t/samples/animals/csharp # -# Scenario passing output file in an unexisting directory -ok 971 - Given I am in . +ok 971 - When I run "analizo metrics ." # -ok 972 - When I run "analizo graph --output /this/directory/must/not/exists/output.dot t/samples/sample_basic/c/" +ok 972 - Then analizo must report that the project has total_abstract_classes = 2 # -ok 973 - Then analizo must emit a warning matching "No such file or directory" +# Scenario "Polygons" project +ok 973 - Given I am in t/samples/polygons/cpp # -ok 974 - And the exit status must not be 0 +ok 974 - When I run "analizo metrics ." # -# Scenario passing output file without permission to write -ok 975 - Given I am in . +ok 975 - Then analizo must report that the project has total_abstract_classes = 2 # -ok 976 - When I run "touch output.tmp" +# Scenario "Polygons" project +ok 976 - Given I am in t/samples/polygons/java # -ok 977 - And I run "chmod 000 output.tmp" +ok 977 - When I run "analizo metrics ." # -ok 978 - And I run "analizo graph --output output.tmp t/samples/sample_basic/c/" +ok 978 - Then analizo must report that the project has total_abstract_classes = 2 # -ok 979 - Then the exit status must not be 0 +# Scenario "Polygons" project +ok 979 - Given I am in t/samples/polygons/csharp # -ok 980 - And analizo must emit a warning matching "Permission denied" +ok 980 - When I run "analizo metrics ." # -# Feature displaying version -# Scenario running without any arguments -ok 981 - When I run "analizo graph" +ok 981 - Then analizo must report that the project has total_abstract_classes = 2 # -ok 982 - Then analizo must emit a warning matching "Usage:" +# Scenario "AbstractClass" project +ok 982 - Given I am in t/samples/abstract_class/java # -ok 983 - And the exit status must not be 0 +ok 983 - When I run "analizo metrics ." # -# Feature omitting certain modules -# Scenario omitting say_bye -ok 984 - Given I am in t/samples/sample_basic/ +ok 984 - Then analizo must report that the project has total_abstract_classes = 1 # -ok 985 - When I run "analizo graph --omit 'module2::say_bye()' ." +ok 985 - And analizo must report that the project has total_methods_per_abstract_class = 6 # -ok 986 - Then the output must not match "module2::say_bye()" +# Scenario "AbstractClass" project +ok 986 - Given I am in t/samples/abstract_class/csharp # -# Scenario omitting two functions -ok 987 - Given I am in t/samples/sample_basic/ +ok 987 - When I run "analizo metrics ." # -ok 988 - When I run "analizo graph --omit 'module2::say_bye()','module2::say_hello()' ." +ok 988 - Then analizo must report that the project has total_abstract_classes = 1 # -ok 989 - Then the output must not match "module2::say_bye()" +ok 989 - And analizo must report that the project has total_methods_per_abstract_class = 1 # -ok 990 - Then the output must not match "module2::say_hello()" +# Feature language filters +# As a software developer in a multi-language project I want to analyze only one programming language So that the results are as correct as possible +# Scenario filtering for C code +ok 990 - Given I am in t/samples/mixed # -# Scenario omitting depending functions -ok 991 - Given I am in t/samples/sample_basic/ +ok 991 - When I run "analizo metrics --language c ." # -ok 992 - When I run "analizo graph --omit 'module1::main()' ." +ok 992 - Then the output must match "native_backend" # -ok 993 - Then the output must not match "module1::main()" +ok 993 - And the output must not match "UI" # -# Feature input files for graph tool -# Scenario passing specific files in the command line -ok 994 - Given I am in t/samples/sample_basic/c +ok 994 - And the output must not match "Backend" # -ok 995 - When I run "analizo graph module1.c module2.c" +ok 995 - And the output must not match "CSharp_Backend" # -ok 996 - Then the output must match "module1" +# Scenario filtering for Java code +ok 996 - Given I am in t/samples/mixed # -ok 997 - And the output must match "module2" +ok 997 - When I run "analizo metrics --language java ." # -ok 998 - And the output must not match "module3" +ok 998 - Then the output must match "UI" # -# Scenario passing unexisting file -ok 999 - Given I am in t/samples/sample_basic/c +ok 999 - And the output must match "Backend" # -ok 1000 - When I run "analizo graph unexisting-file.c" +ok 1000 - And the output must not match "native_backend" # -ok 1001 - Then analizo must emit a warning matching "is not readable" +ok 1001 - And the output must not match "CSharp_Backend" # -# Feature clustering subroutines in the same module together -# Scenario clustering dependencies -ok 1002 - Given I am in t/samples/sample_basic/c/ +# Scenario filtering for CSharp code +ok 1002 - Given I am in t/samples/mixed # -ok 1003 - When I run "analizo graph --cluster ." +ok 1003 - When I run "analizo metrics --language csharp ." # -ok 1004 - Then analizo must report that "module1::main()" is part of "module1" +ok 1004 - Then the output must match "CSharp_Backend" # -ok 1005 - Then analizo must report that "module2::say_hello()" is part of "module2" +ok 1005 - And the output must not match "UI" # -ok 1006 - Then analizo must report that "module2::say_bye()" is part of "module2" +ok 1006 - And the output must not match "native_backend" # -ok 1007 - Then analizo must report that "module3::variable" is part of "module3" +# Scenario listing languages +ok 1007 - When I run "analizo metrics --language list" # -ok 1008 - Then analizo must report that "module3::callback()" is part of "module3" +ok 1008 - Then analizo must present a list of languages # 1..1008 ok All tests successful. -Files=54, Tests=1627, 265 wallclock secs ( 0.77 usr 0.23 sys + 155.74 cusr 48.24 csys = 204.98 CPU) +Files=54, Tests=1627, 86 wallclock secs ( 0.47 usr 0.11 sys + 67.64 cusr 18.54 csys = 86.76 CPU) Result: PASS make[1]: Leaving directory '/build/reproducible-path/analizo-1.25.4' create-stamp debian/debhelper-build-stamp @@ -5144,104 +5180,104 @@ debian/rules override_dh_auto_install make[1]: Entering directory '/build/reproducible-path/analizo-1.25.4' dh_auto_install - make -j20 install DESTDIR=/build/reproducible-path/analizo-1.25.4/debian/analizo AM_UPDATE_INFO_DIR=no PREFIX=/usr + make -j42 install DESTDIR=/build/reproducible-path/analizo-1.25.4/debian/analizo AM_UPDATE_INFO_DIR=no PREFIX=/usr make[2]: Entering directory '/build/reproducible-path/analizo-1.25.4' -Skip blib/lib/auto/share/dist/Analizo/bash-completion/analizo (unchanged) Skip blib/lib/auto/share/dist/Analizo/README (unchanged) +Skip blib/lib/auto/share/dist/Analizo/bash-completion/analizo (unchanged) Manifying 26 pod documents Installing /build/reproducible-path/analizo-1.25.4/debian/analizo/usr/share/perl5/Analizo.pm Installing /build/reproducible-path/analizo-1.25.4/debian/analizo/usr/share/perl5/profile.pl -Installing /build/reproducible-path/analizo-1.25.4/debian/analizo/usr/share/perl5/Test/Analizo.pm -Installing /build/reproducible-path/analizo-1.25.4/debian/analizo/usr/share/perl5/Test/Analizo/Class.pm -Installing /build/reproducible-path/analizo-1.25.4/debian/analizo/usr/share/perl5/Test/Analizo/Git.pm -Installing /build/reproducible-path/analizo-1.25.4/debian/analizo/usr/share/perl5/Test/Analizo/BDD/Cucumber/Extension.pm -Installing /build/reproducible-path/analizo-1.25.4/debian/analizo/usr/share/perl5/auto/share/dist/Analizo/README -Installing /build/reproducible-path/analizo-1.25.4/debian/analizo/usr/share/perl5/auto/share/dist/Analizo/bash-completion/analizo -Installing /build/reproducible-path/analizo-1.25.4/debian/analizo/usr/share/perl5/Analizo/Model.pm +Installing /build/reproducible-path/analizo-1.25.4/debian/analizo/usr/share/perl5/Analizo/GlobalMetrics.pm Installing /build/reproducible-path/analizo-1.25.4/debian/analizo/usr/share/perl5/Analizo/ModuleMetrics.pm -Installing /build/reproducible-path/analizo-1.25.4/debian/analizo/usr/share/perl5/Analizo/LanguageFilter.pm Installing /build/reproducible-path/analizo-1.25.4/debian/analizo/usr/share/perl5/Analizo/ModuleMetric.pm -Installing /build/reproducible-path/analizo-1.25.4/debian/analizo/usr/share/perl5/Analizo/Batch.pm -Installing /build/reproducible-path/analizo-1.25.4/debian/analizo/usr/share/perl5/Analizo/Command.pm -Installing /build/reproducible-path/analizo-1.25.4/debian/analizo/usr/share/perl5/Analizo/FilenameFilter.pm Installing /build/reproducible-path/analizo-1.25.4/debian/analizo/usr/share/perl5/Analizo/Extractor.pm -Installing /build/reproducible-path/analizo-1.25.4/debian/analizo/usr/share/perl5/Analizo/GlobalMetrics.pm +Installing /build/reproducible-path/analizo-1.25.4/debian/analizo/usr/share/perl5/Analizo/FilenameFilter.pm Installing /build/reproducible-path/analizo-1.25.4/debian/analizo/usr/share/perl5/Analizo/Metrics.pm -Installing /build/reproducible-path/analizo-1.25.4/debian/analizo/usr/share/perl5/Analizo/Metric/LinesOfCode.pm -Installing /build/reproducible-path/analizo-1.25.4/debian/analizo/usr/share/perl5/Analizo/Metric/AfferentConnections.pm -Installing /build/reproducible-path/analizo-1.25.4/debian/analizo/usr/share/perl5/Analizo/Metric/AverageMethodLinesOfCode.pm -Installing /build/reproducible-path/analizo-1.25.4/debian/analizo/usr/share/perl5/Analizo/Metric/StructuralComplexity.pm -Installing /build/reproducible-path/analizo-1.25.4/debian/analizo/usr/share/perl5/Analizo/Metric/NumberOfPublicAttributes.pm -Installing /build/reproducible-path/analizo-1.25.4/debian/analizo/usr/share/perl5/Analizo/Metric/NumberOfMethods.pm -Installing /build/reproducible-path/analizo-1.25.4/debian/analizo/usr/share/perl5/Analizo/Metric/LackOfCohesionOfMethods.pm -Installing /build/reproducible-path/analizo-1.25.4/debian/analizo/usr/share/perl5/Analizo/Metric/MaximumMethodLinesOfCode.pm -Installing /build/reproducible-path/analizo-1.25.4/debian/analizo/usr/share/perl5/Analizo/Metric/NumberOfPublicMethods.pm -Installing /build/reproducible-path/analizo-1.25.4/debian/analizo/usr/share/perl5/Analizo/Metric/DepthOfInheritanceTree.pm -Installing /build/reproducible-path/analizo-1.25.4/debian/analizo/usr/share/perl5/Analizo/Metric/ResponseForClass.pm -Installing /build/reproducible-path/analizo-1.25.4/debian/analizo/usr/share/perl5/Analizo/Metric/NumberOfAttributes.pm -Installing /build/reproducible-path/analizo-1.25.4/debian/analizo/usr/share/perl5/Analizo/Metric/NumberOfChildren.pm -Installing /build/reproducible-path/analizo-1.25.4/debian/analizo/usr/share/perl5/Analizo/Metric/CouplingBetweenObjects.pm -Installing /build/reproducible-path/analizo-1.25.4/debian/analizo/usr/share/perl5/Analizo/Metric/AverageNumberOfParameters.pm -Installing /build/reproducible-path/analizo-1.25.4/debian/analizo/usr/share/perl5/Analizo/Metric/AverageCycloComplexity.pm -Installing /build/reproducible-path/analizo-1.25.4/debian/analizo/usr/share/perl5/Analizo/GlobalMetric/MethodsPerAbstractClass.pm -Installing /build/reproducible-path/analizo-1.25.4/debian/analizo/usr/share/perl5/Analizo/GlobalMetric/TotalAbstractClasses.pm -Installing /build/reproducible-path/analizo-1.25.4/debian/analizo/usr/share/perl5/Analizo/GlobalMetric/ChangeCost.pm +Installing /build/reproducible-path/analizo-1.25.4/debian/analizo/usr/share/perl5/Analizo/LanguageFilter.pm +Installing /build/reproducible-path/analizo-1.25.4/debian/analizo/usr/share/perl5/Analizo/Model.pm +Installing /build/reproducible-path/analizo-1.25.4/debian/analizo/usr/share/perl5/Analizo/Command.pm +Installing /build/reproducible-path/analizo-1.25.4/debian/analizo/usr/share/perl5/Analizo/Batch.pm +Installing /build/reproducible-path/analizo-1.25.4/debian/analizo/usr/share/perl5/Analizo/Extractor/Doxyparse.pm +Installing /build/reproducible-path/analizo-1.25.4/debian/analizo/usr/share/perl5/Analizo/Filter/Client.pm +Installing /build/reproducible-path/analizo-1.25.4/debian/analizo/usr/share/perl5/Analizo/Command/help.pm Installing /build/reproducible-path/analizo-1.25.4/debian/analizo/usr/share/perl5/Analizo/Command/files_graph.pm Installing /build/reproducible-path/analizo-1.25.4/debian/analizo/usr/share/perl5/Analizo/Command/tree_evolution.pm -Installing /build/reproducible-path/analizo-1.25.4/debian/analizo/usr/share/perl5/Analizo/Command/help.pm -Installing /build/reproducible-path/analizo-1.25.4/debian/analizo/usr/share/perl5/Analizo/Command/metrics_history.pm +Installing /build/reproducible-path/analizo-1.25.4/debian/analizo/usr/share/perl5/Analizo/Command/metrics_batch.pm Installing /build/reproducible-path/analizo-1.25.4/debian/analizo/usr/share/perl5/Analizo/Command/metrics.pm Installing /build/reproducible-path/analizo-1.25.4/debian/analizo/usr/share/perl5/Analizo/Command/graph.pm -Installing /build/reproducible-path/analizo-1.25.4/debian/analizo/usr/share/perl5/Analizo/Command/metrics_batch.pm -Installing /build/reproducible-path/analizo-1.25.4/debian/analizo/usr/share/perl5/Analizo/Filter/Client.pm -Installing /build/reproducible-path/analizo-1.25.4/debian/analizo/usr/share/perl5/Analizo/Extractor/Doxyparse.pm +Installing /build/reproducible-path/analizo-1.25.4/debian/analizo/usr/share/perl5/Analizo/Command/metrics_history.pm Installing /build/reproducible-path/analizo-1.25.4/debian/analizo/usr/share/perl5/Analizo/Batch/Git.pm -Installing /build/reproducible-path/analizo-1.25.4/debian/analizo/usr/share/perl5/Analizo/Batch/Directories.pm Installing /build/reproducible-path/analizo-1.25.4/debian/analizo/usr/share/perl5/Analizo/Batch/Runner.pm -Installing /build/reproducible-path/analizo-1.25.4/debian/analizo/usr/share/perl5/Analizo/Batch/Job.pm Installing /build/reproducible-path/analizo-1.25.4/debian/analizo/usr/share/perl5/Analizo/Batch/Output.pm +Installing /build/reproducible-path/analizo-1.25.4/debian/analizo/usr/share/perl5/Analizo/Batch/Job.pm +Installing /build/reproducible-path/analizo-1.25.4/debian/analizo/usr/share/perl5/Analizo/Batch/Directories.pm Installing /build/reproducible-path/analizo-1.25.4/debian/analizo/usr/share/perl5/Analizo/Batch/Output/DB.pm Installing /build/reproducible-path/analizo-1.25.4/debian/analizo/usr/share/perl5/Analizo/Batch/Output/CSV.pm -Installing /build/reproducible-path/analizo-1.25.4/debian/analizo/usr/share/perl5/Analizo/Batch/Job/Git.pm -Installing /build/reproducible-path/analizo-1.25.4/debian/analizo/usr/share/perl5/Analizo/Batch/Job/Directories.pm Installing /build/reproducible-path/analizo-1.25.4/debian/analizo/usr/share/perl5/Analizo/Batch/Runner/Parallel.pm Installing /build/reproducible-path/analizo-1.25.4/debian/analizo/usr/share/perl5/Analizo/Batch/Runner/Sequential.pm -Installing /build/reproducible-path/analizo-1.25.4/debian/analizo/usr/share/man/man3/Analizo::Command::graph.3pm -Installing /build/reproducible-path/analizo-1.25.4/debian/analizo/usr/share/man/man3/Analizo::GlobalMetric::ChangeCost.3pm +Installing /build/reproducible-path/analizo-1.25.4/debian/analizo/usr/share/perl5/Analizo/Batch/Job/Git.pm +Installing /build/reproducible-path/analizo-1.25.4/debian/analizo/usr/share/perl5/Analizo/Batch/Job/Directories.pm +Installing /build/reproducible-path/analizo-1.25.4/debian/analizo/usr/share/perl5/Analizo/GlobalMetric/MethodsPerAbstractClass.pm +Installing /build/reproducible-path/analizo-1.25.4/debian/analizo/usr/share/perl5/Analizo/GlobalMetric/ChangeCost.pm +Installing /build/reproducible-path/analizo-1.25.4/debian/analizo/usr/share/perl5/Analizo/GlobalMetric/TotalAbstractClasses.pm +Installing /build/reproducible-path/analizo-1.25.4/debian/analizo/usr/share/perl5/Analizo/Metric/NumberOfAttributes.pm +Installing /build/reproducible-path/analizo-1.25.4/debian/analizo/usr/share/perl5/Analizo/Metric/NumberOfChildren.pm +Installing /build/reproducible-path/analizo-1.25.4/debian/analizo/usr/share/perl5/Analizo/Metric/AverageCycloComplexity.pm +Installing /build/reproducible-path/analizo-1.25.4/debian/analizo/usr/share/perl5/Analizo/Metric/AfferentConnections.pm +Installing /build/reproducible-path/analizo-1.25.4/debian/analizo/usr/share/perl5/Analizo/Metric/AverageNumberOfParameters.pm +Installing /build/reproducible-path/analizo-1.25.4/debian/analizo/usr/share/perl5/Analizo/Metric/NumberOfPublicMethods.pm +Installing /build/reproducible-path/analizo-1.25.4/debian/analizo/usr/share/perl5/Analizo/Metric/AverageMethodLinesOfCode.pm +Installing /build/reproducible-path/analizo-1.25.4/debian/analizo/usr/share/perl5/Analizo/Metric/LackOfCohesionOfMethods.pm +Installing /build/reproducible-path/analizo-1.25.4/debian/analizo/usr/share/perl5/Analizo/Metric/ResponseForClass.pm +Installing /build/reproducible-path/analizo-1.25.4/debian/analizo/usr/share/perl5/Analizo/Metric/NumberOfPublicAttributes.pm +Installing /build/reproducible-path/analizo-1.25.4/debian/analizo/usr/share/perl5/Analizo/Metric/StructuralComplexity.pm +Installing /build/reproducible-path/analizo-1.25.4/debian/analizo/usr/share/perl5/Analizo/Metric/NumberOfMethods.pm +Installing /build/reproducible-path/analizo-1.25.4/debian/analizo/usr/share/perl5/Analizo/Metric/CouplingBetweenObjects.pm +Installing /build/reproducible-path/analizo-1.25.4/debian/analizo/usr/share/perl5/Analizo/Metric/LinesOfCode.pm +Installing /build/reproducible-path/analizo-1.25.4/debian/analizo/usr/share/perl5/Analizo/Metric/DepthOfInheritanceTree.pm +Installing /build/reproducible-path/analizo-1.25.4/debian/analizo/usr/share/perl5/Analizo/Metric/MaximumMethodLinesOfCode.pm +Installing /build/reproducible-path/analizo-1.25.4/debian/analizo/usr/share/perl5/Test/Analizo.pm +Installing /build/reproducible-path/analizo-1.25.4/debian/analizo/usr/share/perl5/Test/Analizo/Git.pm +Installing /build/reproducible-path/analizo-1.25.4/debian/analizo/usr/share/perl5/Test/Analizo/Class.pm +Installing /build/reproducible-path/analizo-1.25.4/debian/analizo/usr/share/perl5/Test/Analizo/BDD/Cucumber/Extension.pm +Installing /build/reproducible-path/analizo-1.25.4/debian/analizo/usr/share/perl5/auto/share/dist/Analizo/README +Installing /build/reproducible-path/analizo-1.25.4/debian/analizo/usr/share/perl5/auto/share/dist/Analizo/bash-completion/analizo Installing /build/reproducible-path/analizo-1.25.4/debian/analizo/usr/share/man/man3/Analizo::Metric::NumberOfMethods.3pm -Installing /build/reproducible-path/analizo-1.25.4/debian/analizo/usr/share/man/man3/Analizo.3pm -Installing /build/reproducible-path/analizo-1.25.4/debian/analizo/usr/share/man/man3/Analizo::Command::metrics.3pm -Installing /build/reproducible-path/analizo-1.25.4/debian/analizo/usr/share/man/man3/Analizo::Metric::StructuralComplexity.3pm -Installing /build/reproducible-path/analizo-1.25.4/debian/analizo/usr/share/man/man3/Analizo::Metric::ResponseForClass.3pm -Installing /build/reproducible-path/analizo-1.25.4/debian/analizo/usr/share/man/man3/Analizo::Metric::DepthOfInheritanceTree.3pm -Installing /build/reproducible-path/analizo-1.25.4/debian/analizo/usr/share/man/man3/Analizo::Metric::NumberOfAttributes.3pm -Installing /build/reproducible-path/analizo-1.25.4/debian/analizo/usr/share/man/man3/Analizo::Metric::AverageMethodLinesOfCode.3pm -Installing /build/reproducible-path/analizo-1.25.4/debian/analizo/usr/share/man/man3/Analizo::Metric::AfferentConnections.3pm Installing /build/reproducible-path/analizo-1.25.4/debian/analizo/usr/share/man/man3/Analizo::Metric::NumberOfChildren.3pm +Installing /build/reproducible-path/analizo-1.25.4/debian/analizo/usr/share/man/man3/Analizo::Metric::ResponseForClass.3pm +Installing /build/reproducible-path/analizo-1.25.4/debian/analizo/usr/share/man/man3/Analizo::GlobalMetric::ChangeCost.3pm +Installing /build/reproducible-path/analizo-1.25.4/debian/analizo/usr/share/man/man3/Analizo::Metric::LinesOfCode.3pm +Installing /build/reproducible-path/analizo-1.25.4/debian/analizo/usr/share/man/man3/Analizo::Command::metrics.3pm Installing /build/reproducible-path/analizo-1.25.4/debian/analizo/usr/share/man/man3/Analizo::Command::metrics_batch.3pm -Installing /build/reproducible-path/analizo-1.25.4/debian/analizo/usr/share/man/man3/Analizo::Metric::AverageNumberOfParameters.3pm +Installing /build/reproducible-path/analizo-1.25.4/debian/analizo/usr/share/man/man3/Analizo::Command::graph.3pm +Installing /build/reproducible-path/analizo-1.25.4/debian/analizo/usr/share/man/man3/Analizo::Metric::StructuralComplexity.3pm Installing /build/reproducible-path/analizo-1.25.4/debian/analizo/usr/share/man/man3/Analizo::Metric::CouplingBetweenObjects.3pm -Installing /build/reproducible-path/analizo-1.25.4/debian/analizo/usr/share/man/man3/Analizo::Command.3pm +Installing /build/reproducible-path/analizo-1.25.4/debian/analizo/usr/share/man/man3/Analizo.3pm Installing /build/reproducible-path/analizo-1.25.4/debian/analizo/usr/share/man/man3/Analizo::Metric::NumberOfPublicMethods.3pm -Installing /build/reproducible-path/analizo-1.25.4/debian/analizo/usr/share/man/man3/Analizo::Command::files_graph.3pm -Installing /build/reproducible-path/analizo-1.25.4/debian/analizo/usr/share/man/man3/Analizo::Command::metrics_history.3pm -Installing /build/reproducible-path/analizo-1.25.4/debian/analizo/usr/share/man/man3/Analizo::Command::help.3pm -Installing /build/reproducible-path/analizo-1.25.4/debian/analizo/usr/share/man/man3/Analizo::Metric::LinesOfCode.3pm Installing /build/reproducible-path/analizo-1.25.4/debian/analizo/usr/share/man/man3/Analizo::Metric::NumberOfPublicAttributes.3pm +Installing /build/reproducible-path/analizo-1.25.4/debian/analizo/usr/share/man/man3/Analizo::Metric::AverageMethodLinesOfCode.3pm Installing /build/reproducible-path/analizo-1.25.4/debian/analizo/usr/share/man/man3/Analizo::Metric::LackOfCohesionOfMethods.3pm Installing /build/reproducible-path/analizo-1.25.4/debian/analizo/usr/share/man/man3/Analizo::Metrics.3pm +Installing /build/reproducible-path/analizo-1.25.4/debian/analizo/usr/share/man/man3/Analizo::Command::metrics_history.3pm Installing /build/reproducible-path/analizo-1.25.4/debian/analizo/usr/share/man/man3/Analizo::Command::tree_evolution.3pm +Installing /build/reproducible-path/analizo-1.25.4/debian/analizo/usr/share/man/man3/Analizo::Command.3pm +Installing /build/reproducible-path/analizo-1.25.4/debian/analizo/usr/share/man/man3/Analizo::Command::files_graph.3pm +Installing /build/reproducible-path/analizo-1.25.4/debian/analizo/usr/share/man/man3/Analizo::Metric::AverageNumberOfParameters.3pm +Installing /build/reproducible-path/analizo-1.25.4/debian/analizo/usr/share/man/man3/Analizo::Metric::NumberOfAttributes.3pm +Installing /build/reproducible-path/analizo-1.25.4/debian/analizo/usr/share/man/man3/Analizo::Metric::AfferentConnections.3pm Installing /build/reproducible-path/analizo-1.25.4/debian/analizo/usr/share/man/man3/Analizo::Metric::AverageCycloComplexity.3pm +Installing /build/reproducible-path/analizo-1.25.4/debian/analizo/usr/share/man/man3/Analizo::Metric::DepthOfInheritanceTree.3pm +Installing /build/reproducible-path/analizo-1.25.4/debian/analizo/usr/share/man/man3/Analizo::Command::help.3pm Installing /build/reproducible-path/analizo-1.25.4/debian/analizo/usr/bin/analizo make[2]: Leaving directory '/build/reproducible-path/analizo-1.25.4' rm -f -rv /build/reproducible-path/analizo-1.25.4/debian/analizo/usr/share/perl5/Test -removed '/build/reproducible-path/analizo-1.25.4/debian/analizo/usr/share/perl5/Test/Analizo.pm' -removed '/build/reproducible-path/analizo-1.25.4/debian/analizo/usr/share/perl5/Test/Analizo/Class.pm' -removed '/build/reproducible-path/analizo-1.25.4/debian/analizo/usr/share/perl5/Test/Analizo/Git.pm' removed '/build/reproducible-path/analizo-1.25.4/debian/analizo/usr/share/perl5/Test/Analizo/BDD/Cucumber/Extension.pm' removed directory '/build/reproducible-path/analizo-1.25.4/debian/analizo/usr/share/perl5/Test/Analizo/BDD/Cucumber' removed directory '/build/reproducible-path/analizo-1.25.4/debian/analizo/usr/share/perl5/Test/Analizo/BDD' +removed '/build/reproducible-path/analizo-1.25.4/debian/analizo/usr/share/perl5/Test/Analizo/Git.pm' +removed '/build/reproducible-path/analizo-1.25.4/debian/analizo/usr/share/perl5/Test/Analizo/Class.pm' removed directory '/build/reproducible-path/analizo-1.25.4/debian/analizo/usr/share/perl5/Test/Analizo' +removed '/build/reproducible-path/analizo-1.25.4/debian/analizo/usr/share/perl5/Test/Analizo.pm' removed directory '/build/reproducible-path/analizo-1.25.4/debian/analizo/usr/share/perl5/Test' rm -f -v /build/reproducible-path/analizo-1.25.4/debian/analizo/usr/share/perl5/profile.pl removed '/build/reproducible-path/analizo-1.25.4/debian/analizo/usr/share/perl5/profile.pl' @@ -5269,12 +5305,14 @@ dpkg-buildpackage: info: binary-only upload (no source included) dpkg-genchanges: info: not including original source code in upload I: copying local configuration +I: user script /srv/workspace/pbuilder/2317131/tmp/hooks/B01_cleanup starting +I: user script /srv/workspace/pbuilder/2317131/tmp/hooks/B01_cleanup finished I: unmounting dev/ptmx filesystem I: unmounting dev/pts filesystem I: unmounting dev/shm filesystem I: unmounting proc filesystem I: unmounting sys filesystem I: cleaning the build env -I: removing directory /srv/workspace/pbuilder/906639 and its subdirectories -I: Current time: Thu Jun 13 12:45:38 -12 2024 -I: pbuilder-time-stamp: 1718325938 +I: removing directory /srv/workspace/pbuilder/2317131 and its subdirectories +I: Current time: Thu Jul 17 21:11:11 +14 2025 +I: pbuilder-time-stamp: 1752736271