<commit_before>import React from 'react';

import '../res/mo-cover.less';

/**
 * Movie cover component. It has been integrated in LoMoCovers.
 */
export default function MoCover(props) {
  const {
    subject
  } = props;
  return (
    <div className="mb-mo-cover">
      <div className="cover-image" style={{ backgroundImage: `url(${subject.images.large})` }} />
    </div>
  );
}

MoCover.propTypes = {
  subject: React.PropTypes.object.isRequired
};<commit_msg>Make MoCover as a 100% pure function<commit_after>import React from 'react';
import { pure } from 'recompose';

import '../res/mo-cover.less';

/**
 * Movie cover component. It has been integrated in LoMoCovers.
 */
const MoCover = pure((props) => {
  const {
    subject
  } = props;
  return (
    <div className="mb-mo-cover">
      <div className="cover-image" style={{ backgroundImage: `url(${subject.images.large})` }} />
    </div>
  );
});

MoCover.propTypes = {
   subject: React.PropTypes.object.isRequired
};

export default MoCover;
{'fraction_non_alphanumeric': 0.1613861386138614, 'fraction_numerical': 0.0029702970297029703, 'mean_word_length': 3.5336322869955157, 'pattern_counts': {'":': 0, '<': 9, '<?xml version=': 0, '>': 10, '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': '6620230', 'n_tokens_mistral': 333, 'n_tokens_neox': 325, 'n_words': 80}