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