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