Coverity Scan: Ptolemy II

Project Name Ptolemy II
Lines of code analyzed 18,504,048
On Coverity Scan since Sep 08, 2013
Last build analyzed about 20 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.20172128

Apr 28, 2017
Last Analyzed
18,504,048
Lines of Code Analyzed
18,307,130
Lines of Code in Selected Components
0.08
Defect Density

Defect changes since previous build dated Apr 26, 2017

22
Newly detected
804
Eliminated

Defects by status for current build

4,288
Total defects
1,485
Outstanding
2,736
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
browserModules /org/terraswarm/accessor/accessors/web/hosts/browser/modules/.* Yes 25,744 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 2,045 N/A
cordova1DemoApp .*/hosts/cordova/cordova1/DemoApp/.* Yes 3,286 N/A
jquery .*/browser/modules/jquery.js Yes 0 N/A
jxcoreCommon .*/hosts/jxcore/jxcore/common/.* Yes 2,416 N/A
Loader-ptinyos /Loader_SenseToLeds* Yes 0 N/A
node_modules .*/node_modules/.* Yes 8,253 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 12,385 N/A
ptModules /pt-modules/.* Yes 115,624 N/A
selenium-webdriver /org/terraswarm/accessor/accessors/web/node_modules/selenium-webdriver/.* Yes 0 N/A
tests .*/test/.*.java Yes 12,583 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 142,574 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,117 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,432 2.04
kernel /ptolemy/kernel/.* No 8,833 0.91
moml /ptolemy/moml/.* No 11,889 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,463 4.17
layout /ptolemy/vergil/basic/layout/.* No 1,814 1.10
machineLearning /org/ptolemy/machineLearning/.* No 9,882 1.62
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 17,994 0.28
vergil /ptolemy/vergil/.* No 46,329 0.99
verification /ptolemy/verification/.* No 7,787 1.93
Other .* No 57,375 2.06

CWE Top 25 defects

ID CWE-Name Number of Defects
78 Improper Neutralization of Special Elements used in an OS Command ('OS Command Injection') 4
190 Integer Overflow or Wraparound 1
676 Use of Potentially Dangerous Function 3
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