|
16 | 16 | // Thus, both first-party and third-party code being used by |
17 | 17 | // your application should be included in this list. |
18 | 18 | 'directory_list' => [ |
19 | | - 'build/.phan/stubs', |
20 | 19 | '3rdparty', |
21 | | - 'lib/composer', |
22 | | - 'themes', |
23 | | - 'lib/', |
24 | 20 | 'apps/', |
| 21 | + 'build/.phan/stubs', |
25 | 22 | 'core/', |
26 | | - 'ocs/', |
| 23 | + 'lib/', |
| 24 | + 'lib/composer', |
27 | 25 | 'ocs-provider/', |
| 26 | + 'ocs/', |
28 | 27 | 'settings/', |
29 | 28 | 'tests/lib/Util/User', |
| 29 | + 'themes', |
| 30 | + ], |
| 31 | + 'file_list' => [ |
| 32 | + 'index.php', |
| 33 | + 'public.php', |
| 34 | + 'remote.php', |
| 35 | + 'status.php', |
| 36 | + 'version.php', |
30 | 37 | ], |
31 | 38 |
|
32 | 39 | // A directory list that defines files that will be excluded |
|
40 | 47 | // party code, directories containing that code |
41 | 48 | // should be added to the `directory_list` as |
42 | 49 | // to `exclude_analysis_directory_list`. |
43 | | - "exclude_analysis_directory_list" => [ |
| 50 | + 'exclude_analysis_directory_list' => [ |
44 | 51 | '3rdparty', |
45 | | - 'lib/composer', |
46 | 52 | 'apps/admin_audit/composer', |
47 | 53 | 'apps/admin_audit/tests', |
48 | 54 | 'apps/comments/composer', |
49 | 55 | 'apps/comments/tests', |
50 | 56 | 'apps/dav/composer', |
| 57 | + 'apps/dav/templates', |
51 | 58 | 'apps/dav/tests', |
52 | 59 | 'apps/encryption/composer', |
| 60 | + 'apps/encryption/templates/', |
53 | 61 | 'apps/encryption/tests', |
54 | 62 | 'apps/federatedfilesharing/composer', |
| 63 | + 'apps/federatedfilesharing/templates/', |
55 | 64 | 'apps/federatedfilesharing/tests', |
56 | 65 | 'apps/federation/composer', |
| 66 | + 'apps/federation/templates/', |
57 | 67 | 'apps/federation/tests', |
58 | 68 | 'apps/files/composer', |
| 69 | + 'apps/files/templates/', |
59 | 70 | 'apps/files/tests', |
60 | 71 | 'apps/files_external/3rdparty', |
61 | 72 | 'apps/files_external/composer', |
| 73 | + 'apps/files_external/templates/', |
62 | 74 | 'apps/files_external/tests', |
63 | 75 | 'apps/files_sharing/composer', |
| 76 | + 'apps/files_sharing/templates/', |
64 | 77 | 'apps/files_sharing/tests', |
65 | 78 | 'apps/files_trashbin/composer', |
| 79 | + 'apps/files_trashbin/templates/', |
66 | 80 | 'apps/files_trashbin/tests', |
67 | 81 | 'apps/files_versions/composer', |
68 | 82 | 'apps/files_versions/tests', |
69 | 83 | 'apps/lookup_server_connector/composer', |
70 | 84 | 'apps/lookup_server_connector/tests', |
71 | 85 | 'apps/oauth2/composer', |
| 86 | + 'apps/oauth2/templates/', |
72 | 87 | 'apps/oauth2/tests', |
73 | 88 | 'apps/provisioning_api/composer', |
74 | 89 | 'apps/provisioning_api/tests', |
75 | 90 | 'apps/sharebymail/composer', |
| 91 | + 'apps/sharebymail/templates/', |
76 | 92 | 'apps/sharebymail/tests', |
77 | 93 | 'apps/systemtags/composer', |
| 94 | + 'apps/systemtags/templates', |
78 | 95 | 'apps/systemtags/tests', |
79 | 96 | 'apps/testing/composer', |
80 | 97 | 'apps/testing/tests', |
81 | 98 | 'apps/theming/composer', |
| 99 | + 'apps/theming/templates/', |
82 | 100 | 'apps/theming/tests', |
83 | 101 | 'apps/twofactor_backupcodes/composer', |
| 102 | + 'apps/twofactor_backupcodes/templates/', |
84 | 103 | 'apps/twofactor_backupcodes/tests', |
85 | 104 | 'apps/updatenotification/composer', |
| 105 | + 'apps/updatenotification/templates/', |
86 | 106 | 'apps/updatenotification/tests', |
87 | 107 | 'apps/user_ldap/composer', |
| 108 | + 'apps/user_ldap/templates/', |
88 | 109 | 'apps/user_ldap/tests', |
89 | 110 | 'apps/workflowengine/composer', |
| 111 | + 'apps/workflowengine/templates/', |
90 | 112 | 'apps/workflowengine/tests', |
| 113 | + 'build/.phan/', |
| 114 | + 'core/templates', |
| 115 | + 'lib/composer', |
| 116 | + 'settings/templates', |
91 | 117 | ], |
92 | 118 |
|
| 119 | + // A file list that defines files that will be excluded |
| 120 | + // from parsing and analysis and will not be read at all. |
| 121 | + // |
| 122 | + // This is useful for excluding hopelessly unanalyzable |
| 123 | + // files that can't be removed for whatever reason. |
| 124 | + 'exclude_file_list' => [ |
| 125 | + 'apps/encryption/appinfo/routes.php', |
| 126 | + 'apps/federation/appinfo/routes.php', |
| 127 | + 'apps/files/appinfo/routes.php', |
| 128 | + 'apps/files_external/appinfo/routes.php', |
| 129 | + 'apps/files_trashbin/appinfo/routes.php', |
| 130 | + 'apps/files_versions/appinfo/routes.php', |
| 131 | + 'apps/testing/appinfo/routes.php', |
| 132 | + 'apps/user_ldap/appinfo/routes.php', |
| 133 | + 'settings/routes.php', |
| 134 | + 'settings/ajax/updateapp.php', |
| 135 | + 'settings/ajax/uninstallapp.php', |
| 136 | + 'settings/ajax/togglesubadmins.php', |
| 137 | + 'settings/ajax/setquota.php', |
| 138 | + 'settings/ajax/enableapp.php', |
| 139 | + 'settings/ajax/disableapp.php', |
| 140 | + 'core/register_command.php', |
| 141 | + 'ocs/routes.php', |
| 142 | + 'ocs/v1.php', |
| 143 | + 'core/routes.php', |
| 144 | + ], |
| 145 | + |
| 146 | + |
93 | 147 | // The number of processes to fork off during the analysis |
94 | 148 | // phase. |
95 | 149 | 'processes' => 10, |
|
0 commit comments