Code Duplication    Length = 17-18 lines in 3 locations

phpsysinfo/includes/os/class.AIX.inc.php 1 location

@@ 334-351 (lines=18) @@
331
     *
332
     * @return Void
333
     */
334
    public function build()
335
    {
336
        $this->error->addError("WARN", "The AIX version of phpSysInfo is a work in progress, some things currently don't work");
337
        $this->_distro();
338
        $this->_hostname();
339
        $this->_kernel();
340
        $this->_uptime();
341
        $this->_users();
342
        $this->_loadavg();
343
        $this->_cpuinfo();
344
        $this->_pci();
345
        $this->_ide();
346
        $this->_scsi();
347
        $this->_usb();
348
        $this->_network();
349
        $this->_memory();
350
        $this->_filesystems();
351
    }
352
}
353

phpsysinfo/includes/os/class.Haiku.inc.php 1 location

@@ 367-383 (lines=17) @@
364
     *
365
     * @return Void
366
     */
367
    public function build()
368
    {
369
        $this->error->addError("WARN", "The Haiku version of phpSysInfo is a work in progress, some things currently don't work");
370
        $this->_distro();
371
        $this->_hostname();
372
        $this->_kernel();
373
        $this->_uptime();
374
        $this->_users();
375
        $this->_loadavg();
376
        $this->_pci();
377
        $this->_usb();
378
        $this->_cpuinfo();
379
        $this->_memory();
380
        $this->_filesystems();
381
        $this->_network();
382
        $this->_processes();
383
    }
384
}
385

phpsysinfo/includes/os/class.WINNT.inc.php 1 location

@@ 614-631 (lines=18) @@
611
     *
612
     * @return Void
613
     */
614
    public function build()
615
    {
616
        $this->_distro();
617
        if ($this->sys->getDistribution()=="ReactOS") {
618
            $this->error->addError("WARN", "The ReactOS version of phpSysInfo is a work in progress, some things currently don't work");
619
        }
620
        $this->_hostname();
621
        $this->_users();
622
        $this->_machine();
623
        $this->_uptime();
624
        $this->_cpuinfo();
625
        $this->_network();
626
        $this->_hardware();
627
        $this->_filesystems();
628
        $this->_memory();
629
        $this->_loadavg();
630
        $this->_processes();
631
    }
632
}
633