Total Complexity | 4 |
Total Lines | 27 |
Duplicated Lines | 0 % |
Coverage | 100% |
Changes | 1 | ||
Bugs | 0 | Features | 0 |
1 | <?php |
||
13 | class script_without_async implements test_interface |
||
14 | { |
||
15 | /** |
||
16 | * {@inheritDoc} |
||
17 | * |
||
18 | * Synchronously loaded scripts test. |
||
19 | * This test looks for scripts that aren't using `async` attribute |
||
20 | * to load itself asynchronously. Such scripts slow down page rendering |
||
21 | * time and should be made asynchronous. |
||
22 | */ |
||
23 | 13 | public function run($ad_code) |
|
42 |