<commit_before><?php
/* This class is part of the XP framework
 *
 * $Id$ 
 */

  uses(
    'scriptlet.rpc.AbstractRpcMessage',
    'org.json.JsonFactory'
  );

  /**
   * Json Message
   *
   * @see       http://json-rpc.org/wiki/specification
   * @purpose   Contains the Json message
   */
  class JsonMessage extends Object {
    var
      $method   = '',
      $id       = '',
      $encoding = 'iso-8859-1',
      $data     = NULL,
      $class    = '',
      $method   = '';

    /**
     * Create message from string representation
     *
     * @model   abstract
     * @access  public
     * @param   string string
     * @return  &org.json.rpc.JsonMessage
     */
    function &fromString($string) { }
    
    /**<commit_msg>- QA: do not redeclare member variable $method<commit_after><?php
/* This class is part of the XP framework
 *
 * $Id$ 
 */

  uses(
    'scriptlet.rpc.AbstractRpcMessage',
    'org.json.JsonFactory'
  );

  /**
   * Json Message
   *
   * @see       http://json-rpc.org/wiki/specification
   * @purpose   Contains the Json message
   */
  class JsonMessage extends Object {
    var
      $method   = '',
      $id       = '',
      $encoding = 'iso-8859-1',
      $data     = NULL,
      $class    = '';

    /**
     * Create message from string representation
     *
     * @model   abstract
     * @access  public
     * @param   string string
     * @return  &org.json.rpc.JsonMessage
     */
    function &fromString($string) { }
    
    /**
{'fraction_non_alphanumeric': 0.13602693602693602, 'fraction_numerical': 0.006734006734006734, 'mean_word_length': 1.8037735849056604, 'pattern_counts': {'":': 0, '<': 5, '<?xml version=': 0, '>': 3, 'https://': 0, 'lorem ipsum': 0, 'www.': 0, 'xml': 0}, 'pii_count': 0, 'substrings_counts': 0, 'word_list_counts': {'cursed_substrings.json': 0, 'profanity_word_list.json': 0, 'sexual_word_list.json': 0, 'zh_pornsignals.json': 0}}
{'dir': 'git-commits-cleaned', 'id': '6877932', 'n_tokens_mistral': 484, 'n_tokens_neox': 463, 'n_words': 108}