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 +4 -4
- data/.gitignore +2 -2
- data/README.md +12 -2
- data/doc/details.png +0 -0
- data/doc/overview.png +0 -0
- data/fukuzatsu.gemspec +1 -1
- data/lib/fukuzatsu/formatters/templates/index.html.haml +2 -1
- data/lib/fukuzatsu/formatters/templates/output.html.haml +4 -1
- data/lib/fukuzatsu/version.rb +1 -1
- metadata +6 -3
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA1:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: f3435a15f15b81c3a57c8b8f325f1c9acdd21447
|
4
|
+
data.tar.gz: c1803f26411ef439239dab446743ae4231162ef3
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 672355b3c4cf948b6d4222242de5be9aa0bbb7cb35757a6adff631e4c3467a11917a1349f813e65c948628c87cb4e13d1c07d02971f57b00b524c9fcffbbfc7a
|
7
|
+
data.tar.gz: 2f36f1ba855de4eb02e86b26ca72c21b3bf088723860fb26a7d9441f839e40eada29796c1a54f1c77a404e38f7efc11c13c20b516f65f64ab7b18ce86acf9b70
|
data/.gitignore
CHANGED
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
|
data/doc/details.png
ADDED
Binary file
|
data/doc/overview.png
ADDED
Binary file
|
data/fukuzatsu.gemspec
CHANGED
@@ -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
|
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
|
|
@@ -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;
|
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({
|
data/lib/fukuzatsu/version.rb
CHANGED
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.
|
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-
|
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
|
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
|