Package: rscc 0.2.1

rscc: R Source Code Similarity Evaluation by Variable/Function Names

Evaluates R source codes by variable and/or functions names. Similar source codes should deliver similarity coefficients near one. Since neither the frequency nor the order of the used names is considered, a manual inspection of the R source code is required to check for similarity. Possible use cases include detection of code clones for improving software quality and of plagiarism amongst students' assignments.

Authors:Sigbert Klinke [aut, cre]

rscc_0.2.1.tar.gz
rscc_0.2.1.zip(r-4.5)rscc_0.2.1.zip(r-4.4)rscc_0.2.1.zip(r-4.3)
rscc_0.2.1.tgz(r-4.4-any)rscc_0.2.1.tgz(r-4.3-any)
rscc_0.2.1.tar.gz(r-4.5-noble)rscc_0.2.1.tar.gz(r-4.4-noble)
rscc_0.2.1.tgz(r-4.4-emscripten)rscc_0.2.1.tgz(r-4.3-emscripten)
rscc.pdf |rscc.html
rscc/json (API)

# Install 'rscc' in R:
install.packages('rscc', repos = c('https://sigbertklinke.r-universe.dev', 'https://cloud.r-project.org'))

Peer review:

Bug tracker:https://github.com/sigbertklinke/rscc/issues

On CRAN:

11 exports 0.72 score 20 dependencies 1.0k downloads

Last updated 3 years agofrom:32f20aa4a6. Checks:OK: 7. Indexed: yes.

TargetResultDate
Doc / VignettesOKSep 15 2024
R-4.5-winOKSep 15 2024
R-4.5-linuxOKSep 15 2024
R-4.4-winOKSep 15 2024
R-4.4-macOKSep 15 2024
R-4.3-winOKSep 15 2024
R-4.3-macOKSep 15 2024

Exports:as_igraphbrowsedocumentsfreq_tablematrix2dataframesame_filesimilaritiessimilarity_coeffsimssourcecodetfidf

Dependencies:BHclicpp11crayonformatRgluehighlightigraphlatticelifecyclemagrittrMatrixNLPpkgconfigRcpprlangslamtmvctrsxml2

R Source Code Comparision

Rendered fromrscc.Rmdusingknitr::rmarkdownon Sep 15 2024.

Last update: 2022-01-20
Started: 2021-09-09

Readme and manuals

Help Manual

Help pageTopics
as.igraphas_igraph
browsebrowse
documentsdocuments
freq_tablefreq_table
matrix2dataframematrix2dataframe
same_filesame_file
sim_coeffsim_coeff
similarity_coeffsimilarity_coeff
similaritiessimilarities sims
sourcecodesourcecode sourcecode.default
tfidftfidf