CloneSet14


Previous CloneSetNext CloneSetBack to Main Report
Clone
Mass
Clones in
CloneSet
Parameter
Count
Clone
Similarity
Syntax Category
[Sequence Length]
25840.977statement_sequence[6]
Clone AbstractionParameter Bindings
Clone Instance
(Click to see clone)
Line CountSource Line
Source File
125269
libraries/phpmailer/smtp.php
225408
libraries/phpmailer/smtp.php
325585
libraries/phpmailer/smtp.php
425627
libraries/phpmailer/smtp.php
525768
libraries/phpmailer/smtp.php
625817
libraries/phpmailer/smtp.php
725865
libraries/phpmailer/smtp.php
825913
libraries/phpmailer/smtp.php
Clone Instance
1
Line Count
25
Source Line
269
Source File
libraries/phpmailer/smtp.php

        if (!$this->connected()) {
            $this->error = array(
                    "error" => "Called Data() without being connected");
            return FALSE;
          }

        fputs($this->smtp_conn ,"DATA"
                                .        $this->CRLF);
        $rply=  $this->get_lines();
        $code=  substr($rply,0,3);

        if ($this->do_debug >= 2) {
            echo "SMTP -> FROM SERVER:"
                 .                        $this->CRLF
                 .                                      $rply;
          }
        if ($code != 354) {
            $this->error =
                array( "error" => "DATA command not accepted from server",
                       "smtp_code" => $code,
                       "smtp_msg" => substr($rply,4)
                     );
            if ($this->do_debug >= 1) {
                echo "SMTP -> ERROR: "
                     .                   $this->error["error"]
                     .   ": "
                     .          $rply
                     .                  $this->CRLF;
              }
            return FALSE;
          }


Clone Instance
2
Line Count
25
Source Line
408
Source File
libraries/phpmailer/smtp.php

        if (!$this->connected()) {
            $this->error = array(
                    "error" => "Called Expand() without being connected");
            return FALSE;
          }

        fputs($this->smtp_conn ,"EXPN "
                                .         $name
                                .                 $this->CRLF);
        $rply=  $this->get_lines();
        $code=  substr($rply,0,3);
        if ($this->do_debug >= 2) {
            echo "SMTP -> FROM SERVER:"
                 .                        $this->CRLF
                 .                                      $rply;
          }
        if ($code != 250) {
            $this->error =
                array( "error" => "EXPN not accepted from server",
                       "smtp_code" => $code,
                       "smtp_msg" => substr($rply,4)
                     );
            if ($this->do_debug >= 1) {
                echo "SMTP -> ERROR: "
                     .                   $this->error["error"]
                     .   ": "
                     .          $rply
                     .                  $this->CRLF;
              }
            return FALSE;
          }


Clone Instance
3
Line Count
25
Source Line
585
Source File
libraries/phpmailer/smtp.php

        if (!$this->connected()) {
            $this->error = array(
                    "error" => "Called Mail() without being connected");
            return FALSE;
          }

        fputs($this->smtp_conn ,"MAIL FROM:<"
                                .               $from
                                .                       ">"
                                .                             $this->CRLF);
        $rply=  $this->get_lines();
        $code=  substr($rply,0,3);
        if ($this->do_debug >= 2) {
            echo "SMTP -> FROM SERVER:"
                 .                        $this->CRLF
                 .                                      $rply;
          }
        if ($code != 250) {
            $this->error =
                array( "error" => "MAIL not accepted from server",
                       "smtp_code" => $code,
                       "smtp_msg" => substr($rply,4)
                     );
            if ($this->do_debug >= 1) {
                echo "SMTP -> ERROR: "
                     .                   $this->error["error"]
                     .   ": "
                     .          $rply
                     .                  $this->CRLF;
              }
            return FALSE;
          }


Clone Instance
4
Line Count
25
Source Line
627
Source File
libraries/phpmailer/smtp.php

        if (!$this->connected()) {
            $this->error = array(
                    "error" => "Called Noop() without being connected");
            return FALSE;
          }

        fputs($this->smtp_conn ,"NOOP"
                                .        $this->CRLF);
        $rply=  $this->get_lines();
        $code=  substr($rply,0,3);

        if ($this->do_debug >= 2) {
            echo "SMTP -> FROM SERVER:"
                 .                        $this->CRLF
                 .                                      $rply;
          }
        if ($code != 250) {
            $this->error =
                array( "error" => "NOOP not accepted from server",
                       "smtp_code" => $code,
                       "smtp_msg" => substr($rply,4)
                     );
            if ($this->do_debug >= 1) {
                echo "SMTP -> ERROR: "
                     .                   $this->error["error"]
                     .   ": "
                     .          $rply
                     .                  $this->CRLF;
              }
            return FALSE;
          }


Clone Instance
5
Line Count
25
Source Line
768
Source File
libraries/phpmailer/smtp.php

        if (!$this->connected()) {
            $this->error = array(
                    "error" => "Called Reset() without being connected");
            return FALSE;
          }

        fputs($this->smtp_conn ,"RSET"
                                .        $this->CRLF);
        $rply=  $this->get_lines();
        $code=  substr($rply,0,3);

        if ($this->do_debug >= 2) {
            echo "SMTP -> FROM SERVER:"
                 .                        $this->CRLF
                 .                                      $rply;
          }
        if ($code != 250) {
            $this->error =
                array( "error" => "RSET failed",
                       "smtp_code" => $code,
                       "smtp_msg" => substr($rply,4)
                     );
            if ($this->do_debug >= 1) {
                echo "SMTP -> ERROR: "
                     .                   $this->error["error"]
                     .   ": "
                     .          $rply
                     .                  $this->CRLF;
              }
            return FALSE;
          }


