docs: public int getNumWarnings() {
          int numWarnings = 0;
          if (getBuildData().getErrorDatabase() != null && getBuildData().getErrorDatabase().getErrors(
                  getBuildData().getBuildLocale()) != null) {
              for (final TopicErrorData errorData : getBuildData().getErrorDatabase().getErrors(getBuildData().getBuildLocale())) {
                  numWarnings += errorData.getItemsOfType(ErrorLevel.WARNING).size();
              }
          }
          return numWarnings;
      }