perl-Code-DRY-0.10-alt1.x86_64.rpm


Advertisement

Description

perl-Code-DRY - Cut-and-Paste-Detector for Perl code

Property Value
Distribution ALT Linux Sisyphus
Repository Autoimports x86_64
Package filename perl-Code-DRY-0.10-alt1.x86_64.rpm
Package name perl-Code-DRY
Package version 0.10
Package release alt1
Package architecture x86_64
Package type rpm
Category Development/Perl
Homepage -
License -
Maintainer -
Download size 63.58 KB
Installed size 63.58 KB
The module's main purpose is to report repeated text fragments (typically Perl code)
that could be considered for isolation and/or abstraction in order to
reduce multiple copies of the same code (aka cut and paste code).
Code duplicates may occur in the same line, file or directory.
The ad hoc approach to compare every item against every other item
leads to computing times growing exponentially with the amount of code,
which is not useful for anything but the smallest code bases.
So a efficient data structure is needed.
This module can create the suffix array and the longest common prefix array
for a string of 8-bit characters. These data structures can be used to
search for repetitions of substrings in O(n) time.
The current strategy is to concatenate code from all files into one
string and then use the suffix array and its companion,
the longest-common-prefix (lcp) array on this string.

Alternatives

Package Version Architecture Repository
perl-Code-DRY-0.10-alt1.i586.rpm 0.10 i586 Autoimports
perl-Code-DRY - - -

Requires

Name Value
/usr/lib64/perl5 -
libc.so.6(GLIBC_2.14)(64bit) -
libc.so.6(GLIBC_2.2.5)(64bit) -
libc.so.6(GLIBC_2.4)(64bit) -
libperl-5.28.so()(64bit) -
perl(File/Find.pm) -
perl(File/Glob.pm) -
perl(XSLoader.pm) -
perl(integer.pm) -
rpmlib(PayloadIsLzma) -
rpmlib(SetVersions) -
rtld(GNU_HASH) -

Provides

Name Value
perl(Code/DRY.pm) = 0.100
perl-Code-DRY = 0.10-alt1

Download

Type URL
Mirror ftp.altlinux.org
Binary Package perl-Code-DRY-0.10-alt1.x86_64.rpm
Source Package perl-Code-DRY-0.10-alt1.src.rpm

Install Howto

  1. Add the following line to /etc/apt/sources.list:
    
    rpm [Sisyphus] http://ftp.altlinux.org/pub/distributions/ALTLinux/autoimports/Sisyphus x86_64 autoimports
    rpm [Sisyphus] http://ftp.altlinux.org/pub/distributions/ALTLinux/autoimports/Sisyphus noarch autoimports
    
  2. Update the package index:
    # sudo apt-get update
  3. Install perl-Code-DRY rpm package:
    # sudo apt-get install perl-Code-DRY

Files

Path
/usr/lib64/perl5/Code/DRY.pm
/usr/lib64/perl5/auto/Code/
/usr/lib64/perl5/auto/Code/DRY/DRY.so
/usr/share/doc/perl-Code-DRY-0.10/Changes
/usr/share/doc/perl-Code-DRY-0.10/README

See Also

Package Description
perl-Code-DRY-scripts-0.10-alt1.x86_64.rpm Code-DRY scripts
perl-Collision-2D-0.07-alt4.2.x86_64.rpm Continuous 2d collision detection
perl-Colon-Config-0.003-alt1.1.x86_64.rpm XS helper to read a configuration file using ':' as separator
perl-Combine-Keys-0.09-alt2.1.x86_64.rpm keys on multiple hash references!
perl-Comedi-Lib-0.24-alt4.1.x86_64.rpm Perl API for Comedilib
perl-Compress-Huffman-Binary-0.01-alt2.1.x86_64.rpm Binary-only Huffman coding
perl-Compress-LZ4Frame-0.012002-alt1.1.x86_64.rpm Compression package using the lz4frame library
perl-Compress-LZV1-0.04-alt4.1.x86_64.rpm perl module Compress-LZV1
perl-Compress-Raw-Lzma-2.090-alt1_1.x86_64.rpm Low-level interface to lzma compression library
perl-Compress-Zopfli-0.0.1-alt2.1.x86_64.rpm Interface to Google Zopfli Compression Algorithm
perl-Compress-Zstd-0.20-alt1.x86_64.rpm Perl interface to the Zstd (Zstandard) (de)compressor
perl-Compress-unLZMA-0.05-alt3.1.x86_64.rpm Interface to LZMA decompression library
perl-Cond-Expr-0.05-alt2.1.x86_64.rpm conditionals as expressions
perl-Conf-Libconfig-0.100-alt1.1.x86_64.rpm Perl extension for libconfig
perl-Config-Augeas-1.000-alt7_16.x86_64.rpm Edit configuration files through Augeas C library
Advertisement
Advertisement