Linux lorencats.com 5.10.103-v7l+ #1529 SMP Tue Mar 8 12:24:00 GMT 2022 armv7l
Apache/2.4.59 (Raspbian)
: 10.0.0.29 | : 216.73.216.130
Cant Read [ /etc/named.conf ]
7.3.31-1~deb10u7
root
www.github.com/MadExploits
Terminal
AUTO ROOT
Adminer
Backdoor Destroyer
Linux Exploit
Lock Shell
Lock File
Create User
CREATE RDP
PHP Mailer
BACKCONNECT
UNLOCK SHELL
HASH IDENTIFIER
CPANEL RESET
CREATE WP USER
README
+ Create Folder
+ Create File
/
usr /
lib /
ruby /
vendor_ruby /
coderay /
encoders /
[ HOME SHELL ]
Name
Size
Permission
Action
html
[ DIR ]
drwxr-xr-x
_map.rb
402
B
-rw-r--r--
comment_filter.rb
509
B
-rw-r--r--
count.rb
558
B
-rw-r--r--
debug.rb
939
B
-rw-r--r--
debug_lint.rb
1.43
KB
-rw-r--r--
div.rb
426
B
-rw-r--r--
encoder.rb
5.51
KB
-rw-r--r--
filter.rb
1.04
KB
-rw-r--r--
html.rb
9
KB
-rw-r--r--
json.rb
1.65
KB
-rw-r--r--
lines_of_code.rb
1.1
KB
-rw-r--r--
lint.rb
1.5
KB
-rw-r--r--
null.rb
238
B
-rw-r--r--
page.rb
462
B
-rw-r--r--
span.rb
431
B
-rw-r--r--
statistic.rb
2.06
KB
-rw-r--r--
terminal.rb
4.95
KB
-rw-r--r--
text.rb
737
B
-rw-r--r--
token_kind_filter.rb
2.4
KB
-rw-r--r--
xml.rb
1.38
KB
-rw-r--r--
yaml.rb
712
B
-rw-r--r--
Delete
Unzip
Zip
${this.title}
Close
Code Editor : statistic.rb
module CodeRay module Encoders # Makes a statistic for the given tokens. # # Alias: +stats+ class Statistic < Encoder register_for :statistic attr_reader :type_stats, :real_token_count # :nodoc: TypeStats = Struct.new :count, :size # :nodoc: protected def setup options super @type_stats = Hash.new { |h, k| h[k] = TypeStats.new 0, 0 } @real_token_count = 0 end STATS = <<-STATS # :nodoc: Code Statistics Tokens %8d Non-Whitespace %8d Bytes Total %8d Token Types (%d): type count ratio size (average) ------------------------------------------------------------- %s STATS TOKEN_TYPES_ROW = <<-TKR # :nodoc: %-20s %8d %6.2f %% %5.1f TKR def finish options all = @type_stats['TOTAL'] all_count, all_size = all.count, all.size @type_stats.each do |type, stat| stat.size /= stat.count.to_f end types_stats = @type_stats.sort_by { |k, v| [-v.count, k.to_s] }.map do |k, v| TOKEN_TYPES_ROW % [k, v.count, 100.0 * v.count / all_count, v.size] end.join @out << STATS % [ all_count, @real_token_count, all_size, @type_stats.delete_if { |k, v| k.is_a? String }.size, types_stats ] super end public def text_token text, kind @real_token_count += 1 unless kind == :space @type_stats[kind].count += 1 @type_stats[kind].size += text.size @type_stats['TOTAL'].size += text.size @type_stats['TOTAL'].count += 1 end def begin_group kind block_token ':begin_group', kind end def end_group kind block_token ':end_group', kind end def begin_line kind block_token ':begin_line', kind end def end_line kind block_token ':end_line', kind end def block_token action, kind @type_stats['TOTAL'].count += 1 @type_stats[action].count += 1 @type_stats[kind].count += 1 end end end end
Close