fastruby-metric_fu 5.0.0
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +7 -0
- data/.gitignore +28 -0
- data/.metrics +3 -0
- data/.rspec +2 -0
- data/.rubocop.yml +15 -0
- data/.rubocop_todo.yml +69 -0
- data/.simplecov +74 -0
- data/.travis.yml +18 -0
- data/.yardopts +4 -0
- data/AUTHORS +12 -0
- data/CONTRIBUTING.md +47 -0
- data/CONTRIBUTORS +76 -0
- data/DEV.md +76 -0
- data/Gemfile +58 -0
- data/Guardfile +30 -0
- data/HISTORY.md +705 -0
- data/MIT-LICENSE +22 -0
- data/README.md +299 -0
- data/Rakefile +27 -0
- data/TODO.md +118 -0
- data/appveyor.yml +29 -0
- data/bin/metric_fu +9 -0
- data/bin/mf-cane +10 -0
- data/bin/mf-churn +10 -0
- data/bin/mf-flay +10 -0
- data/bin/mf-reek +10 -0
- data/bin/mf-roodi +10 -0
- data/bin/mf-saikuro +10 -0
- data/certs/bf4.pem +22 -0
- data/checksum/.gitkeep +0 -0
- data/checksum/metric_fu-4.10.0.gem.sha512 +1 -0
- data/checksum/metric_fu-4.11.0.gem.sha512 +1 -0
- data/checksum/metric_fu-4.11.1.gem.sha512 +1 -0
- data/checksum/metric_fu-4.11.2.gem.sha512 +1 -0
- data/checksum/metric_fu-4.11.3.gem.sha512 +1 -0
- data/checksum/metric_fu-4.11.4.gem.sha512 +1 -0
- data/checksum/metric_fu-4.12.0.gem.sha512 +1 -0
- data/checksum/metric_fu-4.2.0.gem.sha512 +1 -0
- data/checksum/metric_fu-4.2.1.gem.sha512 +1 -0
- data/checksum/metric_fu-4.3.0.gem.sha512 +1 -0
- data/checksum/metric_fu-4.3.1.gem.sha512 +1 -0
- data/checksum/metric_fu-4.4.0.gem.sha512 +1 -0
- data/checksum/metric_fu-4.4.1.gem.sha512 +1 -0
- data/checksum/metric_fu-4.4.2.gem.sha512 +1 -0
- data/checksum/metric_fu-4.4.3.gem.sha512 +1 -0
- data/checksum/metric_fu-4.4.4.gem.sha512 +1 -0
- data/checksum/metric_fu-4.5.0.gem.sha512 +1 -0
- data/checksum/metric_fu-4.5.1.gem.sha512 +1 -0
- data/checksum/metric_fu-4.5.2.gem.sha512 +1 -0
- data/checksum/metric_fu-4.6.0.gem.sha512 +1 -0
- data/checksum/metric_fu-4.7.0.gem.sha512 +1 -0
- data/checksum/metric_fu-4.7.1.gem.sha512 +1 -0
- data/checksum/metric_fu-4.7.2.gem.sha512 +1 -0
- data/checksum/metric_fu-4.7.3.gem.sha512 +1 -0
- data/checksum/metric_fu-4.7.4.gem.sha512 +1 -0
- data/checksum/metric_fu-4.8.0.gem.sha512 +1 -0
- data/checksum/metric_fu-4.9.0.gem.sha512 +1 -0
- data/config/roodi_config.yml +22 -0
- data/config/rubocop.yml +269 -0
- data/gem_tasks/build.rake +197 -0
- data/gem_tasks/rubocop.rake +10 -0
- data/gem_tasks/usage_test.rake +19 -0
- data/gem_tasks/yard.rake +24 -0
- data/lib/metric_fu.rb +151 -0
- data/lib/metric_fu/calculate.rb +10 -0
- data/lib/metric_fu/cli/client.rb +26 -0
- data/lib/metric_fu/cli/helper.rb +80 -0
- data/lib/metric_fu/cli/parser.rb +138 -0
- data/lib/metric_fu/configuration.rb +150 -0
- data/lib/metric_fu/constantize.rb +57 -0
- data/lib/metric_fu/data_structures/line_numbers.rb +112 -0
- data/lib/metric_fu/data_structures/location.rb +110 -0
- data/lib/metric_fu/data_structures/sexp_node.rb +107 -0
- data/lib/metric_fu/environment.rb +129 -0
- data/lib/metric_fu/errors/analysis_error.rb +4 -0
- data/lib/metric_fu/formatter.rb +40 -0
- data/lib/metric_fu/formatter/html.rb +96 -0
- data/lib/metric_fu/formatter/syntax.rb +45 -0
- data/lib/metric_fu/formatter/yaml.rb +18 -0
- data/lib/metric_fu/gem_run.rb +70 -0
- data/lib/metric_fu/gem_version.rb +92 -0
- data/lib/metric_fu/generator.rb +135 -0
- data/lib/metric_fu/io.rb +132 -0
- data/lib/metric_fu/loader.rb +105 -0
- data/lib/metric_fu/logger.rb +62 -0
- data/lib/metric_fu/logging/mf_debugger.rb +23 -0
- data/lib/metric_fu/metric.rb +143 -0
- data/lib/metric_fu/metrics/cane/generator.rb +95 -0
- data/lib/metric_fu/metrics/cane/grapher.rb +37 -0
- data/lib/metric_fu/metrics/cane/metric.rb +34 -0
- data/lib/metric_fu/metrics/cane/report.html.erb +87 -0
- data/lib/metric_fu/metrics/cane/violations.rb +46 -0
- data/lib/metric_fu/metrics/churn/generator.rb +37 -0
- data/lib/metric_fu/metrics/churn/hotspot.rb +43 -0
- data/lib/metric_fu/metrics/churn/metric.rb +29 -0
- data/lib/metric_fu/metrics/churn/report.html.erb +58 -0
- data/lib/metric_fu/metrics/flay/generator.rb +51 -0
- data/lib/metric_fu/metrics/flay/grapher.rb +37 -0
- data/lib/metric_fu/metrics/flay/hotspot.rb +52 -0
- data/lib/metric_fu/metrics/flay/metric.rb +28 -0
- data/lib/metric_fu/metrics/flay/report.html.erb +29 -0
- data/lib/metric_fu/metrics/flog/generator.rb +113 -0
- data/lib/metric_fu/metrics/flog/grapher.rb +77 -0
- data/lib/metric_fu/metrics/flog/hotspot.rb +46 -0
- data/lib/metric_fu/metrics/flog/metric.rb +29 -0
- data/lib/metric_fu/metrics/flog/report.html.erb +50 -0
- data/lib/metric_fu/metrics/hotspots/analysis/analyzed_problems.rb +34 -0
- data/lib/metric_fu/metrics/hotspots/analysis/analyzer_tables.rb +114 -0
- data/lib/metric_fu/metrics/hotspots/analysis/grouping.rb +23 -0
- data/lib/metric_fu/metrics/hotspots/analysis/groupings.rb +12 -0
- data/lib/metric_fu/metrics/hotspots/analysis/problems.rb +20 -0
- data/lib/metric_fu/metrics/hotspots/analysis/ranked_problem_location.rb +70 -0
- data/lib/metric_fu/metrics/hotspots/analysis/ranking.rb +29 -0
- data/lib/metric_fu/metrics/hotspots/analysis/rankings.rb +91 -0
- data/lib/metric_fu/metrics/hotspots/analysis/record.rb +32 -0
- data/lib/metric_fu/metrics/hotspots/analysis/scoring_strategies.rb +24 -0
- data/lib/metric_fu/metrics/hotspots/analysis/table.rb +67 -0
- data/lib/metric_fu/metrics/hotspots/generator.rb +40 -0
- data/lib/metric_fu/metrics/hotspots/hotspot.rb +87 -0
- data/lib/metric_fu/metrics/hotspots/hotspot_analyzer.rb +61 -0
- data/lib/metric_fu/metrics/hotspots/metric.rb +20 -0
- data/lib/metric_fu/metrics/hotspots/report.html.erb +60 -0
- data/lib/metric_fu/metrics/rails_best_practices/generator.rb +47 -0
- data/lib/metric_fu/metrics/rails_best_practices/grapher.rb +38 -0
- data/lib/metric_fu/metrics/rails_best_practices/metric.rb +31 -0
- data/lib/metric_fu/metrics/rails_best_practices/report.html.erb +22 -0
- data/lib/metric_fu/metrics/rcov/external_client.rb +22 -0
- data/lib/metric_fu/metrics/rcov/generator.rb +75 -0
- data/lib/metric_fu/metrics/rcov/grapher.rb +37 -0
- data/lib/metric_fu/metrics/rcov/hotspot.rb +46 -0
- data/lib/metric_fu/metrics/rcov/metric.rb +61 -0
- data/lib/metric_fu/metrics/rcov/rcov_format_coverage.rb +149 -0
- data/lib/metric_fu/metrics/rcov/rcov_line.rb +48 -0
- data/lib/metric_fu/metrics/rcov/report.html.erb +40 -0
- data/lib/metric_fu/metrics/rcov/simplecov_formatter.rb +74 -0
- data/lib/metric_fu/metrics/reek/generator.rb +94 -0
- data/lib/metric_fu/metrics/reek/grapher.rb +55 -0
- data/lib/metric_fu/metrics/reek/hotspot.rb +95 -0
- data/lib/metric_fu/metrics/reek/metric.rb +26 -0
- data/lib/metric_fu/metrics/reek/report.html.erb +35 -0
- data/lib/metric_fu/metrics/roodi/generator.rb +40 -0
- data/lib/metric_fu/metrics/roodi/grapher.rb +37 -0
- data/lib/metric_fu/metrics/roodi/hotspot.rb +39 -0
- data/lib/metric_fu/metrics/roodi/metric.rb +24 -0
- data/lib/metric_fu/metrics/roodi/report.html.erb +22 -0
- data/lib/metric_fu/metrics/saikuro/generator.rb +145 -0
- data/lib/metric_fu/metrics/saikuro/hotspot.rb +51 -0
- data/lib/metric_fu/metrics/saikuro/metric.rb +31 -0
- data/lib/metric_fu/metrics/saikuro/parsing_element.rb +37 -0
- data/lib/metric_fu/metrics/saikuro/report.html.erb +71 -0
- data/lib/metric_fu/metrics/saikuro/scratch_file.rb +108 -0
- data/lib/metric_fu/metrics/stats/generator.rb +82 -0
- data/lib/metric_fu/metrics/stats/grapher.rb +40 -0
- data/lib/metric_fu/metrics/stats/hotspot.rb +35 -0
- data/lib/metric_fu/metrics/stats/metric.rb +28 -0
- data/lib/metric_fu/metrics/stats/report.html.erb +44 -0
- data/lib/metric_fu/reporter.rb +37 -0
- data/lib/metric_fu/reporting/graphs/graph.rb +69 -0
- data/lib/metric_fu/reporting/graphs/grapher.rb +66 -0
- data/lib/metric_fu/reporting/result.rb +59 -0
- data/lib/metric_fu/run.rb +82 -0
- data/lib/metric_fu/tasks/metric_fu.rake +54 -0
- data/lib/metric_fu/templates/_graph.html.erb +2 -0
- data/lib/metric_fu/templates/_report_footer.html.erb +1 -0
- data/lib/metric_fu/templates/configuration.rb +25 -0
- data/lib/metric_fu/templates/css/bluff.css +15 -0
- data/lib/metric_fu/templates/css/buttons.css +82 -0
- data/lib/metric_fu/templates/css/default.css +43 -0
- data/lib/metric_fu/templates/css/integrity.css +337 -0
- data/lib/metric_fu/templates/css/rcov.css +32 -0
- data/lib/metric_fu/templates/css/reset.css +7 -0
- data/lib/metric_fu/templates/css/syntax.css +19 -0
- data/lib/metric_fu/templates/index.html.erb +10 -0
- data/lib/metric_fu/templates/javascripts/bluff-min.js +1 -0
- data/lib/metric_fu/templates/javascripts/bluff_graph.js +15 -0
- data/lib/metric_fu/templates/javascripts/excanvas.js +35 -0
- data/lib/metric_fu/templates/javascripts/highcharts.js +294 -0
- data/lib/metric_fu/templates/javascripts/highcharts_graph.js +38 -0
- data/lib/metric_fu/templates/javascripts/js-class.js +1 -0
- data/lib/metric_fu/templates/javascripts/standalone-framework.js +17 -0
- data/lib/metric_fu/templates/javascripts/utils.js +9 -0
- data/lib/metric_fu/templates/layout.html.erb +37 -0
- data/lib/metric_fu/templates/metrics_template.rb +80 -0
- data/lib/metric_fu/templates/report.html.erb +31 -0
- data/lib/metric_fu/templates/report.rb +41 -0
- data/lib/metric_fu/templates/template.rb +244 -0
- data/lib/metric_fu/utility.rb +79 -0
- data/lib/metric_fu/version.rb +9 -0
- data/metric_fu.gemspec +71 -0
- data/spec/capture_warnings.rb +55 -0
- data/spec/cli/helper_spec.rb +165 -0
- data/spec/dummy/.gitignore +1 -0
- data/spec/dummy/.gitkeep +0 -0
- data/spec/dummy/lib/.gitkeep +0 -0
- data/spec/dummy/lib/bad_encoding.rb +6 -0
- data/spec/dummy/spec/.gitkeep +0 -0
- data/spec/fixtures/20090630.yml +7922 -0
- data/spec/fixtures/coverage-153.rb +11 -0
- data/spec/fixtures/coverage.rb +13 -0
- data/spec/fixtures/exit0.sh +3 -0
- data/spec/fixtures/exit1.sh +3 -0
- data/spec/fixtures/hotspots/flog.yml +86 -0
- data/spec/fixtures/hotspots/generator.yml +47 -0
- data/spec/fixtures/hotspots/generator_analysis.yml +53 -0
- data/spec/fixtures/hotspots/reek.yml +14 -0
- data/spec/fixtures/hotspots/roodi.yml +13 -0
- data/spec/fixtures/hotspots/saikuro.yml +27 -0
- data/spec/fixtures/hotspots/several_metrics.yml +47 -0
- data/spec/fixtures/hotspots/stats.yml +4 -0
- data/spec/fixtures/hotspots/three_metrics_on_same_file.yml +36 -0
- data/spec/fixtures/line_numbers/foo.rb +33 -0
- data/spec/fixtures/line_numbers/module.rb +11 -0
- data/spec/fixtures/line_numbers/module_surrounds_class.rb +15 -0
- data/spec/fixtures/line_numbers/two_classes.rb +11 -0
- data/spec/fixtures/metric_missing.yml +1 -0
- data/spec/fixtures/rcov_output.txt +135 -0
- data/spec/fixtures/saikuro/app/controllers/sessions_controller.rb_cyclo.html +10 -0
- data/spec/fixtures/saikuro/app/controllers/users_controller.rb_cyclo.html +16 -0
- data/spec/fixtures/saikuro/index_cyclo.html +155 -0
- data/spec/fixtures/saikuro_sfiles/thing.rb_cyclo.html +11 -0
- data/spec/metric_fu/calculate_spec.rb +21 -0
- data/spec/metric_fu/configuration_spec.rb +90 -0
- data/spec/metric_fu/data_structures/line_numbers_spec.rb +63 -0
- data/spec/metric_fu/data_structures/location_spec.rb +110 -0
- data/spec/metric_fu/formatter/configuration_spec.rb +44 -0
- data/spec/metric_fu/formatter/html_spec.rb +138 -0
- data/spec/metric_fu/formatter/yaml_spec.rb +61 -0
- data/spec/metric_fu/formatter_spec.rb +49 -0
- data/spec/metric_fu/gem_version_spec.rb +12 -0
- data/spec/metric_fu/generator_spec.rb +130 -0
- data/spec/metric_fu/loader_spec.rb +13 -0
- data/spec/metric_fu/metric_spec.rb +46 -0
- data/spec/metric_fu/metrics/cane/configuration_spec.rb +22 -0
- data/spec/metric_fu/metrics/cane/generator_spec.rb +184 -0
- data/spec/metric_fu/metrics/churn/configuration_spec.rb +13 -0
- data/spec/metric_fu/metrics/churn/generator_spec.rb +64 -0
- data/spec/metric_fu/metrics/flay/configuration_spec.rb +13 -0
- data/spec/metric_fu/metrics/flay/generator_spec.rb +105 -0
- data/spec/metric_fu/metrics/flay/grapher_spec.rb +57 -0
- data/spec/metric_fu/metrics/flog/configuration_spec.rb +18 -0
- data/spec/metric_fu/metrics/flog/generator_spec.rb +77 -0
- data/spec/metric_fu/metrics/flog/grapher_spec.rb +107 -0
- data/spec/metric_fu/metrics/hotspots/analysis/analyzed_problems_spec.rb +104 -0
- data/spec/metric_fu/metrics/hotspots/analysis/analyzer_tables_spec.rb +71 -0
- data/spec/metric_fu/metrics/hotspots/analysis/ranking_spec.rb +30 -0
- data/spec/metric_fu/metrics/hotspots/analysis/rankings_spec.rb +97 -0
- data/spec/metric_fu/metrics/hotspots/analysis/table_spec.rb +6 -0
- data/spec/metric_fu/metrics/hotspots/generator_spec.rb +46 -0
- data/spec/metric_fu/metrics/hotspots/hotspot_analyzer_spec.rb +10 -0
- data/spec/metric_fu/metrics/hotspots/hotspot_spec.rb +16 -0
- data/spec/metric_fu/metrics/rails_best_practices/configuration_spec.rb +55 -0
- data/spec/metric_fu/metrics/rails_best_practices/generator_spec.rb +33 -0
- data/spec/metric_fu/metrics/rails_best_practices/grapher_spec.rb +62 -0
- data/spec/metric_fu/metrics/rcov/configuration_spec.rb +28 -0
- data/spec/metric_fu/metrics/rcov/generator_spec.rb +22 -0
- data/spec/metric_fu/metrics/rcov/grapher_spec.rb +57 -0
- data/spec/metric_fu/metrics/rcov/hotspot_spec.rb +20 -0
- data/spec/metric_fu/metrics/rcov/rcov_line_spec.rb +89 -0
- data/spec/metric_fu/metrics/rcov/simplecov_formatter_spec.rb +67 -0
- data/spec/metric_fu/metrics/reek/configuration_spec.rb +13 -0
- data/spec/metric_fu/metrics/reek/generator_spec.rb +203 -0
- data/spec/metric_fu/metrics/reek/grapher_spec.rb +66 -0
- data/spec/metric_fu/metrics/roodi/configuration_spec.rb +14 -0
- data/spec/metric_fu/metrics/roodi/generator_spec.rb +82 -0
- data/spec/metric_fu/metrics/roodi/grapher_spec.rb +57 -0
- data/spec/metric_fu/metrics/saikuro/configuration_spec.rb +25 -0
- data/spec/metric_fu/metrics/saikuro/generator_spec.rb +71 -0
- data/spec/metric_fu/metrics/stats/generator_spec.rb +96 -0
- data/spec/metric_fu/metrics/stats/grapher_spec.rb +69 -0
- data/spec/metric_fu/reporter_spec.rb +41 -0
- data/spec/metric_fu/reporting/graphs/graph_spec.rb +44 -0
- data/spec/metric_fu/reporting/graphs/grapher_spec.rb +24 -0
- data/spec/metric_fu/reporting/result_spec.rb +50 -0
- data/spec/metric_fu/run_spec.rb +197 -0
- data/spec/metric_fu/templates/configuration_spec.rb +51 -0
- data/spec/metric_fu/templates/metrics_template_spec.rb +11 -0
- data/spec/metric_fu/templates/report_spec.rb +15 -0
- data/spec/metric_fu/templates/template_spec.rb +233 -0
- data/spec/metric_fu/utility_spec.rb +12 -0
- data/spec/metric_fu_spec.rb +52 -0
- data/spec/quality_spec.rb +114 -0
- data/spec/shared/configured.rb +45 -0
- data/spec/shared/test_coverage.rb +95 -0
- data/spec/spec_helper.rb +46 -0
- data/spec/support/.metrics +4 -0
- data/spec/support/deferred_garbaged_collection.rb +33 -0
- data/spec/support/helper_methods.rb +32 -0
- data/spec/support/matcher_create_file.rb +37 -0
- data/spec/support/matcher_create_files.rb +43 -0
- data/spec/support/samples/reek/alfa.rb +1 -0
- data/spec/support/suite.rb +26 -0
- data/spec/support/test_fixtures.rb +37 -0
- data/spec/support/timeout.rb +7 -0
- data/spec/support/usage_test.rb +150 -0
- data/spec/usage_test_spec.rb +93 -0
- metadata +735 -0
@@ -0,0 +1 @@
|
|
1
|
+
<p>Generated on <%= MetricFu.current_time %></p>
|
@@ -0,0 +1,25 @@
|
|
1
|
+
MetricFu.lib_require { "templates/metrics_template" }
|
2
|
+
module MetricFu::Templates
|
3
|
+
class Configuration
|
4
|
+
FILE_PREFIX = "file:/"
|
5
|
+
|
6
|
+
def initialize
|
7
|
+
@options = {}
|
8
|
+
@options[:template_class] = MetricFu::Templates::MetricsTemplate
|
9
|
+
@options[:darwin_txmt_protocol_no_thanks] = true
|
10
|
+
# turning off syntax_highlighting may avoid some UTF-8 issues
|
11
|
+
@options[:syntax_highlighting] = true
|
12
|
+
@options[:link_prefix] = FILE_PREFIX
|
13
|
+
end
|
14
|
+
|
15
|
+
[:template_class, :link_prefix, :syntax_highlighting, :darwin_txmt_protocol_no_thanks].each do |option|
|
16
|
+
define_method("#{option}=") do |arg|
|
17
|
+
@options[option] = arg
|
18
|
+
end
|
19
|
+
end
|
20
|
+
|
21
|
+
def option(name)
|
22
|
+
@options.fetch(name.to_sym) { raise "No such template option: #{name}" }
|
23
|
+
end
|
24
|
+
end
|
25
|
+
end
|
@@ -0,0 +1,15 @@
|
|
1
|
+
.bluff-tooltip {
|
2
|
+
background: #fff;
|
3
|
+
border: 1px solid #d1edf5;
|
4
|
+
padding: 8px 8px 6px;
|
5
|
+
}
|
6
|
+
.bluff-tooltip .color {
|
7
|
+
display: block;
|
8
|
+
height: 4px;
|
9
|
+
width: 30px;
|
10
|
+
margin: 0 0 4px;
|
11
|
+
overflow: hidden;
|
12
|
+
}
|
13
|
+
.bluff-tooltip .data {
|
14
|
+
font-weight: bold;
|
15
|
+
}
|
@@ -0,0 +1,82 @@
|
|
1
|
+
/* --------------------------------------------------------------
|
2
|
+
|
3
|
+
buttons.css
|
4
|
+
* Gives you some great CSS-only buttons.
|
5
|
+
|
6
|
+
Created by Kevin Hale [particletree.com]
|
7
|
+
* particletree.com/features/rediscovering-the-button-element
|
8
|
+
|
9
|
+
See Readme.txt in this folder for instructions.
|
10
|
+
|
11
|
+
-------------------------------------------------------------- */
|
12
|
+
|
13
|
+
button {
|
14
|
+
display:block;
|
15
|
+
float:left;
|
16
|
+
margin:0 0.583em 0.667em 0;
|
17
|
+
padding:5px 10px 5px 7px; /* Links */
|
18
|
+
|
19
|
+
border:1px solid #dedede;
|
20
|
+
border-top:1px solid #eee;
|
21
|
+
border-left:1px solid #eee;
|
22
|
+
|
23
|
+
background-color:#f5f5f5;
|
24
|
+
font-family:"Lucida Grande", Tahoma, Arial, Verdana, sans-serif;
|
25
|
+
font-size:100%;
|
26
|
+
line-height:130%;
|
27
|
+
text-decoration:none;
|
28
|
+
font-weight:bold;
|
29
|
+
color:#565656;
|
30
|
+
cursor:pointer;
|
31
|
+
}
|
32
|
+
button {
|
33
|
+
width:auto;
|
34
|
+
overflow:visible;
|
35
|
+
padding:4px 10px 3px 7px; /* IE6 */
|
36
|
+
}
|
37
|
+
button[type] {
|
38
|
+
padding:4px 10px 4px 7px; /* Firefox */
|
39
|
+
line-height:17px; /* Safari */
|
40
|
+
}
|
41
|
+
*:first-child+html button[type] {
|
42
|
+
padding:4px 10px 3px 7px; /* IE7 */
|
43
|
+
}
|
44
|
+
button img {
|
45
|
+
margin:0 3px -3px 0 !important;
|
46
|
+
padding:0;
|
47
|
+
border:none;
|
48
|
+
width:16px;
|
49
|
+
height:16px;
|
50
|
+
float:none;
|
51
|
+
}
|
52
|
+
|
53
|
+
|
54
|
+
/* Button colors
|
55
|
+
-------------------------------------------------------------- */
|
56
|
+
|
57
|
+
/* Standard */
|
58
|
+
button:hover {
|
59
|
+
background-color:#dff4ff;
|
60
|
+
border:1px solid #c2e1ef;
|
61
|
+
color:#336699;
|
62
|
+
}
|
63
|
+
|
64
|
+
/* Positive */
|
65
|
+
body .positive {
|
66
|
+
color:#529214;
|
67
|
+
}
|
68
|
+
button.positive:hover {
|
69
|
+
background-color:#E6EFC2;
|
70
|
+
border:1px solid #C6D880;
|
71
|
+
color:#529214;
|
72
|
+
}
|
73
|
+
|
74
|
+
/* Negative */
|
75
|
+
body .negative {
|
76
|
+
color:#d12f19;
|
77
|
+
}
|
78
|
+
button.negative:hover {
|
79
|
+
background:#fbe3e4;
|
80
|
+
border:1px solid #fbc2c4;
|
81
|
+
color:#d12f19;
|
82
|
+
}
|
@@ -0,0 +1,43 @@
|
|
1
|
+
table {
|
2
|
+
margin-top: 20px;
|
3
|
+
border-collapse: collapse;
|
4
|
+
border: 1px solid #666;
|
5
|
+
background: #fff;
|
6
|
+
margin-bottom: 20px;
|
7
|
+
}
|
8
|
+
|
9
|
+
table tr.light {
|
10
|
+
background: #fff;
|
11
|
+
}
|
12
|
+
|
13
|
+
table tr.dark {
|
14
|
+
background: #f9f9f9;
|
15
|
+
}
|
16
|
+
|
17
|
+
table tr:hover {
|
18
|
+
background: #FFFFC0;
|
19
|
+
}
|
20
|
+
|
21
|
+
table td, table th {
|
22
|
+
padding: 4px;
|
23
|
+
font-size: 11px;
|
24
|
+
}
|
25
|
+
table th {
|
26
|
+
text-align: center;
|
27
|
+
color: #337022;
|
28
|
+
background: #DDFFCC;
|
29
|
+
font-weight: bold;
|
30
|
+
border: #99D688 1px solid;
|
31
|
+
}
|
32
|
+
|
33
|
+
table td {
|
34
|
+
border: #d0d0d0 1px solid;
|
35
|
+
}
|
36
|
+
|
37
|
+
table td.score {
|
38
|
+
text-align: right;
|
39
|
+
}
|
40
|
+
|
41
|
+
.warning {
|
42
|
+
background: yellow;
|
43
|
+
}
|
@@ -0,0 +1,337 @@
|
|
1
|
+
html {
|
2
|
+
background-color: #e0e0e0; }
|
3
|
+
|
4
|
+
body {
|
5
|
+
font-size: 100%;
|
6
|
+
font-family: Helvetica Neue, Helvetica, Arial, sans-serif;
|
7
|
+
color: #333333; }
|
8
|
+
|
9
|
+
a {
|
10
|
+
color: #ed1556;
|
11
|
+
text-decoration: none; }
|
12
|
+
a:hover {
|
13
|
+
color: #ffffff;
|
14
|
+
background-color: #ed1556; }
|
15
|
+
|
16
|
+
#header, #content, #footer {
|
17
|
+
margin: 0 auto;
|
18
|
+
background: #eeeeee;
|
19
|
+
padding: 0 2em;
|
20
|
+
z-index: 0;
|
21
|
+
position: relative;
|
22
|
+
font-size: 1em; }
|
23
|
+
|
24
|
+
#header {
|
25
|
+
background: #ffffff; }
|
26
|
+
#header h1 {
|
27
|
+
font-weight: bold;
|
28
|
+
font-size: 1.5em; }
|
29
|
+
#header address.watermark {
|
30
|
+
position: absolute;
|
31
|
+
font-weight: bold;
|
32
|
+
right: 3em;
|
33
|
+
top: 0;
|
34
|
+
font-size: .75em;
|
35
|
+
color: #cccccc; }
|
36
|
+
#header address.watermark a {
|
37
|
+
color: #cccccc;
|
38
|
+
font-weight: bold;
|
39
|
+
font-size: 2em; }
|
40
|
+
#header address.watermark a:hover {
|
41
|
+
background: transparent;
|
42
|
+
color: #aaaaaa; }
|
43
|
+
|
44
|
+
#content {
|
45
|
+
padding-top: 1em;
|
46
|
+
padding-bottom: 2em; }
|
47
|
+
#content strong {
|
48
|
+
font-weight: bold; }
|
49
|
+
#content em {
|
50
|
+
font-style: italic; }
|
51
|
+
#content h1, #content h2, #content h3, #content h4, #content h5, #content h6 {
|
52
|
+
color: #4e4e4e; }
|
53
|
+
#content h1 {
|
54
|
+
font-size: 2em;
|
55
|
+
font-weight: bold;
|
56
|
+
margin-bottom: .75em;
|
57
|
+
padding: .25em 0;
|
58
|
+
line-height: 1.2;
|
59
|
+
border-bottom: 1px solid #c0c0c0; }
|
60
|
+
#content h2 {
|
61
|
+
font-weight: bold;
|
62
|
+
font-size: 1.5em;
|
63
|
+
margin: 1em 0 .2em; }
|
64
|
+
#content h3 {
|
65
|
+
font-weight: bold;
|
66
|
+
font-size: 1.25em;
|
67
|
+
margin: .25em 0; }
|
68
|
+
#content h4, #content h5, #content h6 {
|
69
|
+
font-weight: bold;
|
70
|
+
margin-top: .5em; }
|
71
|
+
#content code, #content pre, #content textarea, #content input {
|
72
|
+
font-family: Monaco, Deja Vu Sans Mono, Inconsolata, Consolas, monospace; }
|
73
|
+
#content form p {
|
74
|
+
margin-top: 1em;
|
75
|
+
position: relative; }
|
76
|
+
#content form p.checkbox label {
|
77
|
+
margin-top: 0 !important; }
|
78
|
+
#content form input.text, #content form textarea {
|
79
|
+
width: 30em;
|
80
|
+
padding: .2em .4em;
|
81
|
+
color: #4e4e4e; }
|
82
|
+
#content form input.text {
|
83
|
+
height: 1.4em; }
|
84
|
+
#content form label {
|
85
|
+
float: left;
|
86
|
+
display: block;
|
87
|
+
margin-top: .5em;
|
88
|
+
width: 8em;
|
89
|
+
margin-right: .75em; }
|
90
|
+
#content form .with_errors label {
|
91
|
+
background: red;
|
92
|
+
color: white;
|
93
|
+
position: relative;
|
94
|
+
top: -.7em; }
|
95
|
+
#content form .with_errors.required label {
|
96
|
+
position: static;
|
97
|
+
margin-right: .25em;
|
98
|
+
padding: 0 .2em; }
|
99
|
+
#content form .with_errors input, #content form .with_errors textarea {
|
100
|
+
border: 2px solid #f22;
|
101
|
+
background: #fee;
|
102
|
+
color: #222222; }
|
103
|
+
#content form .required label {
|
104
|
+
float: none;
|
105
|
+
display: block;
|
106
|
+
width: auto;
|
107
|
+
position: relative;
|
108
|
+
font-weight: bold;
|
109
|
+
margin-top: 1em;
|
110
|
+
text-indent: -.65em; }
|
111
|
+
#content form .required label:before {
|
112
|
+
content: "* ";
|
113
|
+
color: #ed1556; }
|
114
|
+
#content form .required input.text {
|
115
|
+
width: 25.6em;
|
116
|
+
font-size: 24px;
|
117
|
+
font-weight: bold; }
|
118
|
+
#content form .normal {
|
119
|
+
margin-top: 2em; }
|
120
|
+
#content form h2.notifier label {
|
121
|
+
float: none;
|
122
|
+
width: auto;
|
123
|
+
margin-right: 0; }
|
124
|
+
#content form h2.notifier label .warning {
|
125
|
+
font-size: .5em;
|
126
|
+
font-weight: normal;
|
127
|
+
color: #999999; }
|
128
|
+
#content form fieldset {
|
129
|
+
padding-bottom: 1em;
|
130
|
+
margin-left: 1.35em;
|
131
|
+
border-bottom: 1px solid #c0c0c0;
|
132
|
+
margin-bottom: 1em; }
|
133
|
+
#content form fieldset h3 {
|
134
|
+
margin-top: 1em;
|
135
|
+
margin-bottom: 0; }
|
136
|
+
#content form fieldset p.normal {
|
137
|
+
margin-top: 1em; }
|
138
|
+
#content form fieldset p label {
|
139
|
+
width: 6.7em; }
|
140
|
+
#content form p.submit {
|
141
|
+
margin-top: 2em; }
|
142
|
+
#content form p.submit:after {
|
143
|
+
display: block;
|
144
|
+
clear: both;
|
145
|
+
float: none;
|
146
|
+
content: ".";
|
147
|
+
text-indent: -9999em;
|
148
|
+
text-align: left; }
|
149
|
+
#content form p.submit.destroy button, #content form p.submit.manual-build button {
|
150
|
+
float: none;
|
151
|
+
display: inline; }
|
152
|
+
#content form p.submit.manual-build button {
|
153
|
+
margin-right: 0; }
|
154
|
+
#content #build form, #content #last_build form {
|
155
|
+
font-size: .75em; }
|
156
|
+
#content #build form p.submit, #content #last_build form p.submit {
|
157
|
+
margin: 0;
|
158
|
+
padding: 0;
|
159
|
+
position: absolute;
|
160
|
+
right: .5em;
|
161
|
+
top: 1.25em; }
|
162
|
+
#content .blank_slate p, #content .error p {
|
163
|
+
position: relative;
|
164
|
+
top: .3em; }
|
165
|
+
#content .blank_slate h1, #content .error h1 {
|
166
|
+
border-width: 0;
|
167
|
+
margin: 0;
|
168
|
+
padding: 0; }
|
169
|
+
#content .blank_slate h1 button, #content .error h1 button {
|
170
|
+
float: none;
|
171
|
+
border: 0 none;
|
172
|
+
background: transparent;
|
173
|
+
display: inline;
|
174
|
+
color: #ed1556;
|
175
|
+
padding: 0.25em 0;
|
176
|
+
margin: 0; }
|
177
|
+
#content .blank_slate h1 button:hover, #content .error h1 button:hover {
|
178
|
+
background: #ed1556;
|
179
|
+
color: #ffffff; }
|
180
|
+
#content .error dt {
|
181
|
+
margin-top: 1.4em;
|
182
|
+
margin-bottom: .3em;
|
183
|
+
font-size: 1.75em;
|
184
|
+
font-family: Georgia, Times New Roman, serif; }
|
185
|
+
#content .error dd {
|
186
|
+
line-height: 1.4; }
|
187
|
+
#content .error .backtrace {
|
188
|
+
margin: 1em 0;
|
189
|
+
overflow: scroll;
|
190
|
+
height: 30em;
|
191
|
+
border: 1px solid #c0c0c0;
|
192
|
+
line-height: 1.6; }
|
193
|
+
#content #projects {
|
194
|
+
margin: 1em 0 2em;
|
195
|
+
border-top: 1px solid #c0c0c0; }
|
196
|
+
#content #projects li {
|
197
|
+
position: relative;
|
198
|
+
border-bottom: 1px solid #c0c0c0; }
|
199
|
+
#content #projects li.odd {
|
200
|
+
background: #e6e6e6; }
|
201
|
+
#content #projects li.building {
|
202
|
+
background: transparent url(/spinner.gif) no-repeat scroll right; }
|
203
|
+
#content #projects li a {
|
204
|
+
font-size: 2em;
|
205
|
+
padding: .25em;
|
206
|
+
line-height: 1.2;
|
207
|
+
font-weight: bold;
|
208
|
+
display: block; }
|
209
|
+
#content #projects li a.success {
|
210
|
+
color: #337022; }
|
211
|
+
#content #projects li a.failed {
|
212
|
+
color: #ff1100; }
|
213
|
+
#content #projects li .meta {
|
214
|
+
position: absolute;
|
215
|
+
right: .6em;
|
216
|
+
top: 1.5em;
|
217
|
+
font-size: 0.8em;
|
218
|
+
color: #999999;
|
219
|
+
text-align: right; }
|
220
|
+
#content #projects li.building .meta {
|
221
|
+
right: 1.6em; }
|
222
|
+
#content #projects li.success .meta {
|
223
|
+
color: #337022; }
|
224
|
+
#content #projects li.failed .meta {
|
225
|
+
color: #ff1100; }
|
226
|
+
#content #previous_builds li a {
|
227
|
+
display: block;
|
228
|
+
padding: .25em;
|
229
|
+
margin-bottom: .25em;
|
230
|
+
border-width: 1px;
|
231
|
+
border-style: solid; }
|
232
|
+
#content #previous_builds li a strong {
|
233
|
+
font-size: 1.3em; }
|
234
|
+
#content #previous_builds li a .attribution {
|
235
|
+
font-size: .9em; }
|
236
|
+
#content #projects li.success a, #content #previous_builds li.success a {
|
237
|
+
background-color: #bbf8aa;
|
238
|
+
border-color: #99d688;
|
239
|
+
color: #337022; }
|
240
|
+
#content #projects li.success a .attribution, #content #previous_builds li.success a .attribution {
|
241
|
+
color: #77b466; }
|
242
|
+
#content #projects li.success a:hover, #content #previous_builds li.success a:hover {
|
243
|
+
background-color: #ddffcc; }
|
244
|
+
#content #projects li.failed a, #content #previous_builds li.failed a {
|
245
|
+
background-color: #ffbbaa;
|
246
|
+
border-color: #dd9988;
|
247
|
+
color: #ff1100; }
|
248
|
+
#content #projects li.failed a .attribution, #content #previous_builds li.failed a .attribution {
|
249
|
+
color: #bb7766; }
|
250
|
+
#content #projects li.failed a:hover, #content #previous_builds li.failed a:hover {
|
251
|
+
background-color: #ffddcc; }
|
252
|
+
#content #build, #content #last_build {
|
253
|
+
position: relative; }
|
254
|
+
#content #build h1, #content #build blockquote, #content #last_build h1, #content #last_build blockquote {
|
255
|
+
border-width: 0 1px;
|
256
|
+
border-style: solid; }
|
257
|
+
#content #build h1, #content #last_build h1 {
|
258
|
+
border-top-width: 1px; }
|
259
|
+
#content #build blockquote, #content #last_build blockquote {
|
260
|
+
bottom-bottom-width: 1px;
|
261
|
+
line-height: 1.4; }
|
262
|
+
#content #build.success h1, #content #build.success blockquote, #content #last_build.success h1, #content #last_build.success blockquote {
|
263
|
+
background-color: #bbf8aa;
|
264
|
+
border-color: #99d688 #ccffbb #ccffbb #99d688; }
|
265
|
+
#content #build.success h1, #content #last_build.success h1 {
|
266
|
+
color: #337022; }
|
267
|
+
#content #build.success .meta, #content #last_build.success .meta {
|
268
|
+
color: #77b466; }
|
269
|
+
#content #build.failed h1, #content #build.failed blockquote, #content #last_build.failed h1, #content #last_build.failed blockquote {
|
270
|
+
background-color: #ffbbaa;
|
271
|
+
border-color: #dd9988 #ffccbb #ffccbb #dd9988; }
|
272
|
+
#content #build.failed h1, #content #last_build.failed h1 {
|
273
|
+
color: #ff1100; }
|
274
|
+
#content #build.failed .meta, #content #last_build.failed .meta {
|
275
|
+
color: #bb7766; }
|
276
|
+
#content #build h1, #content #last_build h1 {
|
277
|
+
margin-top: .5em;
|
278
|
+
margin-bottom: 0;
|
279
|
+
padding: .25em;
|
280
|
+
color: #337022; }
|
281
|
+
#content #build blockquote, #content #last_build blockquote {
|
282
|
+
padding: .75em;
|
283
|
+
margin-bottom: 2em; }
|
284
|
+
#content #build blockquote .meta, #content #last_build blockquote .meta {
|
285
|
+
margin-top: 1em;
|
286
|
+
display: block;
|
287
|
+
font-size: .9em; }
|
288
|
+
#content #build pre.output, #content #last_build pre.output {
|
289
|
+
background: #111;
|
290
|
+
color: #fff;
|
291
|
+
padding: .5em;
|
292
|
+
overflow: auto;
|
293
|
+
max-height: 50em;
|
294
|
+
font-size: .825em; }
|
295
|
+
#content #build pre.output .color30, #content #last_build pre.output .color30 {
|
296
|
+
color: #333; }
|
297
|
+
#content #build pre.output .color31, #content #last_build pre.output .color31 {
|
298
|
+
color: #e33; }
|
299
|
+
#content #build pre.output .color32, #content #last_build pre.output .color32 {
|
300
|
+
color: #3e3; }
|
301
|
+
#content #build pre.output .color33, #content #last_build pre.output .color33 {
|
302
|
+
color: #ee3; }
|
303
|
+
#content #build pre.output .color34, #content #last_build pre.output .color34 {
|
304
|
+
color: #33e; }
|
305
|
+
#content #build pre.output .color35, #content #last_build pre.output .color35 {
|
306
|
+
color: #e3e; }
|
307
|
+
#content #build pre.output .color36, #content #last_build pre.output .color36 {
|
308
|
+
color: #3ee; }
|
309
|
+
#content #build pre.output .color37, #content #last_build pre.output .color37 {
|
310
|
+
color: #fff; }
|
311
|
+
#content #push_path {
|
312
|
+
display: block;
|
313
|
+
margin-top: 1em;
|
314
|
+
margin-left: 2em; }
|
315
|
+
#content div#graph {
|
316
|
+
width: 100%;
|
317
|
+
height: 600px; }
|
318
|
+
|
319
|
+
a.success {
|
320
|
+
color: #bbf8aa; }
|
321
|
+
a.success:hover {
|
322
|
+
background-color: #bbf8aa;
|
323
|
+
color: white; }
|
324
|
+
a.failed {
|
325
|
+
color: #ffbbaa; }
|
326
|
+
a.failed:hover {
|
327
|
+
background-color: #ffbbaa;
|
328
|
+
color: white; }
|
329
|
+
|
330
|
+
#footer {
|
331
|
+
padding: 1.5em 2.5em;
|
332
|
+
border-top: 1px solid #ccc;
|
333
|
+
font-size: .8em;
|
334
|
+
color: #666;
|
335
|
+
text-align: right; }
|
336
|
+
#footer strong {
|
337
|
+
font-weight: bold; }
|