Clone Instance
6
Line Count
25
Source Line
817
Source File
libraries/phpmailer/smtp.php

        if (!$this->connected()) {
            $this->error = array(
                    "error" => "Called Send() without being connected");
            return FALSE;
          }

        fputs($this->smtp_conn ,"SEND FROM:"
                                .              $from
                                .                      $this->CRLF);
        $rply=  $this->get_lines();
        $code=  substr($rply,0,3);
        if ($this->do_debug >= 2) {
            echo "SMTP -> FROM SERVER:"
                 .                        $this->CRLF
                 .                                      $rply;
          }
        if ($code != 250) {
            $this->error =
                array( "error" => "SEND not accepted from server",
                       "smtp_code" => $code,
                       "smtp_msg" => substr($rply,4)
                     );
            if ($this->do_debug >= 1) {
                echo "SMTP -> ERROR: "
                     .                   $this->error["error"]
                     .   ": "
                     .          $rply
                     .                  $this->CRLF;
              }
            return FALSE;
          }


Clone Instance
7
Line Count
25
Source Line
865
Source File
libraries/phpmailer/smtp.php

        if (!$this->connected()) {
            $this->error = array(
                "error" => "Called SendAndMail() without being connected");
            return FALSE;
          }

        fputs($this->smtp_conn ,"SAML FROM:"
                                .              $from
                                .                      $this->CRLF);
        $rply=  $this->get_lines();
        $code=  substr($rply,0,3);
        if ($this->do_debug >= 2) {
            echo "SMTP -> FROM SERVER:"
                 .                        $this->CRLF
                 .                                      $rply;
          }
        if ($code != 250) {
            $this->error =
                array( "error" => "SAML not accepted from server",
                       "smtp_code" => $code,
                       "smtp_msg" => substr($rply,4)
                     );
            if ($this->do_debug >= 1) {
                echo "SMTP -> ERROR: "
                     .                   $this->error["error"]
                     .   ": "
                     .          $rply
                     .                  $this->CRLF;
              }
            return FALSE;
          }


Clone Instance
8
Line Count
25
Source Line
913
Source File
libraries/phpmailer/smtp.php

        if (!$this->connected()) {
            $this->error = array(
                "error" => "Called SendOrMail() without being connected");
            return FALSE;
          }

        fputs($this->smtp_conn ,"SOML FROM:"
                                .              $from
                                .                      $this->CRLF);
        $rply=  $this->get_lines();
        $code=  substr($rply,0,3);
        if ($this->do_debug >= 2) {
            echo "SMTP -> FROM SERVER:"
                 .                        $this->CRLF
                 .                                      $rply;
          }
        if ($code != 250) {
            $this->error =
                array( "error" => "SOML not accepted from server",
                       "smtp_code" => $code,
                       "smtp_msg" => substr($rply,4)
                     );
            if ($this->do_debug >= 1) {
                echo "SMTP -> ERROR: "
                     .                   $this->error["error"]
                     .   ": "
                     .          $rply
                     .                  $this->CRLF;
              }
            return FALSE;
          }


Clone AbstractionParameter Count: 4Parameter Bindings

if (!$this->connected()) {
  $this->error =array("error" => [[#variable52580520]]);
  return FALSE;
}
fputs($this->smtp_conn , [[#variable57f46e80]]
                        . $this->CRLF);
$rply=$this->get_lines();
$code=substr($rply,0,3);
if ($this->do_debug >=2) {
  echo "SMTP -> FROM SERVER:"
       . $this->CRLF
       . $rply;
}
if ($code != [[#variable48c0c260]]) {
  $this->error =array( "error" => [[#variable53d91b00]],
                       "smtp_code" => $code,
                       "smtp_msg" => substr($rply,4)
                     );
  if ($this->do_debug >=1) {
    echo "SMTP -> ERROR: "
         . $this->error["error"]
         . ": "
         . $rply
         . $this->CRLF;
  }
  return FALSE;
}
 

CloneAbstraction
Parameter Bindings
Parameter
Index
Clone
Instance
Parameter
Name
Value
11[[#52580520]]
"Called Data() without being connected" 
12[[#52580520]]
"Called Expand() without being connected" 
13[[#52580520]]
"Called Mail() without being connected" 
14[[#52580520]]
"Called Noop() without being connected" 
15[[#52580520]]
"Called Reset() without being connected" 
16[[#52580520]]
"Called Send() without being connected" 
17[[#52580520]]
"Called SendAndMail() without being connected" 
18[[#52580520]]
"Called SendOrMail() without being connected" 
21[[#57f46e80]]
"DATA" 
22[[#57f46e80]]
"EXPN "
. $name 
23[[#57f46e80]]
"MAIL FROM:<"
. $from
. ">" 
24[[#57f46e80]]
"NOOP" 
25[[#57f46e80]]
"RSET" 
26[[#57f46e80]]
"SEND FROM:"
. $from 
27[[#57f46e80]]
"SAML FROM:"
. $from 
28[[#57f46e80]]
"SOML FROM:"
. $from 
31[[#48c0c260]]
354 
32[[#48c0c260]]
250 
33[[#48c0c260]]
250 
34[[#48c0c260]]
250 
35[[#48c0c260]]
250 
36[[#48c0c260]]
250 
37[[#48c0c260]]
250 
38[[#48c0c260]]
250 
41[[#53d91b00]]
"DATA command not accepted from server" 
42[[#53d91b00]]
"EXPN not accepted from server" 
43[[#53d91b00]]
"MAIL not accepted from server" 
44[[#53d91b00]]
"NOOP not accepted from server" 
45[[#53d91b00]]
"RSET failed" 
46[[#53d91b00]]
"SEND not accepted from server" 
47[[#53d91b00]]
"SAML not accepted from server" 
48[[#53d91b00]]
"SOML not accepted from server"