Showing 22 of 40 total issues
File test.php
has 807 lines of code (exceeds 250 allowed). Consider refactoring. Open
Open
<?php
return array(
// ************************************************************* Schema
array(
'regex' => '#^/tests/schema$#',
File activity.php
has 407 lines of code (exceeds 250 allowed). Consider refactoring. Open
Open
<?php
return array(
// ************************************************************* Schema
array(
'regex' => '#^/activities/schema$#',
Method init
has 91 lines of code (exceeds 25 allowed). Consider refactoring. Open
Open
function init()
{
parent::init();
$this->_a['table'] = 'tms_tests';
$this->_a['verbose'] = 'TMS Test';
Method init
has 78 lines of code (exceeds 25 allowed). Consider refactoring. Open
Open
function init()
{
parent::init();
$this->_a['table'] = 'tms_activities';
$this->_a['verbose'] = 'TMS Activity';
File project.php
has 295 lines of code (exceeds 250 allowed). Consider refactoring. Open
Open
<?php
return array(
// ************************************************************* Schema
array(
'regex' => '#^/projects/schema$#',
Method init
has 60 lines of code (exceeds 25 allowed). Consider refactoring. Open
Open
function init()
{
parent::init();
$this->_a['table'] = 'tms_test_acceptance_criteria';
$this->_a['verbose'] = 'TMS TestAcceptanceCriterion';
Method init
has 57 lines of code (exceeds 25 allowed). Consider refactoring. Open
Open
function init()
{
parent::init();
$this->_a['table'] = 'tms_activity_logs';
$this->_a['verbose'] = 'TMS Activity Log';
Method init
has 52 lines of code (exceeds 25 allowed). Consider refactoring. Open
Open
function init()
{
$this->_a['table'] = 'tms_test_histories';
$this->_a['verbose'] = 'TMS Test History';
$this->_a['cols'] = array(
Method init
has 52 lines of code (exceeds 25 allowed). Consider refactoring. Open
Open
function init()
{
$this->_a['table'] = 'tms_test_comments';
$this->_a['verbose'] = 'TMS Test Comment';
$this->_a['cols'] = array(
Method init
has 52 lines of code (exceeds 25 allowed). Consider refactoring. Open
Open
function init()
{
$this->_a['table'] = 'tms_activity_comments';
$this->_a['verbose'] = 'TMS Activity Commment';
$this->_a['cols'] = array(
Method init
has 50 lines of code (exceeds 25 allowed). Consider refactoring. Open
Open
function init()
{
parent::init();
$this->_a['table'] = 'tms_projects';
$this->_a['verbose'] = 'TMS Project';
Method init
has 48 lines of code (exceeds 25 allowed). Consider refactoring. Open
Open
function init()
{
$this->_a['cols'] = array(
// Identifier
'id' => array(
Method init
has 48 lines of code (exceeds 25 allowed). Consider refactoring. Open
Open
function init()
{
parent::init();
$this->_a['table'] = 'tms_test_runs';
$this->_a['verbose'] = 'TMS Test Run';
Method init
has 44 lines of code (exceeds 25 allowed). Consider refactoring. Open
Open
function init()
{
$this->_a['table'] = 'tms_test_variables';
$this->_a['verbose'] = 'TMS Test Variable';
$this->_a['cols'] = array(
Method attachCommands
has 31 lines of code (exceeds 25 allowed). Consider refactoring. Open
Open
private static function attachCommands($job, $test)
{
$builder = new TMS_ScriptBuilder();
$command = '';
// Create JMX file
Method init
has 29 lines of code (exceeds 25 allowed). Consider refactoring. Open
Open
function init()
{
parent::init();
$this->_a['table'] = 'tms_test_risks';
$this->_a['verbose'] = 'TMS Test Risk';
Method init
has 29 lines of code (exceeds 25 allowed). Consider refactoring. Open
Open
function init()
{
parent::init();
$this->_a['table'] = 'tms_activity_steps';
$this->_a['verbose'] = 'TMS Activity Step';
Method attachResources
has 28 lines of code (exceeds 25 allowed). Consider refactoring. Open
Open
private static function attachResources($job, $test)
{
// Attachments
$attachList = $test->get_attachments_list();
foreach ($attachList as $attach) {
Method attachVariables
has 28 lines of code (exceeds 25 allowed). Consider refactoring. Open
Open
private static function attachVariables($job, $test, $testRun)
{
// test_name
$attr = new Pluf\Jms\Attribute();
$attr->name = 'test_name';
Method init
has 26 lines of code (exceeds 25 allowed). Consider refactoring. Open
Open
function init()
{
parent::init();
$this->_a['table'] = 'tms_test_run_reports';
$this->_a['verbose'] = 'TMS Test Run Report';