Skip to main content

module lang::php::stats::SLOC

rascal-0.42.0
org.rascalmpl.php-analysis-0.3.3

Usage

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

Dependencies

import lang::php::config::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 _)