fukuzatsu 0.9.11 → 0.9.12

Sign up to get free protection for your applications and to get access to all the features.
checksums.yaml CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA1:
3
- metadata.gz: 65ade5a2e8fa90ffcda52e04303a318677b84663
4
- data.tar.gz: 61d0a28a01a438d643f4160078b9a0c68bee68cf
3
+ metadata.gz: f3435a15f15b81c3a57c8b8f325f1c9acdd21447
4
+ data.tar.gz: c1803f26411ef439239dab446743ae4231162ef3
5
5
  SHA512:
6
- metadata.gz: b92e34dba2d511366729c0a64507a89c7caafed3bd5bc9847ecd2d4054309c986f17164e8a70bdb6afbb41a65cc57690a5e732ca802e2faeed1a081cb89c271f
7
- data.tar.gz: 9ab2656f2bd413ae48db64ddd89fca67b4db1d84a075f65b96084a5fed1a2bc58f58ec38a12bcf241e9feb0de2bc8ddaa6eb7946c8dd69a891973a9deada703a
6
+ metadata.gz: 672355b3c4cf948b6d4222242de5be9aa0bbb7cb35757a6adff631e4c3467a11917a1349f813e65c948628c87cb4e13d1c07d02971f57b00b524c9fcffbbfc7a
7
+ data.tar.gz: 2f36f1ba855de4eb02e86b26ca72c21b3bf088723860fb26a7d9441f839e40eada29796c1a54f1c77a404e38f7efc11c13c20b516f65f64ab7b18ce86acf9b70
data/.gitignore CHANGED
@@ -7,7 +7,7 @@ Gemfile.lock
7
7
  InstalledFiles
8
8
  _yardoc
9
9
  coverage
10
- doc/
10
+ doc/*/
11
11
  lib/bundler/man
12
12
  pkg
13
13
  rdoc
@@ -21,4 +21,4 @@ tmp
21
21
  *.a
22
22
  mkmf.log
23
23
  .console_history
24
- *.swp
24
+ *.swp
data/README.md CHANGED
@@ -9,8 +9,18 @@ generates relative complexity figures similar to the results of cyclomatic compl
9
9
  Why should you care about this kind of complexity? More complex code tends to attract bugs and to
10
10
  increase the friction around extending features or refactoring code.
11
11
 
12
- Fukuzatsu was created by Coraline Ada Ehmke with invaluable assistance from Mike Ziwisky (mziwisky).
13
12
  It was inspired by Saikuro, written by Zev Blut.
13
+ Fukuzatsu was created by [Coraline Ada Ehmke](http://where.coraline.codes/) with invaluable assistance from [Mike Ziwisky](https://github.com/mziwisky).
14
+
15
+ ## Screenshots
16
+
17
+ These are screenshots of the `-f html` output. First, the overall project summary:
18
+
19
+ ![Project Summary](https://gitlab.com/coraline/fukuzatsu/raw/master/doc/overview.png)
20
+
21
+ Then the detail view of a single class:
22
+
23
+ ![Project Summary](https://gitlab.com/coraline/fukuzatsu/raw/master/doc/details.png)
14
24
 
15
25
  ## Installation
16
26
 
@@ -38,4 +48,4 @@ Please note that this project is released with a [Contributor Code of Conduct](h
38
48
  2. Create your feature branch (`git checkout -b my-new-feature`)
39
49
  3. Commit your changes (`git commit -am 'Add some feature'`)
40
50
  4. Push to the branch (`git push origin my-new-feature`)
41
- 5. Create a new Pull Request
51
+ 5. Create a new Pull Request
Binary file
Binary file
@@ -9,7 +9,7 @@ Gem::Specification.new do |spec|
9
9
  spec.authors = ["Bantik"]
10
10
  spec.email = ["coraline@idolhands.com"]
11
11
  spec.summary = "A simple code complexity analyzer."
12
- spec.description = "Calculates the cyclomatic complexity of methods within a given file."
12
+ spec.description = "Calculates code complexity as a measure of paths through code executition. Multiple, beautiful output options."
13
13
  spec.homepage = "https://gitlab.com/coraline/fukuzatsu/tree/master"
14
14
  spec.license = "MIT"
15
15
 
@@ -57,7 +57,8 @@
57
57
  - file_summary.each do |summary|
58
58
  %tr
59
59
  %td
60
- = summary[:path_to_file]
60
+ %a{href: "#{summary[:path_to_file]}.htm"}
61
+ = summary[:path_to_file]
61
62
  %td
62
63
  - if summary[:class_name].size > 25
63
64
  = "..."
@@ -25,7 +25,7 @@
25
25
  th { background: #000; text-align: left; padding: .5em;}
26
26
  td { text-align: left; padding: .5em; padding-left: 1.25em !important;}
27
27
  td.center { text-align: center; }
28
- td.sorting_1 { background: none !important; padding-left: 1.25em !important; text-transform: uppercase; font-size: .8em}
28
+ td.sorting_1 { background: none !important; padding-left: 1.25em !important; }
29
29
  tfoot { background: #000; font-family: courier; margin-top: 4em; font-size: .75em; }
30
30
  a:link, a:visited { color: #aaa }
31
31
  div.file_meta { float: left; height: 3em; width: 30%; }
@@ -65,6 +65,9 @@
65
65
  by
66
66
  %a{href: "https://gitlab.com/coraline/fukuzatsu", target: "_new"}
67
67
  Fukuzatsu
68
+ %br
69
+ %input{onclick: "history.back(-1)", type: "button", value: "Back"}
70
+
68
71
  :javascript
69
72
  $(document).ready(function(){
70
73
  $('.output-table').dataTable({
@@ -1,3 +1,3 @@
1
1
  module Fukuzatsu
2
- VERSION = "0.9.11"
2
+ VERSION = "0.9.12"
3
3
  end
metadata CHANGED
@@ -1,14 +1,14 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: fukuzatsu
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.9.11
4
+ version: 0.9.12
5
5
  platform: ruby
6
6
  authors:
7
7
  - Bantik
8
8
  autorequire:
9
9
  bindir: bin
10
10
  cert_chain: []
11
- date: 2014-07-03 00:00:00.000000000 Z
11
+ date: 2014-07-04 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: ephemeral
@@ -122,7 +122,8 @@ dependencies:
122
122
  - - ">="
123
123
  - !ruby/object:Gem::Version
124
124
  version: '0'
125
- description: Calculates the cyclomatic complexity of methods within a given file.
125
+ description: Calculates code complexity as a measure of paths through code executition.
126
+ Multiple, beautiful output options.
126
127
  email:
127
128
  - coraline@idolhands.com
128
129
  executables:
@@ -138,6 +139,8 @@ files:
138
139
  - README.md
139
140
  - Rakefile
140
141
  - bin/fuku
142
+ - doc/details.png
143
+ - doc/overview.png
141
144
  - fukuzatsu.gemspec
142
145
  - lib/fukuzatsu.rb
143
146
  - lib/fukuzatsu/analyzer.rb