├── .gitignore ├── Gemfile ├── LICENSE.txt ├── README.md ├── dat-analysis.gemspec ├── lib └── dat │ ├── analysis.rb │ └── analysis │ ├── library.rb │ ├── matcher.rb │ ├── registry.rb │ ├── result.rb │ └── tally.rb ├── script ├── bootstrap ├── release └── test └── test ├── dat_analysis_subclassing_test.rb ├── dat_analysis_test.rb └── fixtures ├── analysis └── test-suite-experiment │ └── matcher.rb ├── experiment-with-classes ├── matcher_a.rb ├── matcher_b.rb ├── wrapper_a.rb └── wrapper_b.rb ├── experiment-with-good-and-extraneous-classes ├── matcher_w.rb ├── matcher_y.rb ├── matcher_z.rb ├── wrapper_w.rb ├── wrapper_y.rb └── wrapper_z.rb ├── initialize-classes ├── matcher_m.rb ├── matcher_n.rb ├── wrapper_m.rb └── wrapper_n.rb └── invalid-matcher └── matcher.rb /.gitignore: -------------------------------------------------------------------------------- 1 | /*.gem 2 | /.bundle 3 | /.ruby-version 4 | /Gemfile.lock 5 | -------------------------------------------------------------------------------- /Gemfile: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/github/dat-analysis/HEAD/Gemfile -------------------------------------------------------------------------------- /LICENSE.txt: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/github/dat-analysis/HEAD/LICENSE.txt -------------------------------------------------------------------------------- /README.md: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/github/dat-analysis/HEAD/README.md -------------------------------------------------------------------------------- /dat-analysis.gemspec: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/github/dat-analysis/HEAD/dat-analysis.gemspec -------------------------------------------------------------------------------- /lib/dat/analysis.rb: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/github/dat-analysis/HEAD/lib/dat/analysis.rb -------------------------------------------------------------------------------- /lib/dat/analysis/library.rb: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/github/dat-analysis/HEAD/lib/dat/analysis/library.rb -------------------------------------------------------------------------------- /lib/dat/analysis/matcher.rb: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/github/dat-analysis/HEAD/lib/dat/analysis/matcher.rb -------------------------------------------------------------------------------- /lib/dat/analysis/registry.rb: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/github/dat-analysis/HEAD/lib/dat/analysis/registry.rb -------------------------------------------------------------------------------- /lib/dat/analysis/result.rb: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/github/dat-analysis/HEAD/lib/dat/analysis/result.rb -------------------------------------------------------------------------------- /lib/dat/analysis/tally.rb: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/github/dat-analysis/HEAD/lib/dat/analysis/tally.rb -------------------------------------------------------------------------------- /script/bootstrap: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/github/dat-analysis/HEAD/script/bootstrap -------------------------------------------------------------------------------- /script/release: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/github/dat-analysis/HEAD/script/release -------------------------------------------------------------------------------- /script/test: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/github/dat-analysis/HEAD/script/test -------------------------------------------------------------------------------- /test/dat_analysis_subclassing_test.rb: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/github/dat-analysis/HEAD/test/dat_analysis_subclassing_test.rb -------------------------------------------------------------------------------- /test/dat_analysis_test.rb: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/github/dat-analysis/HEAD/test/dat_analysis_test.rb -------------------------------------------------------------------------------- /test/fixtures/analysis/test-suite-experiment/matcher.rb: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/github/dat-analysis/HEAD/test/fixtures/analysis/test-suite-experiment/matcher.rb -------------------------------------------------------------------------------- /test/fixtures/experiment-with-classes/matcher_a.rb: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/github/dat-analysis/HEAD/test/fixtures/experiment-with-classes/matcher_a.rb -------------------------------------------------------------------------------- /test/fixtures/experiment-with-classes/matcher_b.rb: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/github/dat-analysis/HEAD/test/fixtures/experiment-with-classes/matcher_b.rb -------------------------------------------------------------------------------- /test/fixtures/experiment-with-classes/wrapper_a.rb: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/github/dat-analysis/HEAD/test/fixtures/experiment-with-classes/wrapper_a.rb -------------------------------------------------------------------------------- /test/fixtures/experiment-with-classes/wrapper_b.rb: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/github/dat-analysis/HEAD/test/fixtures/experiment-with-classes/wrapper_b.rb -------------------------------------------------------------------------------- /test/fixtures/experiment-with-good-and-extraneous-classes/matcher_w.rb: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/github/dat-analysis/HEAD/test/fixtures/experiment-with-good-and-extraneous-classes/matcher_w.rb -------------------------------------------------------------------------------- /test/fixtures/experiment-with-good-and-extraneous-classes/matcher_y.rb: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/github/dat-analysis/HEAD/test/fixtures/experiment-with-good-and-extraneous-classes/matcher_y.rb -------------------------------------------------------------------------------- /test/fixtures/experiment-with-good-and-extraneous-classes/matcher_z.rb: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/github/dat-analysis/HEAD/test/fixtures/experiment-with-good-and-extraneous-classes/matcher_z.rb -------------------------------------------------------------------------------- /test/fixtures/experiment-with-good-and-extraneous-classes/wrapper_w.rb: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/github/dat-analysis/HEAD/test/fixtures/experiment-with-good-and-extraneous-classes/wrapper_w.rb -------------------------------------------------------------------------------- /test/fixtures/experiment-with-good-and-extraneous-classes/wrapper_y.rb: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/github/dat-analysis/HEAD/test/fixtures/experiment-with-good-and-extraneous-classes/wrapper_y.rb -------------------------------------------------------------------------------- /test/fixtures/experiment-with-good-and-extraneous-classes/wrapper_z.rb: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/github/dat-analysis/HEAD/test/fixtures/experiment-with-good-and-extraneous-classes/wrapper_z.rb -------------------------------------------------------------------------------- /test/fixtures/initialize-classes/matcher_m.rb: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/github/dat-analysis/HEAD/test/fixtures/initialize-classes/matcher_m.rb -------------------------------------------------------------------------------- /test/fixtures/initialize-classes/matcher_n.rb: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/github/dat-analysis/HEAD/test/fixtures/initialize-classes/matcher_n.rb -------------------------------------------------------------------------------- /test/fixtures/initialize-classes/wrapper_m.rb: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/github/dat-analysis/HEAD/test/fixtures/initialize-classes/wrapper_m.rb -------------------------------------------------------------------------------- /test/fixtures/initialize-classes/wrapper_n.rb: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/github/dat-analysis/HEAD/test/fixtures/initialize-classes/wrapper_n.rb -------------------------------------------------------------------------------- /test/fixtures/invalid-matcher/matcher.rb: -------------------------------------------------------------------------------- 1 | raise Errno::EACCES 2 | --------------------------------------------------------------------------------