{"id":15405023,"url":"https://github.com/avmnu-sng/tap_report_parser","last_synced_at":"2026-04-02T01:38:33.715Z","repository":{"id":59157266,"uuid":"139377769","full_name":"avmnu-sng/tap_report_parser","owner":"avmnu-sng","description":"TAP Report Parser","archived":false,"fork":false,"pushed_at":"2018-07-02T02:13:39.000Z","size":11,"stargazers_count":3,"open_issues_count":0,"forks_count":0,"subscribers_count":0,"default_branch":"master","last_synced_at":"2025-12-14T15:59:01.409Z","etag":null,"topics":["reporting-tool","ruby","rubygems","testing"],"latest_commit_sha":null,"homepage":null,"language":"Ruby","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":"mit","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/avmnu-sng.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":null,"funding":null,"license":"LICENSE.txt","code_of_conduct":"CODE_OF_CONDUCT.md","threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null}},"created_at":"2018-07-02T01:47:14.000Z","updated_at":"2020-10-04T16:47:24.000Z","dependencies_parsed_at":"2022-09-13T20:10:13.602Z","dependency_job_id":null,"html_url":"https://github.com/avmnu-sng/tap_report_parser","commit_stats":null,"previous_names":[],"tags_count":0,"template":false,"template_full_name":null,"purl":"pkg:github/avmnu-sng/tap_report_parser","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/avmnu-sng%2Ftap_report_parser","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/avmnu-sng%2Ftap_report_parser/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/avmnu-sng%2Ftap_report_parser/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/avmnu-sng%2Ftap_report_parser/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/avmnu-sng","download_url":"https://codeload.github.com/avmnu-sng/tap_report_parser/tar.gz/refs/heads/master","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/avmnu-sng%2Ftap_report_parser/sbom","scorecard":{"id":218457,"data":{"date":"2025-08-11","repo":{"name":"github.com/avmnu-sng/tap_report_parser","commit":"dfa5cc5dbe63458dde7f4a12828b8594a13ec19f"},"scorecard":{"version":"v5.2.1-40-gf6ed084d","commit":"f6ed084d17c9236477efd66e5b258b9d4cc7b389"},"score":3.5,"checks":[{"name":"Code-Review","score":0,"reason":"Found 0/4 approved changesets -- score normalized to 0","details":null,"documentation":{"short":"Determines if the project requires human code review before pull requests (aka merge requests) are merged.","url":"https://github.com/ossf/scorecard/blob/f6ed084d17c9236477efd66e5b258b9d4cc7b389/docs/checks.md#code-review"}},{"name":"Dangerous-Workflow","score":-1,"reason":"no workflows found","details":null,"documentation":{"short":"Determines if the project's GitHub Action workflows avoid dangerous patterns.","url":"https://github.com/ossf/scorecard/blob/f6ed084d17c9236477efd66e5b258b9d4cc7b389/docs/checks.md#dangerous-workflow"}},{"name":"Token-Permissions","score":-1,"reason":"No tokens found","details":null,"documentation":{"short":"Determines if the project's workflows follow the principle of least privilege.","url":"https://github.com/ossf/scorecard/blob/f6ed084d17c9236477efd66e5b258b9d4cc7b389/docs/checks.md#token-permissions"}},{"name":"Maintained","score":0,"reason":"0 commit(s) and 0 issue activity found in the last 90 days -- score normalized to 0","details":null,"documentation":{"short":"Determines if the project is \"actively maintained\".","url":"https://github.com/ossf/scorecard/blob/f6ed084d17c9236477efd66e5b258b9d4cc7b389/docs/checks.md#maintained"}},{"name":"Packaging","score":-1,"reason":"packaging workflow not detected","details":["Warn: no GitHub/GitLab publishing workflow detected."],"documentation":{"short":"Determines if the project is published as a package that others can easily download, install, easily update, and uninstall.","url":"https://github.com/ossf/scorecard/blob/f6ed084d17c9236477efd66e5b258b9d4cc7b389/docs/checks.md#packaging"}},{"name":"SAST","score":0,"reason":"no SAST tool detected","details":["Warn: no pull requests merged into dev branch"],"documentation":{"short":"Determines if the project uses static code analysis.","url":"https://github.com/ossf/scorecard/blob/f6ed084d17c9236477efd66e5b258b9d4cc7b389/docs/checks.md#sast"}},{"name":"Pinned-Dependencies","score":-1,"reason":"no dependencies found","details":null,"documentation":{"short":"Determines if the project has declared and pinned the dependencies of its build process.","url":"https://github.com/ossf/scorecard/blob/f6ed084d17c9236477efd66e5b258b9d4cc7b389/docs/checks.md#pinned-dependencies"}},{"name":"Binary-Artifacts","score":10,"reason":"no binaries found in the repo","details":null,"documentation":{"short":"Determines if the project has generated executable (binary) artifacts in the source repository.","url":"https://github.com/ossf/scorecard/blob/f6ed084d17c9236477efd66e5b258b9d4cc7b389/docs/checks.md#binary-artifacts"}},{"name":"CII-Best-Practices","score":0,"reason":"no effort to earn an OpenSSF best practices badge detected","details":null,"documentation":{"short":"Determines if the project has an OpenSSF (formerly CII) Best Practices Badge.","url":"https://github.com/ossf/scorecard/blob/f6ed084d17c9236477efd66e5b258b9d4cc7b389/docs/checks.md#cii-best-practices"}},{"name":"Security-Policy","score":0,"reason":"security policy file not detected","details":["Warn: no security policy file detected","Warn: no security file to analyze","Warn: no security file to analyze","Warn: no security file to analyze"],"documentation":{"short":"Determines if the project has published a security policy.","url":"https://github.com/ossf/scorecard/blob/f6ed084d17c9236477efd66e5b258b9d4cc7b389/docs/checks.md#security-policy"}},{"name":"Vulnerabilities","score":10,"reason":"0 existing vulnerabilities detected","details":null,"documentation":{"short":"Determines if the project has open, known unfixed vulnerabilities.","url":"https://github.com/ossf/scorecard/blob/f6ed084d17c9236477efd66e5b258b9d4cc7b389/docs/checks.md#vulnerabilities"}},{"name":"Fuzzing","score":0,"reason":"project is not fuzzed","details":["Warn: no fuzzer integrations found"],"documentation":{"short":"Determines if the project uses fuzzing.","url":"https://github.com/ossf/scorecard/blob/f6ed084d17c9236477efd66e5b258b9d4cc7b389/docs/checks.md#fuzzing"}},{"name":"License","score":10,"reason":"license file detected","details":["Info: project has a license file: LICENSE.txt:0","Info: FSF or OSI recognized license: MIT License: LICENSE.txt:0"],"documentation":{"short":"Determines if the project has defined a license.","url":"https://github.com/ossf/scorecard/blob/f6ed084d17c9236477efd66e5b258b9d4cc7b389/docs/checks.md#license"}},{"name":"Branch-Protection","score":-1,"reason":"internal error: error during branchesHandler.setup: internal error: githubv4.Query: Resource not accessible by integration","details":null,"documentation":{"short":"Determines if the default and release branches are protected with GitHub's branch protection settings.","url":"https://github.com/ossf/scorecard/blob/f6ed084d17c9236477efd66e5b258b9d4cc7b389/docs/checks.md#branch-protection"}},{"name":"Signed-Releases","score":-1,"reason":"no releases found","details":null,"documentation":{"short":"Determines if the project cryptographically signs release artifacts.","url":"https://github.com/ossf/scorecard/blob/f6ed084d17c9236477efd66e5b258b9d4cc7b389/docs/checks.md#signed-releases"}}]},"last_synced_at":"2025-08-17T02:04:24.116Z","repository_id":59157266,"created_at":"2025-08-17T02:04:24.117Z","updated_at":"2025-08-17T02:04:24.117Z"},"host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":286080680,"owners_count":31294008,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2026-04-02T01:05:07.454Z","status":"ssl_error","status_checked_at":"2026-04-02T00:56:46.496Z","response_time":53,"last_error":"SSL_connect returned=1 errno=0 peeraddr=140.82.121.6:443 state=error: unexpected eof while reading","robots_txt_status":"success","robots_txt_updated_at":"2025-07-24T06:49:26.215Z","robots_txt_url":"https://github.com/robots.txt","online":false,"can_crawl_api":true,"host_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub","repositories_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories","repository_names_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repository_names","owners_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners"}},"keywords":["reporting-tool","ruby","rubygems","testing"],"created_at":"2024-10-01T16:14:47.514Z","updated_at":"2026-04-02T01:38:33.692Z","avatar_url":"https://github.com/avmnu-sng.png","language":"Ruby","funding_links":[],"categories":[],"sub_categories":[],"readme":"# TapReportParser\n\nThis gem parses a TAP report per the specifications listed on https://testanything.org/tap-specification.html. Each of the tests has six attributes: `number`, `description`, `status`, `directive`, `diagnostic` and `passing`.\n\n- The `number` is test number. If the `number` is not present, the parser maintains its own count.\n- The `description` is the text describing the test. If the `description` is not present, then its value is empty string.\n- The `status` is represented by one of the four values: `success` (when test is passing), `failure` (when test is failing), `skipped` (when test is marked as skipped irrespective of success or failure), and `ignore` (when test is marked as todo irrespective of success or failure).\n- The `directive` is either skipped or todo.\n- The `diagnostic` is a YAML block or text. If it is YAML then its value is ruby Hash, otherwise string. If the `diagnostic` is not present, then its value is empty string.\n- The value of the `passing` is `true` if test status is either `passing` or `ignored`.\n\n## Installation\n\nAdd this line to your application's Gemfile:\n\n```ruby\ngem 'tap_report_parser'\n```\n\nAnd then execute:\n\n    $ bundle\n\nOr install it yourself as:\n\n    $ gem install tap_report_parser\n\n## Usage\n\nYou can parse report either from file or text, i.e.,\n```ruby\nreport = TapReportParser::Report.from_text(text)\nreport = TapReportParser::Report.from_file(file)\n```\n\nFor example, consider the following TAP report:\n```tap\nTAP version 13\n1..6\n#\n# Create a new Board and Tile, then place\n# the Tile onto the board.\n#\nok 1 - The object is a Board\nok 2 - Board size is zero\nok 3 - The object is a Tile\nok 4 - Get possible places to put the Tile\nok 5 - Placing the tile produces no error\nok 6 - Board size is 1\n```\n\nParsing the report from text will return the `TapReportParser::Report` object, which has the following three attributes:\n\n- `test_count`: The test count\n- `tests`: Array of `TapReportParser::Test` objects each describing the test. Each of the test object has six attributes: `number`, `description`, `status`, `directive`, `diagnostic` and `passing`.\n- `passing`: A boolean value which is `true` if all the tests are passing, i.e., the status is either `success` or `ignored`, otherwise `false`.\n\n```ruby\n# Tests count\nreport.test_count\n =\u003e 6\n# All the tests passing?\nreport.passing\n =\u003e true\n# Tests\n =\u003e [#\u003cTapReportParser::Test:0x00007f943a97d968 @status=\"success\", @directive=\"\", @passing=true, @number=1, @description=\"The object is a Board\", @diagnostic=\"\"\u003e, #\u003cTapReportParser::Test:0x00007f943a97d580 @status=\"success\", @directive=\"\", @passing=true, @number=2, @description=\"Board size is zero\", @diagnostic=\"\"\u003e, #\u003cTapReportParser::Test:0x00007f943a97d198 @status=\"success\", @directive=\"\", @passing=true, @number=3, @description=\"The object is a Tile\", @diagnostic=\"\"\u003e, #\u003cTapReportParser::Test:0x00007f943a97cd88 @status=\"success\", @directive=\"\", @passing=true, @number=4, @description=\"Get possible places to put the Tile\", @diagnostic=\"\"\u003e, #\u003cTapReportParser::Test:0x00007f943a97c978 @status=\"success\", @directive=\"\", @passing=true, @number=5, @description=\"Placing the tile produces no error\", @diagnostic=\"\"\u003e, #\u003cTapReportParser::Test:0x00007f943a97c590 @status=\"success\", @directive=\"\", @passing=true, @number=6, @description=\"Board size is 1\", @diagnostic=\"\"\u003e]\n# Test number\nreport.tests.first.number\n =\u003e 1\n# Test description\nreport.tests.first.description\n =\u003e \"The object is a Board\"\n# Test status\nreport.tests.first.status\n =\u003e \"success\"\n# Test passing?\nreport.tests.first.passing\n =\u003e true\n# Test directive\nreport.tests.first.directive\n =\u003e \"\"\n# Test diagnostic\nreport.tests.first.diagnostic\n =\u003e \"\"\n```\n\n## Development\n\nAfter checking out the repo, run `bin/setup` to install dependencies. Then, run `rake spec` to run the tests. You can also run `bin/console` for an interactive prompt that will allow you to experiment.\n\nTo install this gem onto your local machine, run `bundle exec rake install`. To release a new version, update the version number in `version.rb`, and then run `bundle exec rake release`, which will create a git tag for the version, push git commits and tags, and push the `.gem` file to [rubygems.org](https://rubygems.org).\n\n## Contributing\n\nBug reports and pull requests are welcome on GitHub at https://github.com/avmnu-sng/tap_report_parser. This project is intended to be a safe, welcoming space for collaboration, and contributors are expected to adhere to the [Contributor Covenant](http://contributor-covenant.org) code of conduct.\n\n## License\n\nThe gem is available as open source under the terms of the [MIT License](https://opensource.org/licenses/MIT).\n\n## Code of Conduct\n\nEveryone interacting in the TapReportParser project’s codebases, issue trackers, chat rooms and mailing lists is expected to follow the [code of conduct](https://github.com/avmnu-sng/tap_report_parser/blob/master/CODE_OF_CONDUCT.md).\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Favmnu-sng%2Ftap_report_parser","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Favmnu-sng%2Ftap_report_parser","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Favmnu-sng%2Ftap_report_parser/lists"}