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