javacore-analyser 2.4.0.dev9__py3-none-any.whl → 2.4.0.dev18__py3-none-any.whl

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
@@ -0,0 +1,14 @@
1
+ /*
2
+ Copyright IBM Corp. 2025 - 2026
3
+ SPDX-License-Identifier: Apache-2.0
4
+ */
5
+
6
+ $(function(){
7
+ $('#generated_reports_table').tablesorter({
8
+ theme : 'blue',
9
+ headers: {
10
+ 2: { sorter: false },
11
+ 3: { sorter: false },
12
+ },
13
+ });
14
+ });
@@ -1,5 +1,5 @@
1
1
  #
2
- # Copyright IBM Corp. 2024 - 2024
2
+ # Copyright IBM Corp. 2024 - 2025
3
3
  # SPDX-License-Identifier: Apache-2.0
4
4
  #
5
5
  import argparse
@@ -26,7 +26,7 @@ To run the application from cmd type:
26
26
 
27
27
  flask --app javacore_analyser_web run
28
28
  """
29
- app = Flask(__name__)
29
+ app = Flask(__name__, static_folder='data')
30
30
  reports_dir = DEFAULT_REPORTS_DIR
31
31
 
32
32
 
@@ -139,7 +139,7 @@ def main():
139
139
 
140
140
  def run_web(debug=False, port=5000, reports_directory=DEFAULT_REPORTS_DIR):
141
141
  global reports_dir
142
- reports_dir = reports_directory
142
+ reports_dir = os.path.abspath(reports_directory)
143
143
  create_console_logging()
144
144
  logging.info("Javacore analyser")
145
145
  logging.info("Python version: " + sys.version)
@@ -11,6 +11,12 @@
11
11
  <html xmlns="http://www.w3.org/1999/html" xmlns="http://www.w3.org/1999/html">
12
12
  <head>
13
13
  <title>Javacore Analyser</title>
14
+ <link rel="stylesheet" href="{{ url_for('static', filename='style.css') }}"/>
15
+ <link rel="stylesheet" href="{{ url_for('static', filename='jquery/jq.css') }}"/>
16
+ <link rel="stylesheet" href="{{ url_for('static', filename='jquery/theme.blue.css') }}"/>
17
+ <script type="text/javascript" src="{{ url_for('static', filename='jquery/jquery.min.js') }}"> _ </script>
18
+ <script type="text/javascript" src="{{ url_for('static', filename='jquery/jquery.tablesorter.min.js') }}"> _ </script>
19
+ <script type="text/javascript" src="{{ url_for('static', filename='style.js')}}"></script>
14
20
  </head>
15
21
  <body>
16
22
  <h1>Javacore Analyser</h1>
@@ -34,9 +40,16 @@
34
40
  <br></br>
35
41
 
36
42
 
37
- <h2>List of generated reports:</h2>
38
- <table>
39
- <tr><th> Name </th><th> Creation Date </th><th> Download </th><th> Delete </th></tr>
43
+ <h1>List of generated reports:</h1>
44
+ <table id="generated_reports_table">
45
+ <thead>
46
+ <tr>
47
+ <th> Name </th>
48
+ <th> Creation Date </th>
49
+ <th> Download </th>
50
+ <th> Delete </th>
51
+ </tr>
52
+ </thead>
40
53
  {% for report in reports %}
41
54
  {% set name = report['name'] %}
42
55
  {% set date = report['date'] %}
@@ -1,6 +1,6 @@
1
1
  Metadata-Version: 2.4
2
2
  Name: javacore_analyser
3
- Version: 2.4.0.dev9
3
+ Version: 2.4.0.dev18
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,7 +7,7 @@ javacore_analyser/har_file.py,sha256=grXpfIyPek9xQ5jp3_AYOB5JDELd17o4O4rYELxWO7w
7
7
  javacore_analyser/java_thread.py,sha256=nDFJiFQSO78jP9YdMpBr2d_M2RMT0te_kJxn5KY_RNo,5437
8
8
  javacore_analyser/javacore.py,sha256=oqJ-nKkZvq8xk_zlF9Z4dX61isqLRndSVLnQob_KUG4,7006
9
9
  javacore_analyser/javacore_analyser_batch.py,sha256=2JnRruA0jazWHspT60cXX-Yuwf4vFSA5ywXYPQ4-ZiM,7888
10
- javacore_analyser/javacore_analyser_web.py,sha256=o-Spq119Wi7w4pvBa7M7ZrxiZnzKmWqDhCdGtEReQAU,5951
10
+ javacore_analyser/javacore_analyser_web.py,sha256=RVOtHewraQ3YhDPOI_IWqWn_aoA5a45AYOx0ZtG5-HA,5990
11
11
  javacore_analyser/javacore_set.py,sha256=5x16j8KfA_DXD3FlvKlRHfRJ2B1rj5j2EkMfb2dV3dg,33341
12
12
  javacore_analyser/logging_utils.py,sha256=vLob0ikezysjGv9XGqv9GbLekxu4eO_csq22M-gtLiQ,966
13
13
  javacore_analyser/properties.py,sha256=SVxe86mL4DM_vkPEBT-V0_xDeIbXp2vjYE1aD-Z_UCQ,805
@@ -21,6 +21,7 @@ javacore_analyser/tips.py,sha256=JggNTmCkH2x2jqFChdnWlex8hU9q3Gy5IqJaxDQtPwI,862
21
21
  javacore_analyser/verbose_gc.py,sha256=FdSzj9bB9GrJVM8qzkvjNm0LsJZRvKWpd2oMQ8G8eEE,6373
22
22
  javacore_analyser/data/expand.js,sha256=KwqvNUoO7yMDeQKcnLDywfMdR3Zsjan5L8QoPsQQLGo,956
23
23
  javacore_analyser/data/style.css,sha256=HSKPajW3EItHjye6mSGNMRPEzfE2r7o1Gq-BEAI54Ts,2879
24
+ javacore_analyser/data/style.js,sha256=oLF2ToXmGQfdL2dAgur9i7ycfWbliSnpmCZ2GHl_3Hk,271
24
25
  javacore_analyser/data/html/error.html,sha256=dJI5RdeNL1E4Y-zaU7NTBqrsxCuAovVc1Cebrk5GcYA,520
25
26
  javacore_analyser/data/html/processing_data.html,sha256=S1S2GMXQ8oQdqdYTcPzVMxUib-NLtM4ffT3OJaIIO7w,421
26
27
  javacore_analyser/data/jquery/chart.js,sha256=tgiW1vJqfIKxE0F2uVvsXbgUlTyrhPMY_sm30hh_Sxc,203464
@@ -41,9 +42,9 @@ javacore_analyser/data/xml/javacores/javacore.xml,sha256=6dG89Whx1_kpEYVS_F6Upa2
41
42
  javacore_analyser/data/xml/javacores/javacore.xsl,sha256=puJl7CDR7FACAHbb2lTKHiwTrQMZT02_l-D4pV241w0,11682
42
43
  javacore_analyser/data/xml/threads/thread.xml,sha256=6dG89Whx1_kpEYVS_F6Upa2XuXnXorlQATFc8kD5Mfc,280
43
44
  javacore_analyser/data/xml/threads/thread.xsl,sha256=1tg5tImtr1gyZ8Q61tqIukNtm1fQ6R8YoKC3EgIjLRA,14084
44
- javacore_analyser/templates/index.html,sha256=FzV5PSz_YtkwwWluN0XBtdgzkOujI26YQXKCFkobO9U,1748
45
- javacore_analyser-2.4.0.dev9.dist-info/METADATA,sha256=s3O_BP2tOOlYvFQC6w5hxudnvZsKNoL2lq966t0PA1o,22369
46
- javacore_analyser-2.4.0.dev9.dist-info/WHEEL,sha256=qtCwoSJWgHk21S1Kb4ihdzI2rlJ1ZKaIurTj_ngOhyQ,87
47
- javacore_analyser-2.4.0.dev9.dist-info/entry_points.txt,sha256=W3S799zI58g5-jWMsC3wY9xksz21LPEMYOILv8sayfM,160
48
- javacore_analyser-2.4.0.dev9.dist-info/licenses/LICENSE,sha256=xllut76FgcGL5zbIRvuRc7aezPbvlMUTWJPsVr2Sugg,11358
49
- javacore_analyser-2.4.0.dev9.dist-info/RECORD,,
45
+ javacore_analyser/templates/index.html,sha256=c40-JY3eXG9NzPVMy14VSZFj1Yq7cuUDVUg5BWa2WY0,2466
46
+ javacore_analyser-2.4.0.dev18.dist-info/METADATA,sha256=OviivZB001U1tDP3zNn7-RiHSrfa2_1jUFuU6CgFpkc,22370
47
+ javacore_analyser-2.4.0.dev18.dist-info/WHEEL,sha256=qtCwoSJWgHk21S1Kb4ihdzI2rlJ1ZKaIurTj_ngOhyQ,87
48
+ javacore_analyser-2.4.0.dev18.dist-info/entry_points.txt,sha256=W3S799zI58g5-jWMsC3wY9xksz21LPEMYOILv8sayfM,160
49
+ javacore_analyser-2.4.0.dev18.dist-info/licenses/LICENSE,sha256=xllut76FgcGL5zbIRvuRc7aezPbvlMUTWJPsVr2Sugg,11358
50
+ javacore_analyser-2.4.0.dev18.dist-info/RECORD,,