saasbook

date_calculator_bad.rb_cyclo.html

Aug 21st, 2012
227
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
HTML 1.60 KB | None | 0 0
  1. <html><head><title>Cyclometric Complexity</title></head>
  2. <style>
  3. body {
  4.     margin: 20px;
  5.     padding: 0;
  6.     font-size: 12px;
  7.     font-family: bitstream vera sans, verdana, arial, sans serif;
  8.     background-color: #efefef;
  9. }
  10.  
  11. table {
  12.     border-collapse: collapse;
  13.     /*border-spacing: 0;*/
  14.     border: 1px solid #666;
  15.     background-color: #fff;
  16.     margin-bottom: 20px;
  17. }
  18.  
  19. table, th, th+th, td, td+td  {
  20.     border: 1px solid #ccc;
  21. }
  22.  
  23. table th {
  24.     font-size: 12px;
  25.     color: #fc0;
  26.     padding: 4px 0;
  27.     background-color: #336;
  28. }
  29.  
  30. th, td {
  31.     padding: 4px 10px;
  32. }
  33.  
  34. td {   
  35.     font-size: 13px;
  36. }
  37.  
  38. .class_name {
  39.     font-size: 17px;
  40.     margin: 20px 0 0;
  41. }
  42.  
  43. .class_complexity {
  44. margin: 0 auto;
  45. }
  46.  
  47. .class_complexity>.class_complexity {
  48.     margin: 0;
  49. }
  50.  
  51. .class_total_complexity, .class_total_lines, .start_token_count, .file_count {
  52.     font-size: 13px;
  53.     font-weight: bold;
  54. }
  55.  
  56. .class_total_complexity, .class_total_lines {
  57.     color: #c00;
  58. }
  59.  
  60. .start_token_count, .file_count {
  61.     color: #333;
  62. }
  63.  
  64. .warning {
  65.     background-color: yellow;
  66. }
  67.  
  68. .error {
  69.     background-color: #f00;
  70. }
  71. </style>
  72. <body>
  73. <div class="class_complexity">
  74. <h2 class="class_name">Global : </h2>
  75. <div class="class_total_complexity">Total Complexity: 0</div>
  76. <div class="class_total_lines">Total Lines: 1</div>
  77. <table width="100%" border="1">
  78. <tr><th>Method</th><th>Complexity</th><th># Lines</th></tr>
  79. </table>
  80. </div>
  81. <div class="class_complexity">
  82. <h2 class="class_name">Class : TimeSetter</h2>
  83. <div class="class_total_complexity">Total Complexity: 4</div>
  84. <div class="class_total_lines">Total Lines: 17</div>
  85. <table width="100%" border="1">
  86. <tr><th>Method</th><th>Complexity</th><th># Lines</th></tr>
  87. </table>
  88. </div>
  89. </body>
  90. </html>
Advertisement
Add Comment
Please, Sign In to add comment