| @@ 75-86 (lines=12) @@ | ||
| 72 | </tr> |
|
| 73 | </thead> |
|
| 74 | <?php |
|
| 75 | foreach ($classes as $class) { ?> |
|
| 76 | <tr> |
|
| 77 | <td><span class="path"><?php echo $class['name']; ?></span></td> |
|
| 78 | <?php foreach (['lcom', 'volume', 'ccn', 'ccnMethodMax', 'bugs', 'difficulty'] as $attribute) {?> |
|
| 79 | <td> |
|
| 80 | <span class="badge" <?php echo gradientStyleFor($classes, $attribute, $class[$attribute]);?>);"> |
|
| 81 | <?php echo isset($class[$attribute]) ? $class[$attribute] : ''; ?> |
|
| 82 | </span> |
|
| 83 | </td> |
|
| 84 | <?php } ?> |
|
| 85 | </tr> |
|
| 86 | <?php } ?> |
|
| 87 | </table> |
|
| 88 | </div> |
|
| 89 | </div> |
|
| @@ 55-66 (lines=12) @@ | ||
| 52 | </tr> |
|
| 53 | </thead> |
|
| 54 | <?php |
|
| 55 | foreach ($classes as $class) { ?> |
|
| 56 | <tr> |
|
| 57 | <td><span class="path"><?php echo $class['name']; ?></span></td> |
|
| 58 | <?php foreach (['lloc', 'cloc', 'volume', 'intelligentContent', 'commentWeight'] as $attribute) {?> |
|
| 59 | <td> |
|
| 60 | <span class="badge" <?php echo gradientStyleFor($classes, $attribute, $class[$attribute]);?>);"> |
|
| 61 | <?php echo isset($class[$attribute]) ? $class[$attribute] : ''; ?> |
|
| 62 | </span> |
|
| 63 | </td> |
|
| 64 | <?php } ?> |
|
| 65 | </tr> |
|
| 66 | <?php } ?> |
|
| 67 | </table> |
|
| 68 | </div> |
|
| 69 | </div> |
|