Tripal Module Rating System

This module rating system is meant to aid Tripal Site Administrators in choosing extension modules for their site. It is also meant to guide developers in module best practices and celebrate modules which achieve these goals.

Bronze

../_images/Tripal-Bronze.png
  • Has a public release.
  • Should install on a Tripal site appropriate for the versions it supports.
  • Defines any custom tables or materialized views in the install file (if applicable).
  • Adds any needed controlled vocabulary terms in the install file (Tripal3).
  • Provides Installation and admin instructions README.md (or RTD).
  • Has a license (distributed with module).

Silver

../_images/Tripal-Silver.png
  • Follows basic Drupal Coding standards; specifically, code format and API documentation.
  • Uses Tripal API functions. Specifically, it should use the
    • Chado Query API for querying Chado (if using Chado as the storage system). (API, Tutorial)
    • Tripal Jobs API for long running processes. (API)
    • TripalField class to add data to pages (Tripal3). (Tutorial)
  • Provides ways to customize the module (e.g. drush options, field/formatter settings, admin UI).
  • Latest releases should follow Drupal naming best practices.
    • e.g. first release for Drupal 7 should be: 7.x-1.0.

Gold

../_images/Tripal-Gold.png
  • Extensive documentation for the module (similar to Tripal User’s Guide). ( Tutorial)
  • Unit testing is implemented using PHPUnit with the TripalTestSuite or something similar.
  • Continuous integration is setup (e.g. such as with TravisCI).
  • Imports data via Tripal’s importer class (Tripal3) (Tutorial).
  • Tripal 3 fields are (Tutorial)
    • Fully compatible with web services.
    • The elementInfo function is fully implemented.
    • The query and queryOrder functions fully implemented.
  • Web Services uses Tripal’s Web Service Classes (Tripal3). (Tutorial)
  • Code sniffing and testing coverage reports (optional but encouraged).
  • Drupal.org vetted release (optional but encouraged).

Rate your Extension Module!

We encourage Tripal module developers to rate their modules. This can be done by Adding your Module to this list!

The following badges are for inclusion on your module README and documentation; however, they are only valid if your module has been included in Extension Modules with the given rating.

reStructuredText

.. image:: https://tripal.readthedocs.io/en/7.x-3.x/_images/Tripal-Bronze.png
  :target: https://tripal.readthedocs.io/en/7.x-3.x/extensions/module_rating.html#Bronze
  :alt: Tripal Rating: Bronze

Markdown

[![Tripal Rating Bronze Status](https://tripal.readthedocs.io/en/7.x-3.x/_images/Tripal-Bronze.png)](https://tripal.readthedocs.io/en/7.x-3.x/extensions/module_rating.html#Bronze)

HTML

<a href='https://tripal.readthedocs.io/en/7.x-3.x/extensions/module_rating.html#Bronze'>
    <img src='https://tripal.readthedocs.io/en/7.x-3.x/_images/Tripal-Bronze.png' alt='Tripal Rating: Bronze' />
</a>

Note

Replace all instances of Bronze with either Silver or Gold for those badges.