See http://ci.phpmyadmin.net/job/phpMyAdmin-continuous/3984/changes
Changes:
[Michal Čihař] No parenthesis around include
[Michal Čihař] Share code for checking whether to show icons
------------------------------------------ Started by GitHub push by nijel Building in workspace http://ci.phpmyadmin.net/job/phpMyAdmin-continuous/ws/ Checkout:workspace / http://ci.phpmyadmin.net/job/phpMyAdmin-continuous/ws/ - hudson.remoting.LocalChannel@23b2f0c7 Using strategy: Default Last Built Revision: Revision 7ee30619c9d42f824ec3604a19060a4de4b4fd4f (origin/master) Fetching changes from 1 remote Git repository Fetching upstream changes from origin Commencing build of Revision 7a97781c238a6b1bc887a9dff8f96afe9bbf82d0 (origin/master) Checking out Revision 7a97781c238a6b1bc887a9dff8f96afe9bbf82d0 (origin/master) [workspace] $ /bin/sh -xe /tmp/hudson1431340865434283118.sh + ./scripts/generate-mo --quiet [workspace] $ ant clean phpunit-nocoverage phpcpd phpcs phploc jshint Unable to locate tools.jar. Expected to find it in /usr/lib/jvm/java-6-openjdk-amd64/lib/tools.jar Buildfile: http://ci.phpmyadmin.net/job/phpMyAdmin-continuous/ws/build.xml
clean: [delete] Deleting directory http://ci.phpmyadmin.net/job/phpMyAdmin-continuous/ws/build/api [delete] Deleting directory http://ci.phpmyadmin.net/job/phpMyAdmin-continuous/ws/build/code-browser [delete] Deleting directory http://ci.phpmyadmin.net/job/phpMyAdmin-continuous/ws/build/coverage [delete] Deleting directory http://ci.phpmyadmin.net/job/phpMyAdmin-continuous/ws/build/logs [delete] Deleting directory http://ci.phpmyadmin.net/job/phpMyAdmin-continuous/ws/build/pdepend [mkdir] Created dir: http://ci.phpmyadmin.net/job/phpMyAdmin-continuous/ws/build/api [mkdir] Created dir: http://ci.phpmyadmin.net/job/phpMyAdmin-continuous/ws/build/code-browser [mkdir] Created dir: http://ci.phpmyadmin.net/job/phpMyAdmin-continuous/ws/build/coverage [mkdir] Created dir: http://ci.phpmyadmin.net/job/phpMyAdmin-continuous/ws/build/logs [mkdir] Created dir: http://ci.phpmyadmin.net/job/phpMyAdmin-continuous/ws/build/pdepend
phpunit-nocoverage: [exec] Enabling headers testing... [exec] PHP Parse error: syntax error, unexpected ']' in http://ci.phpmyadmin.net/job/phpMyAdmin-continuous/ws/libraries/Util.class.php on line 120 [exec] PHP Stack trace: [exec] PHP 1. {main}() /usr/bin/phpunit:0 [exec] PHP 2. PHPUnit_TextUI_Command::main() /usr/bin/phpunit:46 [exec] PHP 3. PHPUnit_TextUI_Command->run() /usr/share/php/PHPUnit/TextUI/Command.php:129 [exec] PHP 4. PHPUnit_TextUI_Command->handleArguments() /usr/share/php/PHPUnit/TextUI/Command.php:138 [exec] PHP 5. PHPUnit_Util_Configuration->getTestSuiteConfiguration() /usr/share/php/PHPUnit/TextUI/Command.php:657 [exec] PHP 6. PHPUnit_Util_Configuration->getTestSuite() /usr/share/php/PHPUnit/Util/Configuration.php:797 [exec] PHP 7. PHPUnit_Framework_TestSuite->addTestFiles() /usr/share/php/PHPUnit/Util/Configuration.php:873 [exec] PHP 8. PHPUnit_Framework_TestSuite->addTestFile() /usr/share/php/PHPUnit/Framework/TestSuite.php:416 [exec] PHP 9. PHPUnit_Util_Fileloader::checkAndLoad() /usr/share/php/PHPUnit/Framework/TestSuite.php:355 [exec] PHP 10. PHPUnit_Util_Fileloader::load() /usr/share/php/PHPUnit/Util/Fileloader.php:76 [exec] PHP 11. include_once() /usr/share/php/PHPUnit/Util/Fileloader.php:92 [exec] Result: 255
phpcpd: [exec] phpcpd 1.4.2 by Sebastian Bergmann. [exec] [exec] Found 32 exact clones with 576 duplicated lines in 39 files: [exec] [exec] - http://ci.phpmyadmin.net/job/phpMyAdmin-continuous/ws/themes/pmahomme/css/enum_editor.css.php:65-73 [exec] http://ci.phpmyadmin.net/job/phpMyAdmin-continuous/ws/themes/pmahomme/css/pmd.css.php:520-528 [exec] [exec] - http://ci.phpmyadmin.net/job/phpMyAdmin-continuous/ws/themes/pmahomme/css/jqplot.css.php:132-143 [exec] http://ci.phpmyadmin.net/job/phpMyAdmin-continuous/ws/themes/pmahomme/css/common.css.php:2782-2793 [exec] [exec] - http://ci.phpmyadmin.net/job/phpMyAdmin-continuous/ws/themes/pmahomme/css/navigation.css.php:155-272 [exec] http://ci.phpmyadmin.net/job/phpMyAdmin-continuous/ws/themes/original/css/navigation.css.php:160-277 [exec] [exec] - http://ci.phpmyadmin.net/job/phpMyAdmin-continuous/ws/libraries/plugins/export/ExportYaml.class.php:204-211 [exec] http://ci.phpmyadmin.net/job/phpMyAdmin-continuous/ws/libraries/plugins/export/ExportPhparray.class.php:220-227 [exec] [exec] - http://ci.phpmyadmin.net/job/phpMyAdmin-continuous/ws/libraries/plugins/export/ExportYaml.class.php:119-130 [exec] http://ci.phpmyadmin.net/job/phpMyAdmin-continuous/ws/libraries/plugins/export/ExportJson.class.php:121-132 [exec] [exec] - http://ci.phpmyadmin.net/job/phpMyAdmin-continuous/ws/libraries/plugins/export/ExportYaml.class.php:208-214 [exec] http://ci.phpmyadmin.net/job/phpMyAdmin-continuous/ws/libraries/plugins/export/ExportJson.class.php:202-208 [exec] [exec] - http://ci.phpmyadmin.net/job/phpMyAdmin-continuous/ws/libraries/plugins/export/ExportYaml.class.php:208-214 [exec] http://ci.phpmyadmin.net/job/phpMyAdmin-continuous/ws/libraries/plugins/export/ExportCsv.class.php:313-319 [exec] [exec] - http://ci.phpmyadmin.net/job/phpMyAdmin-continuous/ws/libraries/plugins/auth/AuthenticationConfig.class.php:159-173 [exec] http://ci.phpmyadmin.net/job/phpMyAdmin-continuous/ws/libraries/plugins/auth/AuthenticationHttp.class.php:243-257 [exec] [exec] - http://ci.phpmyadmin.net/job/phpMyAdmin-continuous/ws/libraries/plugins/transformations/Text_Plain_Dateformat.class.php:29-42 [exec] http://ci.phpmyadmin.net/job/phpMyAdmin-continuous/ws/libraries/plugins/transformations/Text_Plain_Link.class.php:29-42 [exec] [exec] - http://ci.phpmyadmin.net/job/phpMyAdmin-continuous/ws/libraries/plugins/transformations/Text_Plain_Dateformat.class.php:29-42 [exec] http://ci.phpmyadmin.net/job/phpMyAdmin-continuous/ws/libraries/plugins/transformations/Text_Plain_Substring.class.php:29-42 [exec] [exec] - http://ci.phpmyadmin.net/job/phpMyAdmin-continuous/ws/libraries/plugins/transformations/Text_Plain_Dateformat.class.php:29-42 [exec] http://ci.phpmyadmin.net/job/phpMyAdmin-continuous/ws/libraries/plugins/transformations/Text_Plain_External.class.php:29-42 [exec] [exec] - http://ci.phpmyadmin.net/job/phpMyAdmin-continuous/ws/libraries/plugins/transformations/Text_Plain_Dateformat.class.php:29-42 [exec] http://ci.phpmyadmin.net/job/phpMyAdmin-continuous/ws/libraries/plugins/transformations/Text_Plain_Sql.class.php:29-42 [exec] [exec] - http://ci.phpmyadmin.net/job/phpMyAdmin-continuous/ws/libraries/plugins/transformations/Image_JPEG_Inline.class.php:29-42 [exec] http://ci.phpmyadmin.net/job/phpMyAdmin-continuous/ws/libraries/plugins/transformations/Image_JPEG_Link.class.php:29-42 [exec] [exec] - http://ci.phpmyadmin.net/job/phpMyAdmin-continuous/ws/libraries/plugins/transformations/Text_Plain_Dateformat.class.php:29-42 [exec] http://ci.phpmyadmin.net/job/phpMyAdmin-continuous/ws/libraries/plugins/transformations/Text_Plain_Imagelink.class.php:29-42 [exec] [exec] - http://ci.phpmyadmin.net/job/phpMyAdmin-continuous/ws/libraries/plugins/transformations/Application_Octetstream_Download.class.php:28-41 [exec] http://ci.phpmyadmin.net/job/phpMyAdmin-continuous/ws/libraries/plugins/transformations/Application_Octetstream_Hex.class.php:29-42 [exec] [exec] - http://ci.phpmyadmin.net/job/phpMyAdmin-continuous/ws/libraries/plugins/transformations/Text_Plain_Dateformat.class.php:29-42 [exec] http://ci.phpmyadmin.net/job/phpMyAdmin-continuous/ws/libraries/plugins/transformations/Text_Plain_Formatted.class.php:29-42 [exec] [exec] - http://ci.phpmyadmin.net/job/phpMyAdmin-continuous/ws/libraries/plugins/transformations/Text_Plain_Dateformat.class.php:29-42 [exec] http://ci.phpmyadmin.net/job/phpMyAdmin-continuous/ws/libraries/plugins/transformations/Text_Plain_Append.class.php:30-43 [exec] [exec] - http://ci.phpmyadmin.net/job/phpMyAdmin-continuous/ws/libraries/plugins/transformations/Text_Plain_Dateformat.class.php:29-42 [exec] http://ci.phpmyadmin.net/job/phpMyAdmin-continuous/ws/libraries/plugins/transformations/Text_Plain_Longtoipv4.class.php:29-42 [exec] [exec] - http://ci.phpmyadmin.net/job/phpMyAdmin-continuous/ws/libraries/plugins/import/ImportMediawiki.class.php:557-572 [exec] http://ci.phpmyadmin.net/job/phpMyAdmin-continuous/ws/libraries/plugins/import/ImportCsv.class.php:572-587 [exec] [exec] - http://ci.phpmyadmin.net/job/phpMyAdmin-continuous/ws/libraries/plugins/import/upload/UploadProgress.class.php:86-93 [exec] http://ci.phpmyadmin.net/job/phpMyAdmin-continuous/ws/libraries/plugins/import/upload/UploadSession.class.php:87-94 [exec] [exec] - http://ci.phpmyadmin.net/job/phpMyAdmin-continuous/ws/libraries/plugins/ExportPlugin.class.php:192-204 [exec] http://ci.phpmyadmin.net/job/phpMyAdmin-continuous/ws/libraries/plugins/ImportPlugin.class.php:46-58 [exec] [exec] - http://ci.phpmyadmin.net/job/phpMyAdmin-continuous/ws/libraries/server_privileges.lib.php:3887-3900 [exec] http://ci.phpmyadmin.net/job/phpMyAdmin-continuous/ws/libraries/ServerStatusData.class.php:367-380 [exec] [exec] - http://ci.phpmyadmin.net/job/phpMyAdmin-continuous/ws/libraries/schema/Svg_Relation_Schema.class.php:279-297 [exec] http://ci.phpmyadmin.net/job/phpMyAdmin-continuous/ws/libraries/schema/Eps_Relation_Schema.class.php:283-301 [exec] [exec] - http://ci.phpmyadmin.net/job/phpMyAdmin-continuous/ws/libraries/schema/Svg_Relation_Schema.class.php:396-417 [exec] http://ci.phpmyadmin.net/job/phpMyAdmin-continuous/ws/libraries/schema/Eps_Relation_Schema.class.php:429-450 [exec] [exec] - http://ci.phpmyadmin.net/job/phpMyAdmin-continuous/ws/libraries/schema/Svg_Relation_Schema.class.php:448-459 [exec] http://ci.phpmyadmin.net/job/phpMyAdmin-continuous/ws/libraries/schema/Eps_Relation_Schema.class.php:479-490 [exec] [exec] - http://ci.phpmyadmin.net/job/phpMyAdmin-continuous/ws/libraries/schema/Svg_Relation_Schema.class.php:602-643 [exec] http://ci.phpmyadmin.net/job/phpMyAdmin-continuous/ws/libraries/schema/Eps_Relation_Schema.class.php:620-661 [exec] [exec] - http://ci.phpmyadmin.net/job/phpMyAdmin-continuous/ws/libraries/schema/Svg_Relation_Schema.class.php:929-966 [exec] http://ci.phpmyadmin.net/job/phpMyAdmin-continuous/ws/libraries/schema/Eps_Relation_Schema.class.php:935-972 [exec] [exec] - http://ci.phpmyadmin.net/job/phpMyAdmin-continuous/ws/libraries/schema/Svg_Relation_Schema.class.php:448-455 [exec] http://ci.phpmyadmin.net/job/phpMyAdmin-continuous/ws/libraries/schema/Dia_Relation_Schema.class.php:277-284 [exec] [exec] - http://ci.phpmyadmin.net/job/phpMyAdmin-continuous/ws/libraries/schema/Svg_Relation_Schema.class.php:929-972 [exec] http://ci.phpmyadmin.net/job/phpMyAdmin-continuous/ws/libraries/schema/Dia_Relation_Schema.class.php:807-850 [exec] [exec] - http://ci.phpmyadmin.net/job/phpMyAdmin-continuous/ws/libraries/schema/Svg_Relation_Schema.class.php:448-455 [exec] http://ci.phpmyadmin.net/job/phpMyAdmin-continuous/ws/libraries/schema/Pdf_Relation_Schema.class.php:460-467 [exec] [exec] - http://ci.phpmyadmin.net/job/phpMyAdmin-continuous/ws/libraries/schema/Svg_Relation_Schema.class.php:620-648 [exec] http://ci.phpmyadmin.net/job/phpMyAdmin-continuous/ws/libraries/schema/Pdf_Relation_Schema.class.php:661-689 [exec] [exec] - http://ci.phpmyadmin.net/job/phpMyAdmin-continuous/ws/tbl_row_action.php:127-133 [exec] http://ci.phpmyadmin.net/job/phpMyAdmin-continuous/ws/tbl_select.php:63-69 [exec] [exec] 0.39% duplicated lines out of 148138 total lines of code. [exec] [exec] Time: 6 seconds, Memory: 131.00Mb [exec] Result: 1
phpcs: [exec] Time: 01:20, Memory: 57.75Mb [exec] [exec] Result: 1
phploc: [exec] phploc 1.7.4 by Sebastian Bergmann. [exec] [exec] Directories: 33 [exec] Files: 425 [exec] [exec] Lines of Code (LOC): 148138 [exec] Cyclomatic Complexity / Lines of Code: 0.13 [exec] Comment Lines of Code (CLOC): 46231 [exec] Non-Comment Lines of Code (NCLOC): 101907 [exec] [exec] Namespaces: 0 [exec] Interfaces: 5 [exec] Traits: 0 [exec] Classes: 208 [exec] Abstract: 28 (13.46%) [exec] Concrete: 180 (86.54%) [exec] Average Class Length (NCLOC): 224 [exec] Methods: 1820 [exec] Scope: [exec] Non-Static: 1541 (84.67%) [exec] Static: 279 (15.33%) [exec] Visibility: [exec] Public: 1416 (77.80%) [exec] Non-Public: 404 (22.20%) [exec] Average Method Length (NCLOC): 25 [exec] Cyclomatic Complexity / Number of Methods: 4.20 [exec] [exec] Anonymous Functions: 2 [exec] Functions: 679 [exec] [exec] Constants: 167 [exec] Global constants: 107 [exec] Class constants: 60
jshint: [apply] Result: 1
BUILD SUCCESSFUL Total time: 1 minute 35 seconds [CHECKSTYLE] Collecting checkstyle analysis files... [CHECKSTYLE] Finding all files that match the pattern build/logs/checkstyle.xml [CHECKSTYLE] Parsing 1 files in http://ci.phpmyadmin.net/job/phpMyAdmin-continuous/ws/ [CHECKSTYLE] Successfully parsed file http://ci.phpmyadmin.net/job/phpMyAdmin-continuous/ws/build/logs/checkstyle.xml of module with 2676 warnings. [CHECKSTYLE] Computing warning deltas based on reference build #3983 [DRY] Collecting duplicate code analysis files... [DRY] Finding all files that match the pattern build/logs/pmd-cpd.xml [DRY] Parsing 1 files in http://ci.phpmyadmin.net/job/phpMyAdmin-continuous/ws/ [DRY] Successfully parsed file http://ci.phpmyadmin.net/job/phpMyAdmin-continuous/ws/build/logs/pmd-cpd.xml of module with 55 warnings. [DRY] Computing warning deltas based on reference build #3983 [TASKS] Scanning folder 'http://ci.phpmyadmin.net/job/phpMyAdmin-continuous/ws/' for files matching the pattern '**/*.php' - excludes: build/**,libraries/PHPExcel/**,libraries/tcpdf/**,libraries/php-gettext/** [TASKS] Found 672 files to scan for tasks [TASKS] Found 203 open tasks. [TASKS] Computing warning deltas based on reference build #3983 [ANALYSIS-COLLECTOR] Computing warning deltas based on reference build #3983 Recording plot data [xUnit] [INFO] - Starting to record. [xUnit] [INFO] - Processing PHPUnit-3.x (default) [xUnit] [INFO] - [PHPUnit-3.x (default)] - No test report file(s) were found with the pattern 'build/logs/junit.xml' relative to 'http://ci.phpmyadmin.net/job/phpMyAdmin-continuous/ws/' for the testing framework 'PHPUnit-3.x (default)'. Did you enter a pattern relative to the correct directory? Did you generate the result report(s) for 'PHPUnit-3.x (default)'? [xUnit] [ERROR] - No test reports found for the metric 'PHPUnit' with the resolved pattern 'build/logs/junit.xml'. Configuration error?. [xUnit] [INFO] - Fail BUILD because 'set build failed if errors' option is activated. [xUnit] [INFO] - There are errors when processing test results. [xUnit] [INFO] - Skipping tests recording. [xUnit] [INFO] - Stop build. Build step 'Publish xUnit test result report' changed build result to FAILURE