Coverity Scan: Ptolemy II

Project Name Ptolemy II
Lines of code analyzed 948,161
On Coverity Scan since Sep 08, 2013
Last build analyzed about 7 hours ago
   
Language Java
Secondary Language Java
Repository URL https://repo.eecs.berkeley.edu/svn-anon/projects/eal/ptII/trunk
Homepage URL http://ptolemy.org/ptolemyII
License BSD3Clause (BSD 3-Clause "New" or "Revised" License )

Want to view defects or help fix defects?

 Add me to project

Analysis Metrics

Version: 11.0.devel.20172020

Jul 20, 2017
Last Analyzed
948,161
Lines of Code Analyzed
629,909
Lines of Code in Selected Components
2.39
Defect Density

Defect changes since previous build dated Jul 19, 2017

0
Newly detected
0
Eliminated

Defects by status for current build

4,310
Total defects
1,506
Outstanding
2,737
Fixed

Note: Defect density is measured by the number of defects per 1,000 lines of code.


Analysis Metrics per Components

Component Name Pattern Ignore Line of Code Defect density
accessorsVendors /org/terraswarm/accessor/accessors/web/vendors/.* Yes 0 N/A
adm /adm/.* Yes 4 N/A
app .*/*\.app Yes 0 N/A
appsJQuery /ptolemy/apps/websensor/src/main/webapp/static/js/lib/jquery/.* Yes 10,421 N/A
browserModules /org/terraswarm/accessor/accessors/web/hosts/browser/modules/.* Yes 25,937 N/A
browserTestLib .*/browser/test/lib/.* Yes 0 N/A
codemirror .*/browser/demo/tutorial/codemirror/.* Yes 11,375 N/A
cordova2Demos .*/hosts/cordova/cordova2/demo/.* Yes 0 N/A
cordova1DemoApp .*/hosts/cordova/cordova1/DemoApp/.* Yes 0 N/A
jquery .*/browser/modules/jquery.js Yes 0 N/A
jxcoreCommon .*/hosts/jxcore/jxcore/common/.* Yes 2,607 N/A
Loader-ptinyos /Loader_SenseToLeds* Yes 0 N/A
node_modules .*/node_modules/.* Yes 134,378 N/A
PtalonLexer /ptolemy/actor/ptalon/PtalonLexer.* Yes 811 N/A
PtalonScopeChecker3 /ptolemy/actor/ptalon/PtalonScopeChecker.* Yes 2,392 N/A
PtalonTokenTypes3 /ptolemy/actor/ptalon/PtalonTokenTypes Yes 0 N/A
ptApps /ptolemy/apps/.* Yes 1,964 N/A
ptModules /pt-modules/.* Yes 115,740 N/A
selenium-webdriver /org/terraswarm/accessor/accessors/web/node_modules/selenium-webdriver/.* Yes 0 N/A
tests .*/test/.*.java Yes 12,623 N/A
testJunit .*/test/junit/.*.java Yes 0 N/A
vendorsJSDoc .*/vendors/jsdoc/.* Yes 0 N/A
vendorsPtinyos /vendors/ptinyos/.* Yes 0 N/A
actor /ptolemy/actor/.* No 143,704 1.67
actorGt /ptolemy/actor/gt/.* No 0 N/A
actorGui /ptolemy/actor/gui/.* No 0 N/A
actorFMI /ptolemy/actor/lib/fmi/.* No 0 N/A
actorJJS /ptolemy/actor/lib/jjs/.* No 0 N/A
actorLib /ptolemy/actor/lib/.* No 0 N/A
april /edu/umich/eecs/april/.* No 8,537 5.74
backtrack /ptolemy/backtrack/.* No 26,118 4.90
backtrackAutomatic /ptolemy/backtrack/automatic/.* No 0 N/A
backtrackEclipse /ptolemy/backtrack/eclipse/.* No 0 N/A
cg /ptolemy/cg/.* No 37,143 1.10
dataExpr /ptolemy/data/expr/.* No 16,103 0.68
dataOntologies /ptolemy/data/ontologies/.* No 11,388 0.79
dataType /ptolemy/data/type/.* No 4,440 0.23
dataUnit /ptolemy/data/unit/.* No 294 0.00
domains /ptolemy/domains/.* No 99,471 2.31
gdpjs /vendors/gdp/gdp/lang/js/gdpjs/.* No 0 N/A
hlaCerti /org/hlacerti/.* No 3,576 4.75
jfmi /org/ptolemy/fmi/.* No 3,444 2.03
kernel /ptolemy/kernel/.* No 8,842 0.90
moml /ptolemy/moml/.* No 11,895 0.34
data /ptolemy/data/.* No 10,087 0.20
diva /diva/.* No 24,677 1.38
domainsQss /ptolemy/domains/qss/.* No 0 N/A
orgQss /org/ptolemy/qss/.* No 2,942 0.00
cureos /com/cureos/numerics/.* No 917 3.27
homer /ptolemy/homer/.* No 3,803 0.79
jgoodies /com/jgoodies/.* No 3,925 2.55
jhlabs /com/jhlabs/.* No 18,471 4.17
layout /ptolemy/vergil/basic/layout/.* No 1,814 1.10
machineLearning /org/ptolemy/machineLearning/.* No 9,882 1.32
microstar /com/microstar/.* No 3,256 3.07
orgFormMakerLayout /org/mlc/.* No 4,117 5.34
orgJson /org/json/.* No 3,285 3.35
plot /ptolemy/plot/.* No 9,324 6.22
ptango /org/ptolemy/ptango/.* No 10,992 2.18
ptalon /ptolemy/actor/ptalon/.* No 0 N/A
ptdb /ptdb/.* No 11,785 0.68
ssm /org/ptolemy/ssm/.* No 1,972 4.06
terraSwarmAccessor /org/terraswarm/accessor/.* No 21,994 0.23
vergil /ptolemy/vergil/.* No 46,319 0.99
verification /ptolemy/verification/.* No 7,787 1.93
Other .* No 57,578 2.07

CWE Top 25 defects

ID CWE-Name Number of Defects
78 Improper Neutralization of Special Elements used in an OS Command ('OS Command Injection') 1
676 Use of Potentially Dangerous Function 1
Loading...

Loading...

Loading...

Loading...

Loading...

About Coverity Scan Static Analysis

Find and fix defects in your C/C++, Java, JavaScript or C# open source project for free.

Coverity Scan tests every line of code and potential execution path. The root cause of each defect is clearly explained, making it easy to fix bugs.

Would you like to view the project defects, or help improve its quality by fixing defects?

 Add me to project