javacore-analyser 2.1rc5__tar.gz → 2.2rc1__tar.gz
Sign up to get free protection for your applications and to get access to all the features.
- javacore_analyser-2.2rc1/.travis.yml +10 -0
- javacore_analyser-2.2rc1/CHANGELOG.md +35 -0
- {javacore_analyser-2.1rc5 → javacore_analyser-2.2rc1}/MAINTAINERS.md +1 -0
- {javacore_analyser-2.1rc5 → javacore_analyser-2.2rc1}/PKG-INFO +26 -9
- {javacore_analyser-2.1rc5 → javacore_analyser-2.2rc1}/README.md +23 -7
- {javacore_analyser-2.1rc5 → javacore_analyser-2.2rc1}/pyproject.toml +11 -6
- {javacore_analyser-2.1rc5 → javacore_analyser-2.2rc1}/requirements.txt +2 -0
- javacore_analyser-2.2rc1/src/javacore_analyser/__main__.py +43 -0
- javacore_analyser-2.2rc1/src/javacore_analyser/data/html/error.html +22 -0
- {javacore_analyser-2.1rc5 → javacore_analyser-2.2rc1}/src/javacore_analyser/data/jquery/theme.blue.css +9 -3
- {javacore_analyser-2.1rc5 → javacore_analyser-2.2rc1}/src/javacore_analyser/data/jquery/wait2scripts.js +4 -2
- {javacore_analyser-2.1rc5 → javacore_analyser-2.2rc1}/src/javacore_analyser/data/style.css +32 -0
- {javacore_analyser-2.1rc5 → javacore_analyser-2.2rc1}/src/javacore_analyser/data/xml/report.xsl +167 -20
- javacore_analyser-2.2rc1/src/javacore_analyser/har_file.py +65 -0
- {javacore_analyser-2.1rc5 → javacore_analyser-2.2rc1}/src/javacore_analyser/javacore_analyser_batch.py +29 -11
- {javacore_analyser-2.1rc5 → javacore_analyser-2.2rc1}/src/javacore_analyser/javacore_analyser_web.py +7 -3
- {javacore_analyser-2.1rc5 → javacore_analyser-2.2rc1}/src/javacore_analyser/javacore_set.py +19 -2
- {javacore_analyser-2.1rc5 → javacore_analyser-2.2rc1}/src/javacore_analyser/verbose_gc.py +0 -1
- javacore_analyser-2.2rc1/test/data/javacores/jazz.net_Archive [25-01-03 11-07-56].har +12608 -0
- javacore_analyser-2.2rc1/test/test_har_file.py +40 -0
- {javacore_analyser-2.1rc5 → javacore_analyser-2.2rc1}/test/test_javacore_analyser.py +4 -16
- javacore_analyser-2.1rc5/.travis.yml +0 -33
- javacore_analyser-2.1rc5/CHANGELOG.md +0 -12
- {javacore_analyser-2.1rc5 → javacore_analyser-2.2rc1}/.github/ISSUE_TEMPLATE/bug_report.md +0 -0
- {javacore_analyser-2.1rc5 → javacore_analyser-2.2rc1}/.github/ISSUE_TEMPLATE/feature_request.md +0 -0
- {javacore_analyser-2.1rc5 → javacore_analyser-2.2rc1}/.github/dco.yml +0 -0
- {javacore_analyser-2.1rc5 → javacore_analyser-2.2rc1}/.gitignore +0 -0
- {javacore_analyser-2.1rc5 → javacore_analyser-2.2rc1}/CODE_OF_CONDUCT.md +0 -0
- {javacore_analyser-2.1rc5 → javacore_analyser-2.2rc1}/CONTRIBUTING.md +0 -0
- {javacore_analyser-2.1rc5 → javacore_analyser-2.2rc1}/Dockerfile +0 -0
- {javacore_analyser-2.1rc5 → javacore_analyser-2.2rc1}/LICENSE +0 -0
- {javacore_analyser-2.1rc5 → javacore_analyser-2.2rc1}/REQUIREMENTS.md +0 -0
- {javacore_analyser-2.1rc5 → javacore_analyser-2.2rc1}/SECURITY.md +0 -0
- {javacore_analyser-2.1rc5 → javacore_analyser-2.2rc1}/docs/ClassDiagram.png +0 -0
- {javacore_analyser-2.1rc5 → javacore_analyser-2.2rc1}/docs/dom_example.py +0 -0
- {javacore_analyser-2.1rc5 → javacore_analyser-2.2rc1}/src/javacore_analyser/__init__.py +0 -0
- {javacore_analyser-2.1rc5 → javacore_analyser-2.2rc1}/src/javacore_analyser/abstract_snapshot_collection.py +0 -0
- {javacore_analyser-2.1rc5 → javacore_analyser-2.2rc1}/src/javacore_analyser/code_snapshot_collection.py +0 -0
- {javacore_analyser-2.1rc5 → javacore_analyser-2.2rc1}/src/javacore_analyser/constants.py +0 -0
- {javacore_analyser-2.1rc5 → javacore_analyser-2.2rc1}/src/javacore_analyser/data/expand.js +0 -0
- {javacore_analyser-2.1rc5 → javacore_analyser-2.2rc1}/src/javacore_analyser/data/html/processing_data.html +0 -0
- {javacore_analyser-2.1rc5 → javacore_analyser-2.2rc1}/src/javacore_analyser/data/jquery/chart.js +0 -0
- {javacore_analyser-2.1rc5 → javacore_analyser-2.2rc1}/src/javacore_analyser/data/jquery/chartjs-adapter-date-fns.bundle.min.js +0 -0
- {javacore_analyser-2.1rc5 → javacore_analyser-2.2rc1}/src/javacore_analyser/data/jquery/jq.css +0 -0
- {javacore_analyser-2.1rc5 → javacore_analyser-2.2rc1}/src/javacore_analyser/data/jquery/jquery.mark.min.js +0 -0
- {javacore_analyser-2.1rc5 → javacore_analyser-2.2rc1}/src/javacore_analyser/data/jquery/jquery.min.js +0 -0
- {javacore_analyser-2.1rc5 → javacore_analyser-2.2rc1}/src/javacore_analyser/data/jquery/jquery.tablesorter.min.js +0 -0
- {javacore_analyser-2.1rc5 → javacore_analyser-2.2rc1}/src/javacore_analyser/data/jquery/jquery.tablesorter.widgets.min.js +0 -0
- {javacore_analyser-2.1rc5 → javacore_analyser-2.2rc1}/src/javacore_analyser/data/jquery/search.js +0 -0
- {javacore_analyser-2.1rc5 → javacore_analyser-2.2rc1}/src/javacore_analyser/data/jquery/sorting.js +0 -0
- {javacore_analyser-2.1rc5 → javacore_analyser-2.2rc1}/src/javacore_analyser/data/jquery/theme.default.min.css +0 -0
- {javacore_analyser-2.1rc5 → javacore_analyser-2.2rc1}/src/javacore_analyser/data/xml/index.xml +0 -0
- {javacore_analyser-2.1rc5 → javacore_analyser-2.2rc1}/src/javacore_analyser/data/xml/javacores/javacore.xml +0 -0
- {javacore_analyser-2.1rc5 → javacore_analyser-2.2rc1}/src/javacore_analyser/data/xml/javacores/javacore.xsl +0 -0
- {javacore_analyser-2.1rc5 → javacore_analyser-2.2rc1}/src/javacore_analyser/data/xml/threads/thread.xml +0 -0
- {javacore_analyser-2.1rc5 → javacore_analyser-2.2rc1}/src/javacore_analyser/data/xml/threads/thread.xsl +0 -0
- {javacore_analyser-2.1rc5 → javacore_analyser-2.2rc1}/src/javacore_analyser/java_thread.py +0 -0
- {javacore_analyser-2.1rc5 → javacore_analyser-2.2rc1}/src/javacore_analyser/javacore.py +0 -0
- {javacore_analyser-2.1rc5 → javacore_analyser-2.2rc1}/src/javacore_analyser/logging_utils.py +0 -0
- {javacore_analyser-2.1rc5 → javacore_analyser-2.2rc1}/src/javacore_analyser/snapshot_collection.py +0 -0
- {javacore_analyser-2.1rc5 → javacore_analyser-2.2rc1}/src/javacore_analyser/snapshot_collection_collection.py +0 -0
- {javacore_analyser-2.1rc5 → javacore_analyser-2.2rc1}/src/javacore_analyser/stack_trace.py +0 -0
- {javacore_analyser-2.1rc5 → javacore_analyser-2.2rc1}/src/javacore_analyser/stack_trace_element.py +0 -0
- {javacore_analyser-2.1rc5 → javacore_analyser-2.2rc1}/src/javacore_analyser/stack_trace_kind.py +0 -0
- {javacore_analyser-2.1rc5 → javacore_analyser-2.2rc1}/src/javacore_analyser/templates/index.html +0 -0
- {javacore_analyser-2.1rc5 → javacore_analyser-2.2rc1}/src/javacore_analyser/thread_snapshot.py +0 -0
- {javacore_analyser-2.1rc5 → javacore_analyser-2.2rc1}/src/javacore_analyser/tips.py +0 -0
- {javacore_analyser-2.1rc5 → javacore_analyser-2.2rc1}/test/__init__.py +0 -0
- {javacore_analyser-2.1rc5 → javacore_analyser-2.2rc1}/test/data/archives/archive_without_javacores.zip +0 -0
- {javacore_analyser-2.1rc5 → javacore_analyser-2.2rc1}/test/data/archives/javacores/aaa-javacore.20220606.114458.32888.0001.txt +0 -0
- {javacore_analyser-2.1rc5 → javacore_analyser-2.2rc1}/test/data/archives/javacores/aaa-javacore.20220606.114502.32888.0002.txt +0 -0
- {javacore_analyser-2.1rc5 → javacore_analyser-2.2rc1}/test/data/archives/javacores-corrupted.zip +0 -0
- {javacore_analyser-2.1rc5 → javacore_analyser-2.2rc1}/test/data/archives/javacores-starting-aaa.zip +0 -0
- {javacore_analyser-2.1rc5 → javacore_analyser-2.2rc1}/test/data/archives/javacores.7z +0 -0
- {javacore_analyser-2.1rc5 → javacore_analyser-2.2rc1}/test/data/archives/javacores.tar.bz2 +0 -0
- {javacore_analyser-2.1rc5 → javacore_analyser-2.2rc1}/test/data/archives/javacores.tar.gz +0 -0
- {javacore_analyser-2.1rc5 → javacore_analyser-2.2rc1}/test/data/archives/javacores.tgz +0 -0
- {javacore_analyser-2.1rc5 → javacore_analyser-2.2rc1}/test/data/archives/javacores.zip +0 -0
- {javacore_analyser-2.1rc5 → javacore_analyser-2.2rc1}/test/data/archives/javacores_with_invalid_chars.zip +0 -0
- {javacore_analyser-2.1rc5 → javacore_analyser-2.2rc1}/test/data/issue129/javacore.20230602.091848.83156.0001.txt +0 -0
- {javacore_analyser-2.1rc5 → javacore_analyser-2.2rc1}/test/data/issue129/javacore.20230602.091853.83156.0002.txt +0 -0
- {javacore_analyser-2.1rc5 → javacore_analyser-2.2rc1}/test/data/javacores/javacore.20220606.114458.32888.0001.txt +0 -0
- {javacore_analyser-2.1rc5 → javacore_analyser-2.2rc1}/test/data/javacores/javacore.20220606.114502.32888.0002.txt +0 -0
- {javacore_analyser-2.1rc5 → javacore_analyser-2.2rc1}/test/data/javacores/javacore.20220606.114506.32888.0003.txt +0 -0
- {javacore_analyser-2.1rc5 → javacore_analyser-2.2rc1}/test/data/javacores/javacore.20220606.114513.32888.0004.txt +0 -0
- {javacore_analyser-2.1rc5 → javacore_analyser-2.2rc1}/test/data/javacores/javacore.20220606.114516.32888.0005.txt +0 -0
- {javacore_analyser-2.1rc5 → javacore_analyser-2.2rc1}/test/data/javacores/javacore.20220606.114900.32888.0006.txt +0 -0
- {javacore_analyser-2.1rc5 → javacore_analyser-2.2rc1}/test/data/javacores/javacore.20220606.114907.32888.0007.txt +0 -0
- {javacore_analyser-2.1rc5 → javacore_analyser-2.2rc1}/test/data/javacores/javacore.20220606.114912.32888.0008.txt +0 -0
- {javacore_analyser-2.1rc5 → javacore_analyser-2.2rc1}/test/data/javacores/javacore.20220606.114931.32888.0009.txt +0 -0
- {javacore_analyser-2.1rc5 → javacore_analyser-2.2rc1}/test/data/javacores/javacore.20220606.114947.32888.0010.txt +0 -0
- {javacore_analyser-2.1rc5 → javacore_analyser-2.2rc1}/test/data/javacores/javacore.20220606.114948.32888.0011.txt +0 -0
- {javacore_analyser-2.1rc5 → javacore_analyser-2.2rc1}/test/data/javacores/javacore.20220606.114949.32888.0012.txt +0 -0
- {javacore_analyser-2.1rc5 → javacore_analyser-2.2rc1}/test/data/javacores/javacore.wrong.corr +0 -0
- {javacore_analyser-2.1rc5 → javacore_analyser-2.2rc1}/test/data/javacores/verbosegc.230105.19308.txt.001 +0 -0
- {javacore_analyser-2.1rc5 → javacore_analyser-2.2rc1}/test/data/javacores/verbosegc.230413.19984.txt.001 +0 -0
- {javacore_analyser-2.1rc5 → javacore_analyser-2.2rc1}/test/data/javacores/verbosegc.230420.33424.txt.001 +0 -0
- {javacore_analyser-2.1rc5 → javacore_analyser-2.2rc1}/test/data/quotationMarks/javacore.20230830.134339.30220.0001.txt +0 -0
- {javacore_analyser-2.1rc5 → javacore_analyser-2.2rc1}/test/data/quotationMarks/javacore.20230830.134339.30220.0002.txt +0 -0
- {javacore_analyser-2.1rc5 → javacore_analyser-2.2rc1}/test/data/verboseGc/verbosegc.230105.19308.txt.001 +0 -0
- {javacore_analyser-2.1rc5 → javacore_analyser-2.2rc1}/test/data/verboseGc/verbosegc.230413.19984.txt.001 +0 -0
- {javacore_analyser-2.1rc5 → javacore_analyser-2.2rc1}/test/data/verboseGc/verbosegc.230420.33424.txt.001 +0 -0
- {javacore_analyser-2.1rc5 → javacore_analyser-2.2rc1}/test/data/verboseGcJavacores/javacore.20230602.091848.83156.0001.txt +0 -0
- {javacore_analyser-2.1rc5 → javacore_analyser-2.2rc1}/test/data/verboseGcJavacores/javacore.20230602.091853.83156.0002.txt +0 -0
- {javacore_analyser-2.1rc5 → javacore_analyser-2.2rc1}/test/data/verboseGcJavacores/javacore.20230602.092423.83156.0003.txt +0 -0
- {javacore_analyser-2.1rc5 → javacore_analyser-2.2rc1}/test/data/verboseGcJavacores/javacore.20230602.092537.83156.0004.txt +0 -0
- {javacore_analyser-2.1rc5 → javacore_analyser-2.2rc1}/test/data/verboseGcJavacores/javacore.20230602.092604.83156.0005.txt +0 -0
- {javacore_analyser-2.1rc5 → javacore_analyser-2.2rc1}/test/data/verboseGcJavacores/verbosegc.230602.61164.txt.001 +0 -0
- {javacore_analyser-2.1rc5 → javacore_analyser-2.2rc1}/test/data/verboseGcJavacores/verbosegc.230602.83156.txt.001 +0 -0
- {javacore_analyser-2.1rc5 → javacore_analyser-2.2rc1}/test/data/verboseGcJavacores.zip +0 -0
- {javacore_analyser-2.1rc5 → javacore_analyser-2.2rc1}/test/test_code_snapshot_collection.py +0 -0
- {javacore_analyser-2.1rc5 → javacore_analyser-2.2rc1}/test/test_gc_collection.py +0 -0
- {javacore_analyser-2.1rc5 → javacore_analyser-2.2rc1}/test/test_java_thread.py +0 -0
- {javacore_analyser-2.1rc5 → javacore_analyser-2.2rc1}/test/test_javacore.py +0 -0
- {javacore_analyser-2.1rc5 → javacore_analyser-2.2rc1}/test/test_javacore_set.py +0 -0
- {javacore_analyser-2.1rc5 → javacore_analyser-2.2rc1}/test/test_stack_trace.py +0 -0
- {javacore_analyser-2.1rc5 → javacore_analyser-2.2rc1}/test/test_stack_trace_element.py +0 -0
- {javacore_analyser-2.1rc5 → javacore_analyser-2.2rc1}/test/test_thread_snapshot.py +0 -0
- {javacore_analyser-2.1rc5 → javacore_analyser-2.2rc1}/test/test_tips.py +0 -0
- {javacore_analyser-2.1rc5 → javacore_analyser-2.2rc1}/test/test_verbose_gc_parser.py +0 -0
@@ -0,0 +1,10 @@
|
|
1
|
+
language: python
|
2
|
+
python:
|
3
|
+
- "3.9"
|
4
|
+
install:
|
5
|
+
- pip install -r requirements.txt
|
6
|
+
env:
|
7
|
+
global:
|
8
|
+
- PYTHONPATH=src:test
|
9
|
+
script:
|
10
|
+
- python -m unittest test.test_javacore test.test_thread_snapshot test.test_javacore_set test.test_java_thread test.test_stack_trace test.test_javacore_analyser test.test_tips test.test_verbose_gc_parser test.test_gc_collection test.test_code_snapshot_collection
|
@@ -0,0 +1,35 @@
|
|
1
|
+
# Changelog
|
2
|
+
|
3
|
+
## [2.1] - 2025-01-02
|
4
|
+
* Fixes #66 Move information about progress bar after information about number of threads by @kkazmierczyk in https://github.com/IBM/javacore-analyser/pull/67
|
5
|
+
* #27 there is no progress indicator on the web app by @kkazmierczyk in https://github.com/IBM/javacore-analyser/pull/59
|
6
|
+
* #57 Add more progress bars in the code by @kkazmierczyk in https://github.com/IBM/javacore-analyser/pull/58
|
7
|
+
* Expanding stack traces that contain search result by @PiotrAniola82 in https://github.com/IBM/javacore-analyser/pull/70
|
8
|
+
* Fixes #60 Switch to use cmd properties in web app by @kkazmierczyk in https://github.com/IBM/javacore-analyser/pull/72
|
9
|
+
* Fixed PEP warnings by @PiotrAniola82 in https://github.com/IBM/javacore-analyser/pull/75
|
10
|
+
* #20 generate docker image by @kkazmierczyk in https://github.com/IBM/javacore-analyser/pull/48
|
11
|
+
* Create _main_ class by @kkazmierczyk in https://github.com/IBM/javacore-analyser/pull/80
|
12
|
+
* Different time range on gc activity and cpu load graphs by @PiotrAniola82 in https://github.com/IBM/javacore-analyser/pull/76
|
13
|
+
|
14
|
+
[2.1]: https://github.com/IBM/javacore-analyser/releases/tag/2.1
|
15
|
+
|
16
|
+
## [2.0] - 2024-12-03
|
17
|
+
* #10 extract api methods by @kkazmierczyk in https://github.com/IBM/javacore-analyser/pull/11
|
18
|
+
* #8 generate web application by @kkazmierczyk in https://github.com/IBM/javacore-analyser/pull/23
|
19
|
+
* System information xmx value is blank when xmx does not have units by @PiotrAniola82 in https://github.com/IBM/javacore-analyser/pull/36
|
20
|
+
* #18-GC-activity-chart-shows-wrong-values-when-xmx-has-no-units by @tjanasiewicz in https://github.com/IBM/javacore-analyser/pull/45
|
21
|
+
* #14 Implemented progressbars by @kkazmierczyk in https://github.com/IBM/javacore-analyser/pull/15
|
22
|
+
* #12 generate pip package by @kkazmierczyk in https://github.com/IBM/javacore-analyser/pull/37
|
23
|
+
* Tidied up the expensive operation message by @PiotrAniola82 in https://github.com/IBM/javacore-analyser/pull/56
|
24
|
+
* Switched the doc link to point to the public wiki on github by @PiotrAniola82 in https://github.com/IBM/javacore-analyser/pull/54
|
25
|
+
* Added search bar to thread.xsl and javacore.xsl by @PiotrAniola82 in https://github.com/IBM/javacore-analyser/pull/51
|
26
|
+
* Updated the input/output arguments of the javacore_analyser_batch. by @tjanasiewicz in https://github.com/IBM/javacore-analyser/pull/63
|
27
|
+
|
28
|
+
[2.0]: https://github.com/IBM/javacore-analyser/releases/tag/2.0
|
29
|
+
|
30
|
+
## [1.0] - 2024-10-25
|
31
|
+
|
32
|
+
### Added
|
33
|
+
- Initial product release
|
34
|
+
|
35
|
+
[1.0]: https://github.com/IBM/javacore-analyser/releases/tag/v1.0
|
@@ -1,10 +1,10 @@
|
|
1
1
|
Metadata-Version: 2.4
|
2
2
|
Name: javacore_analyser
|
3
|
-
Version: 2.
|
3
|
+
Version: 2.2rc1
|
4
4
|
Summary: The tool to review IBM Javacore files
|
5
5
|
Project-URL: Homepage, https://github.com/IBM/javacore-analyser
|
6
6
|
Project-URL: Issues, https://github.com/IBM/javacore-analyser/issues
|
7
|
-
Project-URL: Changelog, https://github.com/IBM/javacore-analyser/CHANGELOG.md
|
7
|
+
Project-URL: Changelog, https://github.com/IBM/javacore-analyser/blob/main/CHANGELOG.md
|
8
8
|
Project-URL: Source, https://github.com/IBM/javacore-analyser
|
9
9
|
Author-email: Krzysztof Kazmierczyk <kazm@ibm.com>, Piotr Aniola <Piotr.Aniola@ibm.com>, Tadeusz Janasiewicz <t.janasiewicz@ibm.com>
|
10
10
|
License: Apache License
|
@@ -228,6 +228,7 @@ Classifier: Programming Language :: Python :: 3.12
|
|
228
228
|
Classifier: Programming Language :: Python :: 3.13
|
229
229
|
Requires-Python: >=3.9
|
230
230
|
Requires-Dist: flask
|
231
|
+
Requires-Dist: haralyzer
|
231
232
|
Requires-Dist: importlib-resources
|
232
233
|
Requires-Dist: lxml
|
233
234
|
Requires-Dist: py7zr
|
@@ -239,8 +240,18 @@ Description-Content-Type: text/markdown
|
|
239
240
|
<!-- This should be the location of the title of the repository, normally the short name -->
|
240
241
|
# Javacore Analyser
|
241
242
|
|
243
|
+
![GitHub License](https://img.shields.io/github/license/IBM/javacore-analyser)
|
244
|
+
![PyPI - Python Version](https://img.shields.io/pypi/pyversions/javacore-analyser)
|
245
|
+
![GitHub contributors](https://img.shields.io/github/contributors/IBM/javacore-analyser)
|
242
246
|
<!-- Build Status, is a great thing to have at the top of your repository, it shows that you take your CI/CD as first class citizens -->
|
243
247
|
[![Build Status](https://app.travis-ci.com/IBM/javacore-analyser.svg?token=w3i4X11XppEi2tJQsxDb&branch=main)](https://app.travis-ci.com/IBM/javacore-analyser)
|
248
|
+
![GitHub last commit](https://img.shields.io/github/last-commit/IBM/javacore-analyser)
|
249
|
+
![GitHub Release Date](https://img.shields.io/github/release-date/IBM/javacore-analyser)
|
250
|
+
![GitHub commit activity](https://img.shields.io/github/commit-activity/t/IBM/javacore-analyser)
|
251
|
+
![GitHub Issues or Pull Requests](https://img.shields.io/github/issues-pr/IBM/javacore-analyser)
|
252
|
+
![GitHub Issues or Pull Requests](https://img.shields.io/github/issues-pr-closed/IBM/javacore-analyser)
|
253
|
+
![PyPI - Downloads](https://img.shields.io/pypi/dm/javacore-analyser)
|
254
|
+
|
244
255
|
|
245
256
|
<!-- Not always needed, but a scope helps the user understand in a short sentance like below, why this repo exists -->
|
246
257
|
## Scope
|
@@ -267,7 +278,7 @@ Steps:
|
|
267
278
|
3. Run the following command:
|
268
279
|
`pip install javacore-analyser`
|
269
280
|
OR
|
270
|
-
`pip install --extra-index-url https://test.pypi.org/simple/ javacore-analyser` - if you want an experimental version
|
281
|
+
`pip install --pre --extra-index-url https://test.pypi.org/simple/ javacore-analyser` - if you want an experimental version
|
271
282
|
|
272
283
|
#### Installing from sources
|
273
284
|
This is recommended for geeks only:
|
@@ -281,23 +292,29 @@ This is recommended for geeks only:
|
|
281
292
|
#### Running cmd application:
|
282
293
|
1. Install application if not done yet
|
283
294
|
2. Activate your created virtual environment according to activate Virtual Environment according to [Creating virtual environments](https://docs.python.org/3/tutorial/venv.html#creating-virtual-environments)
|
284
|
-
3. Run the following command from cmd:
|
295
|
+
3. Run the following command from cmd:
|
296
|
+
`javacore-analyser-batch <input-data> <generated-reports-dir>`
|
297
|
+
or
|
298
|
+
`python -m javacore_analyser batch <input-data> <generated-reports-dir>`
|
299
|
+
|
285
300
|
Where `<input-data>` is one of the following:
|
286
301
|
* The directory containing javacores and optionally verbose gc
|
287
302
|
* Archive (7z, zip, tar.gz, tar.bz2) containing the same
|
288
303
|
* List of the javacores separated by `;` character. Optionally you can add `--separator` option to define your own separator.
|
289
304
|
You can type the following command to obtain the help:
|
290
|
-
`javacore-analyser-batch --help`
|
305
|
+
`javacore-analyser-batch --help` or `python -m javacore_analyser batch --help`
|
291
306
|
|
292
307
|
#### Running web application:
|
293
308
|
1. Repeat steps 1-3 from cmd application
|
294
309
|
2. Execute the following command from cmd:
|
295
|
-
`javacore_analyser_web --port=
|
310
|
+
`javacore_analyser_web --port=5000 --reports-dir=/data/reports_dir`
|
311
|
+
or
|
312
|
+
`python -m javacore_analyser web --port=5000 --reports-dir=/data/reports_dir`
|
296
313
|
|
297
|
-
|
298
|
-
|
314
|
+
The first parameter set the port to use by application. If not specified, 5000 will be used.
|
315
|
+
The second parameter sets where the reports need to be stored. If not set, then the `reports` dir will be created in current location.
|
299
316
|
|
300
|
-
|
317
|
+
Now you can type (http://localhost:5000/).
|
301
318
|
|
302
319
|
### Running container image
|
303
320
|
There is an unofficial Docker/Podman container managed by one of projects developers. Use the following command
|
@@ -1,8 +1,18 @@
|
|
1
1
|
<!-- This should be the location of the title of the repository, normally the short name -->
|
2
2
|
# Javacore Analyser
|
3
3
|
|
4
|
+
![GitHub License](https://img.shields.io/github/license/IBM/javacore-analyser)
|
5
|
+
![PyPI - Python Version](https://img.shields.io/pypi/pyversions/javacore-analyser)
|
6
|
+
![GitHub contributors](https://img.shields.io/github/contributors/IBM/javacore-analyser)
|
4
7
|
<!-- Build Status, is a great thing to have at the top of your repository, it shows that you take your CI/CD as first class citizens -->
|
5
8
|
[![Build Status](https://app.travis-ci.com/IBM/javacore-analyser.svg?token=w3i4X11XppEi2tJQsxDb&branch=main)](https://app.travis-ci.com/IBM/javacore-analyser)
|
9
|
+
![GitHub last commit](https://img.shields.io/github/last-commit/IBM/javacore-analyser)
|
10
|
+
![GitHub Release Date](https://img.shields.io/github/release-date/IBM/javacore-analyser)
|
11
|
+
![GitHub commit activity](https://img.shields.io/github/commit-activity/t/IBM/javacore-analyser)
|
12
|
+
![GitHub Issues or Pull Requests](https://img.shields.io/github/issues-pr/IBM/javacore-analyser)
|
13
|
+
![GitHub Issues or Pull Requests](https://img.shields.io/github/issues-pr-closed/IBM/javacore-analyser)
|
14
|
+
![PyPI - Downloads](https://img.shields.io/pypi/dm/javacore-analyser)
|
15
|
+
|
6
16
|
|
7
17
|
<!-- Not always needed, but a scope helps the user understand in a short sentance like below, why this repo exists -->
|
8
18
|
## Scope
|
@@ -29,7 +39,7 @@ Steps:
|
|
29
39
|
3. Run the following command:
|
30
40
|
`pip install javacore-analyser`
|
31
41
|
OR
|
32
|
-
`pip install --extra-index-url https://test.pypi.org/simple/ javacore-analyser` - if you want an experimental version
|
42
|
+
`pip install --pre --extra-index-url https://test.pypi.org/simple/ javacore-analyser` - if you want an experimental version
|
33
43
|
|
34
44
|
#### Installing from sources
|
35
45
|
This is recommended for geeks only:
|
@@ -43,23 +53,29 @@ This is recommended for geeks only:
|
|
43
53
|
#### Running cmd application:
|
44
54
|
1. Install application if not done yet
|
45
55
|
2. Activate your created virtual environment according to activate Virtual Environment according to [Creating virtual environments](https://docs.python.org/3/tutorial/venv.html#creating-virtual-environments)
|
46
|
-
3. Run the following command from cmd:
|
56
|
+
3. Run the following command from cmd:
|
57
|
+
`javacore-analyser-batch <input-data> <generated-reports-dir>`
|
58
|
+
or
|
59
|
+
`python -m javacore_analyser batch <input-data> <generated-reports-dir>`
|
60
|
+
|
47
61
|
Where `<input-data>` is one of the following:
|
48
62
|
* The directory containing javacores and optionally verbose gc
|
49
63
|
* Archive (7z, zip, tar.gz, tar.bz2) containing the same
|
50
64
|
* List of the javacores separated by `;` character. Optionally you can add `--separator` option to define your own separator.
|
51
65
|
You can type the following command to obtain the help:
|
52
|
-
`javacore-analyser-batch --help`
|
66
|
+
`javacore-analyser-batch --help` or `python -m javacore_analyser batch --help`
|
53
67
|
|
54
68
|
#### Running web application:
|
55
69
|
1. Repeat steps 1-3 from cmd application
|
56
70
|
2. Execute the following command from cmd:
|
57
|
-
`javacore_analyser_web --port=
|
71
|
+
`javacore_analyser_web --port=5000 --reports-dir=/data/reports_dir`
|
72
|
+
or
|
73
|
+
`python -m javacore_analyser web --port=5000 --reports-dir=/data/reports_dir`
|
58
74
|
|
59
|
-
|
60
|
-
|
75
|
+
The first parameter set the port to use by application. If not specified, 5000 will be used.
|
76
|
+
The second parameter sets where the reports need to be stored. If not set, then the `reports` dir will be created in current location.
|
61
77
|
|
62
|
-
|
78
|
+
Now you can type (http://localhost:5000/).
|
63
79
|
|
64
80
|
### Running container image
|
65
81
|
There is an unofficial Docker/Podman container managed by one of projects developers. Use the following command
|
@@ -1,5 +1,5 @@
|
|
1
1
|
#
|
2
|
-
# Copyright IBM Corp. 2024 -
|
2
|
+
# Copyright IBM Corp. 2024 - 2025
|
3
3
|
# SPDX-License-Identifier: Apache-2.0
|
4
4
|
#
|
5
5
|
|
@@ -8,9 +8,9 @@ requires = ["hatchling", "versioningit"]
|
|
8
8
|
build-backend = "hatchling.build"
|
9
9
|
|
10
10
|
[project]
|
11
|
-
dynamic = ["version"]
|
11
|
+
#dynamic = ["version"]
|
12
12
|
name = "javacore_analyser"
|
13
|
-
|
13
|
+
version = "2.2rc1"
|
14
14
|
authors = [
|
15
15
|
{ name="Krzysztof Kazmierczyk", email="kazm@ibm.com" },
|
16
16
|
{ name="Piotr Aniola", email="Piotr.Aniola@ibm.com" },
|
@@ -21,7 +21,6 @@ readme = "README.md"
|
|
21
21
|
license = {file = "LICENSE"}
|
22
22
|
requires-python = ">=3.9"
|
23
23
|
classifiers = [
|
24
|
-
"Programming Language :: Python :: 3",
|
25
24
|
"Programming Language :: Python :: 3",
|
26
25
|
"Programming Language :: Python :: 3.9",
|
27
26
|
"Programming Language :: Python :: 3.10",
|
@@ -46,7 +45,8 @@ dependencies = [
|
|
46
45
|
"importlib-resources",
|
47
46
|
"flask",
|
48
47
|
"waitress",
|
49
|
-
"tqdm"
|
48
|
+
"tqdm",
|
49
|
+
"haralyzer"
|
50
50
|
]
|
51
51
|
|
52
52
|
[project.scripts]
|
@@ -56,9 +56,14 @@ javacore_analyser_web="javacore_analyser.javacore_analyser_web:main"
|
|
56
56
|
[project.urls]
|
57
57
|
Homepage = "https://github.com/IBM/javacore-analyser"
|
58
58
|
Issues = "https://github.com/IBM/javacore-analyser/issues"
|
59
|
-
Changelog = "https://github.com/IBM/javacore-analyser/CHANGELOG.md"
|
59
|
+
Changelog = "https://github.com/IBM/javacore-analyser/blob/main/CHANGELOG.md"
|
60
60
|
Source = "https://github.com/IBM/javacore-analyser"
|
61
61
|
|
62
|
+
#[tool.hatch.build.targets.sdist]
|
63
|
+
#exclude = [
|
64
|
+
# "/test",
|
65
|
+
#]
|
66
|
+
|
62
67
|
[tool.hatch.version]
|
63
68
|
source = "versioningit"
|
64
69
|
|
@@ -0,0 +1,43 @@
|
|
1
|
+
#
|
2
|
+
# Copyright IBM Corp. 2024 - 2024
|
3
|
+
# SPDX-License-Identifier: Apache-2.0
|
4
|
+
#
|
5
|
+
import argparse
|
6
|
+
|
7
|
+
from javacore_analyser import javacore_analyser_batch, constants, javacore_analyser_web
|
8
|
+
|
9
|
+
|
10
|
+
def main():
|
11
|
+
parser = argparse.ArgumentParser(prog="python -m javacore_analyser")
|
12
|
+
subparsers = parser.add_subparsers(dest="type", help="Application type", required=True)
|
13
|
+
|
14
|
+
batch = subparsers.add_parser("batch", description="Run batch application")
|
15
|
+
batch.add_argument("input", help="Input file(s) or directory")
|
16
|
+
batch.add_argument("output", help="Destination report directory")
|
17
|
+
batch.add_argument("--separator", default=constants.DEFAULT_FILE_DELIMITER)
|
18
|
+
|
19
|
+
web = subparsers.add_parser("web", description="Run web application")
|
20
|
+
web.add_argument("--debug", help="Debug mode. Use True only for app development", default=False)
|
21
|
+
web.add_argument("--port", help="Application port", default=constants.DEFAULT_PORT)
|
22
|
+
web.add_argument("--reports-dir", help="Directory to store reports data",
|
23
|
+
default=constants.DEFAULT_REPORTS_DIR)
|
24
|
+
|
25
|
+
args = parser.parse_args()
|
26
|
+
|
27
|
+
app_type: str = args.type
|
28
|
+
|
29
|
+
if app_type.lower() == "web":
|
30
|
+
print("Running web application")
|
31
|
+
javacore_analyser_web.run_web(args.debug, args.port, args.reports_dir)
|
32
|
+
elif app_type.lower() == "batch":
|
33
|
+
print("Running batch application")
|
34
|
+
javacore_analyser_batch.batch_process(args.input, args.output, args.separator)
|
35
|
+
else:
|
36
|
+
print('Invalid application type. Available types: "batch" or "web"')
|
37
|
+
|
38
|
+
|
39
|
+
if __name__ == '__main__':
|
40
|
+
# This is the code to be able to run the app from command line.
|
41
|
+
# Try this:
|
42
|
+
# python -m javacore_analyser -h
|
43
|
+
main()
|
@@ -0,0 +1,22 @@
|
|
1
|
+
<!DOCTYPE html>
|
2
|
+
|
3
|
+
<!--
|
4
|
+
# Copyright IBM Corp. 2024 - 2025
|
5
|
+
# SPDX-License-Identifier: Apache-2.0
|
6
|
+
-->
|
7
|
+
|
8
|
+
<html lang="en">
|
9
|
+
<head>
|
10
|
+
<meta charset="UTF-8">
|
11
|
+
<title>Processing failed</title>
|
12
|
+
</head>
|
13
|
+
<body>
|
14
|
+
<p>
|
15
|
+
Processing failed with an error. Check the log file. If the issue is a product defect, rais it on
|
16
|
+
<a href="https://github.com/IBM/javacore-analyser/issues/new?template=bug_report.md">Bug report</a> page.
|
17
|
+
</p>
|
18
|
+
<p>Please attach the stack trace</p>
|
19
|
+
<p>Stack trace: </p>
|
20
|
+
<code> {stacktrace} </code>
|
21
|
+
</body>
|
22
|
+
</html>
|
@@ -1,6 +1,8 @@
|
|
1
|
-
|
2
|
-
|
3
|
-
|
1
|
+
/*
|
2
|
+
Copyright IBM Corp. 2024 - 2025
|
3
|
+
SPDX-License-Identifier: Apache-2.0
|
4
|
+
*/
|
5
|
+
|
4
6
|
/* overall */
|
5
7
|
.tablesorter-blue {
|
6
8
|
width: 100%;
|
@@ -109,6 +111,10 @@
|
|
109
111
|
background-color: red
|
110
112
|
}
|
111
113
|
|
114
|
+
.tablesorter-blue td.http_failure {
|
115
|
+
background-color: red
|
116
|
+
}
|
117
|
+
|
112
118
|
/* hovered row colors
|
113
119
|
you'll need to add additional lines for
|
114
120
|
rows with more than 2 child rows
|
@@ -99,7 +99,9 @@ const loadChartGC = function() {
|
|
99
99
|
}
|
100
100
|
|
101
101
|
const sysResourceE3Elem = document.getElementById('systemresources_myChartGC');
|
102
|
-
sysResourceE3Elem
|
102
|
+
if (sysResourceE3Elem) {
|
103
|
+
sysResourceE3Elem.classList.remove('hide');
|
104
|
+
}
|
103
105
|
|
104
106
|
const ctx = document.getElementById('myChartGC');
|
105
107
|
|
@@ -125,7 +127,7 @@ const loadChartGC = function() {
|
|
125
127
|
startingPoint = timestamp;
|
126
128
|
|
127
129
|
if(endingPoint < timestamp)
|
128
|
-
endingPoint
|
130
|
+
endingPoint = timestamp;
|
129
131
|
}
|
130
132
|
|
131
133
|
coresTimeRange['startTime'] = startingPoint;
|
@@ -1,3 +1,8 @@
|
|
1
|
+
/*
|
2
|
+
Copyright IBM Corp. 2024 - 2025
|
3
|
+
SPDX-License-Identifier: Apache-2.0
|
4
|
+
*/
|
5
|
+
|
1
6
|
table.heading {
|
2
7
|
border: none;
|
3
8
|
width: 100%;
|
@@ -100,6 +105,28 @@ td {
|
|
100
105
|
text-align: left;
|
101
106
|
}
|
102
107
|
|
108
|
+
.info {
|
109
|
+
position: relative;
|
110
|
+
display: inline-block;
|
111
|
+
border-bottom: 1px dotted black; /* If you want dots under the hoverable text */
|
112
|
+
color: orange
|
113
|
+
}
|
114
|
+
|
115
|
+
/* Tooltip text */
|
116
|
+
.info .infotooltip {
|
117
|
+
visibility: hidden;
|
118
|
+
width: 120px;
|
119
|
+
background-color: black;
|
120
|
+
color: #fff;
|
121
|
+
text-align: center;
|
122
|
+
padding: 5px 0;
|
123
|
+
border-radius: 6px;
|
124
|
+
|
125
|
+
/* Position the tooltip text - see examples below! */
|
126
|
+
position: absolute;
|
127
|
+
z-index: 1;
|
128
|
+
}
|
129
|
+
|
103
130
|
.warning {
|
104
131
|
position: relative;
|
105
132
|
display: inline-block;
|
@@ -142,6 +169,11 @@ mark.current {
|
|
142
169
|
background: orange;
|
143
170
|
}
|
144
171
|
|
172
|
+
/* Show the tooltip text when you mouse over the tooltip container */
|
173
|
+
.info:hover .infotooltip {
|
174
|
+
visibility: visible;
|
175
|
+
}
|
176
|
+
|
145
177
|
/* Show the tooltip text when you mouse over the tooltip container */
|
146
178
|
.warning:hover .warningtooltip {
|
147
179
|
visibility: visible;
|