This file is indexed.

/usr/share/php/PHPMD/autoload.php is in phpmd 2.4.3-1.

This file is owned by root:root, with mode 0o644.

The actual contents of the file can be viewed below.

 1
 2
 3
 4
 5
 6
 7
 8
 9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
<?php

require_once 'PDepend/autoload.php';

// @codingStandardsIgnoreFile
// @codeCoverageIgnoreStart
// this is an autogenerated file - do not edit
spl_autoload_register(
    function($class) {
        static $classes = null;
        if ($classes === null) {
            $classes = array(
                'phpmd\\abstractnode' => '/AbstractNode.php',
                'phpmd\\abstractrenderer' => '/AbstractRenderer.php',
                'phpmd\\abstractrule' => '/AbstractRule.php',
                'phpmd\\abstractwriter' => '/AbstractWriter.php',
                'phpmd\\node\\abstractcallablenode' => '/Node/AbstractCallableNode.php',
                'phpmd\\node\\abstractnode' => '/Node/AbstractNode.php',
                'phpmd\\node\\abstracttypenode' => '/Node/AbstractTypeNode.php',
                'phpmd\\node\\annotation' => '/Node/Annotation.php',
                'phpmd\\node\\annotations' => '/Node/Annotations.php',
                'phpmd\\node\\astnode' => '/Node/ASTNode.php',
                'phpmd\\node\\classnode' => '/Node/ClassNode.php',
                'phpmd\\node\\functionnode' => '/Node/FunctionNode.php',
                'phpmd\\node\\interfacenode' => '/Node/InterfaceNode.php',
                'phpmd\\node\\methodnode' => '/Node/MethodNode.php',
                'phpmd\\node\\traitnode' => '/Node/TraitNode.php',
                'phpmd\\parser' => '/Parser.php',
                'phpmd\\parserfactory' => '/ParserFactory.php',
                'phpmd\\phpmd' => '/PHPMD.php',
                'phpmd\\processingerror' => '/ProcessingError.php',
                'phpmd\\renderer\\htmlrenderer' => '/Renderer/HTMLRenderer.php',
                'phpmd\\renderer\\textrenderer' => '/Renderer/TextRenderer.php',
                'phpmd\\renderer\\xmlrenderer' => '/Renderer/XMLRenderer.php',
                'phpmd\\report' => '/Report.php',
                'phpmd\\rule' => '/Rule.php',
                'phpmd\\rule\\abstractlocalvariable' => '/Rule/AbstractLocalVariable.php',
                'phpmd\\rule\\classaware' => '/Rule/ClassAware.php',
                'phpmd\\rule\\cleancode\\booleanargumentflag' => '/Rule/CleanCode/BooleanArgumentFlag.php',
                'phpmd\\rule\\cleancode\\elseexpression' => '/Rule/CleanCode/ElseExpression.php',
                'phpmd\\rule\\cleancode\\staticaccess' => '/Rule/CleanCode/StaticAccess.php',
                'phpmd\\rule\\controversial\\camelcaseclassname' => '/Rule/Controversial/CamelCaseClassName.php',
                'phpmd\\rule\\controversial\\camelcasemethodname' => '/Rule/Controversial/CamelCaseMethodName.php',
                'phpmd\\rule\\controversial\\camelcaseparametername' => '/Rule/Controversial/CamelCaseParameterName.php',
                'phpmd\\rule\\controversial\\camelcasepropertyname' => '/Rule/Controversial/CamelCasePropertyName.php',
                'phpmd\\rule\\controversial\\camelcasevariablename' => '/Rule/Controversial/CamelCaseVariableName.php',
                'phpmd\\rule\\controversial\\superglobals' => '/Rule/Controversial/Superglobals.php',
                'phpmd\\rule\\cyclomaticcomplexity' => '/Rule/CyclomaticComplexity.php',
                'phpmd\\rule\\design\\couplingbetweenobjects' => '/Rule/Design/CouplingBetweenObjects.php',
                'phpmd\\rule\\design\\depthofinheritance' => '/Rule/Design/DepthOfInheritance.php',
                'phpmd\\rule\\design\\developmentcodefragment' => '/Rule/Design/DevelopmentCodeFragment.php',
                'phpmd\\rule\\design\\evalexpression' => '/Rule/Design/EvalExpression.php',
                'phpmd\\rule\\design\\exitexpression' => '/Rule/Design/ExitExpression.php',
                'phpmd\\rule\\design\\gotostatement' => '/Rule/Design/GotoStatement.php',
                'phpmd\\rule\\design\\longclass' => '/Rule/Design/LongClass.php',
                'phpmd\\rule\\design\\longmethod' => '/Rule/Design/LongMethod.php',
                'phpmd\\rule\\design\\longparameterlist' => '/Rule/Design/LongParameterList.php',
                'phpmd\\rule\\design\\npathcomplexity' => '/Rule/Design/NpathComplexity.php',
                'phpmd\\rule\\design\\numberofchildren' => '/Rule/Design/NumberOfChildren.php',
                'phpmd\\rule\\design\\toomanyfields' => '/Rule/Design/TooManyFields.php',
                'phpmd\\rule\\design\\toomanymethods' => '/Rule/Design/TooManyMethods.php',
                'phpmd\\rule\\design\\toomanypublicmethods' => '/Rule/Design/TooManyPublicMethods.php',
                'phpmd\\rule\\design\\weightedmethodcount' => '/Rule/Design/WeightedMethodCount.php',
                'phpmd\\rule\\excessivepubliccount' => '/Rule/ExcessivePublicCount.php',
                'phpmd\\rule\\functionaware' => '/Rule/FunctionAware.php',
                'phpmd\\rule\\interfaceaware' => '/Rule/InterfaceAware.php',
                'phpmd\\rule\\methodaware' => '/Rule/MethodAware.php',
                'phpmd\\rule\\naming\\booleangetmethodname' => '/Rule/Naming/BooleanGetMethodName.php',
                'phpmd\\rule\\naming\\constantnamingconventions' => '/Rule/Naming/ConstantNamingConventions.php',
                'phpmd\\rule\\naming\\constructorwithnameasenclosingclass' => '/Rule/Naming/ConstructorWithNameAsEnclosingClass.php',
                'phpmd\\rule\\naming\\longvariable' => '/Rule/Naming/LongVariable.php',
                'phpmd\\rule\\naming\\shortmethodname' => '/Rule/Naming/ShortMethodName.php',
                'phpmd\\rule\\naming\\shortvariable' => '/Rule/Naming/ShortVariable.php',
                'phpmd\\rule\\unusedformalparameter' => '/Rule/UnusedFormalParameter.php',
                'phpmd\\rule\\unusedlocalvariable' => '/Rule/UnusedLocalVariable.php',
                'phpmd\\rule\\unusedprivatefield' => '/Rule/UnusedPrivateField.php',
                'phpmd\\rule\\unusedprivatemethod' => '/Rule/UnusedPrivateMethod.php',
                'phpmd\\ruleclassfilenotfoundexception' => '/RuleClassFileNotFoundException.php',
                'phpmd\\ruleclassnotfoundexception' => '/RuleClassNotFoundException.php',
                'phpmd\\ruleset' => '/RuleSet.php',
                'phpmd\\rulesetfactory' => '/RuleSetFactory.php',
                'phpmd\\rulesetnotfoundexception' => '/RuleSetNotFoundException.php',
                'phpmd\\ruleviolation' => '/RuleViolation.php',
                'phpmd\\textui\\command' => '/TextUI/Command.php',
                'phpmd\\textui\\commandlineoptions' => '/TextUI/CommandLineOptions.php',
                'phpmd\\writer\\streamwriter' => '/Writer/StreamWriter.php'
            );
        }
        $cn = strtolower($class);
        if (isset($classes[$cn])) {
            require __DIR__ . $classes[$cn];
        }
    },
    true,
    false
);
// @codeCoverageIgnoreEnd