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