repo
stringlengths
1
191
file
stringlengths
23
351
code
stringlengths
0
5.32M
file_length
int64
0
5.32M
avg_line_length
float64
0
2.9k
max_line_length
int64
0
288k
extension_type
stringclasses
1 value
gluon
gluon-master/test/validation/Knight/SolverCorrect.java
package test.validation.Knight; import java.awt.Point; public class SolverCorrect { private KnightMoves km; private Point me; private int moves; public SolverCorrect(KnightMoves km, Point me, int moves) { this.km=km; this.me=me; this.moves=moves; } public void go() { Point []next=new Point[8]; int...
926
17.918367
58
java
gluon
gluon-master/test/validation/AllocateVector/Main.java
package test.validation.AllocateVector; import java.io.*; /** * class Test: Used to test class AllocationVector. */ public class Main { /** * Indicates number of threads runs to perform. */ private static final int runsNum = 1; /** * MAIN METHOD. * Gets from command-line: 1. Name of output file. * ...
3,724
30.302521
122
java
gluon
gluon-master/test/validation/AllocateVector/AllocationVector.java
package test.validation.AllocateVector; import test.common.Atomic; import test.common.Contract; /** * class AllocationVector: Used to manage allocation and freeing of blocks. * BUG DOCUMENTATION: There is a synchronization GAP between the methods * "getFreeBlockIndex" and "markAsAllocatedBlock", in which anything ...
3,153
27.160714
88
java
gluon
gluon-master/test/validation/AllocateVector/TestThread1.java
package test.validation.AllocateVector; // import org.deuce.Atomic; /** * class TestThread1: Used to run thread which allocates and frees blocks by * given AllocationVector object. */ public class TestThread1 extends Thread { /** * Reference to class AllocationVector object with which the thread will work. */...
2,217
28.184211
85
java
gluon
gluon-master/test/validation/Local/Cell.java
package test.validation.Local; import test.common.Atomic; import test.common.Contract; @Contract(clauses = "getValue setValue;" +"setValue getValue;") class Cell { private int n = 0; @Atomic int getValue() { return n; } @Atomic void setValue(int x) { n = x; } }
319
15
40
java
gluon
gluon-master/test/validation/Local/Local.java
package test.validation.Local; public class Local extends Thread { static Cell x = new Cell(); public static void main(String[] args) { new Local().start(); new Local().start(); } public void run() { int tmp; tmp = x.getValue(); tmp++; x.setValue(tmp); } }
278
13.684211
41
java
gluon
gluon-master/test/validation/Elevator/Floor.java
package test.validation.Elevator; /* * Copyright (C) 2000 by ETHZ/INF/CS * All rights reserved * * @version $Id$ * @author Roger Karrer */ import java.util.*; // class to represent a floor in the control object class Floor { // Lists of people waiting to go up, and down // The Vectors will have instances of...
655
20.866667
72
java
gluon
gluon-master/test/validation/Elevator/Lift.java
package test.validation.Elevator; /* * Copyright (C) 2000 by ETHZ/INF/CS * All rights reserved * * @version $Id$ * @author Roger Karrer */ import java.util.*; // class that implements the elevator threads class Lift extends Thread { // used for assigning unique ids to the elevators private static int count ...
8,532
29.916667
81
java
gluon
gluon-master/test/validation/Elevator/Controls.java
package test.validation.Elevator; /* * Copyright (C) 2000 by ETHZ/INF/CS * All rights reserved * * @version $Id$ * @author Roger Karrer */ import java.util.*; import test.common.Atomic; import test.common.Contract; // class of the shared control object @Contract(clauses = "checkUp(X) claimUp(X);" ...
3,563
28.213115
73
java
gluon
gluon-master/test/validation/Elevator/Elevator.java
package test.validation.Elevator; /* * Copyright (C) 2000 by ETHZ/INF/CS * All rights reserved * * @version $Id$ * @author Roger Karrer */ import java.util.*; import java.io.*; public class Elevator { // shared control object private Controls controls; private Vector events; // Initializer for main class...
2,349
22.737374
64
java
gluon
gluon-master/test/validation/Elevator/ButtonPress.java
package test.validation.Elevator; /* * Copyright (C) 2000 by ETHZ/INF/CS * All rights reserved * * @version $Id$ * @author Roger Karrer */ // class to represent a press of a call button class ButtonPress { // floor on which the button is pressed public int onFloor; // floor to which the person wishes to tra...
503
17
46
java
gluon
gluon-master/test/validation/VectorFail/Main.java
package test.validation.VectorFail; public class Main{ public int x; public int y; public Main (int x , int y){ this.x = x; this.y = y; } public static void main(String[] args) { Vector pair = new Vector(1,2); for(int i = 0; i < 10; i++){ new MyThread(pair).start(); } } }
294
15.388889
41
java
gluon
gluon-master/test/validation/VectorFail/Vector.java
package test.validation.VectorFail; import test.common.Atomic; import test.common.Contract; @Contract(clauses = "getMax getMin;" +"getMin getMax;") public class Vector{ public int first; public int second; public boolean firstIsGreater; public Vector(int x1, int x2) { this.first = x1; thi...
1,202
17.227273
59
java
gluon
gluon-master/test/validation/VectorFail/MyThread.java
package test.validation.VectorFail; import java.util.Random; public class MyThread extends Thread{ Vector vector; public MyThread(Vector v){ this.vector = v; } public void run() { while(true){ Random r = new Random(); int val = r.nextInt(10); vector.setElements(val, val*2); int max = vector.get...
485
17
70
java
gluon
gluon-master/test/validation/Jigsaw/Main.java
package test.validation.Jigsaw; class Runner extends Thread { private ResourceStoreManager rsm; public Runner(ResourceStoreManager rsm) { this.rsm = rsm; } // not synched!!! HLDR, but we get a false negative! ResourceStore loadResourceStore(ResourceStoreManager r) { if (r.checkClosed()) retur...
729
21.8125
66
java
gluon
gluon-master/test/validation/Jigsaw/ResourceStoreManager.java
package test.validation.Jigsaw; import java.util.HashMap; import java.util.Map; import test.common.Atomic; import test.common.Contract; @Contract(clauses = "checkClosed lookupEntry;") public class ResourceStoreManager { boolean closed = false; Map entries = new HashMap(); // @Atomic // void checkClosed()...
753
16.534884
47
java
gluon
gluon-master/test/validation/Jigsaw/Entry.java
package test.validation.Jigsaw; public class Entry { protected ResourceStore store; public Entry(String name){ store = new ResourceStore(name); } public ResourceStore getStore() { return store; } public String getName(){ return store.getName(); } @Override public int hashCode() { final int prime ...
782
17.209302
69
java
gluon
gluon-master/test/validation/Jigsaw/ResourceStore.java
package test.validation.Jigsaw; public class ResourceStore { protected String name; public ResourceStore(String name){ this.name = name; } public String getName(){ return name; } @Override public int hashCode() { final int prime = 31; int result = 1; result = prime * result + ((name == null) ? 0 : ...
718
17.921053
67
java
gluon
gluon-master/test/validation/MyStringBuffer/Main.java
package test.validation.MyStringBuffer; public class Main { public static void main(String args[]) { MyStringBuffer ham = new MyStringBuffer("ham"); MyStringBuffer burger = new MyStringBuffer("burger"); append(ham, burger); System.out.println(ham); } public static MyStringBuffer append(MyStringBuffer t, M...
580
21.346154
78
java
gluon
gluon-master/test/validation/MyStringBuffer/MyStringBuffer.java
package test.validation.MyStringBuffer; import test.common.Atomic; import test.common.Contract; /* * Simulates java.lang.StringBuffer */ @Contract(clauses = "X=length getChars(_,X,_,_);") class MyStringBuffer { private java.lang.StringBuffer buffer; public MyStringBuffer(String string) { this.buffer = new Stri...
584
20.666667
75
java
gluon
gluon-master/test/validation/Coord03/T3.java
package test.validation.Coord03; public class T3 extends Thread{ /* * x3 = c.getX(); * y3 = c.getY(); * use(x3,y3); */ Vars v; public T3(Vars v){ this.v = v; } public void run() { System.out.println("Estou no run do t3"); int x3 = v.getX(); int y3 = v.getY(); use(x3,y3); } private void use(...
363
13.56
43
java
gluon
gluon-master/test/validation/Coord03/Main.java
package test.validation.Coord03; public class Main{ public int x; public int y; public Main (int x , int y){ this.x = x; this.y = y; } public static void main(String[] args) { Vars v = new Vars(); for(int i = 0;i<10;i++){ new T1(v).start(); new T2(v).start(); new T3(v).start(); new T4(v).start...
333
15.7
41
java
gluon
gluon-master/test/validation/Coord03/Pair.java
package test.validation.Coord03; public class Pair<T1, T2> { private T1 first; private T2 second; public Pair(T1 first, T2 second) { super(); this.first = first; this.second = second; } public Pair(Pair<T1, T2> p) { if(p != null){ this.first = p.first; this.second = p.second; } } public T1 ...
1,317
18.382353
71
java
gluon
gluon-master/test/validation/Coord03/Vars.java
package test.validation.Coord03; import test.common.Atomic; import test.common.Contract; @Contract(clauses = "getX getY;" +"getY getX;" +"setX setY;" +"setY setX;") public class Vars { int x = 0; int y = 0; public Vars (int x, int y){ this.x = x; this.y...
727
12.735849
40
java
gluon
gluon-master/test/validation/Coord03/T4.java
package test.validation.Coord03; public class T4 extends Thread{ /* * x4 = c.getX(); * use(x4); * d4 = c.getXY(); * x4 = d4.getX(); * y4 = d4.getY(); * use(x4,y4); */ Vars v; public T4(Vars v){ this.v = v; } @Override public void run() { System.out.println("Estou no run do t4"); int x4 = ...
562
13.815789
43
java
gluon
gluon-master/test/validation/Coord03/T2.java
package test.validation.Coord03; public class T2 extends Thread{ Vars v; public T2(Vars v){ this.v = v; } private void use(int a){ // Do something... } public void run() { System.out.println("Estou no run do t2"); int z = v.getX(); use(z); } }
264
12.947368
43
java
gluon
gluon-master/test/validation/Coord03/T1.java
package test.validation.Coord03; public class T1 extends Thread{ /* * d1 = new Coord(1,2); * c.setXY(d1); */ Vars v; public T1(Vars v){ this.v = v; } public void run() { System.out.println("Estou no run do t1"); v.setXY(1,2); } }
251
11.6
43
java
gluon
gluon-master/test/validation/ConnectionTest/Counter.java
package test.validation.ConnectionTest; import test.common.Atomic; public class Counter { int n = 0; @Atomic public void reset() { n = 0; } public void increment() { n++; } }
189
10.176471
39
java
gluon
gluon-master/test/validation/ConnectionTest/GUI.java
package test.validation.ConnectionTest; import java.io.IOException; import java.util.Random; class GUI extends Thread { Connection connection; public GUI(Connection connection) { this.connection = connection; } public static void main(String args[]) { Connection connection = new Connection(); connection....
1,190
18.209677
52
java
gluon
gluon-master/test/validation/ConnectionTest/Connection.java
package test.validation.ConnectionTest; import java.io.IOException; import java.net.Socket; import test.common.Atomic; import test.common.Contract; @Contract(clauses = "isConnected send;" +"resetSocket resetCounter;") class Connection { private final Counter counter; private Socket socket; pu...
924
17.877551
54
java
gluon
gluon-master/test/validation/ArithmeticDatabase/Main.java
package test.validation.ArithmeticDatabase; public class Main { public static final int CLIENTS=5; private static Table<RPN_Expression,Integer> exp_table; private static Table<Integer,Integer> res_table; private static void debug_print_tables() { System.out.println("exp table:"); System.out.println(exp_table...
2,138
23.586207
61
java
gluon
gluon-master/test/validation/ArithmeticDatabase/Pair.java
package test.validation.ArithmeticDatabase; public class Pair<K extends Comparable<K>, V> { public K k; public V v; public Pair(K k, V v) { super(); this.k = k; this.v = v; } public Pair(Pair<K, V> p) { if(p != null){ this.k = p.k; this.v = p.v; } } public K getk() { return k; } public v...
1,153
16.753846
61
java
gluon
gluon-master/test/validation/ArithmeticDatabase/Table.java
package test.validation.ArithmeticDatabase; import java.util.List; import java.util.LinkedList; import java.util.Iterator; import test.common.Atomic; import test.common.Contract; @Contract(clauses="get_max_key insert;" +"iterator get_max_key;") public class Table<K extends Comparable<K>,V> implements Ite...
1,103
15.477612
76
java
gluon
gluon-master/test/validation/ArithmeticDatabase/Client.java
package test.validation.ArithmeticDatabase; import java.util.Random; import test.common.Atomic; public class Client extends Thread { public static final int EXPS=5; public static final int EXP_OPS=10; Table<RPN_Expression,Integer> exp_table; Table<Integer,Integer> res_table; public Client(Table<RPN_Expressio...
1,791
19.597701
60
java
gluon
gluon-master/test/validation/ArithmeticDatabase/RPN_Expression.java
package test.validation.ArithmeticDatabase; import java.util.List; import java.util.Stack; import java.util.LinkedList; public class RPN_Expression implements Comparable<RPN_Expression> { private class RPN_Node { public boolean operator; public char op; public int integer; public RPN_Node(char op) { ...
1,598
13.536364
44
java
gluon
gluon-master/test/validation/Coord04/CoordMain.java
package test.validation.Coord04; public class CoordMain extends Thread { Coord coord; public static void main(String[] args) { Coord c = new Coord(); new CoordMain(c).start(); new CoordMain(c).start(); } public CoordMain(Coord coord) { this.coord = coord; } public void run() { coord.swap(); reset...
447
15
41
java
gluon
gluon-master/test/validation/Coord04/Coord.java
package test.validation.Coord04; import test.common.Atomic; import test.common.Contract; @Contract(clauses = "resetX resetY;" +"resetY resetX;") class Coord { private int x, y; public Coord() { x=y=0; } @Atomic public void swap() { int oldX = x; x =...
490
13.878788
37
java
gluon
gluon-master/test/validation/AccountTest/Main.java
package test.validation.AccountTest; public class Main { static Account a; public static void main(String[] args) { //this will be accessed by both threadsd a = new Account(0, "Account name"); new Update().start(); new Update().start(); } }
254
18.615385
42
java
gluon
gluon-master/test/validation/AccountTest/Account.java
package test.validation.AccountTest; import test.common.Atomic; import test.common.Contract; @Contract(clauses = "getBalance setBalance;" +"setBalance getBalance;") public class Account { protected int balance; protected String name; public Account(){ this.balance = 0; this.name = ""; } p...
593
14.631579
42
java
gluon
gluon-master/test/validation/AccountTest/Update.java
package test.validation.AccountTest; import java.util.Random; public class Update extends Thread { void update (Account account, int a) { int tmp = account.getBalance(); tmp = tmp + a; account.setBalance(tmp); } public void run() { while(true){ Random r = new Random(); int n = r.nextInt(); updat...
342
15.333333
39
java
gluon
gluon-master/test/validation/NASA/Cell.java
package test.validation.NASA; public class Cell { public Object value; public boolean achieved; public Cell(){ value = null; achieved = false; } public Cell(Object value, boolean achieved){ this.value = value; this.achieved = achieved; } @Override public int hashCode() { final int prime = 31; int...
873
19.809524
69
java
gluon
gluon-master/test/validation/NASA/Main.java
package test.validation.NASA; public class Main { public static void main(String[] args) { Cell[] table = new Cell[100]; Object[] system_state = new Object[100]; new Daemon(table, system_state).start(); new Task(table).start(); new Task(table).start(); new Task(table).start(); } }
300
17.8125
42
java
gluon
gluon-master/test/validation/NASA/Task.java
package test.validation.NASA; public class Task extends Thread { public TaskManager tm; public Task(Cell[] table) { super(); tm=new TaskManager(table); } public void run() { int N = 42; Object v = new Object(); tm.setValue(v,N); /* achieve property */ tm.setAchieved(v,N); } }
309
12.478261
34
java
gluon
gluon-master/test/validation/NASA/TaskManager.java
package test.validation.NASA; import test.common.Atomic; import test.common.Contract; @Contract(clauses = "setValue(_,X) setAchieved(_,X);") class TaskManager extends Thread { public Cell[] table; public TaskManager(Cell[] table) { super(); this.table = table; } @Atomic public void setValue(Object v,int N...
434
15.730769
54
java
gluon
gluon-master/test/validation/NASA/Daemon.java
package test.validation.NASA; import test.common.Atomic; public class Daemon extends Thread { public Cell[] table; public Object[] system_state; public Daemon(Cell[] table, Object[] system_state) { super(); this.table = table; this.system_state = system_state; } public void run() { int N = 42; whil...
569
17.387097
61
java
gluon
gluon-master/test/validation/Store/Main.java
package test.validation.Store; public class Main { public static void main(String[] args) { ProductWorld.init(); Store.init(); Client c1 = new Client("Vasco", "Estrada bla bla bla", 23, 1, 200); Client c2 = new Client("Joao", "Rua bla bla bla", 22, 2, 400); Client c3 = new Client("Pedro", "Avenida bla bla...
840
21.72973
69
java
gluon
gluon-master/test/validation/Store/Pair.java
package test.validation.Store; public class Pair<T1, T2> { private T1 first; private T2 second; public Pair(T1 first, T2 second) { super(); this.first = first; this.second = second; } public Pair(Pair<T1, T2> p) { if(p != null){ this.first = p.first; this.second = p.second; } } public T1 get...
1,314
18.626866
71
java
gluon
gluon-master/test/validation/Store/ProductWorld.java
package test.validation.Store; import java.util.ArrayList; import java.util.List; import java.util.Random; public class ProductWorld { //fruit protected static Product apple; protected static Product banana; protected static Product strawberry; protected static Product pineapple; protected static Product fig; ...
3,353
26.719008
83
java
gluon
gluon-master/test/validation/Store/Store.java
package test.validation.Store; import java.util.ArrayList; import java.util.List; import java.util.Random; import test.common.Atomic; public class Store { // init is done? protected static boolean inited = false; // All store's products protected static List<StoreProduct> products; // Log with all sells prote...
3,709
20.2
94
java
gluon
gluon-master/test/validation/Store/Client.java
package test.validation.Store; import java.text.DateFormat; import java.text.SimpleDateFormat; import java.util.Date; import java.util.Random; public class Client extends Thread implements Person { // Persons attributes protected String name; protected String address; protected int age; // Client attributes pr...
1,750
20.096386
85
java
gluon
gluon-master/test/validation/Store/Supplier.java
package test.validation.Store; import java.util.Random; public class Supplier extends Thread{ protected String name; public final Random r = new Random(); public Supplier(String name){ this.name = name; } public void run() { boolean b = 1.0 == 0.5 + 3/2-1.0; while(b){ //while true Product p = ProductW...
615
19.533333
61
java
gluon
gluon-master/test/validation/Store/Person.java
package test.validation.Store; /** * This interface represents an abstract person * @author Vasco Pessanha */ public interface Person { public String getPersonName(); public int getAge(); public String getAddress(); }
228
14.266667
47
java
gluon
gluon-master/test/validation/Store/Product.java
package test.validation.Store; /** * This class represents a given product (that can be selled by our store) * @author Vasco Pessanha * */ public class Product { protected String name; protected int weight; protected String date; protected int validity; //in months protected ProductType type; public Product(...
967
20.511111
96
java
gluon
gluon-master/test/validation/Store/Order.java
package test.validation.Store; import java.util.ArrayList; import java.util.Iterator; import java.util.List; public class Order { // Client who ordered protected Client client; // Date of the order protected String date; // Maximum number of products protected int max_number; // Products protected List<Prod...
1,600
22.202899
90
java
gluon
gluon-master/test/validation/Store/WorkerAux.java
package test.validation.Store; import java.util.List; import test.common.Atomic; import test.common.Contract; @Contract(clauses = "hasOrders treatOrder;") class WorkerAux { public static boolean hasOrders() { return Store.hasOrders(); } @Atomic public static String treatOrder() { Orde...
706
21.09375
87
java
gluon
gluon-master/test/validation/Store/ProductType.java
package test.validation.Store; /** * This Class represents the possible types of products * * @author Vasco Pessanha * */ public class ProductType { public static final int fruitType = 1; public static final int drinksType = 2; public static final int cerealsType = 3; public static final int candyType = 4; p...
2,365
24.170213
96
java
gluon
gluon-master/test/validation/Store/Worker.java
package test.validation.Store; import java.util.Random; public class Worker extends Thread implements Person{ //Person attributes protected String name; protected String address; protected int age; //Worker attributes protected int num_employer; protected int salary; protected int yearsOfWork; public Wor...
1,224
17.560606
100
java
gluon
gluon-master/test/validation/Store/StoreProduct.java
package test.validation.Store; import test.common.Atomic; /** * This class represents a Store's product. * * @author Vasco Pessanha */ public class StoreProduct { // store's product represented by this class protected Product product; // number of units of that product protected int n; // (is this product fo...
3,039
19.821918
77
java
null
wildfly-main/ee-security/src/test/java/org/wildfly/extension/eesecurity/EESecuritySubsystemTestCase.java
/* * JBoss, Home of Professional Open Source. * Copyright 2011, Red Hat Middleware LLC, and individual contributors * as indicated by the @author tags. See the copyright.txt file in the * distribution for a full listing of individual contributors. * * This is free software; you can redistribute it and/or modify it * un...
2,393
37.612903
150
java
null
wildfly-main/ee-security/src/main/java/org/wildfly/extension/eesecurity/EESecuritySubsystemAdd.java
/* * JBoss, Home of Professional Open Source. * Copyright 2010, Red Hat, Inc., and individual contributors * as indicated by the @author tags. See the copyright.txt file in the * distribution for a full listing of individual contributors. * * This is free software; you can redistribute it and/or modify it * unde...
2,549
42.220339
180
java
null
wildfly-main/ee-security/src/main/java/org/wildfly/extension/eesecurity/EESecurityDependencyProcessor.java
/* * Copyright (C) 2018 Red Hat, inc., and individual contributors * as indicated by the @author tags. See the copyright.txt file in the * distribution for a full listing of individual contributors. * * This library is free software; you can redistribute it and/or * modify it under the terms of the GNU Lesser Gen...
2,575
47.603774
137
java
null
wildfly-main/ee-security/src/main/java/org/wildfly/extension/eesecurity/EESecurityAnnotationProcessor.java
/* * Copyright (C) 2018 Red Hat, inc., and individual contributors * as indicated by the @author tags. See the copyright.txt file in the * distribution for a full listing of individual contributors. * * This library is free software; you can redistribute it and/or * modify it under the terms of the GNU Lesser Gen...
5,656
52.87619
138
java
null
wildfly-main/ee-security/src/main/java/org/wildfly/extension/eesecurity/EESecuritySubsystemSchema.java
/* * JBoss, Home of Professional Open Source. * Copyright 2023, Red Hat, Inc., and individual contributors * as indicated by the @author tags. See the copyright.txt file in the * distribution for a full listing of individual contributors. * * This is free software; you can redistribute it and/or modify it * unde...
2,305
38.084746
125
java
null
wildfly-main/ee-security/src/main/java/org/wildfly/extension/eesecurity/EESecuritySubsystemDefinition.java
/* * Copyright (C) 2014 Red Hat, inc., and individual contributors * as indicated by the @author tags. See the copyright.txt file in the * distribution for a full listing of individual contributors. * * This library is free software; you can redistribute it and/or * modify it under the terms of the GNU Lesser Gen...
2,655
41.83871
129
java
null
wildfly-main/ee-security/src/main/java/org/wildfly/extension/eesecurity/EESecurityExtension.java
/* * JBoss, Home of Professional Open Source. * Copyright 2010, Red Hat, Inc., and individual contributors * as indicated by the @author tags. See the copyright.txt file in the * distribution for a full listing of individual contributors. * * This is free software; you can redistribute it and/or modify it * unde...
3,955
48.45
180
java
null
wildfly-main/observability/micrometer-api/src/main/java/org/wildfly/extension/micrometer/api/MicrometerCdiExtension.java
/* * JBoss, Home of Professional Open Source. * * Copyright 2021 Red Hat, Inc., and individual contributors * as indicated by the @author tags. * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. * You may obtain a copy of the Li...
1,449
32.72093
75
java
null
wildfly-main/observability/opentelemetry-api/src/main/java/org/wildfly/extension/opentelemetry/api/WildFlyOpenTelemetryConfig.java
/* * JBoss, Home of Professional Open Source. * * Copyright 2022 Red Hat, Inc., and individual contributors * as indicated by the @author tags. * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. * You may obtain a copy of the Li...
4,537
44.38
98
java
null
wildfly-main/observability/opentelemetry-api/src/main/java/org/wildfly/extension/opentelemetry/api/OpenTelemetryCdiExtension.java
/* * JBoss, Home of Professional Open Source. * * Copyright 2022 Red Hat, Inc., and individual contributors * as indicated by the @author tags. * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. * You may obtain a copy of the Li...
2,528
40.459016
119
java
null
wildfly-main/observability/micrometer/src/test/java/org/wildfly/extension/micrometer/SubsystemParsingTestCase.java
package org.wildfly.extension.micrometer; import java.util.EnumSet; import org.jboss.as.subsystem.test.AbstractSubsystemSchemaTest; import org.junit.runner.RunWith; import org.junit.runners.Parameterized; import org.junit.runners.Parameterized.Parameters; /** * @author <a href="[email protected]">Jason Lee</a> ...
917
29.6
120
java
null
wildfly-main/observability/micrometer/src/main/java/org/wildfly/extension/micrometer/MicrometerDeploymentProcessor.java
/* * JBoss, Home of Professional Open Source. * * Copyright 2022-2023 Red Hat, Inc., and individual contributors * as indicated by the @author tags. * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. * You may obtain a copy of t...
4,318
44.463158
127
java
null
wildfly-main/observability/micrometer/src/main/java/org/wildfly/extension/micrometer/MicrometerRegistryService.java
/* * JBoss, Home of Professional Open Source. * * Copyright 2022 Red Hat, Inc., and individual contributors * as indicated by the @author tags. * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. * You may obtain a copy of the Li...
4,516
36.957983
129
java
null
wildfly-main/observability/micrometer/src/main/java/org/wildfly/extension/micrometer/WildFlyMicrometerConfig.java
/* * JBoss, Home of Professional Open Source. * * Copyright 2023 Red Hat, Inc., and individual contributors * as indicated by the @author tags. * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. * You may obtain a copy of the Li...
1,881
27.515152
79
java
null
wildfly-main/observability/micrometer/src/main/java/org/wildfly/extension/micrometer/MicrometerDeploymentService.java
/* * JBoss, Home of Professional Open Source. * * Copyright 2022 Red Hat, Inc., and individual contributors * as indicated by the @author tags. * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. * You may obtain a copy of the Li...
6,153
47.078125
125
java
null
wildfly-main/observability/micrometer/src/main/java/org/wildfly/extension/micrometer/MicrometerConfigurationConstants.java
/* * JBoss, Home of Professional Open Source. * * Copyright 2022 Red Hat, Inc., and individual contributors * as indicated by the @author tags. * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. * You may obtain a copy of the Li...
1,022
34.275862
75
java
null
wildfly-main/observability/micrometer/src/main/java/org/wildfly/extension/micrometer/MicrometerSubsystemDefinition.java
/* * JBoss, Home of Professional Open Source. * * Copyright 2022-2023 Red Hat, Inc., and individual contributors * as indicated by the @author tags. * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. * You may obtain a copy of t...
5,253
43.905983
119
java
null
wildfly-main/observability/micrometer/src/main/java/org/wildfly/extension/micrometer/MicrometerExtensionLogger.java
/* * JBoss, Home of Professional Open Source. * * Copyright 2022 Red Hat, Inc., and individual contributors * as indicated by the @author tags. * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. * You may obtain a copy of the Li...
3,498
41.156627
144
java
null
wildfly-main/observability/micrometer/src/main/java/org/wildfly/extension/micrometer/MicrometerExtension.java
/* * JBoss, Home of Professional Open Source. * * Copyright 2022 Red Hat, Inc., and individual contributors * as indicated by the @author tags. * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. * You may obtain a copy of the Li...
3,434
48.782609
137
java
null
wildfly-main/observability/micrometer/src/main/java/org/wildfly/extension/micrometer/MicrometerSubsystemAdd.java
/* * JBoss, Home of Professional Open Source. * * Copyright 2022-2023 Red Hat, Inc., and individual contributors * as indicated by the @author tags. * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. * You may obtain a copy of t...
4,513
44.59596
117
java
null
wildfly-main/observability/micrometer/src/main/java/org/wildfly/extension/micrometer/MicrometerSubsystemSchema.java
/* * JBoss, Home of Professional Open Source. * * Copyright 2022 Red Hat, Inc., and individual contributors * as indicated by the @author tags. * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. * You may obtain a copy of the Li...
2,080
37.537037
126
java
null
wildfly-main/observability/micrometer/src/main/java/org/wildfly/extension/micrometer/MicrometerCollectorService.java
/* * JBoss, Home of Professional Open Source. * * Copyright 2022 Red Hat, Inc., and individual contributors * as indicated by the @author tags. * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. * You may obtain a copy of the Li...
6,449
48.236641
145
java
null
wildfly-main/observability/micrometer/src/main/java/org/wildfly/extension/micrometer/MicrometerSubsystemModel.java
/* * JBoss, Home of Professional Open Source. * * Copyright 2022 Red Hat, Inc., and individual contributors * as indicated by the @author tags. * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. * You may obtain a copy of the Li...
1,305
30.853659
75
java
null
wildfly-main/observability/micrometer/src/main/java/org/wildfly/extension/micrometer/MicrometerDependencyProcessor.java
/* * JBoss, Home of Professional Open Source. * * Copyright 2022 Red Hat, Inc., and individual contributors * as indicated by the @author tags. * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. * You may obtain a copy of the Li...
2,272
40.327273
123
java
null
wildfly-main/observability/micrometer/src/main/java/org/wildfly/extension/micrometer/jmx/JmxMicrometerCollector.java
/* * JBoss, Home of Professional Open Source. * * Copyright 2022 Red Hat, Inc., and individual contributors * as indicated by the @author tags. * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. * You may obtain a copy of the Li...
8,972
38.355263
151
java
null
wildfly-main/observability/micrometer/src/main/java/org/wildfly/extension/micrometer/jmx/JmxMetricMetadata.java
/* * JBoss, Home of Professional Open Source. * * Copyright 2022 Red Hat, Inc., and individual contributors * as indicated by the @author tags. * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. * You may obtain a copy of the Li...
2,389
26.471264
150
java
null
wildfly-main/observability/micrometer/src/main/java/org/wildfly/extension/micrometer/metrics/MetricID.java
/* * JBoss, Home of Professional Open Source. * * Copyright 2022 Red Hat, Inc., and individual contributors * as indicated by the @author tags. * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. * You may obtain a copy of the Li...
3,063
35.47619
101
java
null
wildfly-main/observability/micrometer/src/main/java/org/wildfly/extension/micrometer/metrics/MetricRegistration.java
/* * JBoss, Home of Professional Open Source. * * Copyright 2022 Red Hat, Inc., and individual contributors * as indicated by the @author tags. * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. * You may obtain a copy of the Li...
1,993
31.688525
112
java
null
wildfly-main/observability/micrometer/src/main/java/org/wildfly/extension/micrometer/metrics/MetricMetadata.java
/* * JBoss, Home of Professional Open Source. * * Copyright 2022 Red Hat, Inc., and individual contributors * as indicated by the @author tags. * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. * You may obtain a copy of the Li...
3,647
24.51049
75
java
null
wildfly-main/observability/micrometer/src/main/java/org/wildfly/extension/micrometer/metrics/Metric.java
/* * JBoss, Home of Professional Open Source. * * Copyright 2022 Red Hat, Inc., and individual contributors * as indicated by the @author tags. * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. * You may obtain a copy of the Li...
1,034
31.34375
86
java
null
wildfly-main/observability/micrometer/src/main/java/org/wildfly/extension/micrometer/metrics/WildFlyMetricMetadata.java
/* * JBoss, Home of Professional Open Source. * * Copyright 2022 Red Hat, Inc., and individual contributors * as indicated by the @author tags. * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. * You may obtain a copy of the Li...
6,227
33.988764
103
java
null
wildfly-main/observability/micrometer/src/main/java/org/wildfly/extension/micrometer/metrics/MicrometerCollector.java
/* * JBoss, Home of Professional Open Source. * * Copyright 2022 Red Hat, Inc., and individual contributors * as indicated by the @author tags. * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. * You may obtain a copy of the Li...
8,912
47.440217
123
java
null
wildfly-main/observability/micrometer/src/main/java/org/wildfly/extension/micrometer/metrics/WildFlyMetric.java
/* * JBoss, Home of Professional Open Source. * * Copyright 2022 Red Hat, Inc., and individual contributors * as indicated by the @author tags. * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. * You may obtain a copy of the Li...
4,233
40.106796
119
java
null
wildfly-main/observability/micrometer/src/main/java/org/wildfly/extension/micrometer/registry/WildFlyOtlpRegistry.java
/* * JBoss, Home of Professional Open Source. * * Copyright 2022 Red Hat, Inc., and individual contributors * as indicated by the @author tags. * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. * You may obtain a copy of the Li...
1,125
35.322581
87
java
null
wildfly-main/observability/micrometer/src/main/java/org/wildfly/extension/micrometer/registry/NoOpRegistry.java
/* * JBoss, Home of Professional Open Source. * * Copyright 2023 Red Hat, Inc., and individual contributors * as indicated by the @author tags. * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. * You may obtain a copy of the Li...
3,608
35.454545
159
java
null
wildfly-main/observability/micrometer/src/main/java/org/wildfly/extension/micrometer/registry/WildFlyRegistry.java
/* * JBoss, Home of Professional Open Source. * * Copyright 2023 Red Hat, Inc., and individual contributors * as indicated by the @author tags. * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. * You may obtain a copy of the Li...
3,737
37.9375
115
java
null
wildfly-main/observability/opentelemetry/src/test/java/org/wildfly/extension/opentelemetry/SubsystemParsingTestCase.java
package org.wildfly.extension.opentelemetry; import static org.jboss.as.controller.descriptions.ModelDescriptionConstants.ADD; import static org.jboss.as.controller.descriptions.ModelDescriptionConstants.OP; import java.io.IOException; import java.util.EnumSet; import java.util.HashMap; import java.util.List; import ...
3,259
36.906977
147
java
null
wildfly-main/observability/opentelemetry/src/main/java/org/wildfly/extension/opentelemetry/OpenTelemetrySubsystemExtension.java
/* * JBoss, Home of Professional Open Source. * * Copyright 2021 Red Hat, Inc., and individual contributors * as indicated by the @author tags. * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. * You may obtain a copy of the Li...
3,441
48.171429
183
java
null
wildfly-main/observability/opentelemetry/src/main/java/org/wildfly/extension/opentelemetry/OpenTelemetryExtensionLogger.java
/* * JBoss, Home of Professional Open Source. * * Copyright 2021 Red Hat, Inc., and individual contributors * as indicated by the @author tags. * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. * You may obtain a copy of the Li...
3,454
39.647059
147
java
null
wildfly-main/observability/opentelemetry/src/main/java/org/wildfly/extension/opentelemetry/OpenTelemetryDependencyProcessor.java
/* * JBoss, Home of Professional Open Source. * * Copyright 2021 Red Hat, Inc., and individual contributors * as indicated by the @author tags. * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. * You may obtain a copy of the Li...
3,089
42.521127
119
java
null
wildfly-main/observability/opentelemetry/src/main/java/org/wildfly/extension/opentelemetry/OpenTelemetrySubsystemSchema.java
package org.wildfly.extension.opentelemetry; import static org.jboss.as.controller.PersistentResourceXMLDescription.builder; import org.jboss.as.controller.PersistentResourceXMLDescription; import org.jboss.as.controller.PersistentSubsystemSchema; import org.jboss.as.controller.SubsystemSchema; import org.jboss.as.co...
1,336
38.323529
138
java
null
wildfly-main/observability/opentelemetry/src/main/java/org/wildfly/extension/opentelemetry/OpenTelemetrySubsystemModel.java
package org.wildfly.extension.opentelemetry; import org.jboss.as.controller.ModelVersion; import org.jboss.as.controller.SubsystemModel; public enum OpenTelemetrySubsystemModel implements SubsystemModel { VERSION_1_0_0(1, 0, 0); public static final OpenTelemetrySubsystemModel CURRENT = VERSION_1_0_0; pr...
579
25.363636
76
java