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