diff options
author | murphy <murphy@rubychan.de> | 2011-04-20 19:49:53 +0000 |
---|---|---|
committer | murphy <murphy@rubychan.de> | 2011-04-20 19:49:53 +0000 |
commit | aa17b9942d6ca3d01e3f74513e0903a195c23b22 (patch) | |
tree | eeee0ac8f13199d726f9eeb8f4ad7194773f0d36 /test/unit | |
parent | 763948b33279a418b17f09f110e8cab0035a0734 (diff) | |
download | coderay-aa17b9942d6ca3d01e3f74513e0903a195c23b22.tar.gz |
Encoder refactoring to fix LOC and Statistic encoders
Diffstat (limited to 'test/unit')
-rw-r--r-- | test/unit/statistic.rb | 12 |
1 files changed, 7 insertions, 5 deletions
diff --git a/test/unit/statistic.rb b/test/unit/statistic.rb index 36385b0..1326dca 100644 --- a/test/unit/statistic.rb +++ b/test/unit/statistic.rb @@ -33,16 +33,18 @@ Tokens 11 Non-Whitespace 4 Bytes Total 20 -Token Types (5): +Token Types (7): type count ratio size (average) ------------------------------------------------------------- TOTAL 11 100.00 % 1.8 space 3 27.27 % 3.0 - begin_group 1 9.09 % 0.0 - begin_line 1 9.09 % 0.0 + string 2 18.18 % 0.0 + test 2 18.18 % 0.0 + :begin_group 1 9.09 % 0.0 + :begin_line 1 9.09 % 0.0 + :end_group 1 9.09 % 0.0 + :end_line 1 9.09 % 0.0 content 1 9.09 % 4.0 - end_group 1 9.09 % 0.0 - end_line 1 9.09 % 0.0 integer 1 9.09 % 2.0 method 1 9.09 % 2.0 operator 1 9.09 % 3.0 |