Skip to main content

module lang::php::stats::SLOC

rascal-0.40.17
php-analysis-0.2.4

Usage

import lang::php::stats::SLOC;

Source code

http://github.com/cwi-swat/php-analysis/blob/main/src/main/rascal/lang/php/stats/SLOC.rsc

Dependencies

import lang::php::util::Config;
import lang::php::util::Corpus;
import IO;
import String;
import List;
import Set;

function loadCounts

map[str lang, tuple[int lineCount, int fileCount] counts] loadCounts(str product, str version)

function getSortedCounts

list[tuple[str p, str v, int count, int fileCount]] getSortedCounts(str lang="PHP")

function getSortedCountsCaseInsensitive

list[tuple[str p, str v, int count, int fileCount]] getSortedCountsCaseInsensitive(str _)